@defai.digital/automatosx 5.0.1
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 +2877 -0
- package/CONTRIBUTING.md +357 -0
- package/FAQ.md +604 -0
- package/FIXES.md +277 -0
- package/LICENSE +190 -0
- package/README.md +603 -0
- package/REVIEW-REPORT.md +278 -0
- package/TROUBLESHOOTING.md +612 -0
- package/automatosx.config.json +219 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +11806 -0
- package/dist/index.js.map +1 -0
- package/docs/README.md +227 -0
- package/docs/guide/core-concepts.md +568 -0
- package/docs/guide/installation.md +406 -0
- package/docs/guide/introduction.md +199 -0
- package/docs/guide/quick-start.md +387 -0
- package/docs/index.md +132 -0
- package/docs/reference/cli-commands.md +894 -0
- package/docs/tutorials/first-agent.md +691 -0
- package/docs/tutorials/memory-management.md +785 -0
- package/examples/AGENTS_INFO.md +293 -0
- package/examples/README.md +434 -0
- package/examples/abilities/best-practices.md +102 -0
- package/examples/abilities/code-generation.md +1035 -0
- package/examples/abilities/code-review.md +42 -0
- package/examples/abilities/content-creation.md +97 -0
- package/examples/abilities/debugging.md +43 -0
- package/examples/abilities/documentation.md +54 -0
- package/examples/abilities/error-analysis.md +107 -0
- package/examples/abilities/general-assistance.md +26 -0
- package/examples/abilities/our-architecture-decisions.md +242 -0
- package/examples/abilities/our-code-review-checklist.md +217 -0
- package/examples/abilities/our-coding-standards.md +389 -0
- package/examples/abilities/our-project-structure.md +502 -0
- package/examples/abilities/performance-analysis.md +56 -0
- package/examples/abilities/problem-solving.md +50 -0
- package/examples/abilities/refactoring.md +49 -0
- package/examples/abilities/security-audit.md +65 -0
- package/examples/abilities/task-planning.md +65 -0
- package/examples/abilities/technical-writing.md +77 -0
- package/examples/abilities/testing.md +47 -0
- package/examples/abilities/troubleshooting.md +80 -0
- package/examples/agents/assistant.yaml +45 -0
- package/examples/agents/backend.yaml +60 -0
- package/examples/agents/ceo.yaml +47 -0
- package/examples/agents/coder.yaml +388 -0
- package/examples/agents/cto.yaml +47 -0
- package/examples/agents/data.yaml +47 -0
- package/examples/agents/debugger.yaml +59 -0
- package/examples/agents/design.yaml +46 -0
- package/examples/agents/devops.yaml +47 -0
- package/examples/agents/frontend.yaml +61 -0
- package/examples/agents/product.yaml +47 -0
- package/examples/agents/quality.yaml +47 -0
- package/examples/agents/reviewer.yaml +49 -0
- package/examples/agents/security.yaml +47 -0
- package/examples/agents/writer.yaml +66 -0
- package/examples/claude/commands/ax:agent.md +37 -0
- package/examples/claude/commands/ax:clear.md +22 -0
- package/examples/claude/commands/ax:init.md +25 -0
- package/examples/claude/commands/ax:list.md +19 -0
- package/examples/claude/commands/ax:memory.md +25 -0
- package/examples/claude/commands/ax:status.md +24 -0
- package/examples/claude/commands/ax:update.md +28 -0
- package/examples/claude/mcp/automatosx.json +74 -0
- package/examples/templates/analyst.yaml +60 -0
- package/examples/templates/basic-agent.yaml +28 -0
- package/examples/templates/designer.yaml +69 -0
- package/examples/templates/developer.yaml +60 -0
- package/examples/templates/qa-specialist.yaml +71 -0
- package/examples/use-cases/01-web-app-development.md +374 -0
- package/package.json +86 -0
- package/scripts/check-release.js +128 -0
- package/scripts/real-provider-test.sh +357 -0
- package/scripts/smoke-test.sh +286 -0
- package/tsup.config.ts +16 -0
package/FAQ.md
ADDED
|
@@ -0,0 +1,604 @@
|
|
|
1
|
+
# Frequently Asked Questions (FAQ)
|
|
2
|
+
|
|
3
|
+
## General Questions
|
|
4
|
+
|
|
5
|
+
### What is AutomatosX?
|
|
6
|
+
|
|
7
|
+
AutomatosX is an AI agent orchestration platform that allows you to create, configure, and run AI agents with different capabilities and behaviors. It supports multiple AI providers (Claude, Gemini, Codex) with intelligent fallback, and features a powerful memory system with vector search.
|
|
8
|
+
|
|
9
|
+
### What's new in v5.0.1?
|
|
10
|
+
|
|
11
|
+
v5.0.1 (October 2025) includes critical bug fixes:
|
|
12
|
+
|
|
13
|
+
- **Provider timeout fixed**: All provider timeouts increased from 5 min → 15 min to match agent timeout
|
|
14
|
+
- **Delegation parser improved**: Zero false positives from documentation examples
|
|
15
|
+
- **FTS5 search stabilized**: Enhanced special character handling (15+ characters)
|
|
16
|
+
- **1050 tests passing**: 100% pass rate with comprehensive test coverage
|
|
17
|
+
|
|
18
|
+
**Update recommended if you experience:**
|
|
19
|
+
- Agent timeout errors on complex tasks
|
|
20
|
+
- Unwanted delegation cycles
|
|
21
|
+
- FTS5 "syntax error" warnings
|
|
22
|
+
|
|
23
|
+
### What's new in v5.0.0?
|
|
24
|
+
|
|
25
|
+
v5.0.0 (October 2025) introduces agent template system:
|
|
26
|
+
|
|
27
|
+
- **Quick agent creation**: Create agents from templates with `ax agent create`
|
|
28
|
+
- **5 pre-built templates**: Developer, analyst, designer, qa-specialist, basic-agent
|
|
29
|
+
- **Complete CLI toolset**: `ax agent` command suite (templates, create, list, show, remove)
|
|
30
|
+
- **No hardcoded values**: All execution parameters now configurable
|
|
31
|
+
|
|
32
|
+
### What's new in v4.0?
|
|
33
|
+
|
|
34
|
+
v4.0 is a complete TypeScript rewrite with major improvements:
|
|
35
|
+
|
|
36
|
+
- **87% smaller**: Bundle reduced from 340MB to <50MB
|
|
37
|
+
- **SQLite + vec**: Replaced Milvus with lightweight SQLite-based vector search
|
|
38
|
+
- **TypeScript**: 100% type-safe codebase
|
|
39
|
+
- **Better security**: Enhanced path resolution and workspace isolation
|
|
40
|
+
- **Faster**: 60% faster startup, 62x faster vector search
|
|
41
|
+
|
|
42
|
+
See [CHANGELOG.md](./CHANGELOG.md) for detailed changes.
|
|
43
|
+
|
|
44
|
+
### Can I migrate from v3.x to v4.0?
|
|
45
|
+
|
|
46
|
+
No, v4.0 requires a clean installation due to major breaking changes:
|
|
47
|
+
|
|
48
|
+
- Database format changed (Milvus → SQLite)
|
|
49
|
+
- Configuration format changed (YAML → JSON)
|
|
50
|
+
- Directory structure changed (`.defai/` → `.automatosx/`)
|
|
51
|
+
- API completely rewritten in TypeScript
|
|
52
|
+
|
|
53
|
+
**Recommendation**: Install v4.0 in a new project and configure from scratch.
|
|
54
|
+
|
|
55
|
+
### What AI providers are supported?
|
|
56
|
+
|
|
57
|
+
AutomatosX supports:
|
|
58
|
+
|
|
59
|
+
- **Claude** (Anthropic): claude-3-opus, claude-3-sonnet, claude-3-haiku
|
|
60
|
+
- **Gemini** (Google): gemini-1.5-pro, gemini-1.5-flash
|
|
61
|
+
- **OpenAI**: For embeddings (text-embedding-3-small/large)
|
|
62
|
+
|
|
63
|
+
You can use multiple providers simultaneously with automatic fallback.
|
|
64
|
+
|
|
65
|
+
### How much does it cost to use?
|
|
66
|
+
|
|
67
|
+
AutomatosX itself is free and open-source (Apache-2.0 license). However, you need API keys from providers:
|
|
68
|
+
|
|
69
|
+
- **Claude**: ~$3-15 per 1M tokens (varies by model)
|
|
70
|
+
- **Gemini**: Free tier available, paid tier ~$0.35-7 per 1M tokens
|
|
71
|
+
- **OpenAI**: ~$0.02-0.13 per 1M tokens for embeddings
|
|
72
|
+
|
|
73
|
+
Actual costs depend on your usage patterns.
|
|
74
|
+
|
|
75
|
+
## Installation & Setup
|
|
76
|
+
|
|
77
|
+
### What are the system requirements?
|
|
78
|
+
|
|
79
|
+
- **Node.js**: 20.0.0 or higher
|
|
80
|
+
- **OS**: macOS, Linux, or Windows
|
|
81
|
+
- **Memory**: 512MB RAM minimum, 2GB recommended
|
|
82
|
+
- **Disk**: 100MB for installation
|
|
83
|
+
|
|
84
|
+
### How do I install AutomatosX?
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
# Option 1: Global installation
|
|
88
|
+
npm install -g automatosx
|
|
89
|
+
|
|
90
|
+
# Option 2: Use with npx (no installation)
|
|
91
|
+
npx automatosx --help
|
|
92
|
+
|
|
93
|
+
# Option 3: Local project installation
|
|
94
|
+
npm install --save-dev automatosx
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### How do I set up API keys?
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
# Method 1: Environment variables (recommended for development)
|
|
101
|
+
export ANTHROPIC_API_KEY="sk-ant-..."
|
|
102
|
+
export GOOGLE_API_KEY="your-key"
|
|
103
|
+
export OPENAI_API_KEY="sk-..."
|
|
104
|
+
|
|
105
|
+
# Method 2: Configuration file (recommended for production)
|
|
106
|
+
automatosx init
|
|
107
|
+
automatosx config --set providers.claude.apiKey --value "sk-ant-..."
|
|
108
|
+
automatosx config --set providers.gemini.apiKey --value "your-key"
|
|
109
|
+
|
|
110
|
+
# Method 3: Per-command
|
|
111
|
+
automatosx run assistant "hello" --api-key "sk-ant-..."
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Can I use AutomatosX without API keys?
|
|
115
|
+
|
|
116
|
+
No, you need at least one provider API key to use AutomatosX. However:
|
|
117
|
+
|
|
118
|
+
- Gemini offers a generous free tier
|
|
119
|
+
- You can use different providers for different tasks
|
|
120
|
+
- Tests run with mock providers (no API needed)
|
|
121
|
+
|
|
122
|
+
## Configuration
|
|
123
|
+
|
|
124
|
+
### Where should I put my config file?
|
|
125
|
+
|
|
126
|
+
AutomatosX looks for config in this order:
|
|
127
|
+
|
|
128
|
+
1. `.automatosx/config.json` (project-specific) ⭐ **Recommended**
|
|
129
|
+
2. `automatosx.config.json` (project root)
|
|
130
|
+
3. `~/.automatosx/config.json` (user global)
|
|
131
|
+
|
|
132
|
+
Create project-specific config:
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
automatosx init
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### How do I change the default provider?
|
|
139
|
+
|
|
140
|
+
```bash
|
|
141
|
+
# Set preferred provider
|
|
142
|
+
automatosx config --set providers.preferred --value claude
|
|
143
|
+
|
|
144
|
+
# Or specify per command
|
|
145
|
+
automatosx run assistant "hello" --provider gemini
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
### Can I have different configs for different projects?
|
|
149
|
+
|
|
150
|
+
Yes! Each project can have its own `.automatosx/config.json`:
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
cd project-a
|
|
154
|
+
automatosx init # Creates .automatosx/config.json
|
|
155
|
+
|
|
156
|
+
cd ../project-b
|
|
157
|
+
automatosx init # Creates separate .automatosx/config.json
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
### How do I reset configuration to defaults?
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
automatosx config --reset
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
## Agents & Abilities
|
|
167
|
+
|
|
168
|
+
### What's the difference between agents and abilities?
|
|
169
|
+
|
|
170
|
+
- **Agents**: High-level personas with goals and behaviors (YAML files)
|
|
171
|
+
- **Abilities**: Specific skills or tools agents can use (Markdown files)
|
|
172
|
+
|
|
173
|
+
Example:
|
|
174
|
+
|
|
175
|
+
```yaml
|
|
176
|
+
# Agent: .automatosx/agents/researcher.yaml
|
|
177
|
+
name: researcher
|
|
178
|
+
description: Research and analysis specialist
|
|
179
|
+
abilities:
|
|
180
|
+
- web_search # Ability
|
|
181
|
+
- summarize # Ability
|
|
182
|
+
- code_analysis # Ability
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
### How do I create a custom agent?
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
# 1. Create agent profile
|
|
189
|
+
cat > .automatosx/agents/my-agent.yaml << EOF
|
|
190
|
+
name: my-agent
|
|
191
|
+
description: My custom agent
|
|
192
|
+
model: claude-3-sonnet-20240229
|
|
193
|
+
temperature: 0.7
|
|
194
|
+
abilities:
|
|
195
|
+
- search
|
|
196
|
+
- code_analysis
|
|
197
|
+
systemPrompt: |
|
|
198
|
+
You are a helpful assistant specialized in...
|
|
199
|
+
EOF
|
|
200
|
+
|
|
201
|
+
# 2. Test agent
|
|
202
|
+
automatosx run my-agent "Hello, introduce yourself"
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
See [examples/agents/](./examples/agents/) for more examples.
|
|
206
|
+
|
|
207
|
+
### How do I create custom abilities?
|
|
208
|
+
|
|
209
|
+
```bash
|
|
210
|
+
# Create ability file
|
|
211
|
+
cat > .automatosx/abilities/my-ability.md << EOF
|
|
212
|
+
# My Ability
|
|
213
|
+
|
|
214
|
+
Description of what this ability does.
|
|
215
|
+
|
|
216
|
+
## Usage
|
|
217
|
+
\`\`\`
|
|
218
|
+
Example usage instructions
|
|
219
|
+
\`\`\`
|
|
220
|
+
|
|
221
|
+
## Examples
|
|
222
|
+
Concrete examples of using this ability
|
|
223
|
+
EOF
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
Abilities are referenced in agent profiles and injected into prompts.
|
|
227
|
+
|
|
228
|
+
### Can agents access my files?
|
|
229
|
+
|
|
230
|
+
Yes, but with security restrictions:
|
|
231
|
+
|
|
232
|
+
- **Read access**: Validated paths within your project directory
|
|
233
|
+
- **Write access**: Only to `.automatosx/workspaces/<agent-name>/`
|
|
234
|
+
- **Prevented**: Path traversal attacks (`../../etc/passwd`)
|
|
235
|
+
|
|
236
|
+
This ensures agents can read your code but only write to isolated workspaces.
|
|
237
|
+
|
|
238
|
+
## Memory System
|
|
239
|
+
|
|
240
|
+
### How does the memory system work?
|
|
241
|
+
|
|
242
|
+
AutomatosX stores conversation history and data in a SQLite database with vector search:
|
|
243
|
+
|
|
244
|
+
- **Storage**: `.automatosx/memory.db`
|
|
245
|
+
- **Vector search**: HNSW algorithm via sqlite-vec extension
|
|
246
|
+
- **Embeddings**: OpenAI text-embedding-3-small (default)
|
|
247
|
+
|
|
248
|
+
Memories persist across sessions and can be searched semantically.
|
|
249
|
+
|
|
250
|
+
### How do I search memories?
|
|
251
|
+
|
|
252
|
+
```bash
|
|
253
|
+
# Semantic search
|
|
254
|
+
automatosx memory search "how to implement authentication"
|
|
255
|
+
|
|
256
|
+
# List all memories
|
|
257
|
+
automatosx memory list
|
|
258
|
+
|
|
259
|
+
# Limit results
|
|
260
|
+
automatosx memory search "query" --limit 10
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
### Can I export/import memories?
|
|
264
|
+
|
|
265
|
+
```bash
|
|
266
|
+
# Export to JSON
|
|
267
|
+
automatosx memory export --output backup.json
|
|
268
|
+
|
|
269
|
+
# Import from JSON
|
|
270
|
+
automatosx memory import --input backup.json
|
|
271
|
+
|
|
272
|
+
# Validate before import
|
|
273
|
+
automatosx memory import --input backup.json --validate
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
### How do I clear old memories?
|
|
277
|
+
|
|
278
|
+
```bash
|
|
279
|
+
# Option 1: Export, edit, re-import
|
|
280
|
+
automatosx memory export --output backup.json
|
|
281
|
+
# Edit backup.json to remove unwanted entries
|
|
282
|
+
rm .automatosx/memory.db
|
|
283
|
+
automatosx memory import --input backup.json
|
|
284
|
+
|
|
285
|
+
# Option 2: Delete database (nuclear option)
|
|
286
|
+
rm .automatosx/memory.db
|
|
287
|
+
# Will be recreated on next use
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
### Why do I need OpenAI API for memory search?
|
|
291
|
+
|
|
292
|
+
Vector search requires converting text to numerical embeddings. AutomatosX uses OpenAI's embedding API by default because it's:
|
|
293
|
+
|
|
294
|
+
- High quality
|
|
295
|
+
- Cost-effective ($0.02 per 1M tokens)
|
|
296
|
+
- Fast and reliable
|
|
297
|
+
|
|
298
|
+
You can configure a different embedding provider if needed.
|
|
299
|
+
|
|
300
|
+
## Performance
|
|
301
|
+
|
|
302
|
+
### Why is startup slow?
|
|
303
|
+
|
|
304
|
+
First run loads dependencies and initializes the database. Subsequent runs should be faster due to:
|
|
305
|
+
|
|
306
|
+
- Lazy loading (on-demand module loading)
|
|
307
|
+
- Filesystem caching
|
|
308
|
+
- Pre-warmed configurations
|
|
309
|
+
|
|
310
|
+
To warm the cache:
|
|
311
|
+
|
|
312
|
+
```bash
|
|
313
|
+
automatosx status
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
### How can I improve performance?
|
|
317
|
+
|
|
318
|
+
```bash
|
|
319
|
+
# Enable all performance optimizations
|
|
320
|
+
automatosx config --set performance.lazyLoad --value true
|
|
321
|
+
automatosx config --set performance.cache.enabled --value true
|
|
322
|
+
|
|
323
|
+
# Reduce memory limit if experiencing high RAM usage
|
|
324
|
+
automatosx config --set memory.maxEntries --value 5000
|
|
325
|
+
|
|
326
|
+
# Use faster models
|
|
327
|
+
automatosx config --set providers.claude.model --value claude-3-haiku-20240307
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
### Is there a rate limit?
|
|
331
|
+
|
|
332
|
+
AutomatosX itself has no rate limits, but AI providers do:
|
|
333
|
+
|
|
334
|
+
- **Claude**: 50 requests/min (tier 1), higher for paid tiers
|
|
335
|
+
- **Gemini**: 60 requests/min (free), higher for paid
|
|
336
|
+
- **OpenAI**: Varies by tier
|
|
337
|
+
|
|
338
|
+
AutomatosX has built-in retry logic with exponential backoff.
|
|
339
|
+
|
|
340
|
+
## Troubleshooting
|
|
341
|
+
|
|
342
|
+
### Tests are failing during installation
|
|
343
|
+
|
|
344
|
+
```bash
|
|
345
|
+
# Tests require mock providers
|
|
346
|
+
export AUTOMATOSX_MOCK_PROVIDERS=true
|
|
347
|
+
npm test
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
See [TROUBLESHOOTING.md](./TROUBLESHOOTING.md) for more solutions.
|
|
351
|
+
|
|
352
|
+
### `Error: database is locked`
|
|
353
|
+
|
|
354
|
+
Another AutomatosX process is using the database:
|
|
355
|
+
|
|
356
|
+
```bash
|
|
357
|
+
# Find and kill processes
|
|
358
|
+
ps aux | grep automatosx
|
|
359
|
+
pkill -f automatosx
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
### Configuration not being applied
|
|
363
|
+
|
|
364
|
+
Check which config file is being used:
|
|
365
|
+
|
|
366
|
+
```bash
|
|
367
|
+
automatosx config # Shows config path
|
|
368
|
+
```
|
|
369
|
+
|
|
370
|
+
Ensure you're editing the right file based on priority order.
|
|
371
|
+
|
|
372
|
+
### Agent tasks timeout with "Request timeout after 300000ms"
|
|
373
|
+
|
|
374
|
+
**Problem**: Complex agent tasks fail with timeout errors even though the default agent timeout is 15 minutes.
|
|
375
|
+
|
|
376
|
+
**Cause**: Provider timeout (5 minutes) is shorter than agent timeout (15 minutes), causing the provider to timeout first.
|
|
377
|
+
|
|
378
|
+
**Solution (v5.0.1+)**: Update to v5.0.1 which fixes this issue automatically, or manually update your config:
|
|
379
|
+
|
|
380
|
+
```bash
|
|
381
|
+
# Check your current version
|
|
382
|
+
automatosx --version
|
|
383
|
+
|
|
384
|
+
# If < v5.0.1, update your configuration manually:
|
|
385
|
+
automatosx config set providers.claude-code.timeout 900000
|
|
386
|
+
automatosx config set providers.gemini-cli.timeout 900000
|
|
387
|
+
automatosx config set providers.openai.timeout 900000
|
|
388
|
+
|
|
389
|
+
# Or update to v5.0.1:
|
|
390
|
+
npm install -g @defai.digital/automatosx@latest
|
|
391
|
+
```
|
|
392
|
+
|
|
393
|
+
**Verify the fix**:
|
|
394
|
+
```bash
|
|
395
|
+
# Check provider timeout settings
|
|
396
|
+
automatosx config show | grep -A2 "timeout"
|
|
397
|
+
# Should show 900000 (15 minutes) for all providers
|
|
398
|
+
```
|
|
399
|
+
|
|
400
|
+
### Agents delegate to wrong agents or delegation cycles occur
|
|
401
|
+
|
|
402
|
+
**Problem**: Agents incorrectly parse documentation examples as actual delegation requests, causing unwanted delegation cycles.
|
|
403
|
+
|
|
404
|
+
**Example Error**:
|
|
405
|
+
```
|
|
406
|
+
[ERROR] Delegation cycle detected: quality -> frontend -> frontend
|
|
407
|
+
[INFO] Parsed 6 delegation(s) # Should be 0
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
**Cause**: Delegation parser was too aggressive and parsed quoted examples or numbered lists as real delegations.
|
|
411
|
+
|
|
412
|
+
**Solution**: Update to v5.0.1 which includes improved delegation parsing:
|
|
413
|
+
|
|
414
|
+
```bash
|
|
415
|
+
npm install -g @defai.digital/automatosx@5.0.1
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
**Verification**:
|
|
419
|
+
```bash
|
|
420
|
+
# Test delegation parsing with documentation
|
|
421
|
+
ax run coordinator "Explain delegation syntax with examples"
|
|
422
|
+
# Should not trigger any false delegations
|
|
423
|
+
```
|
|
424
|
+
|
|
425
|
+
### FTS5 search fails with "syntax error near" message
|
|
426
|
+
|
|
427
|
+
**Problem**: Memory search fails with errors like `fts5: syntax error near "."` when query contains special characters.
|
|
428
|
+
|
|
429
|
+
**Cause**: FTS5 search was not sanitizing special characters properly (v5.0.0 and earlier).
|
|
430
|
+
|
|
431
|
+
**Solution**: Update to v5.0.1 which includes enhanced FTS5 sanitization:
|
|
432
|
+
|
|
433
|
+
```bash
|
|
434
|
+
npm install -g @defai.digital/automatosx@5.0.1
|
|
435
|
+
```
|
|
436
|
+
|
|
437
|
+
**Workaround (if can't update)**:
|
|
438
|
+
```bash
|
|
439
|
+
# Avoid special characters in memory searches
|
|
440
|
+
# Instead of: "config.json settings"
|
|
441
|
+
# Use: "config json settings"
|
|
442
|
+
```
|
|
443
|
+
|
|
444
|
+
### AutomatosX not working after upgrading from older version
|
|
445
|
+
|
|
446
|
+
If you're experiencing errors or unexpected behavior after upgrading, it may be due to:
|
|
447
|
+
|
|
448
|
+
- **Old agent profiles** (YAML format or schema changes)
|
|
449
|
+
- **Outdated configuration** (incompatible settings from previous versions)
|
|
450
|
+
- **Old database format** (v3.x Milvus → v4.x SQLite migration)
|
|
451
|
+
|
|
452
|
+
**Solution**: Reinitialize your AutomatosX setup with the force flag:
|
|
453
|
+
|
|
454
|
+
```bash
|
|
455
|
+
# Force reinitialize (overwrites existing configuration)
|
|
456
|
+
ax init -f
|
|
457
|
+
|
|
458
|
+
# This will:
|
|
459
|
+
# - Create fresh .automatosx/ directory structure
|
|
460
|
+
# - Generate updated agent profiles
|
|
461
|
+
# - Create new SQLite database
|
|
462
|
+
# - Reset configuration to v4.x defaults
|
|
463
|
+
```
|
|
464
|
+
|
|
465
|
+
**⚠️ Warning**: This will overwrite existing configuration. If you have custom agents or abilities, back them up first:
|
|
466
|
+
|
|
467
|
+
```bash
|
|
468
|
+
# Backup custom files before reinitializing
|
|
469
|
+
cp -r .automatosx/agents ./backup-agents
|
|
470
|
+
cp -r .automatosx/abilities ./backup-abilities
|
|
471
|
+
cp .automatosx/config.json ./backup-config.json
|
|
472
|
+
|
|
473
|
+
# Reinitialize
|
|
474
|
+
ax init -f
|
|
475
|
+
|
|
476
|
+
# Restore custom agents/abilities if needed
|
|
477
|
+
cp ./backup-agents/* .automatosx/agents/
|
|
478
|
+
cp ./backup-abilities/* .automatosx/abilities/
|
|
479
|
+
```
|
|
480
|
+
|
|
481
|
+
### Vector search returns no results
|
|
482
|
+
|
|
483
|
+
Verify memories exist and embedding provider is configured:
|
|
484
|
+
|
|
485
|
+
```bash
|
|
486
|
+
automatosx memory list
|
|
487
|
+
automatosx config --get providers.openai.embeddingApiKey
|
|
488
|
+
```
|
|
489
|
+
|
|
490
|
+
## Development & Contributing
|
|
491
|
+
|
|
492
|
+
### How do I contribute to AutomatosX?
|
|
493
|
+
|
|
494
|
+
See [CONTRIBUTING.md](./CONTRIBUTING.md) for detailed guidelines.
|
|
495
|
+
|
|
496
|
+
Quick start:
|
|
497
|
+
|
|
498
|
+
```bash
|
|
499
|
+
git clone https://github.com/defai-digital/automatosx.git
|
|
500
|
+
cd automatosx
|
|
501
|
+
npm install
|
|
502
|
+
npm test
|
|
503
|
+
```
|
|
504
|
+
|
|
505
|
+
### How do I run tests?
|
|
506
|
+
|
|
507
|
+
```bash
|
|
508
|
+
# All tests
|
|
509
|
+
npm test
|
|
510
|
+
|
|
511
|
+
# Unit tests only
|
|
512
|
+
npm run test:unit
|
|
513
|
+
|
|
514
|
+
# Integration tests
|
|
515
|
+
npm run test:integration
|
|
516
|
+
|
|
517
|
+
# With coverage
|
|
518
|
+
npm run test:coverage
|
|
519
|
+
|
|
520
|
+
# Specific test
|
|
521
|
+
npm test memory-manager
|
|
522
|
+
```
|
|
523
|
+
|
|
524
|
+
### Where is the documentation?
|
|
525
|
+
|
|
526
|
+
- **README.md**: Quick start and overview
|
|
527
|
+
- **CHANGELOG.md**: Version history
|
|
528
|
+
- **FAQ.md**: This file
|
|
529
|
+
- **TROUBLESHOOTING.md**: Problem solving guide
|
|
530
|
+
- **API docs**: In `docs/` directory
|
|
531
|
+
- **Examples**: In `examples/` directory
|
|
532
|
+
|
|
533
|
+
### How do I report a bug?
|
|
534
|
+
|
|
535
|
+
1. Check [existing issues](https://github.com/defai-digital/automatosx/issues)
|
|
536
|
+
2. Create a [new issue](https://github.com/defai-digital/automatosx/issues/new)
|
|
537
|
+
3. Include:
|
|
538
|
+
- AutomatosX version (`automatosx --version`)
|
|
539
|
+
- Node version (`node --version`)
|
|
540
|
+
- Steps to reproduce
|
|
541
|
+
- Error messages with `--debug` flag
|
|
542
|
+
|
|
543
|
+
## Security & Privacy
|
|
544
|
+
|
|
545
|
+
### Is my data safe?
|
|
546
|
+
|
|
547
|
+
AutomatosX:
|
|
548
|
+
|
|
549
|
+
- Stores data locally in `.automatosx/` directory
|
|
550
|
+
- Only sends data to AI providers you configure
|
|
551
|
+
- Never sends data to third parties
|
|
552
|
+
- Uses path validation to prevent unauthorized file access
|
|
553
|
+
|
|
554
|
+
### Can agents access sensitive files?
|
|
555
|
+
|
|
556
|
+
No. AutomatosX implements security boundaries:
|
|
557
|
+
|
|
558
|
+
- Agents can only read files within project directory
|
|
559
|
+
- Path traversal attacks are prevented
|
|
560
|
+
- Agent writes are isolated to workspace directories
|
|
561
|
+
|
|
562
|
+
### Should I commit `.automatosx/` to git?
|
|
563
|
+
|
|
564
|
+
**No, add to .gitignore**:
|
|
565
|
+
|
|
566
|
+
```bash
|
|
567
|
+
echo ".automatosx/" >> .gitignore
|
|
568
|
+
```
|
|
569
|
+
|
|
570
|
+
The `.automatosx/` directory contains:
|
|
571
|
+
|
|
572
|
+
- API keys (sensitive!)
|
|
573
|
+
- Local database
|
|
574
|
+
- Conversation history
|
|
575
|
+
- Agent workspaces
|
|
576
|
+
|
|
577
|
+
**Do commit**: Agent profiles and abilities if you want to share them.
|
|
578
|
+
|
|
579
|
+
## Licensing & Usage
|
|
580
|
+
|
|
581
|
+
### What license does AutomatosX use?
|
|
582
|
+
|
|
583
|
+
Apache License 2.0 - free for commercial and personal use.
|
|
584
|
+
|
|
585
|
+
### Can I use AutomatosX commercially?
|
|
586
|
+
|
|
587
|
+
Yes! Apache 2.0 license allows commercial use with no restrictions.
|
|
588
|
+
|
|
589
|
+
### Do I need to credit AutomatosX?
|
|
590
|
+
|
|
591
|
+
Not required, but appreciated! You can mention:
|
|
592
|
+
|
|
593
|
+
```
|
|
594
|
+
Powered by AutomatosX (https://github.com/defai-digital/automatosx)
|
|
595
|
+
```
|
|
596
|
+
|
|
597
|
+
---
|
|
598
|
+
|
|
599
|
+
## Still Have Questions?
|
|
600
|
+
|
|
601
|
+
- **GitHub Discussions**: [Ask the community](https://github.com/defai-digital/automatosx/discussions)
|
|
602
|
+
- **Discord**: [Join our Discord](https://discord.gg/automatosx)
|
|
603
|
+
- **Email**: <support@defai.digital>
|
|
604
|
+
- **Twitter**: [@automatosx](https://twitter.com/automatosx)
|