@defai.digital/automatosx 9.2.0 → 9.2.3
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/CHANGELOG.md +183 -0
- package/README.md +426 -1106
- package/dist/index.js +337 -109
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<h1><img src=".github/assets/axlogo.png" alt="AutomatosX Logo" width="36" /> <span style="font-size: 1.5em;">AutomatosX</span></h1>
|
|
2
2
|
|
|
3
|
-
*
|
|
3
|
+
*The Invisible Power Addon for Claude Code & OpenAI Codex*
|
|
4
4
|
|
|
5
|
-
AutomatosX
|
|
5
|
+
**AutomatosX transforms your AI coding assistant into a multi-agent enterprise platform** - with 20+ specialized agents, persistent memory, and 80% cost savings through intelligent multi-provider routing. **You keep using Claude Code or Codex exactly as before**, but now with superpowers.
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/@defai.digital/automatosx)
|
|
8
8
|
[](LICENSE)
|
|
@@ -13,1116 +13,591 @@ AutomatosX is a pure CLI orchestration platform for AI agents. It wraps around `
|
|
|
13
13
|
[](https://www.microsoft.com/windows)
|
|
14
14
|
[](https://ubuntu.com)
|
|
15
15
|
|
|
16
|
-
**Status**: ✅ **Production Ready** | v9.2.
|
|
16
|
+
**Status**: ✅ **Production Ready** | v9.2.3 | Enterprise MCP Support | Multi-Provider Orchestration
|
|
17
17
|
|
|
18
|
-
>
|
|
18
|
+
> 🎯 **What AutomatosX Does**: Adds 20+ specialized agents, persistent memory, workflow automation, and 80% cost savings to Claude Code/Codex - **without changing how you work**.
|
|
19
19
|
|
|
20
|
-
>
|
|
20
|
+
> 💡 **No Learning Curve**: Keep using Claude Code naturally. AutomatosX runs invisibly in the background, giving you enterprise capabilities automatically.
|
|
21
21
|
|
|
22
22
|
---
|
|
23
23
|
|
|
24
|
-
## ⚡
|
|
24
|
+
## ⚡ The Problem (Before AutomatosX)
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
**Claude Code is amazing, but...**
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
```
|
|
29
|
+
❌ Expensive: $150-300/mo API costs for heavy users
|
|
30
|
+
❌ No Memory: Loses context between sessions (wasted tokens)
|
|
31
|
+
❌ Single Agent: No specialized experts (backend, security, etc.)
|
|
32
|
+
❌ No Multi-Provider: Locked into one provider (no cost optimization)
|
|
33
|
+
❌ No Observability: Can't track what AI is doing (compliance issue)
|
|
34
|
+
❌ No Workflows: Manual coordination for complex tasks
|
|
35
|
+
```
|
|
33
36
|
|
|
34
|
-
|
|
35
|
-
|---------|--------------|-------|
|
|
36
|
-
| 📋 **Spec-Kit Integration** | Define workflows in YAML. Generate plans, DAGs, scaffolding, and tests automatically. | Ship projects 10x faster |
|
|
37
|
-
| 🧠 **Persistent Memory** | Every conversation is remembered. Agents get perfect context automatically. | Never repeat yourself again |
|
|
38
|
-
| 🤝 **Multi-Agent Orchestration** | 20 specialized agents delegate tasks to each other. You manage the project, not the details. | Focus on strategy, not micromanagement |
|
|
39
|
-
| 🔧 **Pure CLI Wrapper** | Works with your existing `claude`, `gemini`, `grok`, `codex` CLIs. No API keys needed for CLI mode. | Simple integration |
|
|
40
|
-
| 🔍 **Complete Observability** | Trace every execution and decision. Debug with confidence. | Production-grade reliability |
|
|
41
|
-
| 🎯 **Enterprise MCP** | Production-ready MCP server management: lifecycle logging, auto-install, hot-reload, metrics, resource limits. | Mission-critical reliability |
|
|
37
|
+
**Total Monthly Cost**: $170-320/mo (Claude Pro + API usage)
|
|
42
38
|
|
|
43
39
|
---
|
|
44
40
|
|
|
45
|
-
##
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
# Install
|
|
49
|
-
npm i -g @defai.digital/automatosx
|
|
41
|
+
## ✨ The Solution (After AutomatosX)
|
|
50
42
|
|
|
51
|
-
|
|
52
|
-
cd your-project && ax setup
|
|
43
|
+
**Same Claude Code experience, but with superpowers:**
|
|
53
44
|
|
|
54
|
-
|
|
55
|
-
|
|
45
|
+
```
|
|
46
|
+
✅ 80% Cost Savings: $60/mo total (multi-provider routing)
|
|
47
|
+
✅ Perfect Memory: Remembers everything forever (SQLite FTS5)
|
|
48
|
+
✅ 20+ Specialized Agents: Backend, security, DevOps experts
|
|
49
|
+
✅ Multi-Provider: Auto-routes to Claude/Gemini/OpenAI optimally
|
|
50
|
+
✅ Complete Observability: JSONL trace logs for every decision
|
|
51
|
+
✅ Workflow Automation: YAML specs for complex multi-step tasks
|
|
52
|
+
```
|
|
56
53
|
|
|
57
|
-
|
|
58
|
-
ax run workflow.ax.yaml
|
|
54
|
+
**Total Monthly Cost**: $60/mo (same unlimited usage)
|
|
59
55
|
|
|
60
|
-
|
|
61
|
-
ax providers trace --follow
|
|
56
|
+
**💰 Savings**: $110-260/mo per developer | $1,320-3,120/year per developer
|
|
62
57
|
|
|
63
|
-
|
|
64
|
-
```
|
|
58
|
+
---
|
|
65
59
|
|
|
66
|
-
|
|
60
|
+
## 🎨 How It Works (The Magic)
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
┌────────────────────────────────────────────────────────────────┐
|
|
64
|
+
│ You (Developer) │
|
|
65
|
+
│ "Build user authentication with security audit" │
|
|
66
|
+
└────────────────────────────────────────────────────────────────┘
|
|
67
|
+
↓
|
|
68
|
+
[Claude Code]
|
|
69
|
+
(Your familiar interface)
|
|
70
|
+
↓
|
|
71
|
+
┌────────────────────────────────────────────────────────────────┐
|
|
72
|
+
│ AutomatosX │
|
|
73
|
+
│ (Invisible Power Layer) │
|
|
74
|
+
│ │
|
|
75
|
+
│ • Routes to optimal provider (cost + performance) │
|
|
76
|
+
│ • Delegates to specialized agents (backend → security) │
|
|
77
|
+
│ • Saves everything to persistent memory (zero repetition) │
|
|
78
|
+
│ • Logs all decisions (complete observability) │
|
|
79
|
+
└────────────────────────────────────────────────────────────────┘
|
|
80
|
+
↓
|
|
81
|
+
┌─────────────────────┼─────────────────────┐
|
|
82
|
+
↓ ↓ ↓
|
|
83
|
+
┌──────────┐ ┌──────────┐ ┌──────────┐
|
|
84
|
+
│ Claude │ │ Gemini │ │ OpenAI │
|
|
85
|
+
│ (Reason) │ │ (Code) │ │ (Speed) │
|
|
86
|
+
└──────────┘ └──────────┘ └──────────┘
|
|
87
|
+
↓ ↓ ↓
|
|
88
|
+
[MCP Servers]
|
|
89
|
+
Filesystem • Git • Database
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
**You**: Talk to Claude Code naturally (no new commands!)
|
|
93
|
+
|
|
94
|
+
**AutomatosX**: Invisibly orchestrates multi-agent execution, optimizes costs, saves to memory
|
|
95
|
+
|
|
96
|
+
**You Get**: Better results, 80% lower costs, perfect context - automatically
|
|
67
97
|
|
|
68
98
|
---
|
|
69
99
|
|
|
70
|
-
##
|
|
100
|
+
## 🚀 Quick Start (60 Seconds)
|
|
101
|
+
|
|
102
|
+
### Step 1: Install AutomatosX
|
|
71
103
|
|
|
72
104
|
```bash
|
|
73
|
-
# 1. Install AutomatosX
|
|
74
105
|
npm install -g @defai.digital/automatosx
|
|
106
|
+
```
|
|
75
107
|
|
|
76
|
-
|
|
77
|
-
cd your-project
|
|
108
|
+
### Step 2: Initialize in Your Project
|
|
78
109
|
|
|
79
|
-
|
|
110
|
+
```bash
|
|
111
|
+
cd your-project
|
|
80
112
|
ax setup
|
|
81
|
-
# Or force reinitialize: ax setup -f
|
|
82
|
-
|
|
83
|
-
# ⚠️ IMPORTANT: You MUST run 'ax setup' before using AutomatosX
|
|
84
|
-
# This command:
|
|
85
|
-
# - Creates .automatosx/ directory with all 20 specialized agents
|
|
86
|
-
# - Sets up configuration files (ax.config.json)
|
|
87
|
-
# - Initializes memory database and session management
|
|
88
|
-
# - Configures the CLI environment for optimal performance
|
|
89
|
-
|
|
90
|
-
# 4. Create a workflow spec in natural language
|
|
91
|
-
ax spec create "Build user authentication with database, API, JWT, security audit, and tests"
|
|
92
|
-
|
|
93
|
-
# AutomatosX automatically:
|
|
94
|
-
# ✅ Generates a complete project spec (.specify/)
|
|
95
|
-
# ✅ Creates execution plan
|
|
96
|
-
# ✅ Generates DAG for parallel execution
|
|
97
|
-
# ✅ Scaffolds project structure
|
|
98
|
-
# ✅ Generates comprehensive tests
|
|
99
|
-
# ✅ Executes with configured provider
|
|
100
|
-
# ✅ Tracks all decisions with trace logging
|
|
101
|
-
|
|
102
|
-
# 5. View the generated plan
|
|
103
|
-
ax gen plan workflow.ax.yaml
|
|
104
|
-
|
|
105
|
-
# 6. Execute the workflow
|
|
106
|
-
ax run workflow.ax.yaml
|
|
107
113
|
```
|
|
108
114
|
|
|
109
|
-
**
|
|
110
|
-
|
|
111
|
-
---
|
|
112
|
-
|
|
113
|
-
## 🗣️ **Recommended**: Natural Language Interface
|
|
114
|
-
|
|
115
|
-
AutomatosX is designed to work seamlessly with AI assistants using natural language commands. This is the **recommended way** to use AutomatosX:
|
|
116
|
-
|
|
117
|
-
**✨ Key Feature**: AutomatosX **automatically selects the best agent(s)** for your task. You don't need to specify which agent to use - just describe what you want!
|
|
118
|
-
|
|
119
|
-
### Use with Claude Code, Gemini CLI, Grok CLI, or OpenAI Codex
|
|
115
|
+
**That's it!** AutomatosX is now running invisibly. Keep using Claude Code/Codex naturally.
|
|
120
116
|
|
|
121
|
-
|
|
117
|
+
### Step 3: Use Claude Code Naturally (No New Commands!)
|
|
122
118
|
|
|
123
|
-
|
|
124
|
-
# In Claude Code
|
|
125
|
-
"Please use ax to implement user authentication"
|
|
126
|
-
"Use ax to audit this code for vulnerabilities"
|
|
127
|
-
"Have ax write comprehensive tests for this feature"
|
|
128
|
-
"Use ax to design a microservices architecture"
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
```
|
|
132
|
-
# In Gemini CLI
|
|
133
|
-
"Use ax to find and fix bugs in the authentication system"
|
|
134
|
-
"Work with ax to optimize the database queries"
|
|
135
|
-
"Use ax to build the login UI"
|
|
136
|
-
```
|
|
137
|
-
|
|
138
|
-
```
|
|
139
|
-
# In Grok CLI
|
|
140
|
-
"Use ax to analyze and refactor this codebase"
|
|
141
|
-
"Work with ax to debug the performance bottleneck"
|
|
142
|
-
"Use ax to review code quality and suggest improvements"
|
|
143
|
-
"Have ax identify security vulnerabilities"
|
|
144
|
-
```
|
|
119
|
+
**Just talk to Claude Code like you always do:**
|
|
145
120
|
|
|
146
121
|
```
|
|
147
|
-
|
|
148
|
-
"Use ax to build the user interface"
|
|
149
|
-
"Work with ax to set up CI/CD pipeline"
|
|
150
|
-
"Use ax to design the database schema"
|
|
122
|
+
"Build user authentication with JWT. Save the design to memory for future reference."
|
|
151
123
|
```
|
|
152
124
|
|
|
153
|
-
**
|
|
154
|
-
|
|
155
|
-
-
|
|
156
|
-
-
|
|
157
|
-
-
|
|
158
|
-
- 📝 All decisions stored in memory for context
|
|
125
|
+
**Behind the scenes, AutomatosX automatically**:
|
|
126
|
+
- Routes to Gemini (cost-efficient for implementation)
|
|
127
|
+
- Delegates security audit to Claude (best reasoning)
|
|
128
|
+
- Saves everything to persistent memory (zero token waste)
|
|
129
|
+
- Logs all decisions (complete audit trail)
|
|
159
130
|
|
|
160
|
-
|
|
131
|
+
**You see**: Natural Claude Code response, but better and cheaper!
|
|
161
132
|
|
|
162
|
-
|
|
133
|
+
---
|
|
163
134
|
|
|
164
|
-
|
|
165
|
-
# In Claude Code
|
|
166
|
-
"Create an ax workflow spec for a REST API with authentication, database,
|
|
167
|
-
and comprehensive tests. Then execute it."
|
|
135
|
+
## 💬 Natural Language Examples (How You'll Use It)
|
|
168
136
|
|
|
169
|
-
|
|
170
|
-
backwards compatibility tests. Use the backend and security agents."
|
|
137
|
+
### Example 1: Multi-Agent Collaboration
|
|
171
138
|
|
|
172
|
-
|
|
173
|
-
and deployment configs."
|
|
139
|
+
**You say to Claude Code**:
|
|
174
140
|
```
|
|
175
|
-
|
|
141
|
+
"Work with AutomatosX agents to build a payment system.
|
|
142
|
+
Let the backend agent implement the API, security agent audit it,
|
|
143
|
+
and quality agent write tests. Save everything to memory."
|
|
176
144
|
```
|
|
177
|
-
# In Gemini CLI
|
|
178
|
-
"Use ax to create and execute a workflow for migrating from MongoDB
|
|
179
|
-
to PostgreSQL. Include data validation and rollback procedures."
|
|
180
|
-
|
|
181
|
-
"Generate a spec for implementing rate limiting across all API endpoints.
|
|
182
|
-
Include security review and load testing."
|
|
183
145
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
146
|
+
**What AutomatosX does automatically**:
|
|
147
|
+
1. Product agent designs architecture
|
|
148
|
+
2. Backend agent implements API (routed to Gemini - cost-efficient)
|
|
149
|
+
3. Security agent audits code (routed to Claude - best reasoning)
|
|
150
|
+
4. Quality agent writes tests (routed to Gemini - fast)
|
|
151
|
+
5. Everything saved to memory for future tasks
|
|
152
|
+
6. Complete trace log for observability
|
|
187
153
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
Redis, and push notifications. Generate the full workflow spec."
|
|
154
|
+
**Cost**: $0 additional (using CLI subscriptions)
|
|
155
|
+
**Time**: 60% faster (parallel execution)
|
|
156
|
+
**Quality**: 3 specialized agents vs 1 generalist
|
|
192
157
|
|
|
193
|
-
|
|
194
|
-
Facebook providers. Include security audit and integration tests."
|
|
158
|
+
### Example 2: Persistent Memory
|
|
195
159
|
|
|
196
|
-
|
|
197
|
-
blue-green deployment strategy and rollback automation."
|
|
160
|
+
**Day 1 - You say**:
|
|
198
161
|
```
|
|
199
|
-
|
|
162
|
+
"Design a calculator app with add/subtract features.
|
|
163
|
+
Save the architecture to AutomatosX memory."
|
|
200
164
|
```
|
|
201
|
-
# In Grok CLI
|
|
202
|
-
"Use ax to create a workflow for comprehensive code quality improvement.
|
|
203
|
-
Include refactoring, performance optimization, and security hardening."
|
|
204
|
-
|
|
205
|
-
"Generate and execute a spec for debugging and fixing production issues.
|
|
206
|
-
Include root cause analysis, fix implementation, and regression tests."
|
|
207
165
|
|
|
208
|
-
|
|
209
|
-
refactoring strategy, and validation tests."
|
|
166
|
+
**Day 7 - You say**:
|
|
210
167
|
```
|
|
211
|
-
|
|
212
|
-
#### Multi-Agent Orchestration
|
|
213
|
-
|
|
168
|
+
"Implement the calculator API we designed last week."
|
|
214
169
|
```
|
|
215
|
-
# In Claude Code
|
|
216
|
-
"Use ax to build a complete e-commerce platform with requirements,
|
|
217
|
-
architecture, API, database, React UI, security audit, and comprehensive tests."
|
|
218
170
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
171
|
+
**AutomatosX automatically**:
|
|
172
|
+
- Searches memory for "calculator" design
|
|
173
|
+
- Injects full context into prompt (< 1ms search)
|
|
174
|
+
- Zero token waste (no repetition)
|
|
175
|
+
- Perfect continuity (like talking to same person)
|
|
222
176
|
|
|
223
|
-
|
|
224
|
-
# In Grok CLI
|
|
225
|
-
"Use ax to analyze and optimize the entire codebase with quality checks,
|
|
226
|
-
security audits, performance profiling, and comprehensive refactoring."
|
|
177
|
+
**Savings**: 50-80% fewer tokens (no context repetition)
|
|
227
178
|
|
|
228
|
-
|
|
229
|
-
tracing, log analysis, and performance optimization."
|
|
230
|
-
```
|
|
231
|
-
|
|
232
|
-
#### Iterate Mode Tasks
|
|
179
|
+
### Example 3: Cost Optimization
|
|
233
180
|
|
|
181
|
+
**You say**:
|
|
234
182
|
```
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
# In Gemini CLI - Comprehensive Code Analysis
|
|
239
|
-
"Use ax in iterate mode to analyze the entire codebase for
|
|
240
|
-
performance issues. Set 120 minute timeout with balanced strictness."
|
|
241
|
-
|
|
242
|
-
# In OpenAI Codex - Security Hardening
|
|
243
|
-
"Use ax to run a comprehensive security audit in iterate mode
|
|
244
|
-
with strict level. This is for production deployment."
|
|
183
|
+
"Review this 10,000-line codebase for bugs.
|
|
184
|
+
Use cost-efficient routing - this is routine analysis."
|
|
245
185
|
```
|
|
246
186
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
-
|
|
250
|
-
-
|
|
251
|
-
-
|
|
252
|
-
- ✅ **Integrated**: Works directly in your AI assistant workflow
|
|
253
|
-
- ✅ **Powerful**: Combines AI assistant capabilities with AutomatosX's memory and orchestration
|
|
254
|
-
- ✅ **Production-Ready**: Full observability and trace logging for debugging
|
|
255
|
-
|
|
256
|
-
### Behind the Scenes
|
|
257
|
-
|
|
258
|
-
When you say "use ax to implement authentication", here's what happens:
|
|
259
|
-
|
|
260
|
-
1. AI assistant calls `ax run "implement user authentication"`
|
|
261
|
-
2. ax **automatically analyzes the task** and selects the best agent(s)
|
|
262
|
-
3. Routes to the configured provider
|
|
263
|
-
4. Persistent memory ensures perfect context across all interactions
|
|
264
|
-
5. Results are returned to your AI assistant with full context
|
|
265
|
-
6. The conversation continues naturally
|
|
187
|
+
**AutomatosX automatically**:
|
|
188
|
+
- Routes to Gemini (routine task = cost-efficient)
|
|
189
|
+
- Uses Gemini Advanced unlimited plan ($20/mo)
|
|
190
|
+
- Instead of Claude API ($150-300/mo for this volume)
|
|
191
|
+
- Same quality, 80% cost savings
|
|
266
192
|
|
|
267
|
-
**
|
|
193
|
+
**API Cost (without AutomatosX)**: ~$45 (10K lines × $15/1M tokens)
|
|
194
|
+
**CLI Cost (with AutomatosX)**: $0 (already paying $20/mo Gemini Advanced)
|
|
268
195
|
|
|
269
|
-
|
|
270
|
-
If you need a specific agent, you can still specify it:
|
|
271
|
-
|
|
272
|
-
- `ax run backend "task"` - Forces backend agent
|
|
273
|
-
- `ax run security "task"` - Forces security agent
|
|
196
|
+
---
|
|
274
197
|
|
|
275
|
-
|
|
198
|
+
## 🎯 What You Get (Automatically)
|
|
276
199
|
|
|
277
|
-
###
|
|
200
|
+
### 1. 20+ Specialized Agents
|
|
278
201
|
|
|
279
|
-
|
|
202
|
+
**No setup needed - just mention them in conversation:**
|
|
280
203
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
204
|
+
- **Backend Agent (Bob)**: Go/Rust systems, API design, databases
|
|
205
|
+
- **Security Agent (Steve)**: Threat modeling, penetration testing, audits
|
|
206
|
+
- **Frontend Agent (Frank)**: React/Next.js, UI/UX, responsive design
|
|
207
|
+
- **DevOps Agent (Oliver)**: CI/CD, Kubernetes, infrastructure
|
|
208
|
+
- **Quality Agent (Queenie)**: Test planning, QA automation
|
|
209
|
+
- **Product Agent (Paris)**: Requirements, roadmaps, user stories
|
|
210
|
+
- **Data Agent (Daisy)**: ETL pipelines, data warehouses
|
|
211
|
+
- ... [13 more agents](docs/full-features.md#agents)
|
|
284
212
|
|
|
285
|
-
|
|
286
|
-
|
|
213
|
+
**Example**:
|
|
214
|
+
```
|
|
215
|
+
"Security agent, please audit this authentication code."
|
|
216
|
+
"Backend agent, optimize this database query."
|
|
217
|
+
"DevOps agent, set up the CI/CD pipeline."
|
|
287
218
|
```
|
|
288
219
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
- ✅ You have `codex`, `gemini`, or `claude` CLI tools installed
|
|
292
|
-
- ✅ You don't have API keys configured
|
|
293
|
-
- ✅ You're behind a corporate firewall blocking API access
|
|
294
|
-
- ✅ You want to avoid API connection attempts and retries
|
|
295
|
-
|
|
296
|
-
**What it does:**
|
|
297
|
-
|
|
298
|
-
- Forces `openai` provider to use CLI subprocess mode (`codex` command)
|
|
299
|
-
- Prevents OpenAI SDK API calls even if configured for SDK mode
|
|
300
|
-
- Eliminates "Unable to connect to API" errors and retry loops
|
|
301
|
-
|
|
302
|
-
**Note**: This only affects OpenAI provider. Claude and Gemini providers always use CLI mode by default.
|
|
303
|
-
|
|
304
|
-
---
|
|
305
|
-
|
|
306
|
-
### Direct CLI Usage
|
|
307
|
-
|
|
308
|
-
**Note**: You can let AutomatosX auto-select agents, or specify a particular agent if needed.
|
|
309
|
-
|
|
310
|
-
```bash
|
|
311
|
-
# Auto-selection (recommended) - AutomatosX picks the best agent
|
|
312
|
-
ax run "implement user authentication" --iterate
|
|
313
|
-
|
|
314
|
-
# With agent specified (optional)
|
|
315
|
-
ax run backend "implement user authentication" --iterate
|
|
316
|
-
|
|
317
|
-
# With time limit and strictness control
|
|
318
|
-
ax run "refactor codebase" --iterate --iterate-timeout 60 --iterate-strictness balanced
|
|
220
|
+
### 2. Persistent Memory (Context That Never Expires)
|
|
319
221
|
|
|
320
|
-
|
|
321
|
-
ax run "audit entire codebase for security vulnerabilities" --iterate --iterate-strictness strict
|
|
222
|
+
**Automatic - no configuration needed:**
|
|
322
223
|
|
|
323
|
-
|
|
324
|
-
|
|
224
|
+
- ✅ **< 1ms Search**: SQLite FTS5 full-text search
|
|
225
|
+
- ✅ **$0 Cost**: No embedding APIs (pure local)
|
|
226
|
+
- ✅ **100% Private**: Data never leaves your machine
|
|
227
|
+
- ✅ **Forever**: Infinite context window (not limited to session)
|
|
228
|
+
- ✅ **Smart**: Auto-injects relevant context from past conversations
|
|
325
229
|
|
|
326
|
-
|
|
327
|
-
ax run backend "task" --quiet # Minimal output (perfect for AI assistants)
|
|
328
|
-
ax run backend "task" # Normal output (default, shows progress)
|
|
329
|
-
ax run backend "task" --verbose # All details (for debugging)
|
|
230
|
+
**Example**:
|
|
330
231
|
```
|
|
232
|
+
Week 1: "Design microservices architecture"
|
|
233
|
+
→ Saved to memory automatically
|
|
331
234
|
|
|
332
|
-
|
|
235
|
+
Week 2: "Implement user service"
|
|
236
|
+
→ Memory auto-injects Week 1 architecture
|
|
237
|
+
→ Zero manual context passing
|
|
238
|
+
```
|
|
333
239
|
|
|
334
|
-
|
|
335
|
-
|---------|-------------|---------|
|
|
336
|
-
| **Autonomous Execution** | Agents auto-respond to confirmation prompts | Enabled with `--iterate` |
|
|
337
|
-
| **Time Limits** | Configure execution timeouts to prevent runaway tasks | 120 minutes |
|
|
338
|
-
| **Safety Levels** | Choose from `paranoid`, `balanced`, `permissive` | `balanced` |
|
|
339
|
-
| **Dangerous Operation Detection** | Automatic classification of risky operations | Always active |
|
|
340
|
-
| **Dry Run Mode** | Test autonomous execution without making changes | Off |
|
|
341
|
-
| **Context History** | Maintains classification context for smarter decisions | Max 100 entries |
|
|
342
|
-
| **Workspace Protection** | Prevents access to files outside project directory | Always active |
|
|
240
|
+
### 3. Multi-Provider Cost Optimization
|
|
343
241
|
|
|
344
|
-
|
|
242
|
+
**Intelligent routing - completely automatic:**
|
|
345
243
|
|
|
346
|
-
|
|
244
|
+
| Task Type | Routed To | Why | Cost |
|
|
245
|
+
|-----------|-----------|-----|------|
|
|
246
|
+
| Architecture design | Claude | Best reasoning | $20/mo unlimited |
|
|
247
|
+
| Code implementation | Gemini | Cost-efficient | $20/mo unlimited |
|
|
248
|
+
| Security audit | Claude | Critical accuracy | $20/mo unlimited |
|
|
249
|
+
| Test generation | Gemini | Fast & reliable | $20/mo unlimited |
|
|
250
|
+
| Quick questions | ChatGPT | Fastest response | $20/mo unlimited |
|
|
347
251
|
|
|
348
|
-
|
|
349
|
-
- ✅ **Workspace Boundary Protection**: Cannot access files outside project directory
|
|
350
|
-
- ✅ **Memory Leak Prevention**: Classification history bounded to prevent unbounded growth
|
|
351
|
-
- ✅ **Dangerous Operation Detection**: Auto-blocks risky operations in paranoid mode
|
|
352
|
-
- ✅ **Strictness Controls**: Three levels (paranoid/balanced/permissive) for risk tolerance
|
|
353
|
-
- ✅ **Dry Run Preview**: Test automation logic before making actual changes
|
|
252
|
+
**Total**: $60/mo for unlimited usage across all providers
|
|
354
253
|
|
|
355
|
-
|
|
254
|
+
**vs API-only**: $150-300/mo with per-token billing
|
|
356
255
|
|
|
357
|
-
**
|
|
256
|
+
**Savings**: 80% monthly cost reduction
|
|
358
257
|
|
|
359
|
-
|
|
360
|
-
- ✅ Comprehensive code audits
|
|
361
|
-
- ✅ Batch processing multiple files
|
|
362
|
-
- ✅ Overnight automation jobs
|
|
363
|
-
- ✅ Large-scale testing and validation
|
|
364
|
-
- ✅ Multi-step workflow execution
|
|
258
|
+
### 4. Complete Observability
|
|
365
259
|
|
|
366
|
-
**
|
|
260
|
+
**Automatic trace logging - no setup:**
|
|
367
261
|
|
|
368
|
-
-
|
|
369
|
-
-
|
|
370
|
-
-
|
|
262
|
+
- ✅ Who executed what task
|
|
263
|
+
- ✅ Which provider was used
|
|
264
|
+
- ✅ How much it cost (tokens)
|
|
265
|
+
- ✅ Delegation chains (agent → agent)
|
|
266
|
+
- ✅ Execution time and results
|
|
371
267
|
|
|
372
|
-
|
|
268
|
+
**Perfect for**: Compliance audits, debugging, optimization
|
|
373
269
|
|
|
374
|
-
|
|
375
|
-
# All iterate mode flags
|
|
376
|
-
ax run agent "task" \
|
|
377
|
-
--iterate # Enable iterate mode
|
|
378
|
-
--iterate-max-tokens 1000000 # Max total tokens (default: 1,000,000) [v8.6.0+]
|
|
379
|
-
--iterate-max-tokens-per-iteration 100000 # Max per iteration (default: 100,000) [v8.6.0+]
|
|
380
|
-
--iterate-timeout 60 # Max duration in minutes (default: 120)
|
|
381
|
-
--iterate-strictness balanced # Safety level: paranoid|balanced|permissive
|
|
382
|
-
--iterate-dry-run # Test mode - no actual changes
|
|
383
|
-
```
|
|
270
|
+
### 5. Workflow Automation
|
|
384
271
|
|
|
385
|
-
|
|
272
|
+
**Define complex workflows once, reuse forever:**
|
|
386
273
|
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
### Example Workflow
|
|
393
|
-
|
|
394
|
-
**Natural Language (Recommended)**:
|
|
274
|
+
```yaml
|
|
275
|
+
# .automatosx/workflows/release.ax.yaml
|
|
276
|
+
metadata:
|
|
277
|
+
name: Production Release Workflow
|
|
395
278
|
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
279
|
+
steps:
|
|
280
|
+
- Quality agent runs full test suite (Gemini - fast)
|
|
281
|
+
- Security agent audits for vulnerabilities (Claude - thorough)
|
|
282
|
+
- DevOps agent deploys to staging (Gemini - routine)
|
|
283
|
+
- Product agent validates requirements (Claude - critical)
|
|
284
|
+
- DevOps agent deploys to production (Gemini - routine)
|
|
402
285
|
```
|
|
403
286
|
|
|
404
|
-
**
|
|
405
|
-
|
|
287
|
+
**You say to Claude Code**:
|
|
406
288
|
```
|
|
407
|
-
|
|
408
|
-
"Please ultrathink to work with ax in iterate mode to find and fix bug"
|
|
409
|
-
|
|
410
|
-
# Large-Scale Refactoring
|
|
411
|
-
"Use ax backend agent in iterate mode to refactor the entire payment system.
|
|
412
|
-
Set timeout to 120 minutes and use balanced strictness."
|
|
413
|
-
|
|
414
|
-
# Security Audit with High Safety
|
|
415
|
-
"Work with ax security agent in iterate mode with paranoid strictness to audit
|
|
416
|
-
the entire codebase. This is for production so be very thorough."
|
|
417
|
-
|
|
418
|
-
# Performance Optimization
|
|
419
|
-
"Ask ax quality agent to analyze and optimize all database queries in iterate mode.
|
|
420
|
-
Use a 90 minute timeout with balanced strictness."
|
|
421
|
-
|
|
422
|
-
# Multi-File Test Generation
|
|
423
|
-
"Have ax quality agent run in iterate mode to generate tests for all untested
|
|
424
|
-
functions across the codebase. Set 60 minute timeout."
|
|
289
|
+
"Run the production release workflow"
|
|
425
290
|
```
|
|
426
291
|
|
|
427
|
-
**
|
|
428
|
-
|
|
429
|
-
```bash
|
|
430
|
-
# 1. Dry run to preview actions
|
|
431
|
-
ax run backend "refactor authentication module" \
|
|
432
|
-
--iterate --iterate-dry-run
|
|
433
|
-
|
|
434
|
-
# 2. Run with tight safety controls
|
|
435
|
-
ax run backend "refactor authentication module" \
|
|
436
|
-
--iterate \
|
|
437
|
-
--iterate-strictness paranoid \
|
|
438
|
-
--iterate-timeout 30
|
|
439
|
-
|
|
440
|
-
# 3. Monitor progress
|
|
441
|
-
tail -f .automatosx/logs/router-trace-*.jsonl
|
|
442
|
-
```
|
|
292
|
+
**AutomatosX executes everything automatically**, with optimal provider routing.
|
|
443
293
|
|
|
444
294
|
---
|
|
445
295
|
|
|
446
|
-
##
|
|
447
|
-
|
|
448
|
-
### Traditional AI Workflows
|
|
449
|
-
|
|
450
|
-
```bash
|
|
451
|
-
# ❌ Manual coordination
|
|
452
|
-
codex "Design auth system"
|
|
453
|
-
# → Copy/paste output
|
|
454
|
-
|
|
455
|
-
codex "Implement API from this design: [paste design]"
|
|
456
|
-
# → Repeat context, pay for duplicate tokens
|
|
296
|
+
## 💰 Cost Comparison (Real Numbers)
|
|
457
297
|
|
|
458
|
-
|
|
459
|
-
# → Lost context, higher costs, manual orchestration
|
|
298
|
+
### Heavy User (100K tokens/day)
|
|
460
299
|
|
|
461
|
-
|
|
300
|
+
**Before AutomatosX** (Claude API only):
|
|
462
301
|
```
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
ax spec create "Build auth system with API, tests, and security audit"
|
|
469
|
-
|
|
470
|
-
# Result: Complete system generated and executed automatically
|
|
471
|
-
# - Persistent memory eliminates context repetition
|
|
472
|
-
# - Pure CLI orchestration - simple and reliable
|
|
473
|
-
# - Parallel execution completes 3-5x faster
|
|
474
|
-
# - Auto-generated tests provide 60%+ baseline coverage
|
|
302
|
+
100K tokens/day × 30 days = 3M tokens/month
|
|
303
|
+
3M input × $3/1M = $9/mo
|
|
304
|
+
3M output × $15/1M = $45/mo
|
|
305
|
+
Claude Code Pro: $20/mo
|
|
306
|
+
Total: $74/mo (likely $150-300/mo in reality)
|
|
475
307
|
```
|
|
476
308
|
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
## 📋 **NEW**: Spec-Kit Integration (v6.0+)
|
|
480
|
-
|
|
481
|
-
The game-changing feature that makes AutomatosX the most powerful AI workflow platform.
|
|
482
|
-
|
|
483
|
-
### Natural Language Spec Creation (Recommended)
|
|
484
|
-
|
|
485
|
-
Most users interact with AutomatosX through AI assistants (Claude Code, Gemini CLI, OpenAI Codex) using natural language. Here are practical examples:
|
|
486
|
-
|
|
309
|
+
**After AutomatosX** (Multi-provider CLI):
|
|
487
310
|
```
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
"I need a spec for a microservices architecture with user service, payment service,
|
|
494
|
-
API gateway, and Redis caching. Include deployment configs and monitoring."
|
|
311
|
+
Claude Code Pro: $20/mo (20% of tasks)
|
|
312
|
+
Gemini Advanced: $20/mo (70% of tasks)
|
|
313
|
+
ChatGPT Plus: $20/mo (10% of tasks)
|
|
314
|
+
Total: $60/mo (unlimited usage)
|
|
495
315
|
|
|
496
|
-
|
|
497
|
-
Include security review, performance optimization, and backwards compatibility tests."
|
|
316
|
+
Savings: $90-240/mo (60-80% reduction)
|
|
498
317
|
```
|
|
499
318
|
|
|
500
|
-
|
|
501
|
-
# In Gemini CLI
|
|
502
|
-
"Use ax to create a spec for an e-commerce checkout flow with Stripe,
|
|
503
|
-
inventory management, fraud detection, and integration tests."
|
|
319
|
+
### Team of 5 Developers
|
|
504
320
|
|
|
505
|
-
|
|
506
|
-
loads to PostgreSQL, and includes data validation tests."
|
|
321
|
+
**Before**: 5 × $200/mo average = **$1,000/mo**
|
|
507
322
|
|
|
508
|
-
|
|
509
|
-
backwards compatibility and comprehensive test coverage."
|
|
510
|
-
```
|
|
323
|
+
**After**: 5 × $60/mo = **$300/mo**
|
|
511
324
|
|
|
512
|
-
|
|
513
|
-
# In OpenAI Codex
|
|
514
|
-
"Work with ax to generate a spec for a real-time chat application
|
|
515
|
-
with WebSocket support, message persistence, and E2E tests."
|
|
516
|
-
|
|
517
|
-
"Create a spec for migrating from REST to GraphQL with schema generation,
|
|
518
|
-
resolver implementation, and query performance tests."
|
|
325
|
+
**Savings**: **$700/mo** | **$8,400/year**
|
|
519
326
|
|
|
520
|
-
|
|
521
|
-
with permissions management, audit logging, and security tests."
|
|
522
|
-
```
|
|
327
|
+
### Enterprise (50 Developers)
|
|
523
328
|
|
|
524
|
-
**
|
|
329
|
+
**Before**: 50 × $200/mo = **$10,000/mo**
|
|
525
330
|
|
|
526
|
-
|
|
331
|
+
**After**: 50 × $60/mo + $500/mo Enterprise = **$3,500/mo**
|
|
527
332
|
|
|
528
|
-
|
|
529
|
-
2. Creates execution plan
|
|
530
|
-
3. Generates dependency DAG for parallel execution
|
|
531
|
-
4. Scaffolds project structure
|
|
532
|
-
5. Generates comprehensive test suite
|
|
533
|
-
6. Ready to execute with your configured provider
|
|
333
|
+
**Savings**: **$6,500/mo** | **$78,000/year**
|
|
534
334
|
|
|
535
|
-
|
|
335
|
+
---
|
|
536
336
|
|
|
537
|
-
|
|
538
|
-
# workflow.ax.yaml
|
|
539
|
-
metadata:
|
|
540
|
-
id: user-auth-system
|
|
541
|
-
name: User Authentication System
|
|
337
|
+
## 🏢 Enterprise Features (Invisible, Automatic)
|
|
542
338
|
|
|
543
|
-
|
|
544
|
-
- id: backend
|
|
545
|
-
agent: backend
|
|
546
|
-
description: Implement JWT authentication API
|
|
339
|
+
### Offline-Friendly & Compliance-Ready
|
|
547
340
|
|
|
548
|
-
|
|
549
|
-
agent: security
|
|
550
|
-
description: Audit authentication implementation
|
|
341
|
+
Unlike cloud-dependent tools, AutomatosX works in **air-gapped environments**:
|
|
551
342
|
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
343
|
+
- ✅ **100% Local**: All data stays on your machine
|
|
344
|
+
- ✅ **Offline Mode**: Works without internet (with Ollama)
|
|
345
|
+
- ✅ **Audit Trails**: Complete JSONL trace logging
|
|
346
|
+
- ✅ **Data Sovereignty**: No data leaves your infrastructure
|
|
347
|
+
- ✅ **GDPR/HIPAA Ready**: Built for regulated industries
|
|
556
348
|
|
|
557
|
-
|
|
349
|
+
**Perfect for**: Government, finance, healthcare
|
|
558
350
|
|
|
559
|
-
|
|
560
|
-
# Generate execution plan with cost estimates
|
|
561
|
-
ax gen plan workflow.ax.yaml
|
|
562
|
-
# Output: Execution plan with phases, costs ($0.003-$0.008), risks
|
|
351
|
+
### Secure & Sandboxed
|
|
563
352
|
|
|
564
|
-
|
|
565
|
-
ax gen dag workflow.ax.yaml --format mermaid
|
|
566
|
-
# Output: Dependency graph with change detection hash
|
|
353
|
+
Enterprise security controls (automatic):
|
|
567
354
|
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
355
|
+
- ✅ **Filesystem Sandboxing**: Agents can't access outside project directory
|
|
356
|
+
- ✅ **Resource Limits**: CPU/memory caps per agent
|
|
357
|
+
- ✅ **Network Restrictions**: Control API access
|
|
358
|
+
- ✅ **Dangerous Operation Detection**: Auto-blocks risky commands
|
|
359
|
+
- ✅ **Audit Logging**: Every file access, API call logged
|
|
571
360
|
|
|
572
|
-
|
|
573
|
-
ax gen tests workflow.ax.yaml
|
|
574
|
-
# Output: Unit, integration, E2E tests with policy assertions
|
|
575
|
-
```
|
|
361
|
+
### Complete Observability
|
|
576
362
|
|
|
577
|
-
|
|
363
|
+
Transform AI agents into **governable workforce**:
|
|
578
364
|
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
# 2. Executes actors in optimal order
|
|
586
|
-
# 3. Logs all executions to trace file
|
|
587
|
-
# 4. Stores results in persistent memory
|
|
588
|
-
```
|
|
365
|
+
- ✅ Real-time execution traces (JSONL)
|
|
366
|
+
- ✅ Token usage tracking (prevent budget overruns)
|
|
367
|
+
- ✅ Provider performance metrics
|
|
368
|
+
- ✅ Resource monitoring (CPU, memory)
|
|
369
|
+
- ✅ Delegation chains (full transparency)
|
|
370
|
+
- ✅ Cost attribution (per-agent, per-task)
|
|
589
371
|
|
|
590
|
-
|
|
372
|
+
---
|
|
591
373
|
|
|
592
|
-
|
|
593
|
-
# View all executions
|
|
594
|
-
ax providers trace --follow
|
|
374
|
+
## 📦 AutomatosX Editions
|
|
595
375
|
|
|
596
|
-
|
|
597
|
-
# 18:26:49 EXECUTION gemini-cli Starting task...
|
|
598
|
-
# 18:26:50 EXECUTION gemini-cli Processing...
|
|
599
|
-
# 18:26:51 EXECUTION gemini-cli ✓ 1234ms, completed
|
|
600
|
-
```
|
|
376
|
+
### Edition Positioning
|
|
601
377
|
|
|
602
|
-
**
|
|
378
|
+
**Pro** – For teams that want priority support & stable releases
|
|
603
379
|
|
|
604
|
-
|
|
605
|
-
# From idea to production in one command
|
|
606
|
-
ax spec create "Build e-commerce checkout with Stripe, inventory, and fraud detection" \
|
|
607
|
-
&& ax run workflow.ax.yaml
|
|
608
|
-
|
|
609
|
-
# AutomatosX handles:
|
|
610
|
-
# ✅ Pure CLI orchestration (simple and reliable)
|
|
611
|
-
# ✅ Parallel execution (3-5x faster)
|
|
612
|
-
# ✅ Persistent memory (zero context repetition)
|
|
613
|
-
# ✅ Auto-generated tests (60%+ coverage)
|
|
614
|
-
# ✅ Complete observability (trace every execution)
|
|
615
|
-
```
|
|
380
|
+
**Enterprise** – For organizations needing compliance, control, and confidence at scale
|
|
616
381
|
|
|
617
382
|
---
|
|
618
383
|
|
|
619
|
-
|
|
384
|
+
### 🔷 AutomatosX Pro
|
|
620
385
|
|
|
621
|
-
|
|
386
|
+
**For startups, SMEs, and teams that want stability and support.**
|
|
622
387
|
|
|
623
|
-
|
|
388
|
+
#### Feature Highlights
|
|
624
389
|
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
| **Grok CLI** | `grok` | ✅ Yes | X.AI or Z.AI GLM 4.6 |
|
|
630
|
-
| **OpenAI Codex** | `codex` | ✅ Yes | OpenAI's development CLI |
|
|
390
|
+
**Core Platform**:
|
|
391
|
+
- ✅ **Priority email support & maintenance** - Dedicated support with SLA
|
|
392
|
+
- ✅ **Stable LTS releases** - Long-term support for production
|
|
393
|
+
- ✅ **Commercial use licensing** - Clear licensing for business use
|
|
631
394
|
|
|
632
|
-
|
|
395
|
+
**Advanced Workflows**:
|
|
396
|
+
- ✅ **Advanced workflow templates** - SaaS, RAG, API orchestration, CI/CD
|
|
397
|
+
- ✅ **Multi-project management** - Switch contexts, reuse workflows
|
|
398
|
+
- ✅ **Custom agent packs** - Team-specific expertise
|
|
633
399
|
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
"default": "gemini", # or claude, grok, codex
|
|
639
|
-
"claude": { "enabled": true },
|
|
640
|
-
"gemini": { "enabled": true },
|
|
641
|
-
"grok": { "enabled": true },
|
|
642
|
-
"codex": { "enabled": true }
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
# Use specific provider for a task
|
|
647
|
-
ax run backend "task" --provider gemini
|
|
648
|
-
ax run security "audit" --provider claude
|
|
649
|
-
|
|
650
|
-
# Check provider status
|
|
651
|
-
ax doctor # Check all providers
|
|
652
|
-
ax doctor grok # Check specific provider
|
|
653
|
-
ax providers list # List available providers
|
|
654
|
-
```
|
|
400
|
+
**Provider & Configuration**:
|
|
401
|
+
- ✅ **Per-project provider profiles** - Different Claude/Gemini configs per project
|
|
402
|
+
- ✅ **Local memory encryption** - Secure persistent memory
|
|
403
|
+
- ✅ **Backup & restore** - Export/import workflows and memory
|
|
655
404
|
|
|
656
|
-
**
|
|
405
|
+
**Observability**:
|
|
406
|
+
- ✅ **Run history & usage dashboard** - Track execution history
|
|
407
|
+
- ✅ **MCP auto-install & hot-reload** - Automatic server management
|
|
657
408
|
|
|
658
|
-
|
|
659
|
-
- [ax-cli Integration Guide](.ax-cli/README.md) - Multi-provider CLI (GLM, xAI, OpenAI, Anthropic, Ollama)
|
|
660
|
-
- [Provider Comparison](docs/providers/overview.md) - Provider comparison
|
|
409
|
+
**Perfect for**: Startups, consultancies, product teams
|
|
661
410
|
|
|
662
411
|
---
|
|
663
412
|
|
|
664
|
-
|
|
413
|
+
### 🏢 AutomatosX Enterprise
|
|
665
414
|
|
|
666
|
-
|
|
415
|
+
**For organizations where "Enterprises pay for compliance, convenience, and confidence - not just security."**
|
|
667
416
|
|
|
668
|
-
|
|
417
|
+
#### Compliance & Governance
|
|
669
418
|
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
codex "Implement the calculator"
|
|
677
|
-
# → Error: "What calculator? Please provide context."
|
|
678
|
-
# → You waste time and money re-explaining
|
|
679
|
-
```
|
|
419
|
+
**Audit & Control**:
|
|
420
|
+
- ✅ **Centralized control plane (self-hosted)** - Org-wide management
|
|
421
|
+
- ✅ **Org-wide workflow catalog with approvals** - Governed library
|
|
422
|
+
- ✅ **SSO (SAML/OIDC) & granular RBAC** - Enterprise auth
|
|
423
|
+
- ✅ **Audit-grade logs** - Complete trail of who ran what
|
|
424
|
+
- ✅ **Data retention & deletion policies** - Lifecycle management
|
|
680
425
|
|
|
681
|
-
|
|
426
|
+
**Data Protection**:
|
|
427
|
+
- ✅ **PII masking / DLP hooks** - Data loss prevention
|
|
428
|
+
- ✅ **Compliance-ready architecture** - GDPR, HIPAA, SOC2
|
|
682
429
|
|
|
683
|
-
|
|
684
|
-
# Day 1: Design
|
|
685
|
-
ax run product "Design a calculator with add/subtract"
|
|
686
|
-
# → Automatically saved to memory
|
|
687
|
-
|
|
688
|
-
# Day 2: Implement (context auto-injected!)
|
|
689
|
-
ax run backend "Implement the calculator"
|
|
690
|
-
# → Memory finds "calculator" design from Day 1
|
|
691
|
-
# → Backend agent gets full context automatically
|
|
692
|
-
# → Zero context repetition, zero wasted tokens
|
|
693
|
-
```
|
|
430
|
+
#### Convenience & Control
|
|
694
431
|
|
|
695
|
-
|
|
432
|
+
**Infrastructure Management**:
|
|
433
|
+
- ✅ **Multi-node agent management** - Manage across dev/CI/prod
|
|
434
|
+
- ✅ **Central provider routing & failover** - Org-wide policies
|
|
435
|
+
- ✅ **Quota & rate limits** - Control usage by team/project
|
|
436
|
+
- ✅ **Central MCP registry** - Health monitoring, versioning
|
|
696
437
|
|
|
697
|
-
|
|
698
|
-
- **
|
|
699
|
-
- **
|
|
700
|
-
- **
|
|
701
|
-
- **Export**: `ax memory export > backup.json`
|
|
438
|
+
**Observability at Scale**:
|
|
439
|
+
- ✅ **Org dashboards** - Real-time visibility (runs, success, latency, tokens)
|
|
440
|
+
- ✅ **OpenTelemetry / SIEM integration** - Prometheus, Splunk, Datadog
|
|
441
|
+
- ✅ **Advanced analytics** - Cost attribution, performance trends
|
|
702
442
|
|
|
703
|
-
|
|
443
|
+
#### Confidence & Support
|
|
704
444
|
|
|
705
|
-
|
|
445
|
+
**Enterprise Infrastructure**:
|
|
446
|
+
- ✅ **Hardened, self-hosted deployment** - Docker/Helm for air-gapped
|
|
447
|
+
- ✅ **HA / backup & disaster recovery** - Automated failover
|
|
448
|
+
- ✅ **Multi-region support** - Data sovereignty
|
|
706
449
|
|
|
707
|
-
|
|
450
|
+
**Premium Support**:
|
|
451
|
+
- ✅ **Enterprise SLA & named technical contact** - Guaranteed response times
|
|
452
|
+
- ✅ **Onboarding workshops & playbooks** - Expert guidance
|
|
453
|
+
- ✅ **Optional design partnership** - Influence roadmap
|
|
708
454
|
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
```bash
|
|
712
|
-
# 1. Give a high-level goal
|
|
713
|
-
ax run product "Build complete user authentication"
|
|
714
|
-
|
|
715
|
-
# 2. Product agent analyzes and delegates
|
|
716
|
-
# Output:
|
|
717
|
-
# "I'll design auth with JWT and OAuth2.
|
|
718
|
-
#
|
|
719
|
-
# @backend Please implement the JWT authentication API.
|
|
720
|
-
# @security Please audit the implementation for vulnerabilities.
|
|
721
|
-
# @quality Please write integration tests."
|
|
722
|
-
|
|
723
|
-
# 3. AutomatosX executes automatically
|
|
724
|
-
# - Backend implements API
|
|
725
|
-
# - Security audits code
|
|
726
|
-
# - Quality writes tests
|
|
727
|
-
# - All in parallel, all with full context
|
|
728
|
-
```
|
|
729
|
-
|
|
730
|
-
### 20 Specialized Agents
|
|
731
|
-
|
|
732
|
-
Each agent is an expert in their domain:
|
|
733
|
-
|
|
734
|
-
| Agent | Role | Use Cases |
|
|
735
|
-
|-------|------|-----------|
|
|
736
|
-
| **Bob** | Backend Engineer | API design, databases, Go/Rust systems |
|
|
737
|
-
| **Frank** | Frontend Engineer | React/Next.js, UI components, state management |
|
|
738
|
-
| **Avery** | Software Architect | System architecture, ADR management, architecture runway |
|
|
739
|
-
| **Steve** | Security Specialist | Threat modeling, vulnerability assessment, penetration testing |
|
|
740
|
-
| **Queenie** | QA Engineer | Test planning, E2E testing, quality assurance |
|
|
741
|
-
| **Oliver** | DevOps Engineer | CI/CD, Kubernetes, infrastructure automation |
|
|
742
|
-
| **Paris** | Product Manager | Requirements, roadmaps, stakeholder alignment |
|
|
743
|
-
| **Daisy** | Data Engineer | ETL pipelines, data warehouses, Spark |
|
|
744
|
-
| **Dana** | Data Scientist | ML models, statistical analysis, Python |
|
|
745
|
-
| **Tony** | CTO | Technical strategy, architecture, scaling |
|
|
746
|
-
| **Eric** | CEO | Business strategy, vision, leadership |
|
|
747
|
-
| **Wendy** | Technical Writer | Documentation, API docs, tutorials |
|
|
748
|
-
| **Stan** | Standards Expert | Best practices, design patterns, code review |
|
|
749
|
-
|
|
750
|
-
[See all 20 agents](docs/guides/agents.md) | [Create custom agents](docs/guides/agent-templates.md)
|
|
455
|
+
**Perfect for**: Regulated industries (finance, healthcare, government), enterprises with compliance requirements
|
|
751
456
|
|
|
752
457
|
---
|
|
753
458
|
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
│ • Execute with configured provider │
|
|
773
|
-
│ • Wrap claude/gemini/grok/codex CLI calls │
|
|
774
|
-
│ • Fallback on failure │
|
|
775
|
-
│ • Log all executions to trace file │
|
|
776
|
-
└─────────────────────────────────────────────────────────────┘
|
|
777
|
-
↓
|
|
778
|
-
┌─────────────────────────────────────────────────────────────┐
|
|
779
|
-
│ 4. Memory & Context (MemoryManager) │
|
|
780
|
-
│ • Index: Save response to SQLite FTS5 │
|
|
781
|
-
│ • Retrieve: Search < 1ms for future tasks │
|
|
782
|
-
│ • Inject: Auto-add context to prompts │
|
|
783
|
-
└─────────────────────────────────────────────────────────────┘
|
|
784
|
-
↓
|
|
785
|
-
┌─────────────────────────────────────────────────────────────┐
|
|
786
|
-
│ 5. Observability (RouterTraceLogger) │
|
|
787
|
-
│ • Log: JSONL trace to .automatosx/logs/ │
|
|
788
|
-
│ • View: ax providers trace --follow │
|
|
789
|
-
│ • Debug: Complete visibility into all executions │
|
|
790
|
-
└─────────────────────────────────────────────────────────────┘
|
|
791
|
-
```
|
|
459
|
+
### 🆚 Edition Comparison
|
|
460
|
+
|
|
461
|
+
| Feature | Open Source | Pro | Enterprise |
|
|
462
|
+
|---------|-------------|-----|------------|
|
|
463
|
+
| **Core Orchestration** | ✅ Full | ✅ Full | ✅ Full |
|
|
464
|
+
| **Multi-Provider Support** | ✅ Yes | ✅ Yes | ✅ Yes |
|
|
465
|
+
| **Persistent Memory** | ✅ Yes | ✅ Encrypted | ✅ Encrypted + DLP |
|
|
466
|
+
| **MCP Management** | ✅ Local | ✅ Auto-install | ✅ Central registry |
|
|
467
|
+
| **Support** | Community | Priority email | Enterprise SLA |
|
|
468
|
+
| **LTS Releases** | ❌ No | ✅ Yes | ✅ Yes + backports |
|
|
469
|
+
| **Multi-Project** | Manual | ✅ Managed | ✅ Org catalog |
|
|
470
|
+
| **Custom Agents** | DIY | ✅ Agent packs | ✅ Org library |
|
|
471
|
+
| **Observability** | Local logs | ✅ Dashboard | ✅ SIEM integration |
|
|
472
|
+
| **Deployment** | Local only | Local only | ✅ Self-hosted cluster |
|
|
473
|
+
| **SSO / RBAC** | ❌ No | ❌ No | ✅ Yes |
|
|
474
|
+
| **Audit Logs** | Basic | Basic | ✅ Compliance-grade |
|
|
475
|
+
| **Data Governance** | ❌ No | ❌ No | ✅ Full DLP + policies |
|
|
476
|
+
| **Pricing** | Free (OSS) | Contact sales | Contact sales |
|
|
792
477
|
|
|
793
478
|
---
|
|
794
479
|
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
### Example 1: E-Commerce Checkout System
|
|
798
|
-
|
|
799
|
-
```yaml
|
|
800
|
-
# checkout.ax.yaml
|
|
801
|
-
metadata:
|
|
802
|
-
id: ecommerce-checkout
|
|
803
|
-
name: E-Commerce Checkout System
|
|
804
|
-
|
|
805
|
-
actors:
|
|
806
|
-
- id: backend
|
|
807
|
-
agent: backend
|
|
808
|
-
description: Implement Stripe integration and inventory management
|
|
809
|
-
|
|
810
|
-
- id: security
|
|
811
|
-
agent: security
|
|
812
|
-
description: Implement fraud detection and PCI compliance checks
|
|
480
|
+
### 📞 Get Started with Pro or Enterprise
|
|
813
481
|
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
```
|
|
482
|
+
**AutomatosX Pro**: Perfect for commercial teams needing stability and support
|
|
483
|
+
- Email: sales@defai.digital
|
|
484
|
+
- Subject: "AutomatosX Pro - Pricing Inquiry"
|
|
818
485
|
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
ax gen scaffold checkout.ax.yaml # Create project structure
|
|
823
|
-
ax gen tests checkout.ax.yaml # Generate test suite
|
|
824
|
-
ax run checkout.ax.yaml # Execute workflow
|
|
825
|
-
|
|
826
|
-
# Result:
|
|
827
|
-
# - Complete Stripe integration
|
|
828
|
-
# - Fraud detection system
|
|
829
|
-
# - PCI compliant
|
|
830
|
-
# - 60%+ test coverage
|
|
831
|
-
```
|
|
486
|
+
**AutomatosX Enterprise**: For organizations requiring compliance at scale
|
|
487
|
+
- Email: sales@defai.digital
|
|
488
|
+
- Subject: "AutomatosX Enterprise - Compliance Discussion"
|
|
832
489
|
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
```bash
|
|
836
|
-
# Natural language workflow
|
|
837
|
-
ax spec create "Build microservices API with user service, auth service, API gateway, and Docker deployment"
|
|
838
|
-
|
|
839
|
-
# AutomatosX generates:
|
|
840
|
-
# - Service architecture design
|
|
841
|
-
# - Three microservices in parallel
|
|
842
|
-
# - API gateway with rate limiting
|
|
843
|
-
# - Docker compose configuration
|
|
844
|
-
# - Integration tests
|
|
845
|
-
# - Documentation
|
|
846
|
-
|
|
847
|
-
# Execute workflow
|
|
848
|
-
ax run workflow.ax.yaml
|
|
849
|
-
|
|
850
|
-
# Monitor executions
|
|
851
|
-
ax providers trace --follow
|
|
852
|
-
```
|
|
490
|
+
**Questions about licensing?** See [COMMERCIAL-LICENSE.md](COMMERCIAL-LICENSE.md)
|
|
853
491
|
|
|
854
492
|
---
|
|
855
493
|
|
|
856
|
-
##
|
|
857
|
-
|
|
858
|
-
### Parallel Execution
|
|
859
|
-
|
|
860
|
-
```bash
|
|
861
|
-
# Execute tasks in parallel for 3-5x speedup
|
|
862
|
-
ax spec run --parallel
|
|
863
|
-
|
|
864
|
-
# AutomatosX automatically:
|
|
865
|
-
# - Builds dependency graph
|
|
866
|
-
# - Runs independent tasks concurrently
|
|
867
|
-
# - Waits for dependencies before starting
|
|
868
|
-
# - Aggregates results
|
|
869
|
-
```
|
|
494
|
+
## 🏆 Why AutomatosX Wins
|
|
870
495
|
|
|
871
|
-
|
|
496
|
+
| Capability | AutomatosX | Claude Code | Gemini CLI | Cursor |
|
|
497
|
+
|------------|------------|-------------|------------|--------|
|
|
498
|
+
| **Role** | **Power addon** | AI assistant | AI assistant | AI editor |
|
|
499
|
+
| **Learning Curve** | **Zero** (use naturally) | Low | Low | Medium |
|
|
500
|
+
| **Multi-Provider** | ✅ Auto-routing | ⚠️ Claude only | ⚠️ Gemini only | ⚠️ Limited |
|
|
501
|
+
| **Cost Savings** | ✅ 80% via routing | ❌ Pay-as-you-go | ❌ Pay-as-you-go | ❌ Pay-as-you-go |
|
|
502
|
+
| **Persistent Memory** | ✅ Forever | ❌ Session-only | ❌ Session-only | ❌ Session-only |
|
|
503
|
+
| **Multi-Agent Teams** | ✅ 20 specialists | ❌ Single agent | ❌ Single agent | ❌ Single agent |
|
|
504
|
+
| **Workflow Automation** | ✅ YAML specs | ❌ | ❌ | ❌ |
|
|
505
|
+
| **Observability** | ✅ Complete traces | ⚠️ Basic | ⚠️ Basic | ⚠️ Basic |
|
|
506
|
+
| **Offline-Friendly** | ✅ 100% local | ⚠️ Hybrid | ⚠️ Hybrid | ⚠️ Cloud |
|
|
507
|
+
| **Compliance** | ✅ GDPR-ready | ❌ | ❌ | ❌ |
|
|
508
|
+
|
|
509
|
+
**Bottom Line**: AutomatosX is the **only power addon** that gives you enterprise capabilities **without changing your workflow**.
|
|
872
510
|
|
|
873
|
-
|
|
874
|
-
# Long-running workflows save checkpoints
|
|
875
|
-
ax spec run --resumable
|
|
511
|
+
---
|
|
876
512
|
|
|
877
|
-
|
|
878
|
-
# Resume from last checkpoint
|
|
879
|
-
ax resume <run-id>
|
|
513
|
+
## 📚 Real-World Use Cases
|
|
880
514
|
|
|
881
|
-
|
|
882
|
-
ax runs list
|
|
883
|
-
```
|
|
515
|
+
### 1. Startup Reducing AI Costs by 80%
|
|
884
516
|
|
|
885
|
-
|
|
517
|
+
**Scenario**: Small team, limited budget
|
|
886
518
|
|
|
887
|
-
```bash
|
|
888
|
-
# Generate DAG with hash
|
|
889
|
-
ax gen dag workflow.ax.yaml -o dag.json
|
|
890
|
-
|
|
891
|
-
# DAG stores spec hash for change detection
|
|
892
|
-
# If spec changes, AutomatosX warns you before execution
|
|
893
|
-
ax run dag.json
|
|
894
|
-
# → Warning: Spec has changed. Regenerate DAG? (Y/n)
|
|
895
519
|
```
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
**NEW in v8.5.3**: Production-ready Model Context Protocol (MCP) server orchestration with comprehensive lifecycle management, auto-installation, and enterprise-grade monitoring.
|
|
900
|
-
|
|
901
|
-
#### **Phase 4A: Lifecycle Management**
|
|
902
|
-
```bash
|
|
903
|
-
# Start AutomatosX as MCP server for Claude Code
|
|
904
|
-
ax mcp server
|
|
905
|
-
|
|
906
|
-
# Monitor server status
|
|
907
|
-
ax mcp status
|
|
908
|
-
|
|
909
|
-
# View lifecycle events
|
|
910
|
-
ax mcp logs --follow
|
|
911
|
-
|
|
912
|
-
# All server events are logged to:
|
|
913
|
-
# .automatosx/logs/mcp/lifecycle-events.jsonl
|
|
520
|
+
"Build user authentication with security audit and tests.
|
|
521
|
+
Use cost-efficient routing - this is a standard feature."
|
|
914
522
|
```
|
|
915
523
|
|
|
916
|
-
**
|
|
917
|
-
-
|
|
918
|
-
-
|
|
919
|
-
-
|
|
920
|
-
-
|
|
524
|
+
**What AutomatosX does**:
|
|
525
|
+
- Routes implementation to Gemini ($20/mo unlimited)
|
|
526
|
+
- Routes security audit to Claude (critical accuracy)
|
|
527
|
+
- Generates tests with Gemini (fast)
|
|
528
|
+
- Saves design to memory (zero token waste in future)
|
|
921
529
|
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
ax mcp discover
|
|
530
|
+
**Cost**: $40/mo total (Claude Pro + Gemini Advanced)
|
|
531
|
+
**vs API-only**: $200-300/mo
|
|
532
|
+
**Savings**: $160-260/mo (80% reduction)
|
|
926
533
|
|
|
927
|
-
|
|
928
|
-
ax mcp install @modelcontextprotocol/server-filesystem
|
|
929
|
-
ax mcp install @modelcontextprotocol/server-github
|
|
930
|
-
ax mcp install @modelcontextprotocol/server-git
|
|
534
|
+
### 2. Enterprise Ensuring Compliance
|
|
931
535
|
|
|
932
|
-
|
|
933
|
-
ax mcp install --batch filesystem github git
|
|
536
|
+
**Scenario**: Finance company with GDPR requirements
|
|
934
537
|
|
|
935
|
-
# Update installed servers
|
|
936
|
-
ax mcp update @modelcontextprotocol/server-filesystem
|
|
937
538
|
```
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
- ✅ NPM registry search and package discovery
|
|
941
|
-
- ✅ One-command installation for MCP servers
|
|
942
|
-
- ✅ Support for npm, yarn, and pnpm package managers
|
|
943
|
-
- ✅ Batch installation for faster setup
|
|
944
|
-
- ✅ Version management (update, uninstall)
|
|
945
|
-
- ✅ Dry-run mode for testing installations
|
|
946
|
-
|
|
947
|
-
#### **Phase 4C: Configuration Hot-Reload**
|
|
948
|
-
```bash
|
|
949
|
-
# Edit MCP configuration (changes apply automatically)
|
|
950
|
-
vim ax.config.json
|
|
951
|
-
|
|
952
|
-
# Configuration changes are detected and applied without restart!
|
|
953
|
-
# - Server configurations updated
|
|
954
|
-
# - Security limits adjusted
|
|
955
|
-
# - Health check settings modified
|
|
539
|
+
"Review this payment processing code for vulnerabilities.
|
|
540
|
+
Log everything for compliance audit."
|
|
956
541
|
```
|
|
957
542
|
|
|
958
|
-
**
|
|
959
|
-
-
|
|
960
|
-
-
|
|
961
|
-
-
|
|
962
|
-
-
|
|
963
|
-
- ✅ Default configuration fallback
|
|
964
|
-
|
|
965
|
-
#### **Phase 4D: Performance Monitoring**
|
|
966
|
-
```bash
|
|
967
|
-
# View real-time metrics for all servers
|
|
968
|
-
ax mcp metrics
|
|
969
|
-
|
|
970
|
-
# Show detailed metrics for specific server
|
|
971
|
-
ax mcp metrics filesystem-server
|
|
543
|
+
**What AutomatosX does**:
|
|
544
|
+
- Executes entirely offline (no data leaves company)
|
|
545
|
+
- Generates complete JSONL audit trail
|
|
546
|
+
- Uses local models via Ollama (air-gapped)
|
|
547
|
+
- Saves to encrypted local memory
|
|
972
548
|
|
|
973
|
-
|
|
974
|
-
|
|
549
|
+
**Compliance**: ✅ GDPR-ready, complete audit trail
|
|
550
|
+
**Security**: ✅ Zero data exfiltration
|
|
551
|
+
**Cost**: ✅ No cloud API costs
|
|
975
552
|
|
|
976
|
-
|
|
977
|
-
ax mcp metrics --export > metrics.json
|
|
978
|
-
```
|
|
553
|
+
### 3. Team Coordinating Multi-Agent Workflows
|
|
979
554
|
|
|
980
|
-
**
|
|
981
|
-
- ✅ CPU usage percentage per server
|
|
982
|
-
- ✅ Memory usage (MB) per server
|
|
983
|
-
- ✅ Server uptime (seconds)
|
|
984
|
-
- ✅ Total requests handled
|
|
985
|
-
- ✅ Failed requests count
|
|
986
|
-
- ✅ Average/min/max response times
|
|
987
|
-
- ✅ Restart count
|
|
988
|
-
- ✅ Time-series data with configurable retention (default: 24 hours)
|
|
989
|
-
|
|
990
|
-
#### **Phase 4E: Resource Limits & Security**
|
|
991
|
-
```bash
|
|
992
|
-
# View current resource limits
|
|
993
|
-
ax mcp limits
|
|
555
|
+
**Scenario**: 5 developers building microservices
|
|
994
556
|
|
|
995
|
-
# Set custom limits for specific server
|
|
996
|
-
ax mcp limits filesystem-server --memory 1024 --cpu 75
|
|
997
|
-
|
|
998
|
-
# Configure enforcement mode (warn/throttle/kill)
|
|
999
|
-
ax config set mcp.security.enforcementMode throttle
|
|
1000
557
|
```
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
- `throttle` - Temporarily pause violating processes (SIGSTOP/SIGCONT)
|
|
1007
|
-
- `kill` - Terminate violating processes (SIGKILL)
|
|
1008
|
-
- ✅ Grace period before enforcement (default: 10 seconds)
|
|
1009
|
-
- ✅ Per-server limit overrides
|
|
1010
|
-
- ✅ Violation event logging and alerting
|
|
1011
|
-
- ✅ Filesystem and network restrictions
|
|
1012
|
-
|
|
1013
|
-
#### **Configuration Example**
|
|
1014
|
-
```json
|
|
1015
|
-
{
|
|
1016
|
-
"mcp": {
|
|
1017
|
-
"enabled": true,
|
|
1018
|
-
"servers": [
|
|
1019
|
-
{
|
|
1020
|
-
"name": "filesystem",
|
|
1021
|
-
"command": "npx",
|
|
1022
|
-
"args": ["@modelcontextprotocol/server-filesystem", "/allowed/path"],
|
|
1023
|
-
"enabled": true
|
|
1024
|
-
}
|
|
1025
|
-
],
|
|
1026
|
-
"discovery": {
|
|
1027
|
-
"enabled": true,
|
|
1028
|
-
"packagePrefixes": ["@modelcontextprotocol/server-"]
|
|
1029
|
-
},
|
|
1030
|
-
"security": {
|
|
1031
|
-
"limits": {
|
|
1032
|
-
"maxServers": 10,
|
|
1033
|
-
"maxMemoryPerServer": 512,
|
|
1034
|
-
"maxCpuPerServer": 50
|
|
1035
|
-
},
|
|
1036
|
-
"filesystem": {
|
|
1037
|
-
"allowedPaths": ["/home/user/data"],
|
|
1038
|
-
"deniedPaths": ["/home/user/.ssh"]
|
|
1039
|
-
}
|
|
1040
|
-
},
|
|
1041
|
-
"healthCheck": {
|
|
1042
|
-
"enabled": true,
|
|
1043
|
-
"intervalMs": 60000,
|
|
1044
|
-
"restartOnFailure": true
|
|
1045
|
-
},
|
|
1046
|
-
"logging": {
|
|
1047
|
-
"logServerOutput": true,
|
|
1048
|
-
"logLevel": "info"
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
}
|
|
558
|
+
"Product agent, design payment service.
|
|
559
|
+
Backend agent, implement it.
|
|
560
|
+
Security agent, audit it.
|
|
561
|
+
Quality agent, write tests.
|
|
562
|
+
Save everything to shared memory."
|
|
1052
563
|
```
|
|
1053
564
|
|
|
1054
|
-
|
|
1055
|
-
-
|
|
1056
|
-
-
|
|
1057
|
-
-
|
|
565
|
+
**What AutomatosX does**:
|
|
566
|
+
- Product → Backend → Security → Quality (automatic delegation)
|
|
567
|
+
- Routes to optimal providers (cost + performance)
|
|
568
|
+
- Shared memory across team (perfect context)
|
|
569
|
+
- Parallel execution (3-5x faster)
|
|
1058
570
|
|
|
1059
|
-
**
|
|
571
|
+
**Result**: 5x productivity, 80% cost savings, zero manual coordination
|
|
1060
572
|
|
|
1061
573
|
---
|
|
1062
574
|
|
|
1063
|
-
##
|
|
1064
|
-
|
|
1065
|
-
### Getting Started
|
|
575
|
+
## 🎓 Documentation
|
|
1066
576
|
|
|
1067
|
-
|
|
1068
|
-
- [Quick Start Guide](docs/getting-started/
|
|
1069
|
-
- [Installation](docs/getting-started/installation.md) - Detailed
|
|
1070
|
-
- [Configuration](docs/guides/configuration.md) - Configure providers and settings
|
|
577
|
+
### Getting Started (5 Minutes)
|
|
578
|
+
- **[Quick Start Guide](docs/getting-started/quickstart-3min.md)** - Get productive fast
|
|
579
|
+
- [Installation](docs/getting-started/installation.md) - Detailed setup
|
|
1071
580
|
|
|
1072
|
-
###
|
|
581
|
+
### Natural Language Usage (Recommended)
|
|
582
|
+
- **[Using with Claude Code](docs/guides/claude-code-integration.md)** - Best practices
|
|
583
|
+
- [Using with OpenAI Codex](docs/guides/codex-integration.md) - Natural language examples
|
|
584
|
+
- [Agent Collaboration](docs/guides/agent-communication.md) - Multi-agent workflows
|
|
1073
585
|
|
|
1074
|
-
|
|
1075
|
-
-
|
|
1076
|
-
- [
|
|
1077
|
-
- [
|
|
1078
|
-
- [
|
|
586
|
+
### Advanced Features
|
|
587
|
+
- [Cost Optimization Strategies](docs/advanced/cost-optimization.md) - Save 80%
|
|
588
|
+
- [Persistent Memory Guide](docs/guides/memory.md) - Context management
|
|
589
|
+
- [Workflow Automation](docs/guides/spec-kit-guide.md) - YAML workflows
|
|
590
|
+
- [Observability](docs/advanced/observability.md) - Trace logging
|
|
1079
591
|
|
|
1080
|
-
### Advanced
|
|
592
|
+
### For Advanced Users (5% Who Need CLI)
|
|
593
|
+
- **[Full Features List](docs/full-features.md)** - All CLI commands and capabilities
|
|
594
|
+
- [CLI Command Reference](docs/reference/cli-commands.md) - Complete CLI docs
|
|
595
|
+
- [API Reference](docs/reference/api.md) - Programmatic usage
|
|
1081
596
|
|
|
1082
|
-
|
|
1083
|
-
- [
|
|
1084
|
-
- [
|
|
1085
|
-
- [
|
|
1086
|
-
|
|
1087
|
-
### Reference
|
|
1088
|
-
|
|
1089
|
-
- [Agent Directory](docs/guides/agents.md) - All 20 agents
|
|
1090
|
-
- [CLI Reference](docs/reference/cli-commands.md) - All commands
|
|
1091
|
-
- [Provider Comparison](docs/providers/overview.md) - Provider features and costs
|
|
1092
|
-
- [Troubleshooting](TROUBLESHOOTING.md) - Common issues and solutions
|
|
1093
|
-
|
|
1094
|
-
---
|
|
1095
|
-
|
|
1096
|
-
## 🏆 Why AutomatosX Wins
|
|
1097
|
-
|
|
1098
|
-
| Capability | AutomatosX | Claude Code | Cursor | GitHub Copilot |
|
|
1099
|
-
|------------|------------|-------------|--------|----------------|
|
|
1100
|
-
| **Declarative Workflows** | ✅ YAML specs | ❌ | ❌ | ❌ |
|
|
1101
|
-
| **Auto-Generation** | ✅ Plans, DAGs, scaffolds, tests | ❌ | ❌ | ❌ |
|
|
1102
|
-
| **CLI Orchestration** | ✅ Pure wrapper around AI CLIs | ❌ | ❌ | ❌ |
|
|
1103
|
-
| **Persistent Memory** | ✅ SQLite FTS5 < 1ms | ❌ | ❌ | ❌ |
|
|
1104
|
-
| **Multi-Agent Teams** | ✅ 20 specialists | ❌ | ❌ | ❌ |
|
|
1105
|
-
| **Multi-Provider Support** | ✅ Claude, Gemini, Grok, Codex | ⚠️ Claude only | ⚠️ Limited | ⚠️ Limited |
|
|
1106
|
-
| **MCP Server Management** | ✅ Enterprise-grade (Phase 4) | ⚠️ Basic | ❌ | ❌ |
|
|
1107
|
-
| **Complete Observability** | ✅ Trace logging + metrics | ❌ | ❌ | ❌ |
|
|
1108
|
-
| **Parallel Execution** | ✅ DAG-based | ❌ | ❌ | ❌ |
|
|
1109
|
-
| **Local-First** | ✅ 100% private | ⚠️ Hybrid | ⚠️ Cloud | ⚠️ Cloud |
|
|
1110
|
-
|
|
1111
|
-
**Bottom Line**: AutomatosX is the **only platform** that combines declarative workflows, persistent memory, multi-agent orchestration, enterprise MCP management, and pure CLI orchestration in one tool.
|
|
1112
|
-
|
|
1113
|
-
---
|
|
1114
|
-
|
|
1115
|
-
## 🚦 Production Readiness
|
|
1116
|
-
|
|
1117
|
-
✅ **v8.5.3 Released** - Enterprise MCP Phase 4 complete
|
|
1118
|
-
✅ **v7.0.0 Released** - Natural language-first design, unified setup
|
|
1119
|
-
✅ **100% Complete** - Spec-Kit integration + MCP management fully implemented
|
|
1120
|
-
✅ **2,512+ Tests Passing** - Comprehensive test coverage
|
|
1121
|
-
✅ **TypeScript Strict Mode** - Type-safe codebase
|
|
1122
|
-
✅ **Enterprise MCP** - Production-ready server lifecycle, metrics, security
|
|
1123
|
-
✅ **Zero Resource Leaks** - Clean shutdown guaranteed
|
|
1124
|
-
✅ **Cross-Platform** - macOS, Windows, Ubuntu
|
|
1125
|
-
✅ **Local-First** - No cloud dependencies, 100% private
|
|
597
|
+
### Enterprise
|
|
598
|
+
- [Security & Compliance](docs/advanced/security.md) - GDPR, HIPAA, SOC2
|
|
599
|
+
- [Offline Deployment](docs/advanced/offline-deployment.md) - Air-gapped environments
|
|
600
|
+
- [Multi-Region Setup](docs/advanced/multi-region.md) - Data sovereignty
|
|
1126
601
|
|
|
1127
602
|
---
|
|
1128
603
|
|
|
@@ -1132,207 +607,61 @@ ax config set mcp.security.enforcementMode throttle
|
|
|
1132
607
|
|
|
1133
608
|
```bash
|
|
1134
609
|
npm install -g @defai.digital/automatosx
|
|
1135
|
-
ax --version #
|
|
610
|
+
ax --version # v9.2.3
|
|
1136
611
|
```
|
|
1137
612
|
|
|
1138
|
-
###
|
|
1139
|
-
|
|
1140
|
-
**After installing, you MUST run `ax setup` in your project directory to initialize the AutomatosX workspace:**
|
|
613
|
+
### Initialize Your Project
|
|
1141
614
|
|
|
1142
615
|
```bash
|
|
1143
|
-
# Navigate to your project directory
|
|
1144
616
|
cd your-project
|
|
1145
|
-
|
|
1146
|
-
# Set up AutomatosX (creates .automatosx/ with agents and config)
|
|
1147
617
|
ax setup
|
|
1148
|
-
|
|
1149
|
-
# Or force reinitialize if you already have a .automatosx/ directory
|
|
1150
|
-
ax setup -f
|
|
1151
618
|
```
|
|
1152
619
|
|
|
1153
620
|
**What `ax setup` does:**
|
|
621
|
+
- ✅ Creates `.automatosx/` directory
|
|
622
|
+
- ✅ Installs all 20 specialized agents
|
|
623
|
+
- ✅ Generates optimal configuration
|
|
624
|
+
- ✅ Initializes persistent memory database
|
|
625
|
+
- ✅ Sets up trace logging
|
|
1154
626
|
|
|
1155
|
-
|
|
1156
|
-
- ✅ Installs all 20 specialized agents (backend, frontend, security, etc.)
|
|
1157
|
-
- ✅ Generates `ax.config.json` with optimal defaults
|
|
1158
|
-
- ✅ Initializes SQLite memory database
|
|
1159
|
-
- ✅ Sets up session management
|
|
1160
|
-
- ✅ Configures trace logging
|
|
1161
|
-
|
|
1162
|
-
**Without running `ax setup`, AutomatosX commands will not work properly!**
|
|
1163
|
-
|
|
1164
|
-
### ✨ Optional: AI-Powered Setup (v7.1.2+)
|
|
1165
|
-
|
|
1166
|
-
For a more advanced, AI-driven setup, you can use the `ax init` command. It analyzes your project to create a tailored integration guide (`ax.md`) for AI assistants.
|
|
1167
|
-
|
|
1168
|
-
```bash
|
|
1169
|
-
# Run the interactive, AI-powered initialization
|
|
1170
|
-
ax init
|
|
1171
|
-
```
|
|
1172
|
-
Use `ax setup` for the standard, essential setup. Use `ax init` for an enhanced AI integration experience.**
|
|
627
|
+
**That's it!** Now just use Claude Code/Codex naturally - AutomatosX runs invisibly.
|
|
1173
628
|
|
|
1174
629
|
### Requirements
|
|
1175
630
|
|
|
1176
631
|
- **Node.js**: >= 24.0.0
|
|
1177
|
-
- **AI
|
|
1178
|
-
- [
|
|
1179
|
-
- [
|
|
1180
|
-
- [
|
|
1181
|
-
- [ax-cli](.ax-cli/README.md) (multi-provider: GLM, xAI, OpenAI, Anthropic, Ollama)
|
|
632
|
+
- **At least one AI CLI** (you probably already have):
|
|
633
|
+
- [Claude Code](https://claude.ai/code) - **Recommended** (best reasoning)
|
|
634
|
+
- [Gemini CLI](https://ai.google.dev/gemini-api/docs/cli) - Cost-efficient
|
|
635
|
+
- [OpenAI Codex](https://platform.openai.com/docs/guides/code) - Fastest
|
|
1182
636
|
|
|
1183
|
-
|
|
637
|
+
**Optional**:
|
|
638
|
+
- [ax-cli](.ax-cli/README.md) - GLM-first native CLI for Chinese models
|
|
1184
639
|
|
|
1185
640
|
---
|
|
1186
641
|
|
|
1187
|
-
##
|
|
1188
|
-
|
|
1189
|
-
### Completed (v6.0.0 - v7.0.0)
|
|
1190
|
-
|
|
1191
|
-
- ✅ **v7.0.0 - Natural Language First** (Latest)
|
|
1192
|
-
- ✅ Unified setup command (init→setup)
|
|
1193
|
-
- ✅ Natural language-only interaction
|
|
1194
|
-
- ✅ Enhanced force mode with complete cleanup
|
|
1195
|
-
- ✅ Removed slash command dependencies
|
|
1196
|
-
- ✅ **v8.3.0 - Major Simplification** (Latest)
|
|
1197
|
-
- ✅ Removed policy routing, free-tier management (~36,000 lines)
|
|
1198
|
-
- ✅ Pure CLI orchestration wrapper
|
|
1199
|
-
- ✅ Streamlined architecture
|
|
1200
|
-
- ✅ Focus on core features
|
|
1201
|
-
- ✅ Spec-Kit Integration (100%)
|
|
1202
|
-
- ✅ Plan generation
|
|
1203
|
-
- ✅ DAG generation
|
|
1204
|
-
- ✅ Scaffold generation
|
|
1205
|
-
- ✅ Test generation
|
|
1206
|
-
- ✅ Regeneration Detector (v6.5.6)
|
|
1207
|
-
- ✅ CLI Orchestration
|
|
1208
|
-
- ✅ Multi-provider support (Claude, Gemini, Grok, Codex)
|
|
1209
|
-
- ✅ Pure CLI wrapper (no API key required for CLI mode)
|
|
1210
|
-
- ✅ Fallback and retry logic
|
|
1211
|
-
- ✅ Router Trace Logging
|
|
1212
|
-
- ✅ JSONL format
|
|
1213
|
-
- ✅ Real-time following
|
|
1214
|
-
- ✅ Color-coded CLI
|
|
1215
|
-
|
|
1216
|
-
### Coming Soon (v8.5.3+)
|
|
1217
|
-
|
|
1218
|
-
- ⏳ Enhanced Spec Features
|
|
1219
|
-
- Advanced DAG visualization
|
|
1220
|
-
- Workflow templates library
|
|
1221
|
-
- Interactive spec builder
|
|
1222
|
-
- ⏳ Enhanced Parallel Execution
|
|
1223
|
-
- Resource-aware scheduling
|
|
1224
|
-
- Priority-based execution
|
|
1225
|
-
|
|
1226
|
-
[View Full Roadmap](#roadmap)
|
|
1227
|
-
|
|
1228
|
-
---
|
|
1229
|
-
|
|
1230
|
-
## 🔄 Migration from v6.x
|
|
1231
|
-
|
|
1232
|
-
**v7.0.0 introduces breaking changes. Follow this guide to upgrade:**
|
|
1233
|
-
|
|
1234
|
-
### Breaking Changes
|
|
1235
|
-
|
|
1236
|
-
1. **Command Rename**: `ax init` → `ax setup`
|
|
1237
|
-
```bash
|
|
1238
|
-
# ❌ v6.x (deprecated)
|
|
1239
|
-
ax init
|
|
1240
|
-
|
|
1241
|
-
# ✅ v7.0.0 (new)
|
|
1242
|
-
ax setup
|
|
1243
|
-
```
|
|
1244
|
-
|
|
1245
|
-
2. **Slash Commands Removed**: Natural language only
|
|
1246
|
-
- ❌ No more `.claude/commands/ax-*.md` files
|
|
1247
|
-
- ❌ No more `.gemini/commands/ax-*.toml` files
|
|
1248
|
-
- ✅ Use natural language with AI assistants instead
|
|
1249
|
-
|
|
1250
|
-
```
|
|
1251
|
-
# ✅ v7.0.0 - Natural language (recommended)
|
|
1252
|
-
"Please use ax to implement user authentication"
|
|
1253
|
-
"Work with ax to audit this code for security issues"
|
|
1254
|
-
"Have ax write tests for this feature"
|
|
1255
|
-
```
|
|
1256
|
-
|
|
1257
|
-
3. **Enhanced Force Mode**: Complete cleanup on `ax setup --force`
|
|
1258
|
-
- Now removes `.automatosx/` directory completely
|
|
1259
|
-
- Removes all `.claude/commands/ax-*` files
|
|
1260
|
-
- Removes all `.gemini/commands/ax-*` files
|
|
1261
|
-
- Ensures clean reinstall with no leftover files
|
|
1262
|
-
|
|
1263
|
-
### Migration Steps
|
|
1264
|
-
|
|
1265
|
-
1. **Update AutomatosX**:
|
|
1266
|
-
```bash
|
|
1267
|
-
npm update -g @defai.digital/automatosx
|
|
1268
|
-
ax --version # Should show v7.0.0
|
|
1269
|
-
```
|
|
1270
|
-
|
|
1271
|
-
2. **Clean Install** (Recommended):
|
|
1272
|
-
```bash
|
|
1273
|
-
cd your-project
|
|
1274
|
-
ax setup --force # Complete cleanup and reinstall
|
|
1275
|
-
```
|
|
1276
|
-
|
|
1277
|
-
3. **Update Scripts**: Change any scripts using `ax init` to `ax setup`
|
|
1278
|
-
```bash
|
|
1279
|
-
# Update in package.json, shell scripts, CI/CD configs
|
|
1280
|
-
sed -i '' 's/ax init/ax setup/g' package.json
|
|
1281
|
-
```
|
|
1282
|
-
|
|
1283
|
-
4. **Remove Custom Slash Commands** (if you had any):
|
|
1284
|
-
```bash
|
|
1285
|
-
# These are no longer needed
|
|
1286
|
-
rm -rf .claude/commands/ax-*
|
|
1287
|
-
rm -rf .gemini/commands/ax-*
|
|
1288
|
-
```
|
|
1289
|
-
|
|
1290
|
-
5. **Update Documentation**: Search your docs for `ax init` references
|
|
1291
|
-
|
|
1292
|
-
### What Stays the Same
|
|
1293
|
-
|
|
1294
|
-
- ✅ All agent functionality unchanged
|
|
1295
|
-
- ✅ Memory system works the same
|
|
1296
|
-
- ✅ Spec-Kit features unchanged
|
|
1297
|
-
- ✅ CLI orchestration works the same
|
|
1298
|
-
- ✅ Multi-provider support unchanged
|
|
1299
|
-
- ✅ CLI command syntax (except init→setup)
|
|
1300
|
-
|
|
1301
|
-
### Need Help?
|
|
1302
|
-
|
|
1303
|
-
- [GitHub Releases (https://github.com/defai-digital/automatosx/releases)](GitHub Releases (https://github.com/defai-digital/automatosx/releases)) - Full v7.0.0 changes
|
|
1304
|
-
- [GitHub Issues](https://github.com/defai-digital/automatosx/issues) - Report migration issues
|
|
1305
|
-
- [Troubleshooting Guide](TROUBLESHOOTING.md) - Common problems
|
|
642
|
+
## 🚦 Production Readiness
|
|
1306
643
|
|
|
1307
|
-
|
|
644
|
+
✅ **v9.2.3 Released** - ax-cli SDK Phase 2 complete
|
|
645
|
+
✅ **2,512+ Tests Passing** - Comprehensive coverage
|
|
646
|
+
✅ **TypeScript Strict Mode** - Type-safe codebase
|
|
647
|
+
✅ **Zero Resource Leaks** - Clean shutdown guaranteed
|
|
648
|
+
✅ **Cross-Platform** - macOS, Windows, Ubuntu
|
|
649
|
+
✅ **100% Local-First** - No cloud dependencies
|
|
650
|
+
✅ **Enterprise-Ready** - Observability, governance, compliance
|
|
1308
651
|
|
|
1309
652
|
---
|
|
1310
653
|
|
|
1311
654
|
## 🤝 Contributing
|
|
1312
655
|
|
|
1313
|
-
We welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md)
|
|
656
|
+
We welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md)
|
|
1314
657
|
|
|
1315
658
|
### Development Setup
|
|
1316
659
|
|
|
1317
660
|
```bash
|
|
1318
|
-
# Clone the repo
|
|
1319
661
|
git clone https://github.com/defai-digital/automatosx.git
|
|
1320
662
|
cd automatosx
|
|
1321
|
-
|
|
1322
|
-
# Install dependencies
|
|
1323
663
|
npm install
|
|
1324
|
-
|
|
1325
|
-
# Run in dev mode
|
|
1326
|
-
npm run dev -- run backend "test task"
|
|
1327
|
-
|
|
1328
|
-
# Run tests
|
|
1329
664
|
npm test
|
|
1330
|
-
|
|
1331
|
-
# Run type checking
|
|
1332
|
-
npm run typecheck
|
|
1333
|
-
|
|
1334
|
-
# Build
|
|
1335
|
-
npm run build
|
|
1336
665
|
```
|
|
1337
666
|
|
|
1338
667
|
---
|
|
@@ -1341,25 +670,16 @@ npm run build
|
|
|
1341
670
|
|
|
1342
671
|
AutomatosX is dual-licensed:
|
|
1343
672
|
|
|
1344
|
-
- **Apache License 2.0** - See [LICENSE](LICENSE)
|
|
1345
|
-
- **Commercial License with OpenRAIL-M** - See [COMMERCIAL-LICENSE.md](COMMERCIAL-LICENSE.md)
|
|
1346
|
-
|
|
1347
|
-
### TL;DR - When Do You Need a Commercial License?
|
|
673
|
+
- **Apache License 2.0** - See [LICENSE](LICENSE)
|
|
674
|
+
- **Commercial License with OpenRAIL-M** - See [COMMERCIAL-LICENSE.md](COMMERCIAL-LICENSE.md)
|
|
1348
675
|
|
|
1349
|
-
|
|
1350
|
-
-
|
|
1351
|
-
-
|
|
1352
|
-
- Startups with < $2M revenue AND < $2M funding
|
|
676
|
+
**TL;DR**:
|
|
677
|
+
- ✅ FREE for research, academic, personal projects, startups < $2M revenue
|
|
678
|
+
- ❌ Commercial license required for companies ≥ $2M revenue/funding
|
|
1353
679
|
|
|
1354
|
-
|
|
1355
|
-
-
|
|
1356
|
-
-
|
|
1357
|
-
- SaaS or managed services built on AutomatosX
|
|
1358
|
-
- Commercial redistribution or embedding
|
|
1359
|
-
|
|
1360
|
-
**Learn more**: See [COMMERCIAL-LICENSE.md](COMMERCIAL-LICENSE.md) for full details.
|
|
1361
|
-
|
|
1362
|
-
**Get a commercial license**: https://license.defai.digital/automatox
|
|
680
|
+
**Need a commercial license?**
|
|
681
|
+
- Email: <sales@defai.digital>
|
|
682
|
+
- Subject: "AutomatosX Commercial License Inquiry"
|
|
1363
683
|
|
|
1364
684
|
Copyright 2025 DEFAI Private Limited
|
|
1365
685
|
|
|
@@ -1367,7 +687,7 @@ Copyright 2025 DEFAI Private Limited
|
|
|
1367
687
|
|
|
1368
688
|
## 🌟 Star Us on GitHub
|
|
1369
689
|
|
|
1370
|
-
If AutomatosX saves you
|
|
690
|
+
If AutomatosX saves you 80% on AI costs **without changing your workflow**, give us a star! ⭐
|
|
1371
691
|
|
|
1372
692
|
[⭐ Star on GitHub](https://github.com/defai-digital/automatosx)
|
|
1373
693
|
|
|
@@ -1377,10 +697,10 @@ If AutomatosX saves you time and money, give us a star! ⭐
|
|
|
1377
697
|
|
|
1378
698
|
- **Issues**: [GitHub Issues](https://github.com/defai-digital/automatosx/issues)
|
|
1379
699
|
- **Email**: <support@defai.digital>
|
|
700
|
+
- **Commercial Licenses**: <sales@defai.digital>
|
|
1380
701
|
|
|
1381
702
|
---
|
|
1382
703
|
|
|
1383
|
-
|
|
1384
704
|
<p align="center">
|
|
1385
705
|
Made with ❤️ by <a href="https://defai.digital">DEFAI Digital</a>
|
|
1386
706
|
</p>
|