@defai.digital/automatosx 5.0.5 → 5.0.6

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,412 @@
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.6 · 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.6** (October 2025): File Operation Tools Enabled
70
+ - Claude Provider: Enable file operations (Read, Write, Edit, Bash, Glob, Grep)
71
+ - Gemini Provider: Enable automated file edits (--approval-mode auto_edit)
72
+ - Fixed issue where agents couldn't perform file operations through CLIs
73
+ - Updated provider CLI args tests for comprehensive coverage
117
74
 
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.
75
+ **v5.0.5**: Provider Parameters & Version Management
76
+ **v5.0.4**: Memory saving now works automatically
77
+ **v5.0.3**: Special character support in memory search
78
+ **v5.0.0**: Agent template system for quick agent creation
121
79
 
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.**
80
+ [📋 Full Changelog](CHANGELOG.md) | [🎉 Release Notes](https://github.com/defai-digital/automatosx/releases)
123
81
 
124
- ### The AutomatosX Solution
82
+ ---
125
83
 
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.
84
+ ## 🧠 Core Value: Persistent Memory
127
85
 
128
- ```bash
129
- # PRD: Kickoff sprint
130
- automatosx run planner "Draft Q1 roadmap with marketing milestones"
86
+ **AutomatosX remembers everything**. Every agent conversation is automatically saved and searchable.
131
87
 
132
- # Engineer: Build with guardrails
133
- automatosx run coder "Scaffold auth with Supabase"
134
- automatosx run reviewer "Audit API security before launch"
88
+ ### How It Works
135
89
 
136
- # QA: Run pre-launch checks
137
- automatosx run tester "Execute integration test suite"
90
+ ```typescript
91
+ // Automatic memory saving
92
+ /ax run paris "Design calculator with add/subtract"
93
+ → Task + Response saved to SQLite FTS5
138
94
 
139
- # Marketing: Coordinate launch
140
- automatosx run writer "Draft release notes and changelog"
141
- automatosx memory search "What did sales promise Customer #1234?"
95
+ // Automatic memory retrieval
96
+ /ax run sofia "Implement the calculator"
97
+ Memory searches "calculator" automatically
98
+ → Sofia receives: "# Relevant Context from Memory: Paris's design..."
99
+ → Sofia implements WITHOUT you repeating the spec
142
100
  ```
143
101
 
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?"
102
+ ### The Technology
162
103
 
163
- **Claude Code / ChatGPT**: Brilliant for answering quick questions or generating snippets. But they can't:
104
+ - **SQLite FTS5**: Built-in full-text search
105
+ - **< 1ms search**: 62x faster than v3.x vector search
106
+ - **$0 cost**: No embedding APIs, no cloud calls
107
+ - **100% local**: Your data never leaves your machine
108
+ - **Automatic injection**: Relevant context added to every agent
164
109
 
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
110
+ ### Benefits
169
111
 
170
- **AutomatosX**: Built for **shipping outcomes, not just code**. It's the glue that:
112
+ **Cross-day continuity**: Pick up where you left off
113
+ ✅ **Cross-agent knowledge**: All agents share the same knowledge base
114
+ ✅ **Learning from history**: Agents avoid past mistakes
115
+ ✅ **Zero cost scaling**: 10,000 entries = ~10MB, still < 1ms search
171
116
 
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.
117
+ **Learn more**: [Memory System Guide](docs/guide/agent-communication.md) | [Memory Tutorial](docs/tutorials/memory-management.md)
178
118
 
179
119
  ---
180
120
 
181
- ## What You Can Build in Minutes
121
+ ## 🤝 Core Value: Multi-Agent Orchestration
182
122
 
183
- ### 🔍 Research Assistant
123
+ **Agents coordinate automatically**. Natural language delegation creates complex workflows without manual orchestration.
184
124
 
185
- ```bash
186
- automatosx run researcher "Analyze the top 5 TypeScript frameworks in 2025"
187
- # → Searches web, summarizes findings, cites sources
188
- ```
125
+ ### How It Works
189
126
 
190
- ### 🚨 On-Call Incident Bot
127
+ ```typescript
128
+ // Product Manager analyzes and delegates
129
+ /ax run paris "Build authentication feature"
191
130
 
192
- ```bash
193
- automatosx run oncall "Check error logs from the last hour"
194
- # → Scans logs, identifies critical errors, auto-creates tickets
195
- ```
131
+ Paris response:
132
+ "I'll design the auth system with JWT + OAuth2.
196
133
 
197
- ### 💬 Customer Support Copilot
134
+ @sofia Please implement the JWT authentication API based on this design.
135
+ @steve Please audit the implementation for security issues."
198
136
 
199
- ```bash
200
- automatosx chat support
201
- > "What did Customer #1234 ask about last week?"
202
- # Searches memory, recalls context, suggests responses
137
+ // AutomatosX automatically:
138
+ // 1. Sofia receives full spec, implements code
139
+ // 2. Steve receives spec + code, performs audit
140
+ // 3. Results aggregated back to Paris
203
141
  ```
204
142
 
205
- ### 🔄 Batch Processing with Fallbacks
143
+ ### The Technology
206
144
 
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
- ```
145
+ - **7 delegation syntaxes**: `@mention`, `DELEGATE TO`, `Please ask`, etc.
146
+ - **Cycle detection**: Prevents infinite loops
147
+ - **Depth limits**: Default 2 levels (configurable)
148
+ - **Session tracking**: Who did what, when
149
+ - **Workspace isolation**: No file collisions
211
150
 
212
- See `examples/` for ready-to-run agent profiles.
213
-
214
- ---
151
+ ### Benefits
215
152
 
216
- ## Quick Start (< 2 minutes)
153
+ **Automatic coordination**: No manual task switching
154
+ ✅ **Parallel execution**: Multiple agents work simultaneously
155
+ ✅ **Transparent workflows**: Full delegation chain visible
156
+ ✅ **Context preservation**: Every agent has complete context
217
157
 
218
- ### 1. Install
158
+ **Learn more**: [Multi-Agent Orchestration Guide](docs/guide/multi-agent-orchestration.md)
219
159
 
220
- ```bash
221
- npm install -g @defai.digital/automatosx
222
- # or run without installing
223
- npx @defai.digital/automatosx --help
224
- ```
160
+ ---
225
161
 
226
- ### 2. Setup Provider CLI (one-time)
162
+ ## 🎭 15 Specialized Agents, 4 Professional Teams
227
163
 
228
- AutomatosX uses your installed CLI tools—**no API keys needed**:
164
+ **Every agent optimized for their domain with the best AI provider**:
229
165
 
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
- ```
166
+ ### 👥 Core Team (OpenAI)
167
+ General assistance and code generation
168
+ - **Alex** - Versatile assistant for general tasks
169
+ - **Sofia** - Senior software engineer (clean code, TDD, pragmatic)
170
+ - **Ryan** - Code reviewer (quality, security, performance)
171
+ - **Danny** - Debugger specialist
172
+ - **Wendy** - Technical writer
244
173
 
245
- AutomatosX will automatically detect and use your installed CLIs.
174
+ ### 💻 Engineering Team (Claude)
175
+ Deep reasoning for technical work
176
+ - **Bob** - Backend expert (API design, databases, microservices)
177
+ - **Frank** - Frontend specialist (React, UX, accessibility)
178
+ - **Oliver** - DevOps engineer (infrastructure, CI/CD, cloud)
179
+ - **Steve** - Security expert (threat modeling, security audit)
180
+ - **Queenie** - QA specialist (testing strategies, test automation)
246
181
 
247
- ### 3. Run your first agent
182
+ ### 📊 Business Team (Gemini)
183
+ Strategic thinking and analysis
184
+ - **Eric** - CEO (business strategy, organizational leadership)
185
+ - **Tony** - CTO (technology strategy, technical leadership)
186
+ - **Daisy** - Data Analyst (data analysis, ML, statistical modeling)
248
187
 
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
- ```
188
+ ### 🎨 Design Team (Gemini)
189
+ Creative and design work
190
+ - **Paris** - Product Manager (product strategy, user research)
191
+ - **Debbee** - UX/UI Designer (user experience, visual design)
253
192
 
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
- ```
193
+ [📖 Complete Agent Directory](examples/AGENTS_INFO.md)
261
194
 
262
195
  ---
263
196
 
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!
197
+ ## Quick Start
295
198
 
296
- **Intelligent Memory**
297
- SQLite FTS5 full-text search delivers millisecond recall with export/import, quotas, and deterministic search.
199
+ ### Installation
298
200
 
299
201
  ```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)
202
+ npm install -g @defai.digital/automatosx
306
203
  ```
307
204
 
308
- **Multi-Agent Orchestration** *(v4.7.0+)*
309
- Agents collaborate autonomously through natural language delegation—no complex APIs needed.
205
+ ### In Claude Code
310
206
 
311
207
  ```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
208
+ # Initialize (first time only)
209
+ /ax init
332
210
 
333
- **Safety features:**
211
+ # Run agents
212
+ /ax run paris "Design REST API for users"
213
+ /ax run sofia "Implement the API" # Auto-receives Paris's design
214
+ /ax run queenie "Write tests for the API" # Auto-receives design + implementation
334
215
 
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
216
+ # Search memory
217
+ /ax memory search "API design"
218
+ /ax memory list --agent paris
340
219
 
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
220
+ # Manage agents
221
+ /ax agent list
222
+ /ax agent show sofia
223
+ /ax agent create backend --template developer
224
+ ```
347
225
 
348
- **Developer Experience**
349
- Strict TypeScript, CLI ergonomics, and rich docs unblock contributors quickly.
226
+ **That's it!** Agents now remember everything and coordinate automatically.
350
227
 
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
- ```
228
+ 📖 **[Full Installation Guide](docs/guide/installation.md)** | **[Quick Start Tutorial](docs/guide/quick-start.md)**
356
229
 
357
230
  ---
358
231
 
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
- ```
232
+ ## 📚 Documentation
383
233
 
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
234
+ ### Getting Started
235
+ - **[Quick Start Guide](docs/guide/quick-start.md)** - Get up and running in 5 minutes
236
+ - **[Core Concepts](docs/guide/core-concepts.md)** - Understand agents, memory, providers
237
+ - **[Installation Guide](docs/guide/installation.md)** - Detailed setup instructions
388
238
 
389
- Strict mode TypeScript + Vitest ensures every module is covered before it ships.
239
+ ### Core Features
240
+ - **[Agent Communication & Memory](docs/guide/agent-communication.md)** - How agents communicate and remember
241
+ - **[Multi-Agent Orchestration](docs/guide/multi-agent-orchestration.md)** - Natural language delegation
242
+ - **[Team Configuration](docs/guide/team-configuration.md)** - Team-based agent organization
243
+ - **[Agent Templates](docs/guide/agent-templates.md)** - Quick agent creation
390
244
 
391
- ---
245
+ ### Tutorials
246
+ - **[Memory Management](docs/tutorials/memory-management.md)** - Hands-on memory system guide
247
+ - **[Creating Your First Agent](docs/tutorials/first-agent.md)** - Build custom agents
392
248
 
393
- ## Production-Ready Toolkit
249
+ ### Reference
250
+ - **[CLI Commands](docs/reference/cli-commands.md)** - Complete command reference
251
+ - **[Agent Directory](examples/AGENTS_INFO.md)** - All available agents
394
252
 
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** |
253
+ ---
401
254
 
402
- **Run the essentials:**
255
+ ## 🔬 The Technical Advantage
403
256
 
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
- ```
257
+ | Feature | Traditional AI Chat | Claude Code | Claude Code + AutomatosX |
258
+ |---------|---------------------|-------------|--------------------------|
259
+ | **Memory** | No | No | ✅ SQLite FTS5 (< 1ms) |
260
+ | **Cost** | $20/month | Included | ✅ $0 (100% local) |
261
+ | **Multi-Agent** | No | No | ✅ 15 specialized agents |
262
+ | **Coordination** | Manual | Manual | ✅ Automatic delegation |
263
+ | **Context Retention** | Copy-paste | Session only | ✅ Persistent (days/weeks) |
264
+ | **Knowledge Sharing** | No | No | ✅ Cross-agent memory |
265
+ | **Privacy** | Cloud | Claude servers | ✅ 100% local data |
266
+ | **Speed** | Web UI | Terminal | ✅ Instant CLI |
410
267
 
411
268
  ---
412
269
 
413
- ## Commands You'll Use Daily
270
+ ## 💼 Real-World Use Cases
414
271
 
272
+ ### 🏗️ Feature Development
415
273
  ```bash
416
- # Execute agents
417
- automatosx run <agent> "<task>" # One-time execution
418
- automatosx chat <agent> # Interactive session
274
+ /ax run paris "Design user authentication feature"
275
+ # Paris creates spec Saved to memory
419
276
 
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
277
+ /ax run sofia "Implement auth based on spec"
278
+ # Sofia auto-receives spec Implements code
424
279
 
425
- # See all agents with their memorable names
426
- # 📖 Full agent directory: examples/AGENTS_INFO.md
280
+ /ax run steve "Security audit the auth implementation"
281
+ # Steve auto-receives spec + code → Performs audit
427
282
 
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
283
+ /ax run wendy "Document the auth system"
284
+ # Wendy auto-receives everything Creates docs
443
285
  ```
444
286
 
445
- Full CLI reference: `docs/reference/cli-commands.md`
446
-
447
- ---
448
-
449
- ## Real-World Examples
450
-
451
- ### Research Pipeline
287
+ **Result**: 4-step workflow, zero context re-explanation, complete audit trail
452
288
 
289
+ ### 🐛 Bug Investigation
453
290
  ```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
- ```
291
+ /ax run danny "Debug the payment timeout issue"
292
+ # Danny analyzes, saves findings to memory
469
293
 
470
- ### CI/CD Integration
294
+ /ax run sofia "Fix the issue Danny found"
295
+ # Sofia reads Danny's analysis → Implements fix
471
296
 
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 }}"
297
+ /ax run queenie "Test the payment fix"
298
+ # Queenie knows the bug + fix → Comprehensive testing
477
299
  ```
478
300
 
479
- ### Cron Job Monitoring
301
+ **Result**: Coordinated debugging with full context preservation
480
302
 
303
+ ### 📊 Research & Analysis
481
304
  ```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
- ```
305
+ /ax run daisy "Analyze user behavior patterns"
306
+ # Daisy analyzes data Findings in memory
485
307
 
486
- ---
308
+ /ax run paris "Design features based on Daisy's analysis"
309
+ # Paris reads analysis → Creates product spec
487
310
 
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
- }
311
+ /ax run eric "Business case for Paris's proposal"
312
+ # Eric has analysis + spec → Strategic evaluation
520
313
  ```
521
314
 
522
- ### Team Configuration (v4.10.0+)
315
+ **Result**: Data-driven decision making with complete context
523
316
 
524
- **NEW**: Organize agents into teams with shared provider configurations:
317
+ ---
525
318
 
526
- ```yaml
527
- # .automatosx/teams/engineering.yaml
528
- name: engineering
529
- displayName: "Engineering Team"
530
- description: Software development specialists
319
+ ## 🎯 Why Teams Choose AutomatosX
531
320
 
532
- # Provider configuration (inherited by all team members)
533
- provider:
534
- primary: codex
535
- fallbackChain: [codex, gemini, claude]
321
+ ### For Solo Developers
322
+ - **Extend Claude Code** with persistent memory
323
+ - **Never repeat context** - agents remember everything
324
+ - **Coordinate complex tasks** with multi-agent workflows
325
+ - **100% local** - your data stays private
536
326
 
537
- # Shared abilities (automatically added to all team agents)
538
- sharedAbilities:
539
- - our-coding-standards
540
- - code-generation
541
- - refactoring
542
- - testing
327
+ ### For Teams
328
+ - **Shared knowledge base** - export/import memory across team
329
+ - **Consistent quality** - agents learn from past work
330
+ - **Faster onboarding** - new members inherit team knowledge
331
+ - **Audit trail** - complete history of all decisions
543
332
 
544
- # Team-level orchestration defaults
545
- orchestration:
546
- maxDelegationDepth: 2 # Default: 2 (v4.11.0+)
333
+ ### For Claude Code Power Users
334
+ - **Slash command integration** - `/ax` for instant access
335
+ - **Terminal-native** - no context switching
336
+ - **CLI-based** - scriptable and automatable
337
+ - **Zero latency** - local memory = instant search
547
338
 
548
- metadata:
549
- owner: "Engineering Lead"
550
- created: "2025-10-08"
551
- ```
339
+ ---
552
340
 
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)
341
+ ## 🛠️ Production-Ready
558
342
 
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
343
+ **1,149 tests passing** (100% pass rate)
344
+ **TypeScript strict mode** (zero errors)
345
+ **84% test coverage** (comprehensive testing)
346
+ **46MB bundle** (87% smaller than v3.x)
347
+ **< 1ms memory search** (62x faster than v3.x)
564
348
 
565
- ### Provider Configuration
349
+ ### Performance Metrics
566
350
 
567
- **How it works:**
351
+ ```
352
+ Memory Search: < 1ms (10,000 entries)
353
+ Bundle Size: 46MB (down from 340MB in v3.x)
354
+ Dependencies: 158 packages (down from 589 in v3.x)
355
+ Test Coverage: 84.19% (1,149 tests)
356
+ Memory Cost: $0 (no API calls)
357
+ ```
568
358
 
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
359
+ ### Technology Stack
575
360
 
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
361
+ - **Runtime**: Node.js 20+
362
+ - **Language**: TypeScript 5.3 (strict mode)
363
+ - **Memory**: SQLite + FTS5 (built-in full-text search)
364
+ - **Testing**: Vitest 2.x (1,149 tests)
365
+ - **Build**: tsup/esbuild
366
+ - **Providers**: Claude CLI, Gemini CLI, OpenAI Codex
581
367
 
582
368
  ---
583
369
 
584
- ## Documentation & Support
370
+ ## 🚧 Coming Soon
585
371
 
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>
372
+ - Enhanced Claude Code integration
373
+ - Visual workflow builder
374
+ - Advanced memory analytics
375
+ - Cross-project knowledge sharing
376
+ - Plugin system for custom providers
597
377
 
598
378
  ---
599
379
 
600
- ## Migration from v3.1
380
+ ## 🤝 Contributing
601
381
 
602
- ⚠️ **No automatic migration path** v4.0 requires clean installation due to fundamental architectural changes.
382
+ We welcome contributions! AutomatosX is built in the open.
603
383
 
604
- **Key changes:**
384
+ - **[Contributing Guide](CONTRIBUTING.md)** - How to contribute
385
+ - **[Development Setup](CONTRIBUTING.md#development-setup)** - Local setup
386
+ - **[Architecture Guide](docs/guide/core-concepts.md)** - Understand the codebase
605
387
 
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.
388
+ **Join the community**:
389
+ - 🐛 [Report Issues](https://github.com/defai-digital/automatosx/issues)
390
+ - 💡 [Feature Requests](https://github.com/defai-digital/automatosx/issues/new)
612
391
 
613
392
  ---
614
393
 
615
- ## Contributing
616
-
617
- We welcome contributions! Please:
394
+ ## 📄 License
618
395
 
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
- ```
396
+ AutomatosX is [Apache 2.0 licensed](LICENSE).
633
397
 
634
398
  ---
635
399
 
636
- ## License
400
+ ## 🔗 Links
637
401
 
638
- Apache License 2.0 — see [LICENSE](LICENSE) for details.
402
+ - **📦 npm**: [@defai.digital/automatosx](https://www.npmjs.com/package/@defai.digital/automatosx)
403
+ - **🐙 GitHub**: [defai-digital/automatosx](https://github.com/defai-digital/automatosx)
404
+ - **📖 Documentation**: [docs/](docs/)
405
+ - **🎉 Releases**: [GitHub Releases](https://github.com/defai-digital/automatosx/releases)
406
+ - **📋 Changelog**: [CHANGELOG.md](CHANGELOG.md)
639
407
 
640
408
  ---
641
409
 
642
- **Built by the DEFAI team for practitioners who ship agents, not demos.**
410
+ **Transform Claude Code into an intelligent, coordinated team with AutomatosX.** 🚀
643
411
 
644
- *Need enterprise support, custom integrations, or SLA guarantees? Contact us at <support@defai.digital>*
412
+ **Built with ❤️ by the AutomatosX team**