open-agents-ai 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +66 -3
- package/dist/index.js +1130 -55
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,10 +16,24 @@ Agent: [Turn 1] file_read(src/auth.ts)
|
|
|
16
16
|
[Turn 5] task_complete(summary="Fixed null check — all tests pass")
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
The agent has **
|
|
19
|
+
The agent has **18 tools** (including 3 AIWG SDLC tools and 4 advanced analysis tools) and uses them autonomously in a loop, reading errors, fixing code, and re-running validation until the task succeeds or the turn limit is reached.
|
|
20
20
|
|
|
21
21
|
## Quick Start
|
|
22
22
|
|
|
23
|
+
### Install from npm (recommended)
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
# Install globally — provides `open-agents` and `oa` commands
|
|
27
|
+
npm i -g open-agents-ai
|
|
28
|
+
|
|
29
|
+
# Run it — first launch auto-detects your system and pulls the best model
|
|
30
|
+
oa "fix the null check in auth.ts"
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
On first run, the setup wizard detects your RAM/VRAM and recommends the optimal qwen3.5 variant.
|
|
34
|
+
|
|
35
|
+
### Install from source
|
|
36
|
+
|
|
23
37
|
```bash
|
|
24
38
|
# 1. Install Ollama (https://ollama.com)
|
|
25
39
|
curl -fsSL https://ollama.com/install.sh | sh
|
|
@@ -77,7 +91,7 @@ pnpm -r test # 911 tests across 77 files
|
|
|
77
91
|
|
|
78
92
|
## Tools
|
|
79
93
|
|
|
80
|
-
The agent has access to
|
|
94
|
+
The agent has access to 18 tools that it calls autonomously:
|
|
81
95
|
|
|
82
96
|
| Tool | Description |
|
|
83
97
|
|------|-------------|
|
|
@@ -92,6 +106,13 @@ The agent has access to 11 tools that it calls autonomously:
|
|
|
92
106
|
| `web_fetch` | Fetch and extract text from web pages (docs, MDN, w3schools) |
|
|
93
107
|
| `memory_read` | Read from persistent memory store |
|
|
94
108
|
| `memory_write` | Store patterns and solutions for future tasks |
|
|
109
|
+
| `aiwg_setup` | Deploy AIWG SDLC framework in the project |
|
|
110
|
+
| `aiwg_health` | Analyze project SDLC health and readiness |
|
|
111
|
+
| `aiwg_workflow` | Execute AIWG commands and workflows |
|
|
112
|
+
| `batch_edit` | Multiple precise edits across files in one call |
|
|
113
|
+
| `codebase_map` | High-level project structure overview |
|
|
114
|
+
| `diagnostic` | Run lint/typecheck/test/build validation pipeline |
|
|
115
|
+
| `git_info` | Structured git status, log, diff, and branch info |
|
|
95
116
|
|
|
96
117
|
### Self-Learning
|
|
97
118
|
|
|
@@ -183,6 +204,39 @@ oa --backend vllm --backend-url http://localhost:8000/v1 "add tests"
|
|
|
183
204
|
oa --backend-url http://10.0.0.5:11434 "refactor auth"
|
|
184
205
|
```
|
|
185
206
|
|
|
207
|
+
## AIWG Integration
|
|
208
|
+
|
|
209
|
+
Open Agents integrates with [AIWG](https://www.npmjs.com/package/aiwg) (AI Writing Guide) — a cognitive architecture for AI-augmented software development. When AIWG is installed, the agent gains SDLC superpowers:
|
|
210
|
+
|
|
211
|
+
```bash
|
|
212
|
+
# Install AIWG globally
|
|
213
|
+
npm i -g aiwg
|
|
214
|
+
|
|
215
|
+
# The agent can now use AIWG tools automatically:
|
|
216
|
+
oa "analyze this project's SDLC health and set up proper documentation"
|
|
217
|
+
oa "create requirements and architecture docs for this codebase"
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
### What AIWG Adds
|
|
221
|
+
|
|
222
|
+
| Capability | Description |
|
|
223
|
+
|-----------|-------------|
|
|
224
|
+
| **Structured Memory** | `.aiwg/` directory persists project knowledge across sessions |
|
|
225
|
+
| **SDLC Artifacts** | Requirements, architecture, test strategy, deployment docs |
|
|
226
|
+
| **Health Analysis** | Score your project's SDLC maturity (testing, CI/CD, docs, etc.) |
|
|
227
|
+
| **85+ Agents** | Specialized AI personas (Test Engineer, Security Auditor, API Designer) |
|
|
228
|
+
| **Traceability** | @-mention system links requirements → code → tests |
|
|
229
|
+
|
|
230
|
+
### AIWG Tools
|
|
231
|
+
|
|
232
|
+
The 3 AIWG tools are available when `aiwg` is installed globally:
|
|
233
|
+
|
|
234
|
+
- **`aiwg_setup`** — Deploy an AIWG framework (`sdlc`, `marketing`, `forensics`, `research`)
|
|
235
|
+
- **`aiwg_health`** — Analyze project SDLC readiness (works even without AIWG installed)
|
|
236
|
+
- **`aiwg_workflow`** — Run any AIWG CLI command (`runtime-info`, `list`, `mcp info`)
|
|
237
|
+
|
|
238
|
+
If AIWG is not installed, the tools return helpful install instructions. The `aiwg_health` tool provides native analysis without requiring AIWG.
|
|
239
|
+
|
|
186
240
|
## Architecture
|
|
187
241
|
|
|
188
242
|
### Agentic Loop
|
|
@@ -230,7 +284,7 @@ scripts/ - install.sh, setup-model.sh, bootstrap.sh
|
|
|
230
284
|
|
|
231
285
|
## Evaluation
|
|
232
286
|
|
|
233
|
-
The framework includes
|
|
287
|
+
The framework includes 17 evaluation tasks that test the agent's ability to autonomously resolve coding problems:
|
|
234
288
|
|
|
235
289
|
```bash
|
|
236
290
|
# Run all 8 tasks with agentic tool-calling loop
|
|
@@ -272,6 +326,15 @@ Total: 39 turns, 55 tool calls, ~10 minutes
|
|
|
272
326
|
| 06 | Fix TypeScript type errors | Medium |
|
|
273
327
|
| 07 | Add REST API endpoint | Medium |
|
|
274
328
|
| 08 | Add pagination across multiple files | Hard |
|
|
329
|
+
| 09 | CSS named color lookup (148 colors, web search) | Medium |
|
|
330
|
+
| 10 | HTTP status code lookup (32+ codes, web search) | Medium |
|
|
331
|
+
| 11 | MIME type lookup (30+ types, web search) | Medium |
|
|
332
|
+
| 12 | SDLC health analyzer (AIWG-style scoring) | Medium |
|
|
333
|
+
| 13 | SDLC artifact generator (requirements, arch, tests) | Hard |
|
|
334
|
+
| 14 | Batch refactor variable names across files | Medium |
|
|
335
|
+
| 15 | Codebase overview generator from structure analysis | Medium |
|
|
336
|
+
| 16 | Diagnostic fix loop (find and fix buggy code) | Medium |
|
|
337
|
+
| 17 | Git repository analyzer | Medium |
|
|
275
338
|
|
|
276
339
|
## Test Suite
|
|
277
340
|
|