@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 CHANGED
@@ -1,644 +1,414 @@
1
1
  # AutomatosX
2
2
 
3
- > **The control tower for shipping customer-facing ideas—without the chaos**
4
- > Orchestrate specialized AI agents to move work from slide decks to production, keeping product, engineering, and stakeholders in sync.
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
  [![npm version](https://img.shields.io/npm/v/@defai.digital/automatosx.svg)](https://www.npmjs.com/package/@defai.digital/automatosx)
7
8
  [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
8
9
  [![TypeScript](https://img.shields.io/badge/TypeScript-100%25-blue.svg)](https://www.typescriptlang.org/)
9
- [![Tests](https://img.shields.io/badge/tests-passing-brightgreen.svg)](#production-ready-toolkit)
10
+ [![Tests](https://img.shields.io/badge/tests-1,149%20passing-brightgreen.svg)](#)
10
11
 
11
- **Teams and solo builders choose AutomatosX because:**
12
+ **Status**: Production Ready · v5.0.7 · October 2025
12
13
 
13
- - 🎯 **Keeps people aligned, not just code moving** – track roadmaps, builds, and launch tasks in one place
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
- Every team uses intelligent fallback strategies to ensure maximum reliability across all your workflows.
16
+ ## 🎯 Built for Claude Code
25
17
 
26
- **Status**: Production Release · **Latest**: October 2025
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
- # Quick agent creation from template
78
- ax agent create backend --template developer --interactive
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
- # List all agents by team
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
- # Show agent details
84
- ax agent show backend
85
- ```
29
+ ---
86
30
 
87
- **v4.11.0 (October 2025)**: FTS5 Full-Text Search
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
- **v4.10.0 (October 2025)**: Team-Based Configuration
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
- For detailed release notes, new features, and upgrade instructions, see:
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
- - 📋 **[Release Notes](https://github.com/defai-digital/automatosx/releases)** - Latest updates and changes
100
- - 📝 **[Changelog](CHANGELOG.md)** - Complete version history
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
- **Quick Install:**
47
+ ### Real-World Impact
103
48
 
104
- ```bash
105
- npm install -g @defai.digital/automatosx
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
- ## Why AutomatosX?
63
+ **Time saved**: Hours per week. **Quality**: Consistent. **Cost**: $0.
111
64
 
112
- ### The Real Problem: Coordination, Not Code
65
+ ---
113
66
 
114
- Building software is easy. **Shipping it reliably is hard.**
67
+ ## 🚀 What's New
115
68
 
116
- Your team faces:
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
- - **Context chaos**: Marketing doesn't know what's shipping next week. Sales asks "who owns this?" Nobody remembers what was decided.
119
- - **Quality gaps**: Deadlines loom. Release notes go stale. Compliance updates get skipped. Tests aren't run.
120
- - **Handoff friction**: New contributors ask the same questions. Cross-team work stalls. Executives lose confidence in timelines.
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
- **Claude or ChatGPT can write code fast—but they can't tell your team what to ship, in what order, or who's responsible.**
82
+ [📋 Full Changelog](CHANGELOG.md) | [🎉 Release Notes](https://github.com/defai-digital/automatosx/releases)
123
83
 
124
- ### The AutomatosX Solution
84
+ ---
125
85
 
126
- **Think of AutomatosX as your operating system for launches.** Every plan, checklist, test result, and approval lives in one orchestrated workflow—so your team stays in sync from kickoff to post-launch.
86
+ ## 🧠 Core Value: Persistent Memory
127
87
 
128
- ```bash
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
- # Engineer: Build with guardrails
133
- automatosx run coder "Scaffold auth with Supabase"
134
- automatosx run reviewer "Audit API security before launch"
90
+ ### How It Works
135
91
 
136
- # QA: Run pre-launch checks
137
- automatosx run tester "Execute integration test suite"
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
- # Marketing: Coordinate launch
140
- automatosx run writer "Draft release notes and changelog"
141
- automatosx memory search "What did sales promise Customer #1234?"
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
- **Every agent has:**
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
- **Claude Code / ChatGPT**: Brilliant for answering quick questions or generating snippets. But they can't:
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
- - Track who approved the launch plan
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
- **AutomatosX**: Built for **shipping outcomes, not just code**. It's the glue that:
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
- - Keeps teams aligned on what's shipping and when
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
- ## What You Can Build in Minutes
123
+ ## 🤝 Core Value: Multi-Agent Orchestration
182
124
 
183
- ### 🔍 Research Assistant
125
+ **Agents coordinate automatically**. Natural language delegation creates complex workflows without manual orchestration.
184
126
 
185
- ```bash
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
- ### 🚨 On-Call Incident Bot
129
+ ```typescript
130
+ // Product Manager analyzes and delegates
131
+ /ax run paris "Build authentication feature"
191
132
 
192
- ```bash
193
- automatosx run oncall "Check error logs from the last hour"
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
- ### 💬 Customer Support Copilot
136
+ @sofia Please implement the JWT authentication API based on this design.
137
+ @steve Please audit the implementation for security issues."
198
138
 
199
- ```bash
200
- automatosx chat support
201
- > "What did Customer #1234 ask about last week?"
202
- # Searches memory, recalls context, suggests responses
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
- ### 🔄 Batch Processing with Fallbacks
145
+ ### The Technology
206
146
 
207
- ```bash
208
- automatosx run batch-analyzer "Process all user feedback from Q3"
209
- # Tries Claude falls back to Gemini if rate-limited → exports results
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
- See `examples/` for ready-to-run agent profiles.
213
-
214
- ---
153
+ ### Benefits
215
154
 
216
- ## Quick Start (< 2 minutes)
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
- ### 1. Install
160
+ **Learn more**: [Multi-Agent Orchestration Guide](docs/guide/multi-agent-orchestration.md)
219
161
 
220
- ```bash
221
- npm install -g @defai.digital/automatosx
222
- # or run without installing
223
- npx @defai.digital/automatosx --help
224
- ```
162
+ ---
225
163
 
226
- ### 2. Setup Provider CLI (one-time)
164
+ ## 🎭 15 Specialized Agents, 4 Professional Teams
227
165
 
228
- AutomatosX uses your installed CLI tools—**no API keys needed**:
166
+ **Every agent optimized for their domain with the best AI provider**:
229
167
 
230
- ```bash
231
- # Install Claude Code CLI (if you use Claude)
232
- npm install -g @anthropic-ai/claude-code
233
- # Or via native installer: curl -fsSL https://claude.ai/install.sh | bash
234
- # Or via Homebrew: brew install --cask claude-code
235
-
236
- # Or install Gemini CLI (if you use Gemini)
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
- AutomatosX will automatically detect and use your installed CLIs.
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
- ### 3. Run your first agent
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
- ```bash
250
- automatosx run assistant "Explain quantum computing in 3 sentences"
251
- # AutomatosX calls your installed claude/gemini/codex CLI under the hood
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
- **That's it!** Now explore:
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
- ## Key Capabilities
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
- **Intelligent Memory**
297
- SQLite FTS5 full-text search delivers millisecond recall with export/import, quotas, and deterministic search.
201
+ ### Installation
298
202
 
299
203
  ```bash
300
- # Store information
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
- **Multi-Agent Orchestration** *(v4.7.0+)*
309
- Agents collaborate autonomously through natural language delegation—no complex APIs needed.
207
+ ### In Claude Code
310
208
 
311
209
  ```bash
312
- # Coordinator agent automatically delegates to specialists:
313
- automatosx run coordinator "Build authentication feature"
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
- **Safety features:**
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
- - Autonomous collaboration (no whitelists needed)
336
- - Cycle detection prevents infinite loops
337
- - Depth limits control delegation chains (default: 3)
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
- **Secure Execution**
342
- Path boundary validation, workspace sandboxes, and deterministic config precedence keep agents in safe lanes.
343
-
344
- - Agents read user files (validated paths only)
345
- - ✅ Agents write to isolated workspaces (`.automatosx/workspaces/<agent>/`)
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
- **Developer Experience**
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
- ```bash
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
- ## Architecture at a Glance
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
- **v4.10.0 Highlights:**
385
- - 🆕 `.automatosx/teams/` - Team-based configuration (4 teams)
386
- - 🆕 `src/core/team-manager.ts` - Team configuration management
387
- - 🆕 `src/types/team.ts` - TeamConfig type definitions
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
- Strict mode TypeScript + Vitest ensures every module is covered before it ships.
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
- ## Production-Ready Toolkit
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
- | Metric | v3.1 | v4.10.0 | v5.0.1 |
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
- **Run the essentials:**
257
+ ## 🔬 The Technical Advantage
403
258
 
404
- ```bash
405
- npm run build # Bundle via tsup into dist/
406
- npm test # All test suites
407
- npm run typecheck # Strict TS validation
408
- npm run test:coverage # Generate coverage report
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
- ## Commands You'll Use Daily
272
+ ## 💼 Real-World Use Cases
414
273
 
274
+ ### 🏗️ Feature Development
415
275
  ```bash
416
- # Execute agents
417
- automatosx run <agent> "<task>" # One-time execution
418
- automatosx chat <agent> # Interactive session
276
+ /ax run paris "Design user authentication feature"
277
+ # Paris creates spec Saved to memory
419
278
 
420
- # Agents have memorable names! 🎉
421
- automatosx run Bob "Design a RESTful API" # Bob = Backend Engineer
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
- # See all agents with their memorable names
426
- # 📖 Full agent directory: examples/AGENTS_INFO.md
282
+ /ax run steve "Security audit the auth implementation"
283
+ # Steve auto-receives spec + code → Performs audit
427
284
 
428
- # Manage agents
429
- automatosx list agents # Show available agents
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
- Full CLI reference: `docs/reference/cli-commands.md`
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
- # 1. Define researcher agent (v4.10.0+ team-based config)
455
- cat > .automatosx/agents/researcher.yaml <<EOF
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
- ### CI/CD Integration
296
+ /ax run sofia "Fix the issue Danny found"
297
+ # Sofia reads Danny's analysis → Implements fix
471
298
 
472
- ```yaml
473
- # .github/workflows/code-review.yml
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
- ### Cron Job Monitoring
303
+ **Result**: Coordinated debugging with full context preservation
480
304
 
305
+ ### 📊 Research & Analysis
481
306
  ```bash
482
- # Monitor logs every hour
483
- 0 * * * * automatosx run oncall "Check last hour logs for errors" | mail -s "Hourly Report" team@company.com
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
- ## Configuration
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
- ### Team Configuration (v4.10.0+)
317
+ **Result**: Data-driven decision making with complete context
523
318
 
524
- **NEW**: Organize agents into teams with shared provider configurations:
319
+ ---
525
320
 
526
- ```yaml
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
- # Provider configuration (inherited by all team members)
533
- provider:
534
- primary: codex
535
- fallbackChain: [codex, gemini, claude]
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
- # Shared abilities (automatically added to all team agents)
538
- sharedAbilities:
539
- - our-coding-standards
540
- - code-generation
541
- - refactoring
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
- # Team-level orchestration defaults
545
- orchestration:
546
- maxDelegationDepth: 2 # Default: 2 (v4.11.0+)
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
- metadata:
549
- owner: "Engineering Lead"
550
- created: "2025-10-08"
551
- ```
341
+ ---
552
342
 
553
- **Built-in Teams:**
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
- **Benefits:**
560
- - Agents inherit provider settings from their team
561
- - Change provider for entire team at once
562
- - Shared abilities automatically included
563
- - No duplication across agent configs
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
- ### Provider Configuration
351
+ ### Performance Metrics
566
352
 
567
- **How it works:**
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
- - AutomatosX calls your installed CLI commands (`claude`, `gemini`, `codex`)
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
- **Provider Selection Priority** (v4.10.0+):
577
- 1. **CLI option** (highest): `ax run agent "task" --provider gemini`
578
- 2. **Team config**: From `.automatosx/teams/<team>.yaml`
579
- 3. **Agent config** (deprecated): From agent's `provider` field
580
- 4. **Router fallback** (lowest): Global provider routing
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
- ## Documentation & Support
372
+ ## 🚧 Coming Soon
585
373
 
586
- - **Agent Directory**: `examples/AGENTS_INFO.md` (complete list of agents with memorable names)
587
- - **Guides**: `docs/guide/` (installation, quick start, core concepts)
588
- - **FAQ**: `FAQ.md`
589
- - **Troubleshooting**: `TROUBLESHOOTING.md`
590
- - **Issues & Support**: [GitHub Issues](https://github.com/defai-digital/automatosx/issues)
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
- ## Migration from v3.1
382
+ ## 🤝 Contributing
601
383
 
602
- ⚠️ **No automatic migration path** v4.0 requires clean installation due to fundamental architectural changes.
384
+ We welcome contributions! AutomatosX is built in the open.
603
385
 
604
- **Key changes:**
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
- - Memory: Milvus vector DB → SQLite FTS5 full-text search
607
- - Language: JavaScript → TypeScript
608
- - Config: `.defai/` → `.automatosx/`, YAML → JSON
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
- ## Contributing
616
-
617
- We welcome contributions! Please:
396
+ ## 📄 License
618
397
 
619
- 1. Read [CONTRIBUTING.md](CONTRIBUTING.md)
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
- ## License
402
+ ## 🔗 Links
637
403
 
638
- Apache License 2.0 — see [LICENSE](LICENSE) for details.
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
- **Built by the DEFAI team for practitioners who ship agents, not demos.**
412
+ **Transform Claude Code into an intelligent, coordinated team with AutomatosX.** 🚀
643
413
 
644
- *Need enterprise support, custom integrations, or SLA guarantees? Contact us at <support@defai.digital>*
414
+ **Built with ❤️ by the AutomatosX team**