@defai.digital/automatosx 5.0.5 → 5.0.7
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 +270 -500
- package/dist/index.js +82 -3
- package/dist/index.js.map +1 -1
- package/dist/version.json +1 -1
- package/package.json +1 -1
- package/version.json +1 -1
package/README.md
CHANGED
|
@@ -1,644 +1,414 @@
|
|
|
1
1
|
# AutomatosX
|
|
2
2
|
|
|
3
|
-
> **
|
|
4
|
-
>
|
|
3
|
+
> **AI Agent Orchestration for Claude Code**
|
|
4
|
+
>
|
|
5
|
+
> Transform Claude Code into a multi-agent powerhouse with persistent memory, intelligent delegation, and zero-cost knowledge management.
|
|
5
6
|
|
|
6
7
|
[](https://www.npmjs.com/package/@defai.digital/automatosx)
|
|
7
8
|
[](LICENSE)
|
|
8
9
|
[](https://www.typescriptlang.org/)
|
|
9
|
-
[](#)
|
|
10
11
|
|
|
11
|
-
**
|
|
12
|
+
**Status**: ✅ Production Ready · v5.0.7 · October 2025
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
- 🛡️ **Protects quality across the whole release** – built-in guardrails for tests, docs, compliance, approvals
|
|
15
|
-
- ⚡ **Shortens idea-to-impact gap** – organized workflows mean faster onboarding, tighter handoffs, confident timelines
|
|
16
|
-
- 💰 **10× more cost-effective** – CLI-based orchestration beats expensive assistants APIs
|
|
17
|
-
|
|
18
|
-
**🤖 4 Specialized Teams**: AutomatosX agents are [organized into 4 professional teams](https://github.com/defai-digital/automatosx/blob/main/examples/AGENTS_INFO.md), each optimized with the best AI provider for their domain:
|
|
19
|
-
- **👥 Core Team** (OpenAI): General assistance, code generation, planning - Alex, Sofia, Ryan, Danny, Wendy
|
|
20
|
-
- **💻 Engineering Team** (Claude): Deep reasoning for backend, frontend, security, DevOps, QA - Bob, Frank, Oliver, Steve, Queenie
|
|
21
|
-
- **📊 Business Team** (Gemini): Strategic thinking for executive leadership and product - Eric, Tony, Paris, Daisy
|
|
22
|
-
- **🎨 Design Team** (Gemini): Creative work for UX/UI and technical writing - Debbee
|
|
14
|
+
---
|
|
23
15
|
|
|
24
|
-
|
|
16
|
+
## 🎯 Built for Claude Code
|
|
25
17
|
|
|
26
|
-
**
|
|
27
|
-
📖 **[Project History](docs/PROJECT-HISTORY.md)**: From Tokyo AI Expo (Nov 2024) to v5.0.1 - The complete journey
|
|
18
|
+
**AutomatosX extends Claude Code with specialized AI agents that remember context, delegate tasks, and collaborate autonomously.**
|
|
28
19
|
|
|
29
|
-
---
|
|
30
|
-
|
|
31
|
-
## 📣 What's New
|
|
32
|
-
|
|
33
|
-
**v5.0.5 (October 2025)**: Provider Parameters Simplified & Version Management
|
|
34
|
-
- 🎯 **Simplified provider parameters** - Removed artificial limits to let provider CLIs use their optimal defaults
|
|
35
|
-
- 📦 **Unified version management** - Single source of truth (version.json) prevents version inconsistencies
|
|
36
|
-
- 🔧 **Enhanced parameter validation** - Smart parameter filtering based on provider capabilities
|
|
37
|
-
- ✅ **Critical bug fixes** - Fixed 3 bugs in version sync and error handling
|
|
38
|
-
- 📊 **Better defaults** - No maxTokens limits (Claude: 200K, Gemini: 2M tokens available)
|
|
39
|
-
|
|
40
|
-
**v5.0.4 (October 2025)**: Memory Saving Fix
|
|
41
|
-
- 🐛 **Memory saving now works** - Agent conversations automatically saved to memory (--save-memory flag)
|
|
42
|
-
- 🔧 **Fixed initialization logic** - Memory manager properly initialized for all flag combinations
|
|
43
|
-
- ✅ **All edge cases tested** - 4/4 scenarios verified (inject-only, save-only, both, neither)
|
|
44
|
-
- 🚀 **FTS5 search working** - Search your agent conversation history instantly
|
|
45
|
-
- 🎯 **Zero regressions** - All existing features continue to work perfectly
|
|
46
|
-
|
|
47
|
-
**v5.0.3 (October 2025)**: FTS5 Special Character Support
|
|
48
|
-
- 🐛 **Memory search fixed** - File paths, URLs, dates, and emails now work correctly
|
|
49
|
-
- 🔍 **Extended sanitization** - Handles 26 special characters (up from 15)
|
|
50
|
-
- ✅ **Comprehensive testing** - Added 29 new tests covering all real-world scenarios
|
|
51
|
-
- 🚀 **Zero regressions** - All 1,079 tests passing with complete backward compatibility
|
|
52
|
-
|
|
53
|
-
**v5.0.2 (October 2025)**: Documentation & Schema Improvements
|
|
54
|
-
- 📚 **Comprehensive documentation** - Added multi-agent orchestration guide (600+ lines)
|
|
55
|
-
- 🎯 **Self-contained JSON Schema** - Configuration validation now built into repository
|
|
56
|
-
- 🔗 **GitHub-based schema** - No external dependencies, works offline with caching
|
|
57
|
-
- 📖 **Enhanced guides** - Team configuration and agent templates fully documented
|
|
58
|
-
- 🗂️ **Organized docs** - Beta testing guide archived, outdated content cleaned
|
|
59
|
-
|
|
60
|
-
**v5.0.1 (October 2025)**: Critical Bug Fixes
|
|
61
|
-
- 🐛 **Provider timeout fixed** - Complex tasks no longer timeout (15 min timeout now consistent)
|
|
62
|
-
- 🐛 **Delegation parser improved** - Zero false positives from documentation examples
|
|
63
|
-
- 🐛 **FTS5 search stabilized** - Handles all special characters reliably
|
|
64
|
-
- ✅ **1050 tests passing** - 100% pass rate with comprehensive test coverage
|
|
65
|
-
|
|
66
|
-
**v5.0.0 (October 2025)**: Agent Template System
|
|
67
|
-
|
|
68
|
-
- 🎉 **Quick agent creation** - Create agents from templates in seconds with `ax agent create`
|
|
69
|
-
- 📋 **5 pre-built templates** - Ready-to-use templates for common roles (developer, analyst, designer, qa, basic)
|
|
70
|
-
- 🛠️ **Complete CLI toolset** - `ax agent templates`, `list`, `show`, `create`, `remove`
|
|
71
|
-
- 🔄 **Interactive mode** - Guided creation with prompts for all values
|
|
72
|
-
- ⚡ **One-line creation** - Fast creation with all parameters in command line
|
|
73
|
-
- 📦 **Auto-installation** - Templates automatically installed on `ax init`
|
|
74
|
-
|
|
75
|
-
**New Commands**:
|
|
76
20
|
```bash
|
|
77
|
-
#
|
|
78
|
-
ax
|
|
21
|
+
# In Claude Code, simply use /ax
|
|
22
|
+
/ax run paris "Design authentication system with JWT"
|
|
23
|
+
/ax run sofia "Implement the auth design" # Sofia auto-receives Paris's design from memory
|
|
24
|
+
/ax memory search "authentication" # Instant search of all past decisions
|
|
25
|
+
```
|
|
79
26
|
|
|
80
|
-
|
|
81
|
-
ax agent list --by-team engineering
|
|
27
|
+
**The result**: Claude Code becomes a **learning, coordinated team** instead of a stateless assistant.
|
|
82
28
|
|
|
83
|
-
|
|
84
|
-
ax agent show backend
|
|
85
|
-
```
|
|
29
|
+
---
|
|
86
30
|
|
|
87
|
-
|
|
88
|
-
- 🎯 **No embedding costs** - Removed OpenAI embedding dependency
|
|
89
|
-
- ⚡ **< 1ms search** - Pure SQLite FTS5 for blazing fast text search
|
|
90
|
-
- 🔒 **Better privacy** - All data stays local (no cloud API calls)
|
|
31
|
+
## 💡 Why AutomatosX?
|
|
91
32
|
|
|
92
|
-
|
|
93
|
-
- 🎯 **No configuration duplication** - Agents inherit settings from team
|
|
94
|
-
- 👥 **4 built-in teams** - Core Team (OpenAI), Engineering Team (Claude), Business Team (Gemini), Design Team (Gemini)
|
|
95
|
-
- ♻️ **Shared abilities** - Team-wide abilities automatically included
|
|
33
|
+
### The Problem with Stateless AI
|
|
96
34
|
|
|
97
|
-
|
|
35
|
+
**Traditional AI assistants** (ChatGPT, vanilla Claude):
|
|
36
|
+
- ❌ No memory between conversations
|
|
37
|
+
- ❌ You repeat context every time
|
|
38
|
+
- ❌ No coordination between tasks
|
|
39
|
+
- ❌ Knowledge disappears after each session
|
|
98
40
|
|
|
99
|
-
|
|
100
|
-
-
|
|
41
|
+
**AutomatosX changes this**:
|
|
42
|
+
- ✅ **Persistent memory**: < 1ms search, zero cost, 100% local
|
|
43
|
+
- ✅ **Multi-agent delegation**: Agents coordinate automatically
|
|
44
|
+
- ✅ **Context retention**: Never explain the same thing twice
|
|
45
|
+
- ✅ **Knowledge accumulation**: Your team gets smarter over time
|
|
101
46
|
|
|
102
|
-
|
|
47
|
+
### Real-World Impact
|
|
103
48
|
|
|
104
|
-
|
|
105
|
-
|
|
49
|
+
**Without AutomatosX**:
|
|
50
|
+
```
|
|
51
|
+
Day 1: You explain architecture to Claude → Response lost
|
|
52
|
+
Day 2: You ask to implement → You re-explain architecture
|
|
53
|
+
Day 3: Different task → You re-explain everything again
|
|
106
54
|
```
|
|
107
55
|
|
|
108
|
-
|
|
56
|
+
**With AutomatosX**:
|
|
57
|
+
```
|
|
58
|
+
Day 1: Paris designs architecture → Saved to memory
|
|
59
|
+
Day 2: /ax run sofia "implement auth" → Sofia finds Paris's design automatically
|
|
60
|
+
Day 3: /ax run steve "security audit" → Steve has full context from Day 1-2
|
|
61
|
+
```
|
|
109
62
|
|
|
110
|
-
|
|
63
|
+
**Time saved**: Hours per week. **Quality**: Consistent. **Cost**: $0.
|
|
111
64
|
|
|
112
|
-
|
|
65
|
+
---
|
|
113
66
|
|
|
114
|
-
|
|
67
|
+
## 🚀 What's New
|
|
115
68
|
|
|
116
|
-
|
|
69
|
+
**v5.0.7** (October 2025): Critical Bug Fixes
|
|
70
|
+
- **CRITICAL FIX**: Team-level provider selection now works correctly
|
|
71
|
+
- **Provider aliases**: Resolve `claude` → `claude-code`, `gemini` → `gemini-cli`
|
|
72
|
+
- **Timeout abortion**: `--timeout` flag now properly terminates processes
|
|
73
|
+
- **Resource management**: Prevents zombie processes and API waste
|
|
74
|
+
- **100% backward compatible**: No configuration changes needed
|
|
117
75
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
76
|
+
**v5.0.6**: File Operation Tools Enabled
|
|
77
|
+
**v5.0.5**: Provider Parameters & Version Management
|
|
78
|
+
**v5.0.4**: Memory saving now works automatically
|
|
79
|
+
**v5.0.3**: Special character support in memory search
|
|
80
|
+
**v5.0.0**: Agent template system for quick agent creation
|
|
121
81
|
|
|
122
|
-
|
|
82
|
+
[📋 Full Changelog](CHANGELOG.md) | [🎉 Release Notes](https://github.com/defai-digital/automatosx/releases)
|
|
123
83
|
|
|
124
|
-
|
|
84
|
+
---
|
|
125
85
|
|
|
126
|
-
|
|
86
|
+
## 🧠 Core Value: Persistent Memory
|
|
127
87
|
|
|
128
|
-
|
|
129
|
-
# PRD: Kickoff sprint
|
|
130
|
-
automatosx run planner "Draft Q1 roadmap with marketing milestones"
|
|
88
|
+
**AutomatosX remembers everything**. Every agent conversation is automatically saved and searchable.
|
|
131
89
|
|
|
132
|
-
|
|
133
|
-
automatosx run coder "Scaffold auth with Supabase"
|
|
134
|
-
automatosx run reviewer "Audit API security before launch"
|
|
90
|
+
### How It Works
|
|
135
91
|
|
|
136
|
-
|
|
137
|
-
|
|
92
|
+
```typescript
|
|
93
|
+
// Automatic memory saving
|
|
94
|
+
/ax run paris "Design calculator with add/subtract"
|
|
95
|
+
→ Task + Response saved to SQLite FTS5
|
|
138
96
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
97
|
+
// Automatic memory retrieval
|
|
98
|
+
/ax run sofia "Implement the calculator"
|
|
99
|
+
→ Memory searches "calculator" automatically
|
|
100
|
+
→ Sofia receives: "# Relevant Context from Memory: Paris's design..."
|
|
101
|
+
→ Sofia implements WITHOUT you repeating the spec
|
|
142
102
|
```
|
|
143
103
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
- 🧠 **Persistent memory** – recalls every decision, deadline, and dependency
|
|
147
|
-
- 🎭 **Defined roles** – researcher, coder, reviewer, tester, writer (no context-switching)
|
|
148
|
-
- 🔒 **Workspace isolation** – agents work independently without colliding
|
|
149
|
-
- 💸 **Cost controls** – pay per CLI call, not expensive subscription seats
|
|
150
|
-
|
|
151
|
-
### Real Impact: Before vs After
|
|
152
|
-
|
|
153
|
-
| Without AutomatosX | With AutomatosX |
|
|
154
|
-
|-------------------|-----------------|
|
|
155
|
-
| 📋 Scattered docs, Slack threads, "who owns this?" | 🎯 Single source of truth—everyone works from the same playbook |
|
|
156
|
-
| 🐌 New hires take weeks to ramp | ⚡ Organized workflows = onboarding in days |
|
|
157
|
-
| 💸 Expensive subscription plans per seat | 💰 Pay-per-use CLI pricing = significant cost savings |
|
|
158
|
-
| 🤯 Release notes forgotten, compliance skipped | 🛡️ Built-in guardrails catch gaps before launch |
|
|
159
|
-
| ⏳ 3 weeks from plan to production | 🚀 3 days—agents handle research, build, review, docs in parallel |
|
|
160
|
-
|
|
161
|
-
### "Why not just use Claude Code or ChatGPT?"
|
|
104
|
+
### The Technology
|
|
162
105
|
|
|
163
|
-
**
|
|
106
|
+
- **SQLite FTS5**: Built-in full-text search
|
|
107
|
+
- **< 1ms search**: 62x faster than v3.x vector search
|
|
108
|
+
- **$0 cost**: No embedding APIs, no cloud calls
|
|
109
|
+
- **100% local**: Your data never leaves your machine
|
|
110
|
+
- **Automatic injection**: Relevant context added to every agent
|
|
164
111
|
|
|
165
|
-
|
|
166
|
-
- Remind you the release checklist is incomplete
|
|
167
|
-
- Coordinate work across product, engineering, and marketing
|
|
168
|
-
- Remember context from last quarter's sprint
|
|
112
|
+
### Benefits
|
|
169
113
|
|
|
170
|
-
|
|
114
|
+
✅ **Cross-day continuity**: Pick up where you left off
|
|
115
|
+
✅ **Cross-agent knowledge**: All agents share the same knowledge base
|
|
116
|
+
✅ **Learning from history**: Agents avoid past mistakes
|
|
117
|
+
✅ **Zero cost scaling**: 10,000 entries = ~10MB, still < 1ms search
|
|
171
118
|
|
|
172
|
-
|
|
173
|
-
- Enforces quality gates (tests, docs, compliance) automatically
|
|
174
|
-
- Turns scattered tribal knowledge into dependable workflows
|
|
175
|
-
- Runs unattended in CI/CD while remembering every conversation
|
|
176
|
-
|
|
177
|
-
**In plain terms**: Claude is a smart assistant. AutomatosX is your launch control center. Use both—but only AutomatosX ensures the right work happens, in the right order, by the right people.
|
|
119
|
+
**Learn more**: [Memory System Guide](docs/guide/agent-communication.md) | [Memory Tutorial](docs/tutorials/memory-management.md)
|
|
178
120
|
|
|
179
121
|
---
|
|
180
122
|
|
|
181
|
-
##
|
|
123
|
+
## 🤝 Core Value: Multi-Agent Orchestration
|
|
182
124
|
|
|
183
|
-
|
|
125
|
+
**Agents coordinate automatically**. Natural language delegation creates complex workflows without manual orchestration.
|
|
184
126
|
|
|
185
|
-
|
|
186
|
-
automatosx run researcher "Analyze the top 5 TypeScript frameworks in 2025"
|
|
187
|
-
# → Searches web, summarizes findings, cites sources
|
|
188
|
-
```
|
|
127
|
+
### How It Works
|
|
189
128
|
|
|
190
|
-
|
|
129
|
+
```typescript
|
|
130
|
+
// Product Manager analyzes and delegates
|
|
131
|
+
/ax run paris "Build authentication feature"
|
|
191
132
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
# → Scans logs, identifies critical errors, auto-creates tickets
|
|
195
|
-
```
|
|
133
|
+
Paris response:
|
|
134
|
+
"I'll design the auth system with JWT + OAuth2.
|
|
196
135
|
|
|
197
|
-
|
|
136
|
+
@sofia Please implement the JWT authentication API based on this design.
|
|
137
|
+
@steve Please audit the implementation for security issues."
|
|
198
138
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
139
|
+
// AutomatosX automatically:
|
|
140
|
+
// 1. Sofia receives full spec, implements code
|
|
141
|
+
// 2. Steve receives spec + code, performs audit
|
|
142
|
+
// 3. Results aggregated back to Paris
|
|
203
143
|
```
|
|
204
144
|
|
|
205
|
-
###
|
|
145
|
+
### The Technology
|
|
206
146
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
147
|
+
- **7 delegation syntaxes**: `@mention`, `DELEGATE TO`, `Please ask`, etc.
|
|
148
|
+
- **Cycle detection**: Prevents infinite loops
|
|
149
|
+
- **Depth limits**: Default 2 levels (configurable)
|
|
150
|
+
- **Session tracking**: Who did what, when
|
|
151
|
+
- **Workspace isolation**: No file collisions
|
|
211
152
|
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
---
|
|
153
|
+
### Benefits
|
|
215
154
|
|
|
216
|
-
|
|
155
|
+
✅ **Automatic coordination**: No manual task switching
|
|
156
|
+
✅ **Parallel execution**: Multiple agents work simultaneously
|
|
157
|
+
✅ **Transparent workflows**: Full delegation chain visible
|
|
158
|
+
✅ **Context preservation**: Every agent has complete context
|
|
217
159
|
|
|
218
|
-
|
|
160
|
+
**Learn more**: [Multi-Agent Orchestration Guide](docs/guide/multi-agent-orchestration.md)
|
|
219
161
|
|
|
220
|
-
|
|
221
|
-
npm install -g @defai.digital/automatosx
|
|
222
|
-
# or run without installing
|
|
223
|
-
npx @defai.digital/automatosx --help
|
|
224
|
-
```
|
|
162
|
+
---
|
|
225
163
|
|
|
226
|
-
|
|
164
|
+
## 🎭 15 Specialized Agents, 4 Professional Teams
|
|
227
165
|
|
|
228
|
-
|
|
166
|
+
**Every agent optimized for their domain with the best AI provider**:
|
|
229
167
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
npm install -g @google/gemini-cli
|
|
238
|
-
|
|
239
|
-
# Or install Codex CLI (if you use OpenAI)
|
|
240
|
-
npm install -g @openai/codex
|
|
241
|
-
# Or via Homebrew: brew install codex
|
|
242
|
-
# Docs: https://github.com/openai/codex
|
|
243
|
-
```
|
|
168
|
+
### 👥 Core Team (OpenAI)
|
|
169
|
+
General assistance and code generation
|
|
170
|
+
- **Alex** - Versatile assistant for general tasks
|
|
171
|
+
- **Sofia** - Senior software engineer (clean code, TDD, pragmatic)
|
|
172
|
+
- **Ryan** - Code reviewer (quality, security, performance)
|
|
173
|
+
- **Danny** - Debugger specialist
|
|
174
|
+
- **Wendy** - Technical writer
|
|
244
175
|
|
|
245
|
-
|
|
176
|
+
### 💻 Engineering Team (Claude)
|
|
177
|
+
Deep reasoning for technical work
|
|
178
|
+
- **Bob** - Backend expert (API design, databases, microservices)
|
|
179
|
+
- **Frank** - Frontend specialist (React, UX, accessibility)
|
|
180
|
+
- **Oliver** - DevOps engineer (infrastructure, CI/CD, cloud)
|
|
181
|
+
- **Steve** - Security expert (threat modeling, security audit)
|
|
182
|
+
- **Queenie** - QA specialist (testing strategies, test automation)
|
|
246
183
|
|
|
247
|
-
###
|
|
184
|
+
### 📊 Business Team (Gemini)
|
|
185
|
+
Strategic thinking and analysis
|
|
186
|
+
- **Eric** - CEO (business strategy, organizational leadership)
|
|
187
|
+
- **Tony** - CTO (technology strategy, technical leadership)
|
|
188
|
+
- **Daisy** - Data Analyst (data analysis, ML, statistical modeling)
|
|
248
189
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
190
|
+
### 🎨 Design Team (Gemini)
|
|
191
|
+
Creative and design work
|
|
192
|
+
- **Paris** - Product Manager (product strategy, user research)
|
|
193
|
+
- **Debbee** - UX/UI Designer (user experience, visual design)
|
|
253
194
|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
```bash
|
|
257
|
-
automatosx list agents # See available agents
|
|
258
|
-
automatosx chat assistant # Interactive mode
|
|
259
|
-
automatosx memory search "quantum" # Recall past conversations
|
|
260
|
-
```
|
|
195
|
+
[📖 Complete Agent Directory](examples/AGENTS_INFO.md)
|
|
261
196
|
|
|
262
197
|
---
|
|
263
198
|
|
|
264
|
-
##
|
|
265
|
-
|
|
266
|
-
**Composable Agents** *(v4.10.0+: Team-Based Configuration)*
|
|
267
|
-
Define roles, abilities, and guardrails in `.automatosx/agents/*.yaml`. Agents inherit provider configuration from their team—no duplication needed.
|
|
268
|
-
|
|
269
|
-
```yaml
|
|
270
|
-
# .automatosx/agents/researcher.yaml (v4.10.0+)
|
|
271
|
-
name: researcher
|
|
272
|
-
team: core # 🆕 Inherits provider from team config
|
|
273
|
-
displayName: "Ryan" # Optional memorable name
|
|
274
|
-
description: Research specialist with web search and citation abilities
|
|
275
|
-
abilities:
|
|
276
|
-
- web_search
|
|
277
|
-
- summarize
|
|
278
|
-
- cite_sources
|
|
279
|
-
# Note: Team sharedAbilities automatically included
|
|
280
|
-
```
|
|
281
|
-
|
|
282
|
-
**Team Configuration** (`.automatosx/teams/core.yaml`):
|
|
283
|
-
```yaml
|
|
284
|
-
name: core
|
|
285
|
-
displayName: "Core Team"
|
|
286
|
-
provider:
|
|
287
|
-
primary: claude
|
|
288
|
-
fallbackChain: [claude, gemini, codex]
|
|
289
|
-
sharedAbilities:
|
|
290
|
-
- our-code-review-checklist
|
|
291
|
-
- testing
|
|
292
|
-
```
|
|
293
|
-
|
|
294
|
-
**Benefits**: No need to specify `provider`, `model`, `temperature` in each agent—just assign a team!
|
|
199
|
+
## ⚡ Quick Start
|
|
295
200
|
|
|
296
|
-
|
|
297
|
-
SQLite FTS5 full-text search delivers millisecond recall with export/import, quotas, and deterministic search.
|
|
201
|
+
### Installation
|
|
298
202
|
|
|
299
203
|
```bash
|
|
300
|
-
|
|
301
|
-
automatosx run assistant "Remember: Project Alpha launches Q1 2025"
|
|
302
|
-
|
|
303
|
-
# Search later (even in different sessions)
|
|
304
|
-
automatosx memory search "when does Alpha launch"
|
|
305
|
-
# → Returns: "Project Alpha launches Q1 2025" (0.72ms)
|
|
204
|
+
npm install -g @defai.digital/automatosx
|
|
306
205
|
```
|
|
307
206
|
|
|
308
|
-
|
|
309
|
-
Agents collaborate autonomously through natural language delegation—no complex APIs needed.
|
|
207
|
+
### In Claude Code
|
|
310
208
|
|
|
311
209
|
```bash
|
|
312
|
-
#
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
# Agent response includes natural language delegations:
|
|
316
|
-
# "@agent-a Create login UI with email/password fields."
|
|
317
|
-
# "@agent-b Implement JWT auth API."
|
|
318
|
-
#
|
|
319
|
-
# System automatically:
|
|
320
|
-
# 1. Detects delegation requests (@agent-a, @agent-b)
|
|
321
|
-
# 2. Executes delegated tasks in parallel
|
|
322
|
-
# 3. Collects and returns all results
|
|
323
|
-
```
|
|
324
|
-
|
|
325
|
-
**Supported delegation syntaxes:**
|
|
326
|
-
|
|
327
|
-
- `@[agent-name] Create login UI` - Concise mention
|
|
328
|
-
- `DELEGATE TO [agent]: Implement API` - Explicit command
|
|
329
|
-
- `Please ask [agent] to design schema` - Natural request
|
|
330
|
-
- `I need [agent] to handle the UI` - Need expression
|
|
331
|
-
- `請 [agent] 建立 UI` - Chinese support
|
|
210
|
+
# Initialize (first time only)
|
|
211
|
+
/ax init
|
|
332
212
|
|
|
333
|
-
|
|
213
|
+
# Run agents
|
|
214
|
+
/ax run paris "Design REST API for users"
|
|
215
|
+
/ax run sofia "Implement the API" # Auto-receives Paris's design
|
|
216
|
+
/ax run queenie "Write tests for the API" # Auto-receives design + implementation
|
|
334
217
|
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
- ✅ Self-delegation automatically blocked
|
|
339
|
-
- ✅ Session tracking for multi-agent workflows
|
|
218
|
+
# Search memory
|
|
219
|
+
/ax memory search "API design"
|
|
220
|
+
/ax memory list --agent paris
|
|
340
221
|
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
- ✅ Input sanitization prevents path traversal attacks
|
|
222
|
+
# Manage agents
|
|
223
|
+
/ax agent list
|
|
224
|
+
/ax agent show sofia
|
|
225
|
+
/ax agent create backend --template developer
|
|
226
|
+
```
|
|
347
227
|
|
|
348
|
-
**
|
|
349
|
-
Strict TypeScript, CLI ergonomics, and rich docs unblock contributors quickly.
|
|
228
|
+
**That's it!** Agents now remember everything and coordinate automatically.
|
|
350
229
|
|
|
351
|
-
|
|
352
|
-
npm run dev -- run assistant "test" # Dev mode with hot reload
|
|
353
|
-
npm test # 994 tests with Vitest
|
|
354
|
-
npm run typecheck # Strict TS validation
|
|
355
|
-
```
|
|
230
|
+
📖 **[Full Installation Guide](docs/guide/installation.md)** | **[Quick Start Tutorial](docs/guide/quick-start.md)**
|
|
356
231
|
|
|
357
232
|
---
|
|
358
233
|
|
|
359
|
-
##
|
|
360
|
-
|
|
361
|
-
```text
|
|
362
|
-
automatosx/
|
|
363
|
-
├── src/
|
|
364
|
-
│ ├── core/ # config, routing, memory, path resolution, team-manager (v4.10.0+)
|
|
365
|
-
│ ├── cli/ # command definitions (run, chat, memory, etc.)
|
|
366
|
-
│ ├── agents/ # profile-loader, abilities-manager, context-manager
|
|
367
|
-
│ ├── providers/ # Claude, Gemini, Codex adapters
|
|
368
|
-
│ ├── types/ # TypeScript type definitions (agent, team, provider, etc.)
|
|
369
|
-
│ └── utils/ # logger, performance tracking
|
|
370
|
-
├── .automatosx/
|
|
371
|
-
│ ├── agents/ # Agent YAML profiles (17 agents)
|
|
372
|
-
│ ├── teams/ # 🆕 Team YAML configs (4 teams) - v4.10.0+
|
|
373
|
-
│ ├── abilities/ # Markdown knowledge bases
|
|
374
|
-
│ ├── memory/ # SQLite FTS5 database
|
|
375
|
-
│ └── workspaces/ # Agent isolated workspaces
|
|
376
|
-
├── tests/
|
|
377
|
-
│ ├── unit/ # 928 tests (core modules)
|
|
378
|
-
│ ├── integration/ # 66 tests (CLI commands)
|
|
379
|
-
│ └── e2e/ # Complete workflows
|
|
380
|
-
├── docs/ # guides, references, troubleshooting
|
|
381
|
-
└── examples/ # agent profiles and abilities
|
|
382
|
-
```
|
|
234
|
+
## 📚 Documentation
|
|
383
235
|
|
|
384
|
-
|
|
385
|
-
-
|
|
386
|
-
-
|
|
387
|
-
-
|
|
236
|
+
### Getting Started
|
|
237
|
+
- **[Quick Start Guide](docs/guide/quick-start.md)** - Get up and running in 5 minutes
|
|
238
|
+
- **[Core Concepts](docs/guide/core-concepts.md)** - Understand agents, memory, providers
|
|
239
|
+
- **[Installation Guide](docs/guide/installation.md)** - Detailed setup instructions
|
|
388
240
|
|
|
389
|
-
|
|
241
|
+
### Core Features
|
|
242
|
+
- **[Agent Communication & Memory](docs/guide/agent-communication.md)** - How agents communicate and remember
|
|
243
|
+
- **[Multi-Agent Orchestration](docs/guide/multi-agent-orchestration.md)** - Natural language delegation
|
|
244
|
+
- **[Team Configuration](docs/guide/team-configuration.md)** - Team-based agent organization
|
|
245
|
+
- **[Agent Templates](docs/guide/agent-templates.md)** - Quick agent creation
|
|
390
246
|
|
|
391
|
-
|
|
247
|
+
### Tutorials
|
|
248
|
+
- **[Memory Management](docs/tutorials/memory-management.md)** - Hands-on memory system guide
|
|
249
|
+
- **[Creating Your First Agent](docs/tutorials/first-agent.md)** - Build custom agents
|
|
392
250
|
|
|
393
|
-
|
|
251
|
+
### Reference
|
|
252
|
+
- **[CLI Commands](docs/reference/cli-commands.md)** - Complete command reference
|
|
253
|
+
- **[Agent Directory](examples/AGENTS_INFO.md)** - All available agents
|
|
394
254
|
|
|
395
|
-
|
|
396
|
-
|--------|------|---------|--------|
|
|
397
|
-
| Bundle size | 340 MB | 46 MB | **381 KB** |
|
|
398
|
-
| Text search (FTS5) | 45 ms | 0.72 ms | **< 1 ms** |
|
|
399
|
-
| Dependencies | 589 | 158 | **19** |
|
|
400
|
-
| Tests passing | 512 | 994 | **1,050** |
|
|
255
|
+
---
|
|
401
256
|
|
|
402
|
-
|
|
257
|
+
## 🔬 The Technical Advantage
|
|
403
258
|
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
259
|
+
| Feature | Traditional AI Chat | Claude Code | Claude Code + AutomatosX |
|
|
260
|
+
|---------|---------------------|-------------|--------------------------|
|
|
261
|
+
| **Memory** | No | No | ✅ SQLite FTS5 (< 1ms) |
|
|
262
|
+
| **Cost** | $20/month | Included | ✅ $0 (100% local) |
|
|
263
|
+
| **Multi-Agent** | No | No | ✅ 15 specialized agents |
|
|
264
|
+
| **Coordination** | Manual | Manual | ✅ Automatic delegation |
|
|
265
|
+
| **Context Retention** | Copy-paste | Session only | ✅ Persistent (days/weeks) |
|
|
266
|
+
| **Knowledge Sharing** | No | No | ✅ Cross-agent memory |
|
|
267
|
+
| **Privacy** | Cloud | Claude servers | ✅ 100% local data |
|
|
268
|
+
| **Speed** | Web UI | Terminal | ✅ Instant CLI |
|
|
410
269
|
|
|
411
270
|
---
|
|
412
271
|
|
|
413
|
-
##
|
|
272
|
+
## 💼 Real-World Use Cases
|
|
414
273
|
|
|
274
|
+
### 🏗️ Feature Development
|
|
415
275
|
```bash
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
automatosx chat <agent> # Interactive session
|
|
276
|
+
/ax run paris "Design user authentication feature"
|
|
277
|
+
# Paris creates spec → Saved to memory
|
|
419
278
|
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
automatosx run Frank "Create login component" # Frank = Frontend Developer
|
|
423
|
-
automatosx run Steve "Review auth code" # Steve = Security Engineer
|
|
279
|
+
/ax run sofia "Implement auth based on spec"
|
|
280
|
+
# Sofia auto-receives spec → Implements code
|
|
424
281
|
|
|
425
|
-
|
|
426
|
-
#
|
|
282
|
+
/ax run steve "Security audit the auth implementation"
|
|
283
|
+
# Steve auto-receives spec + code → Performs audit
|
|
427
284
|
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
automatosx list abilities # Show available abilities
|
|
431
|
-
|
|
432
|
-
# Memory operations
|
|
433
|
-
automatosx memory search "<query>" # Semantic search
|
|
434
|
-
automatosx memory export --output memories.json
|
|
435
|
-
automatosx memory import --input memories.json
|
|
436
|
-
automatosx memory clear # Clear all memories
|
|
437
|
-
|
|
438
|
-
# Configuration
|
|
439
|
-
automatosx init [path] # Initialize project
|
|
440
|
-
automatosx config --list # View settings
|
|
441
|
-
automatosx config --set <key> --value <val>
|
|
442
|
-
automatosx status # System status
|
|
285
|
+
/ax run wendy "Document the auth system"
|
|
286
|
+
# Wendy auto-receives everything → Creates docs
|
|
443
287
|
```
|
|
444
288
|
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
---
|
|
448
|
-
|
|
449
|
-
## Real-World Examples
|
|
450
|
-
|
|
451
|
-
### Research Pipeline
|
|
289
|
+
**Result**: 4-step workflow, zero context re-explanation, complete audit trail
|
|
452
290
|
|
|
291
|
+
### 🐛 Bug Investigation
|
|
453
292
|
```bash
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
name: researcher
|
|
457
|
-
team: core # Inherits provider from team
|
|
458
|
-
displayName: "Ryan"
|
|
459
|
-
abilities: [web_search, summarize, cite_sources]
|
|
460
|
-
EOF
|
|
461
|
-
|
|
462
|
-
# 2. Run research task
|
|
463
|
-
automatosx run researcher "Compare Redis vs PostgreSQL for session storage"
|
|
464
|
-
# Or use display name: automatosx run Ryan "..."
|
|
465
|
-
|
|
466
|
-
# 3. Search results later
|
|
467
|
-
automatosx memory search "session storage comparison"
|
|
468
|
-
```
|
|
293
|
+
/ax run danny "Debug the payment timeout issue"
|
|
294
|
+
# Danny analyzes, saves findings to memory
|
|
469
295
|
|
|
470
|
-
|
|
296
|
+
/ax run sofia "Fix the issue Danny found"
|
|
297
|
+
# Sofia reads Danny's analysis → Implements fix
|
|
471
298
|
|
|
472
|
-
|
|
473
|
-
#
|
|
474
|
-
- name: AI Code Review
|
|
475
|
-
run: |
|
|
476
|
-
automatosx run reviewer "Review changes in PR #${{ github.event.number }}"
|
|
299
|
+
/ax run queenie "Test the payment fix"
|
|
300
|
+
# Queenie knows the bug + fix → Comprehensive testing
|
|
477
301
|
```
|
|
478
302
|
|
|
479
|
-
|
|
303
|
+
**Result**: Coordinated debugging with full context preservation
|
|
480
304
|
|
|
305
|
+
### 📊 Research & Analysis
|
|
481
306
|
```bash
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
```
|
|
307
|
+
/ax run daisy "Analyze user behavior patterns"
|
|
308
|
+
# Daisy analyzes data → Findings in memory
|
|
485
309
|
|
|
486
|
-
|
|
310
|
+
/ax run paris "Design features based on Daisy's analysis"
|
|
311
|
+
# Paris reads analysis → Creates product spec
|
|
487
312
|
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
### Global Configuration
|
|
491
|
-
|
|
492
|
-
AutomatosX uses JSON configuration with priority order:
|
|
493
|
-
|
|
494
|
-
1. `.automatosx/config.json` (project-specific)
|
|
495
|
-
2. `automatosx.config.json` (project root)
|
|
496
|
-
3. `~/.automatosx/config.json` (user global)
|
|
497
|
-
|
|
498
|
-
**Example configuration:**
|
|
499
|
-
|
|
500
|
-
```json
|
|
501
|
-
{
|
|
502
|
-
"$schema": "https://automatosx.com/schema/config.json",
|
|
503
|
-
"version": "4.10.0",
|
|
504
|
-
"providers": {
|
|
505
|
-
"preferred": "claude",
|
|
506
|
-
"claude": {
|
|
507
|
-
"command": "claude"
|
|
508
|
-
},
|
|
509
|
-
"gemini": {
|
|
510
|
-
"command": "gemini"
|
|
511
|
-
},
|
|
512
|
-
"openai": {
|
|
513
|
-
"command": "codex"
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
-
"memory": {
|
|
517
|
-
"maxEntries": 10000
|
|
518
|
-
}
|
|
519
|
-
}
|
|
313
|
+
/ax run eric "Business case for Paris's proposal"
|
|
314
|
+
# Eric has analysis + spec → Strategic evaluation
|
|
520
315
|
```
|
|
521
316
|
|
|
522
|
-
|
|
317
|
+
**Result**: Data-driven decision making with complete context
|
|
523
318
|
|
|
524
|
-
|
|
319
|
+
---
|
|
525
320
|
|
|
526
|
-
|
|
527
|
-
# .automatosx/teams/engineering.yaml
|
|
528
|
-
name: engineering
|
|
529
|
-
displayName: "Engineering Team"
|
|
530
|
-
description: Software development specialists
|
|
321
|
+
## 🎯 Why Teams Choose AutomatosX
|
|
531
322
|
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
323
|
+
### For Solo Developers
|
|
324
|
+
- **Extend Claude Code** with persistent memory
|
|
325
|
+
- **Never repeat context** - agents remember everything
|
|
326
|
+
- **Coordinate complex tasks** with multi-agent workflows
|
|
327
|
+
- **100% local** - your data stays private
|
|
536
328
|
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
- testing
|
|
329
|
+
### For Teams
|
|
330
|
+
- **Shared knowledge base** - export/import memory across team
|
|
331
|
+
- **Consistent quality** - agents learn from past work
|
|
332
|
+
- **Faster onboarding** - new members inherit team knowledge
|
|
333
|
+
- **Audit trail** - complete history of all decisions
|
|
543
334
|
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
335
|
+
### For Claude Code Power Users
|
|
336
|
+
- **Slash command integration** - `/ax` for instant access
|
|
337
|
+
- **Terminal-native** - no context switching
|
|
338
|
+
- **CLI-based** - scriptable and automatable
|
|
339
|
+
- **Zero latency** - local memory = instant search
|
|
547
340
|
|
|
548
|
-
|
|
549
|
-
owner: "Engineering Lead"
|
|
550
|
-
created: "2025-10-08"
|
|
551
|
-
```
|
|
341
|
+
---
|
|
552
342
|
|
|
553
|
-
|
|
554
|
-
- **core**: Quality assurance (primary: claude)
|
|
555
|
-
- **engineering**: Software development (primary: codex)
|
|
556
|
-
- **business**: Product & planning (primary: gemini)
|
|
557
|
-
- **design**: Design & content (primary: gemini)
|
|
343
|
+
## 🛠️ Production-Ready
|
|
558
344
|
|
|
559
|
-
**
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
345
|
+
✅ **1,149 tests passing** (100% pass rate)
|
|
346
|
+
✅ **TypeScript strict mode** (zero errors)
|
|
347
|
+
✅ **84% test coverage** (comprehensive testing)
|
|
348
|
+
✅ **46MB bundle** (87% smaller than v3.x)
|
|
349
|
+
✅ **< 1ms memory search** (62x faster than v3.x)
|
|
564
350
|
|
|
565
|
-
###
|
|
351
|
+
### Performance Metrics
|
|
566
352
|
|
|
567
|
-
|
|
353
|
+
```
|
|
354
|
+
Memory Search: < 1ms (10,000 entries)
|
|
355
|
+
Bundle Size: 46MB (down from 340MB in v3.x)
|
|
356
|
+
Dependencies: 158 packages (down from 589 in v3.x)
|
|
357
|
+
Test Coverage: 84.19% (1,149 tests)
|
|
358
|
+
Memory Cost: $0 (no API calls)
|
|
359
|
+
```
|
|
568
360
|
|
|
569
|
-
|
|
570
|
-
- Each CLI uses its own default model (you can override via CLI config if needed)
|
|
571
|
-
- No need to specify model versions—CLIs auto-update to latest models
|
|
572
|
-
- You manage your own subscription/plan directly with the provider
|
|
573
|
-
- No API keys stored in AutomatosX—your CLI handles authentication
|
|
574
|
-
- Pay only for what you use via your existing CLI plan
|
|
361
|
+
### Technology Stack
|
|
575
362
|
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
363
|
+
- **Runtime**: Node.js 20+
|
|
364
|
+
- **Language**: TypeScript 5.3 (strict mode)
|
|
365
|
+
- **Memory**: SQLite + FTS5 (built-in full-text search)
|
|
366
|
+
- **Testing**: Vitest 2.x (1,149 tests)
|
|
367
|
+
- **Build**: tsup/esbuild
|
|
368
|
+
- **Providers**: Claude CLI, Gemini CLI, OpenAI Codex
|
|
581
369
|
|
|
582
370
|
---
|
|
583
371
|
|
|
584
|
-
##
|
|
372
|
+
## 🚧 Coming Soon
|
|
585
373
|
|
|
586
|
-
-
|
|
587
|
-
-
|
|
588
|
-
-
|
|
589
|
-
-
|
|
590
|
-
-
|
|
591
|
-
- 🐛 Bug reports
|
|
592
|
-
- ✨ Feature requests (use "enhancement" label)
|
|
593
|
-
- ❓ Questions
|
|
594
|
-
- 💡 Wishlist & Ideas
|
|
595
|
-
- **npm**: <https://www.npmjs.com/package/@defai.digital/automatosx>
|
|
596
|
-
- **Website**: <https://automatosx.com>
|
|
374
|
+
- Enhanced Claude Code integration
|
|
375
|
+
- Visual workflow builder
|
|
376
|
+
- Advanced memory analytics
|
|
377
|
+
- Cross-project knowledge sharing
|
|
378
|
+
- Plugin system for custom providers
|
|
597
379
|
|
|
598
380
|
---
|
|
599
381
|
|
|
600
|
-
##
|
|
382
|
+
## 🤝 Contributing
|
|
601
383
|
|
|
602
|
-
|
|
384
|
+
We welcome contributions! AutomatosX is built in the open.
|
|
603
385
|
|
|
604
|
-
**
|
|
386
|
+
- **[Contributing Guide](CONTRIBUTING.md)** - How to contribute
|
|
387
|
+
- **[Development Setup](CONTRIBUTING.md#development-setup)** - Local setup
|
|
388
|
+
- **[Architecture Guide](docs/guide/core-concepts.md)** - Understand the codebase
|
|
605
389
|
|
|
606
|
-
|
|
607
|
-
-
|
|
608
|
-
-
|
|
609
|
-
- Bundle: 340MB → 46MB (87% reduction)
|
|
610
|
-
|
|
611
|
-
See [CHANGELOG.md](CHANGELOG.md#400---2025-10-06) for detailed upgrade instructions.
|
|
390
|
+
**Join the community**:
|
|
391
|
+
- 🐛 [Report Issues](https://github.com/defai-digital/automatosx/issues)
|
|
392
|
+
- 💡 [Feature Requests](https://github.com/defai-digital/automatosx/issues/new)
|
|
612
393
|
|
|
613
394
|
---
|
|
614
395
|
|
|
615
|
-
##
|
|
616
|
-
|
|
617
|
-
We welcome contributions! Please:
|
|
396
|
+
## 📄 License
|
|
618
397
|
|
|
619
|
-
|
|
620
|
-
2. Follow [Conventional Commits](https://www.conventionalcommits.org/)
|
|
621
|
-
3. Run tests before submitting: `npm test -- --coverage`
|
|
622
|
-
4. Update docs when changing architecture or APIs
|
|
623
|
-
|
|
624
|
-
**Development setup:**
|
|
625
|
-
|
|
626
|
-
```bash
|
|
627
|
-
git clone https://github.com/defai-digital/automatosx.git
|
|
628
|
-
cd automatosx
|
|
629
|
-
npm install
|
|
630
|
-
npm test
|
|
631
|
-
npm run build
|
|
632
|
-
```
|
|
398
|
+
AutomatosX is [Apache 2.0 licensed](LICENSE).
|
|
633
399
|
|
|
634
400
|
---
|
|
635
401
|
|
|
636
|
-
##
|
|
402
|
+
## 🔗 Links
|
|
637
403
|
|
|
638
|
-
|
|
404
|
+
- **📦 npm**: [@defai.digital/automatosx](https://www.npmjs.com/package/@defai.digital/automatosx)
|
|
405
|
+
- **🐙 GitHub**: [defai-digital/automatosx](https://github.com/defai-digital/automatosx)
|
|
406
|
+
- **📖 Documentation**: [docs/](docs/)
|
|
407
|
+
- **🎉 Releases**: [GitHub Releases](https://github.com/defai-digital/automatosx/releases)
|
|
408
|
+
- **📋 Changelog**: [CHANGELOG.md](CHANGELOG.md)
|
|
639
409
|
|
|
640
410
|
---
|
|
641
411
|
|
|
642
|
-
**
|
|
412
|
+
**Transform Claude Code into an intelligent, coordinated team with AutomatosX.** 🚀
|
|
643
413
|
|
|
644
|
-
|
|
414
|
+
**Built with ❤️ by the AutomatosX team**
|