@defai.digital/automatosx 5.6.35 → 5.7.2
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 +142 -0
- package/README.md +44 -2
- package/dist/index.js +1129 -345
- package/examples/agents/.automatosx/abilities/accessibility.md +115 -0
- package/examples/agents/.automatosx/abilities/api-design.md +159 -0
- package/examples/agents/.automatosx/abilities/best-practices.md +102 -0
- package/examples/agents/.automatosx/abilities/caching-strategy.md +165 -0
- package/examples/agents/.automatosx/abilities/ci-cd.md +61 -0
- package/examples/agents/.automatosx/abilities/clean-code.md +398 -0
- package/examples/agents/.automatosx/abilities/code-generation.md +95 -0
- package/examples/agents/.automatosx/abilities/code-review.md +42 -0
- package/examples/agents/.automatosx/abilities/component-architecture.md +112 -0
- package/examples/agents/.automatosx/abilities/content-creation.md +97 -0
- package/examples/agents/.automatosx/abilities/data-modeling.md +171 -0
- package/examples/agents/.automatosx/abilities/data-validation.md +50 -0
- package/examples/agents/.automatosx/abilities/db-modeling.md +158 -0
- package/examples/agents/.automatosx/abilities/debugging.md +43 -0
- package/examples/agents/.automatosx/abilities/dependency-audit.md +60 -0
- package/examples/agents/.automatosx/abilities/design-patterns.md +437 -0
- package/examples/agents/.automatosx/abilities/design-system-implementation.md +126 -0
- package/examples/agents/.automatosx/abilities/documentation.md +54 -0
- package/examples/agents/.automatosx/abilities/error-analysis.md +107 -0
- package/examples/agents/.automatosx/abilities/etl-pipelines.md +44 -0
- package/examples/agents/.automatosx/abilities/feasibility-study.md +20 -0
- package/examples/agents/.automatosx/abilities/general-assistance.md +26 -0
- package/examples/agents/.automatosx/abilities/idea-evaluation.md +21 -0
- package/examples/agents/.automatosx/abilities/infra-as-code.md +57 -0
- package/examples/agents/.automatosx/abilities/job-orchestration.md +44 -0
- package/examples/agents/.automatosx/abilities/literature-review.md +19 -0
- package/examples/agents/.automatosx/abilities/logical-analysis.md +21 -0
- package/examples/agents/.automatosx/abilities/longform-report.md +25 -0
- package/examples/agents/.automatosx/abilities/mathematical-reasoning.md +170 -0
- package/examples/agents/.automatosx/abilities/mission-analysis.md +49 -0
- package/examples/agents/.automatosx/abilities/observability.md +61 -0
- package/examples/agents/.automatosx/abilities/orbital-mechanics.md +50 -0
- package/examples/agents/.automatosx/abilities/our-architecture-decisions.md +180 -0
- package/examples/agents/.automatosx/abilities/our-code-review-checklist.md +149 -0
- package/examples/agents/.automatosx/abilities/our-coding-standards.md +270 -0
- package/examples/agents/.automatosx/abilities/our-project-structure.md +183 -0
- package/examples/agents/.automatosx/abilities/performance-analysis.md +56 -0
- package/examples/agents/.automatosx/abilities/performance.md +80 -0
- package/examples/agents/.automatosx/abilities/problem-solving.md +50 -0
- package/examples/agents/.automatosx/abilities/propulsion-systems.md +50 -0
- package/examples/agents/.automatosx/abilities/quantum-algorithm-design.md +54 -0
- package/examples/agents/.automatosx/abilities/quantum-error-correction.md +56 -0
- package/examples/agents/.automatosx/abilities/quantum-frameworks-transpilation.md +53 -0
- package/examples/agents/.automatosx/abilities/quantum-noise-modeling.md +58 -0
- package/examples/agents/.automatosx/abilities/refactoring.md +223 -0
- package/examples/agents/.automatosx/abilities/release-strategy.md +58 -0
- package/examples/agents/.automatosx/abilities/risk-assessment.md +19 -0
- package/examples/agents/.automatosx/abilities/secrets-policy.md +61 -0
- package/examples/agents/.automatosx/abilities/secure-coding-review.md +51 -0
- package/examples/agents/.automatosx/abilities/security-audit.md +65 -0
- package/examples/agents/.automatosx/abilities/software-architecture.md +394 -0
- package/examples/agents/.automatosx/abilities/solid-principles.md +341 -0
- package/examples/agents/.automatosx/abilities/sql-optimization.md +84 -0
- package/examples/agents/.automatosx/abilities/state-management.md +96 -0
- package/examples/agents/.automatosx/abilities/task-planning.md +65 -0
- package/examples/agents/.automatosx/abilities/technical-writing.md +77 -0
- package/examples/agents/.automatosx/abilities/telemetry-diagnostics.md +51 -0
- package/examples/agents/.automatosx/abilities/testing.md +47 -0
- package/examples/agents/.automatosx/abilities/threat-modeling.md +49 -0
- package/examples/agents/.automatosx/abilities/troubleshooting.md +80 -0
- package/examples/agents/.automatosx/agents/aerospace-scientist.yaml +75 -0
- package/examples/agents/.automatosx/agents/backend.yaml +152 -0
- package/examples/agents/.automatosx/agents/ceo.yaml +63 -0
- package/examples/agents/.automatosx/agents/creative-marketer.yaml +121 -0
- package/examples/agents/.automatosx/agents/cto.yaml +72 -0
- package/examples/agents/.automatosx/agents/data-scientist.yaml +124 -0
- package/examples/agents/.automatosx/agents/data.yaml +77 -0
- package/examples/agents/.automatosx/agents/design.yaml +74 -0
- package/examples/agents/.automatosx/agents/devops.yaml +89 -0
- package/examples/agents/.automatosx/agents/frontend.yaml +139 -0
- package/examples/agents/.automatosx/agents/fullstack.yaml +151 -0
- package/examples/agents/.automatosx/agents/mobile.yaml +161 -0
- package/examples/agents/.automatosx/agents/product.yaml +72 -0
- package/examples/agents/.automatosx/agents/quality.yaml +79 -0
- package/examples/agents/.automatosx/agents/quantum-engineer.yaml +75 -0
- package/examples/agents/.automatosx/agents/researcher.yaml +71 -0
- package/examples/agents/.automatosx/agents/security.yaml +86 -0
- package/examples/agents/.automatosx/agents/stan.yaml +189 -0
- package/examples/agents/.automatosx/agents/writer.yaml +78 -0
- package/examples/agents/.automatosx/teams/business.yaml +56 -0
- package/examples/agents/.automatosx/teams/core.yaml +60 -0
- package/examples/agents/.automatosx/teams/design.yaml +58 -0
- package/examples/agents/.automatosx/teams/engineering.yaml +69 -0
- package/examples/agents/.automatosx/teams/research.yaml +56 -0
- package/examples/agents/.automatosx/templates/analyst.yaml +60 -0
- package/examples/agents/.automatosx/templates/assistant.yaml +48 -0
- package/examples/agents/.automatosx/templates/basic-agent.yaml +28 -0
- package/examples/agents/.automatosx/templates/code-reviewer.yaml +52 -0
- package/examples/agents/.automatosx/templates/debugger.yaml +63 -0
- package/examples/agents/.automatosx/templates/designer.yaml +69 -0
- package/examples/agents/.automatosx/templates/developer.yaml +60 -0
- package/examples/agents/.automatosx/templates/fullstack-developer.yaml +395 -0
- package/examples/agents/.automatosx/templates/qa-specialist.yaml +71 -0
- package/examples/agents/.claude/commands/ax-agent.md +37 -0
- package/examples/agents/.claude/commands/ax-clear.md +22 -0
- package/examples/agents/.claude/commands/ax-init.md +25 -0
- package/examples/agents/.claude/commands/ax-list.md +19 -0
- package/examples/agents/.claude/commands/ax-memory.md +25 -0
- package/examples/agents/.claude/commands/ax-status.md +24 -0
- package/examples/agents/.claude/commands/ax-update.md +28 -0
- package/examples/agents/.claude/mcp/automatosx.json +244 -0
- package/examples/agents/CLAUDE.md +262 -0
- package/package.json +1 -1
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
# CLAUDE.md
|
|
2
|
+
|
|
3
|
+
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# AutomatosX Integration
|
|
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 or slash commands:
|
|
35
|
+
|
|
36
|
+
**Natural Language (Recommended)**:
|
|
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
|
+
```
|
|
42
|
+
|
|
43
|
+
**Slash Command**:
|
|
44
|
+
```
|
|
45
|
+
/ax-agent backend, create a REST API for user management
|
|
46
|
+
/ax-agent security, audit the authentication flow
|
|
47
|
+
/ax-agent quality, write unit tests for the API
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Available Agents
|
|
51
|
+
|
|
52
|
+
This project includes the following specialized agents:
|
|
53
|
+
|
|
54
|
+
- **backend** - Backend development (Go/Rust/Python systems)
|
|
55
|
+
- **frontend** - Frontend development (React/Next.js/Swift)
|
|
56
|
+
- **fullstack** - Full-stack development (Node.js/TypeScript + Python)
|
|
57
|
+
- **mobile** - Mobile development (iOS/Android, Swift/Kotlin/Flutter)
|
|
58
|
+
- **devops** - DevOps and infrastructure
|
|
59
|
+
- **security** - Security auditing and threat modeling
|
|
60
|
+
- **data** - Data engineering and ETL
|
|
61
|
+
- **quality** - QA and testing
|
|
62
|
+
- **design** - UX/UI design
|
|
63
|
+
- **writer** - Technical writing
|
|
64
|
+
- **product** - Product management
|
|
65
|
+
- **cto** - Technical strategy
|
|
66
|
+
- **ceo** - Business leadership
|
|
67
|
+
- **researcher** - Research and analysis
|
|
68
|
+
|
|
69
|
+
For a complete list with capabilities, run: `ax list agents --format json`
|
|
70
|
+
|
|
71
|
+
## Key Features
|
|
72
|
+
|
|
73
|
+
### 1. Persistent Memory
|
|
74
|
+
|
|
75
|
+
AutomatosX agents remember all previous conversations and decisions:
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
# First task - design is saved to memory
|
|
79
|
+
ax run product "Design a calculator with add/subtract features"
|
|
80
|
+
|
|
81
|
+
# Later task - automatically retrieves the design from memory
|
|
82
|
+
ax run backend "Implement the calculator API"
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### 2. Multi-Agent Collaboration
|
|
86
|
+
|
|
87
|
+
Agents can delegate tasks to each other automatically:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
ax run product "Build a complete user authentication feature"
|
|
91
|
+
# → Product agent designs the system
|
|
92
|
+
# → Automatically delegates implementation to backend agent
|
|
93
|
+
# → Automatically delegates security audit to security agent
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### 3. Cross-Provider Support
|
|
97
|
+
|
|
98
|
+
AutomatosX supports multiple AI providers with automatic fallback:
|
|
99
|
+
- Claude (Anthropic)
|
|
100
|
+
- Gemini (Google)
|
|
101
|
+
- OpenAI (GPT)
|
|
102
|
+
|
|
103
|
+
Configuration is in `automatosx.config.json`.
|
|
104
|
+
|
|
105
|
+
## Configuration
|
|
106
|
+
|
|
107
|
+
### Project Configuration
|
|
108
|
+
|
|
109
|
+
Edit `automatosx.config.json` to customize:
|
|
110
|
+
|
|
111
|
+
```json
|
|
112
|
+
{
|
|
113
|
+
"providers": {
|
|
114
|
+
"claude-code": {
|
|
115
|
+
"enabled": true,
|
|
116
|
+
"priority": 1
|
|
117
|
+
},
|
|
118
|
+
"gemini-cli": {
|
|
119
|
+
"enabled": true,
|
|
120
|
+
"priority": 2
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"execution": {
|
|
124
|
+
"defaultTimeout": 1500000, // 25 minutes
|
|
125
|
+
"maxRetries": 3
|
|
126
|
+
},
|
|
127
|
+
"memory": {
|
|
128
|
+
"enabled": true,
|
|
129
|
+
"maxEntries": 10000
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
### Agent Customization
|
|
135
|
+
|
|
136
|
+
Create custom agents in `.automatosx/agents/`:
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
ax agent create my-agent --template developer --interactive
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
## Memory System
|
|
143
|
+
|
|
144
|
+
### Search Memory
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
# Search for past conversations
|
|
148
|
+
ax memory search "authentication"
|
|
149
|
+
ax memory search "API design"
|
|
150
|
+
|
|
151
|
+
# List recent memories
|
|
152
|
+
ax memory list --limit 10
|
|
153
|
+
|
|
154
|
+
# Export memory for backup
|
|
155
|
+
ax memory export > backup.json
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### How Memory Works
|
|
159
|
+
|
|
160
|
+
- **Automatic**: All agent conversations are saved automatically
|
|
161
|
+
- **Fast**: SQLite FTS5 full-text search (< 1ms)
|
|
162
|
+
- **Local**: 100% private, data never leaves your machine
|
|
163
|
+
- **Cost**: $0 (no API calls for memory operations)
|
|
164
|
+
|
|
165
|
+
## Advanced Usage
|
|
166
|
+
|
|
167
|
+
### Parallel Execution (v5.6.0+)
|
|
168
|
+
|
|
169
|
+
Run multiple agents in parallel for faster workflows:
|
|
170
|
+
|
|
171
|
+
```bash
|
|
172
|
+
ax run product "Design authentication system" --parallel
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
### Resumable Runs (v5.3.0+)
|
|
176
|
+
|
|
177
|
+
For long-running tasks, enable checkpoints:
|
|
178
|
+
|
|
179
|
+
```bash
|
|
180
|
+
ax run backend "Refactor entire codebase" --resumable
|
|
181
|
+
|
|
182
|
+
# If interrupted, resume with:
|
|
183
|
+
ax resume <run-id>
|
|
184
|
+
|
|
185
|
+
# List all runs
|
|
186
|
+
ax runs list
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
### Streaming Output (v5.6.5+)
|
|
190
|
+
|
|
191
|
+
See real-time output from AI providers:
|
|
192
|
+
|
|
193
|
+
```bash
|
|
194
|
+
ax run backend "Explain this codebase" --streaming
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
## Troubleshooting
|
|
198
|
+
|
|
199
|
+
### Common Issues
|
|
200
|
+
|
|
201
|
+
**"Agent not found"**
|
|
202
|
+
```bash
|
|
203
|
+
# List available agents
|
|
204
|
+
ax list agents
|
|
205
|
+
|
|
206
|
+
# Make sure agent name is correct
|
|
207
|
+
ax run backend "task" # ✓ Correct
|
|
208
|
+
ax run Backend "task" # ✗ Wrong (case-sensitive)
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
**"Provider not available"**
|
|
212
|
+
```bash
|
|
213
|
+
# Check system status
|
|
214
|
+
ax status
|
|
215
|
+
|
|
216
|
+
# View configuration
|
|
217
|
+
ax config show
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
**"Out of memory"**
|
|
221
|
+
```bash
|
|
222
|
+
# Clear old memories
|
|
223
|
+
ax memory clear --before "2024-01-01"
|
|
224
|
+
|
|
225
|
+
# View memory stats
|
|
226
|
+
ax cache stats
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
### Getting Help
|
|
230
|
+
|
|
231
|
+
```bash
|
|
232
|
+
# View command help
|
|
233
|
+
ax --help
|
|
234
|
+
ax run --help
|
|
235
|
+
|
|
236
|
+
# Enable debug mode
|
|
237
|
+
ax --debug run backend "task"
|
|
238
|
+
|
|
239
|
+
# Search memory for similar past tasks
|
|
240
|
+
ax memory search "similar task"
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
## Best Practices
|
|
244
|
+
|
|
245
|
+
1. **Use Natural Language in Claude Code**: Let Claude Code coordinate with agents for complex tasks
|
|
246
|
+
2. **Leverage Memory**: Reference past decisions and designs
|
|
247
|
+
3. **Start Simple**: Test with small tasks before complex workflows
|
|
248
|
+
4. **Review Configurations**: Check `automatosx.config.json` for timeouts and retries
|
|
249
|
+
5. **Keep Agents Specialized**: Use the right agent for each task type
|
|
250
|
+
|
|
251
|
+
## Documentation
|
|
252
|
+
|
|
253
|
+
- **AutomatosX Docs**: https://github.com/defai-digital/automatosx
|
|
254
|
+
- **Agent Directory**: `.automatosx/agents/`
|
|
255
|
+
- **Configuration**: `automatosx.config.json`
|
|
256
|
+
- **Memory Database**: `.automatosx/memory/memories.db`
|
|
257
|
+
- **Workspace**: `automatosx/PRD/` (planning docs) and `automatosx/tmp/` (temporary files)
|
|
258
|
+
|
|
259
|
+
## Support
|
|
260
|
+
|
|
261
|
+
- Issues: https://github.com/defai-digital/automatosx/issues
|
|
262
|
+
- NPM: https://www.npmjs.com/package/@defai.digital/automatosx
|