@defai.digital/automatosx 12.8.7 → 13.1.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.
Files changed (130) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +48 -754
  3. package/dist/bin.d.ts +8 -0
  4. package/dist/bin.d.ts.map +1 -0
  5. package/dist/bin.js +16 -0
  6. package/dist/bin.js.map +1 -0
  7. package/dist/index.d.ts +8 -2
  8. package/dist/index.d.ts.map +1 -0
  9. package/dist/index.js +7 -74239
  10. package/dist/index.js.map +1 -0
  11. package/package.json +35 -160
  12. package/.github/assets/ax-cli.png +0 -0
  13. package/.github/assets/axlogo.png +0 -0
  14. package/CHANGELOG.md +0 -81
  15. package/SECURITY.md +0 -173
  16. package/dist/mcp/index.d.ts +0 -2
  17. package/dist/mcp/index.js +0 -43627
  18. package/examples/AGENTS_INFO.md +0 -187
  19. package/examples/README.md +0 -434
  20. package/examples/abilities/accessibility.md +0 -115
  21. package/examples/abilities/api-design.md +0 -168
  22. package/examples/abilities/best-practices.md +0 -102
  23. package/examples/abilities/caching-strategy.md +0 -165
  24. package/examples/abilities/ci-cd.md +0 -61
  25. package/examples/abilities/clean-code.md +0 -398
  26. package/examples/abilities/code-generation.md +0 -333
  27. package/examples/abilities/code-review.md +0 -51
  28. package/examples/abilities/component-architecture.md +0 -112
  29. package/examples/abilities/content-creation.md +0 -97
  30. package/examples/abilities/data-modeling.md +0 -171
  31. package/examples/abilities/data-validation.md +0 -50
  32. package/examples/abilities/db-modeling.md +0 -167
  33. package/examples/abilities/debugging.md +0 -52
  34. package/examples/abilities/design-patterns.md +0 -437
  35. package/examples/abilities/design-system-implementation.md +0 -126
  36. package/examples/abilities/documentation.md +0 -54
  37. package/examples/abilities/etl-pipelines.md +0 -44
  38. package/examples/abilities/feasibility-study.md +0 -20
  39. package/examples/abilities/general-assistance.md +0 -26
  40. package/examples/abilities/idea-evaluation.md +0 -21
  41. package/examples/abilities/infra-as-code.md +0 -57
  42. package/examples/abilities/job-orchestration.md +0 -44
  43. package/examples/abilities/literature-review.md +0 -19
  44. package/examples/abilities/longform-report.md +0 -25
  45. package/examples/abilities/mathematical-reasoning.md +0 -170
  46. package/examples/abilities/observability.md +0 -61
  47. package/examples/abilities/orbital-mechanics.md +0 -50
  48. package/examples/abilities/our-architecture-decisions.md +0 -180
  49. package/examples/abilities/our-code-review-checklist.md +0 -149
  50. package/examples/abilities/our-coding-standards.md +0 -369
  51. package/examples/abilities/our-project-structure.md +0 -183
  52. package/examples/abilities/performance.md +0 -89
  53. package/examples/abilities/problem-solving.md +0 -50
  54. package/examples/abilities/propulsion-systems.md +0 -50
  55. package/examples/abilities/quantum-algorithm-design.md +0 -54
  56. package/examples/abilities/quantum-error-correction.md +0 -56
  57. package/examples/abilities/quantum-frameworks-transpilation.md +0 -53
  58. package/examples/abilities/quantum-noise-modeling.md +0 -58
  59. package/examples/abilities/refactoring.md +0 -223
  60. package/examples/abilities/release-strategy.md +0 -58
  61. package/examples/abilities/secrets-policy.md +0 -61
  62. package/examples/abilities/secure-coding-review.md +0 -60
  63. package/examples/abilities/software-architecture.md +0 -394
  64. package/examples/abilities/solid-principles.md +0 -341
  65. package/examples/abilities/sql-optimization.md +0 -84
  66. package/examples/abilities/state-management.md +0 -96
  67. package/examples/abilities/task-planning.md +0 -65
  68. package/examples/abilities/technical-writing.md +0 -77
  69. package/examples/abilities/telemetry-diagnostics.md +0 -51
  70. package/examples/abilities/testing.md +0 -56
  71. package/examples/abilities/threat-modeling.md +0 -58
  72. package/examples/abilities/troubleshooting.md +0 -80
  73. package/examples/abilities/typescript-zod-validation.md +0 -830
  74. package/examples/agents/AGENTS_INTEGRATION.md +0 -99
  75. package/examples/agents/aerospace-scientist.yaml +0 -159
  76. package/examples/agents/architecture.yaml +0 -244
  77. package/examples/agents/automatosx.config.json +0 -286
  78. package/examples/agents/backend.yaml +0 -141
  79. package/examples/agents/ceo.yaml +0 -105
  80. package/examples/agents/creative-marketer.yaml +0 -173
  81. package/examples/agents/cto.yaml +0 -118
  82. package/examples/agents/data-scientist.yaml +0 -200
  83. package/examples/agents/data.yaml +0 -106
  84. package/examples/agents/design.yaml +0 -115
  85. package/examples/agents/devops.yaml +0 -124
  86. package/examples/agents/frontend.yaml +0 -171
  87. package/examples/agents/fullstack.yaml +0 -172
  88. package/examples/agents/mobile.yaml +0 -185
  89. package/examples/agents/product.yaml +0 -103
  90. package/examples/agents/quality.yaml +0 -117
  91. package/examples/agents/quantum-engineer.yaml +0 -166
  92. package/examples/agents/researcher.yaml +0 -122
  93. package/examples/agents/security.yaml +0 -115
  94. package/examples/agents/standard.yaml +0 -214
  95. package/examples/agents/writer.yaml +0 -122
  96. package/examples/providers/README.md +0 -117
  97. package/examples/providers/claude/CLAUDE_INTEGRATION.md +0 -302
  98. package/examples/providers/claude/mcp/automatosx.json +0 -244
  99. package/examples/providers/codex/CODEX_INTEGRATION.md +0 -593
  100. package/examples/providers/codex/README.md +0 -349
  101. package/examples/providers/codex/usage-examples.ts +0 -421
  102. package/examples/providers/gemini/GEMINI_INTEGRATION.md +0 -236
  103. package/examples/providers/gemini/README.md +0 -76
  104. package/examples/providers/openai-codex-example.ts +0 -421
  105. package/examples/pytorch_resnet50_training.py +0 -289
  106. package/examples/specs/automatosx-release.ax.yaml +0 -380
  107. package/examples/specs/enterprise.ax.yaml +0 -121
  108. package/examples/specs/enterprise.yaml.mustache +0 -121
  109. package/examples/specs/government.ax.yaml +0 -148
  110. package/examples/specs/government.yaml.mustache +0 -148
  111. package/examples/specs/minimal.ax.yaml +0 -21
  112. package/examples/specs/minimal.yaml.mustache +0 -21
  113. package/examples/teams/business.yaml +0 -56
  114. package/examples/teams/core.yaml +0 -60
  115. package/examples/teams/design.yaml +0 -58
  116. package/examples/teams/engineering.yaml +0 -69
  117. package/examples/teams/research.yaml +0 -56
  118. package/examples/use-cases/01-web-app-development.md +0 -374
  119. package/examples/workflows/analyst.yaml +0 -60
  120. package/examples/workflows/assistant.yaml +0 -48
  121. package/examples/workflows/basic-agent.yaml +0 -28
  122. package/examples/workflows/code-reviewer.yaml +0 -52
  123. package/examples/workflows/debugger.yaml +0 -63
  124. package/examples/workflows/designer.yaml +0 -69
  125. package/examples/workflows/developer.yaml +0 -60
  126. package/examples/workflows/fullstack-developer.yaml +0 -395
  127. package/examples/workflows/qa-specialist.yaml +0 -71
  128. package/schema/ability-metadata.json +0 -21
  129. package/schema/config.json +0 -703
  130. package/schema/spec-schema.json +0 -608
@@ -1,302 +0,0 @@
1
- # AutomatosX Integration for Claude Code
2
-
3
- **IMPORTANT**: For the complete AutomatosX integration guide, **please read [AX-Integration.md](../AX-Integration.md)**.
4
-
5
- This file provides Claude Code-specific tips and quick reference. For comprehensive documentation including all agents, commands, memory features, workflows, and troubleshooting, see [AX-Integration.md](../AX-Integration.md).
6
-
7
- ---
8
-
9
- This project uses [AutomatosX](https://github.com/defai-digital/automatosx) - an AI agent orchestration platform with persistent memory and multi-agent collaboration.
10
-
11
- ## Quick Start
12
-
13
- ### Available Commands
14
-
15
- ```bash
16
- # List all available agents
17
- ax list agents
18
-
19
- # Run an agent with a task
20
- ax run <agent-name> "your task description"
21
-
22
- # Example: Ask the backend agent to create an API
23
- ax run backend "create a REST API for user management"
24
-
25
- # Search memory for past conversations
26
- ax memory search "keyword"
27
-
28
- # View system status
29
- ax status
30
- ```
31
-
32
- ### Using AutomatosX in Claude Code
33
-
34
- You can interact with AutomatosX agents directly in Claude Code using natural language:
35
-
36
- **Natural Language Examples**:
37
- ```
38
- "Please work with ax agent backend to implement user authentication"
39
- "Ask the ax security agent to audit this code for vulnerabilities"
40
- "Have the ax quality agent write tests for this feature"
41
- "Use ax agent product to design this new feature"
42
- "Work with ax agent devops to set up the deployment pipeline"
43
- ```
44
-
45
- Claude Code will understand your intent and invoke the appropriate AutomatosX agent for you. Just describe what you need in natural language - no special commands required!
46
-
47
- ### Available Agents
48
-
49
- This project includes the following specialized agents:
50
-
51
- - **backend** (Bob) - Backend development (Go/Rust systems)
52
- - **frontend** (Frank) - Frontend development (React/Next.js/Swift)
53
- - **architecture** (Avery) - System architecture and ADR management
54
- - **fullstack** (Felix) - Full-stack development (Node.js/TypeScript)
55
- - **mobile** (Maya) - Mobile development (iOS/Android, Swift/Kotlin/Flutter)
56
- - **devops** (Oliver) - DevOps and infrastructure
57
- - **security** (Steve) - Security auditing and threat modeling
58
- - **data** (Daisy) - Data engineering and ETL
59
- - **quality** (Queenie) - QA and testing
60
- - **design** (Debbee) - UX/UI design
61
- - **writer** (Wendy) - Technical writing
62
- - **product** (Paris) - Product management
63
- - **cto** (Tony) - Technical strategy
64
- - **ceo** (Eric) - Business leadership
65
- - **researcher** (Rodman) - Research and analysis
66
- - **data-scientist** (Dana) - Machine learning and data science
67
- - **aerospace-scientist** (Astrid) - Aerospace engineering and mission design
68
- - **quantum-engineer** (Quinn) - Quantum computing and algorithms
69
- - **creative-marketer** (Candy) - Creative marketing and content strategy
70
- - **standard** (Stan) - Standards and best practices expert
71
-
72
- For a complete list with capabilities, run: `ax list agents --format json`
73
-
74
- ## Key Features
75
-
76
- ### 1. Persistent Memory
77
-
78
- AutomatosX agents remember all previous conversations and decisions:
79
-
80
- ```bash
81
- # First task - design is saved to memory
82
- ax run product "Design a calculator with add/subtract features"
83
-
84
- # Later task - automatically retrieves the design from memory
85
- ax run backend "Implement the calculator API"
86
- ```
87
-
88
- ### 2. Multi-Agent Collaboration
89
-
90
- Agents can delegate tasks to each other automatically:
91
-
92
- ```bash
93
- ax run product "Build a complete user authentication feature"
94
- # → Product agent designs the system
95
- # → Automatically delegates implementation to backend agent
96
- # → Automatically delegates security audit to security agent
97
- ```
98
-
99
- ### 3. Cross-Provider Support
100
-
101
- AutomatosX supports multiple AI providers with automatic fallback:
102
- - **Claude** (Anthropic) - Primary provider for Claude Code users
103
- - **Gemini** (Google) - Alternative provider
104
- - **OpenAI** (GPT) - Alternative provider
105
-
106
- Configuration is in `ax.config.json`.
107
-
108
- ## Configuration
109
-
110
- ### Project Configuration
111
-
112
- Edit `ax.config.json` to customize:
113
-
114
- ```json
115
- {
116
- "providers": {
117
- "claude-code": {
118
- "enabled": true,
119
- "priority": 1
120
- },
121
- "gemini-cli": {
122
- "enabled": true,
123
- "priority": 2
124
- }
125
- },
126
- "execution": {
127
- "defaultTimeout": 1500000, // 25 minutes
128
- "maxRetries": 3
129
- },
130
- "memory": {
131
- "enabled": true,
132
- "maxEntries": 10000
133
- }
134
- }
135
- ```
136
-
137
- ### Agent Customization
138
-
139
- Create custom agents in `.automatosx/agents/`:
140
-
141
- ```bash
142
- ax agent create my-agent --template developer --interactive
143
- ```
144
-
145
- ### Workspace Conventions
146
-
147
- **IMPORTANT**: AutomatosX uses specific directories for organized file management. Please follow these conventions when working with agents:
148
-
149
- - **`automatosx/PRD/`** - Product Requirements Documents, design specs, and planning documents
150
- - Use for: Architecture designs, feature specs, technical requirements
151
- - Example: `automatosx/PRD/auth-system-design.md`
152
-
153
- - **`automatosx/tmp/`** - Temporary files, scratch work, and intermediate outputs
154
- - Use for: Draft code, test outputs, temporary analysis
155
- - Auto-cleaned periodically
156
- - Example: `automatosx/tmp/draft-api-endpoints.ts`
157
-
158
- **Usage in Claude Code**:
159
- ```
160
- "Please save the architecture design to automatosx/PRD/user-auth-design.md"
161
- "Put the draft implementation in automatosx/tmp/auth-draft.ts for review"
162
- "Work with ax agent backend to implement the spec in automatosx/PRD/api-spec.md"
163
- ```
164
-
165
- These directories are automatically created by `ax setup` and included in `.gitignore` appropriately.
166
-
167
- ## Memory System
168
-
169
- ### Search Memory
170
-
171
- ```bash
172
- # Search for past conversations
173
- ax memory search "authentication"
174
- ax memory search "API design"
175
-
176
- # List recent memories
177
- ax memory list --limit 10
178
-
179
- # Export memory for backup
180
- ax memory export > backup.json
181
- ```
182
-
183
- ### How Memory Works
184
-
185
- - **Automatic**: All agent conversations are saved automatically
186
- - **Fast**: SQLite FTS5 full-text search (< 1ms)
187
- - **Local**: 100% private, data never leaves your machine
188
- - **Cost**: $0 (no API calls for memory operations)
189
-
190
- ## Advanced Usage
191
-
192
- ### Parallel Execution
193
-
194
- Run multiple agents in parallel for faster workflows:
195
-
196
- ```bash
197
- ax run product "Design authentication system" --parallel
198
- ```
199
-
200
- ### Resumable Runs
201
-
202
- For long-running tasks, enable checkpoints:
203
-
204
- ```bash
205
- ax run backend "Refactor entire codebase" --resumable
206
-
207
- # If interrupted, resume with:
208
- ax resume <run-id>
209
-
210
- # List all runs
211
- ax runs list
212
- ```
213
-
214
- ### Streaming Output
215
-
216
- See real-time output from AI providers:
217
-
218
- ```bash
219
- ax run backend "Explain this codebase" --streaming
220
- ```
221
-
222
- ### Spec-Driven Development
223
-
224
- For complex projects, use spec-driven workflows:
225
-
226
- ```bash
227
- # Create spec from natural language
228
- ax spec create "Build authentication with database, API, JWT, and tests"
229
-
230
- # Or manually define in .specify/tasks.md
231
- ax spec run --parallel
232
-
233
- # Check progress
234
- ax spec status
235
- ```
236
-
237
- ## Troubleshooting
238
-
239
- ### Common Issues
240
-
241
- **"Agent not found"**
242
- ```bash
243
- # List available agents
244
- ax list agents
245
-
246
- # Make sure agent name is correct
247
- ax run backend "task" # ✓ Correct
248
- ax run Backend "task" # ✗ Wrong (case-sensitive)
249
- ```
250
-
251
- **"Provider not available"**
252
- ```bash
253
- # Check system status
254
- ax status
255
-
256
- # View configuration
257
- ax config show
258
- ```
259
-
260
- **"Out of memory"**
261
- ```bash
262
- # Clear old memories
263
- ax memory clear --before "2024-01-01"
264
-
265
- # View memory stats
266
- ax cache stats
267
- ```
268
-
269
- ### Getting Help
270
-
271
- ```bash
272
- # View command help
273
- ax --help
274
- ax run --help
275
-
276
- # Enable debug mode
277
- ax --debug run backend "task"
278
-
279
- # Search memory for similar past tasks
280
- ax memory search "similar task"
281
- ```
282
-
283
- ## Best Practices
284
-
285
- 1. **Use Natural Language in Claude Code**: Let Claude Code coordinate with agents for complex tasks
286
- 2. **Leverage Memory**: Reference past decisions and designs
287
- 3. **Start Simple**: Test with small tasks before complex workflows
288
- 4. **Review Configurations**: Check `ax.config.json` for timeouts and retries
289
- 5. **Keep Agents Specialized**: Use the right agent for each task type
290
-
291
- ## Documentation
292
-
293
- - **AutomatosX Docs**: https://github.com/defai-digital/automatosx
294
- - **Agent Directory**: `.automatosx/agents/`
295
- - **Configuration**: `ax.config.json`
296
- - **Memory Database**: `.automatosx/memory/memories.db`
297
- - **Workspace**: `automatosx/PRD/` (planning docs) and `automatosx/tmp/` (temporary files)
298
-
299
- ## Support
300
-
301
- - Issues: https://github.com/defai-digital/automatosx/issues
302
- - NPM: https://www.npmjs.com/package/@defai.digital/automatosx
@@ -1,244 +0,0 @@
1
- {
2
- "mcpServers": {
3
- "automatosx": {
4
- "command": "automatosx",
5
- "args": ["mcp"],
6
- "description": "AutomatosX AI Agent Orchestration Platform with persistent memory and multi-agent coordination",
7
- "tools": [
8
- {
9
- "name": "run_agent",
10
- "description": "Execute an AutomatosX agent with a specific task",
11
- "inputSchema": {
12
- "type": "object",
13
- "properties": {
14
- "agent": {
15
- "type": "string",
16
- "description": "The name of the agent to run (e.g., backend, Paris, Bob)"
17
- },
18
- "task": {
19
- "type": "string",
20
- "description": "The task for the agent to perform"
21
- },
22
- "provider": {
23
- "type": "string",
24
- "description": "Optional: Override the AI provider",
25
- "enum": ["claude", "gemini", "openai"]
26
- },
27
- "no_memory": {
28
- "type": "boolean",
29
- "description": "Optional: Skip memory injection",
30
- "default": false
31
- }
32
- },
33
- "required": ["agent", "task"]
34
- }
35
- },
36
- {
37
- "name": "list_agents",
38
- "description": "List all available AutomatosX agents",
39
- "inputSchema": {
40
- "type": "object",
41
- "properties": {}
42
- }
43
- },
44
- {
45
- "name": "search_memory",
46
- "description": "Search AutomatosX memory for relevant information",
47
- "inputSchema": {
48
- "type": "object",
49
- "properties": {
50
- "query": {
51
- "type": "string",
52
- "description": "Search query"
53
- },
54
- "limit": {
55
- "type": "number",
56
- "description": "Maximum number of results",
57
- "default": 10
58
- }
59
- },
60
- "required": ["query"]
61
- }
62
- },
63
- {
64
- "name": "get_status",
65
- "description": "Get AutomatosX system status and configuration",
66
- "inputSchema": {
67
- "type": "object",
68
- "properties": {}
69
- }
70
- },
71
- {
72
- "name": "session_create",
73
- "description": "Create a new multi-agent session",
74
- "inputSchema": {
75
- "type": "object",
76
- "properties": {
77
- "name": {
78
- "type": "string",
79
- "description": "Session name/task description"
80
- },
81
- "agent": {
82
- "type": "string",
83
- "description": "Initiating agent name"
84
- }
85
- },
86
- "required": ["name", "agent"]
87
- }
88
- },
89
- {
90
- "name": "session_list",
91
- "description": "List all active sessions",
92
- "inputSchema": {
93
- "type": "object",
94
- "properties": {}
95
- }
96
- },
97
- {
98
- "name": "session_status",
99
- "description": "Get detailed status of a specific session",
100
- "inputSchema": {
101
- "type": "object",
102
- "properties": {
103
- "id": {
104
- "type": "string",
105
- "description": "Session ID"
106
- }
107
- },
108
- "required": ["id"]
109
- }
110
- },
111
- {
112
- "name": "session_complete",
113
- "description": "Mark a session as completed",
114
- "inputSchema": {
115
- "type": "object",
116
- "properties": {
117
- "id": {
118
- "type": "string",
119
- "description": "Session ID"
120
- }
121
- },
122
- "required": ["id"]
123
- }
124
- },
125
- {
126
- "name": "session_fail",
127
- "description": "Mark a session as failed with an error reason",
128
- "inputSchema": {
129
- "type": "object",
130
- "properties": {
131
- "id": {
132
- "type": "string",
133
- "description": "Session ID"
134
- },
135
- "reason": {
136
- "type": "string",
137
- "description": "Failure reason"
138
- }
139
- },
140
- "required": ["id", "reason"]
141
- }
142
- },
143
- {
144
- "name": "memory_add",
145
- "description": "Add a new memory entry to the system",
146
- "inputSchema": {
147
- "type": "object",
148
- "properties": {
149
- "content": {
150
- "type": "string",
151
- "description": "Memory content"
152
- },
153
- "metadata": {
154
- "type": "object",
155
- "description": "Optional metadata (agent, timestamp, etc.)",
156
- "properties": {
157
- "agent": { "type": "string" },
158
- "timestamp": { "type": "string" }
159
- }
160
- }
161
- },
162
- "required": ["content"]
163
- }
164
- },
165
- {
166
- "name": "memory_list",
167
- "description": "List memory entries with optional filtering",
168
- "inputSchema": {
169
- "type": "object",
170
- "properties": {
171
- "agent": {
172
- "type": "string",
173
- "description": "Filter by agent name"
174
- },
175
- "limit": {
176
- "type": "number",
177
- "description": "Maximum number of entries",
178
- "default": 50
179
- }
180
- }
181
- }
182
- },
183
- {
184
- "name": "memory_delete",
185
- "description": "Delete a specific memory entry by ID",
186
- "inputSchema": {
187
- "type": "object",
188
- "properties": {
189
- "id": {
190
- "type": "number",
191
- "description": "Memory entry ID"
192
- }
193
- },
194
- "required": ["id"]
195
- }
196
- },
197
- {
198
- "name": "memory_export",
199
- "description": "Export all memory entries to a JSON file",
200
- "inputSchema": {
201
- "type": "object",
202
- "properties": {
203
- "path": {
204
- "type": "string",
205
- "description": "Export file path (relative to .automatosx/memory/exports/)"
206
- }
207
- },
208
- "required": ["path"]
209
- }
210
- },
211
- {
212
- "name": "memory_import",
213
- "description": "Import memory entries from a JSON file",
214
- "inputSchema": {
215
- "type": "object",
216
- "properties": {
217
- "path": {
218
- "type": "string",
219
- "description": "Import file path"
220
- }
221
- },
222
- "required": ["path"]
223
- }
224
- },
225
- {
226
- "name": "memory_stats",
227
- "description": "Get detailed memory statistics",
228
- "inputSchema": {
229
- "type": "object",
230
- "properties": {}
231
- }
232
- },
233
- {
234
- "name": "memory_clear",
235
- "description": "Clear all memory entries from the database",
236
- "inputSchema": {
237
- "type": "object",
238
- "properties": {}
239
- }
240
- }
241
- ]
242
- }
243
- }
244
- }