@defai.digital/automatosx 5.0.1 → 5.0.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 +112 -1
- package/CONTRIBUTING.md +7 -5
- package/FAQ.md +278 -75
- package/README.md +19 -8
- package/TROUBLESHOOTING.md +160 -27
- package/automatosx.config.json +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/docs/PROJECT-HISTORY.md +821 -0
- package/docs/archived/BETA-TESTING-v4.0.md +496 -0
- package/docs/guide/agent-templates.md +599 -0
- package/docs/guide/core-concepts.md +66 -5
- package/docs/guide/introduction.md +1 -1
- package/docs/guide/multi-agent-orchestration.md +626 -0
- package/docs/guide/quick-start.md +71 -23
- package/docs/guide/team-configuration.md +548 -0
- package/docs/index.md +5 -4
- package/docs/reference/cli-commands.md +368 -5
- package/examples/README.md +1 -1
- package/examples/use-cases/01-web-app-development.md +1 -1
- package/package.json +1 -1
- package/schema/config.json +703 -0
- package/FIXES.md +0 -277
- package/REVIEW-REPORT.md +0 -278
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,117 @@ All notable changes to AutomatosX will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [5.0.2] - 2025-10-09
|
|
9
|
+
|
|
10
|
+
### 📚 Documentation
|
|
11
|
+
|
|
12
|
+
#### Comprehensive Multi-Agent Orchestration Guide
|
|
13
|
+
- ✅ Created `docs/guide/multi-agent-orchestration.md` (627 lines)
|
|
14
|
+
- ✅ Complete guide to v4.7.0+ multi-agent collaboration features
|
|
15
|
+
- ✅ Covers: Sessions, delegation, workspaces, capability-first strategy
|
|
16
|
+
- ✅ 7 delegation syntaxes with examples (including Chinese support)
|
|
17
|
+
- ✅ CLI commands reference with practical examples
|
|
18
|
+
- ✅ 3 detailed workflow examples (simple, multi-agent, nested)
|
|
19
|
+
- ✅ Best practices and troubleshooting sections
|
|
20
|
+
- ✅ Performance metrics and advanced patterns
|
|
21
|
+
|
|
22
|
+
#### Enhanced Existing Documentation
|
|
23
|
+
- ✅ Updated `TROUBLESHOOTING.md`: CLI authentication, FTS5 references, timeout fixes
|
|
24
|
+
- ✅ Updated `CONTRIBUTING.md`: Test coverage (85%), license (Apache 2.0)
|
|
25
|
+
- ✅ Enhanced `FAQ.md`: Added 3 major FAQs (templates, teams, migration)
|
|
26
|
+
- ✅ Archived `docs/BETA-TESTING.md` → `docs/archived/BETA-TESTING-v4.0.md`
|
|
27
|
+
|
|
28
|
+
### 🎯 Configuration Schema
|
|
29
|
+
|
|
30
|
+
#### Self-Contained JSON Schema
|
|
31
|
+
- ✅ Created comprehensive `schema/config.json` (24 KB)
|
|
32
|
+
- ✅ Complete schema for all AutomatosX v5.0+ configuration options
|
|
33
|
+
- ✅ 25+ type definitions matching TypeScript interfaces
|
|
34
|
+
- ✅ Standard JSON Schema draft-07 format
|
|
35
|
+
- ✅ IDE validation support (VS Code, WebStorm, etc.)
|
|
36
|
+
|
|
37
|
+
#### Schema Migration
|
|
38
|
+
- ✅ Migrated from external URL to repository-based schema
|
|
39
|
+
- ✅ All `$schema` references use relative path: `./schema/config.json`
|
|
40
|
+
- ✅ Works offline with schema caching
|
|
41
|
+
- ✅ No external dependencies for configuration validation
|
|
42
|
+
- ✅ Updated 10+ files (source code, config files, tests)
|
|
43
|
+
|
|
44
|
+
### 📖 Documentation Updates
|
|
45
|
+
|
|
46
|
+
**Files Created**:
|
|
47
|
+
- `docs/guide/multi-agent-orchestration.md` (627 lines)
|
|
48
|
+
- `docs/archived/BETA-TESTING-v4.0.md` (moved from docs/)
|
|
49
|
+
- `schema/config.json` (24 KB, 600+ lines)
|
|
50
|
+
|
|
51
|
+
**Files Updated**:
|
|
52
|
+
- `README.md`: Added v5.0.2 release notes
|
|
53
|
+
- `TROUBLESHOOTING.md`: ~40 lines modified
|
|
54
|
+
- `CONTRIBUTING.md`: 2 critical accuracy fixes
|
|
55
|
+
- `FAQ.md`: +83 lines (3 new comprehensive FAQs)
|
|
56
|
+
- `automatosx.config.json`: Schema reference updated
|
|
57
|
+
- `src/cli/commands/config.ts`: Schema reference updated
|
|
58
|
+
- `src/cli/commands/init.ts`: Schema reference updated
|
|
59
|
+
- `src/cli/commands/config/reset.ts`: Schema reference updated
|
|
60
|
+
- `tests/**/*.test.ts`: Schema references updated
|
|
61
|
+
|
|
62
|
+
### 🗂️ Documentation Organization
|
|
63
|
+
|
|
64
|
+
#### Archived Content
|
|
65
|
+
- ✅ `BETA-TESTING.md` → `docs/archived/BETA-TESTING-v4.0.md`
|
|
66
|
+
- ✅ Added archived notice with links to current docs
|
|
67
|
+
- ✅ Preserved historical beta testing documentation
|
|
68
|
+
|
|
69
|
+
#### Accuracy Improvements
|
|
70
|
+
- ✅ Replaced "API key configuration" with "CLI authentication"
|
|
71
|
+
- ✅ Updated "vector search" references to "FTS5 full-text search"
|
|
72
|
+
- ✅ Corrected test coverage (67% → ~85%)
|
|
73
|
+
- ✅ Fixed license reference (MIT → Apache 2.0)
|
|
74
|
+
|
|
75
|
+
### ✅ Quality Improvements
|
|
76
|
+
|
|
77
|
+
**Documentation Coverage**:
|
|
78
|
+
- ✅ Multi-agent orchestration: Fully documented
|
|
79
|
+
- ✅ Team-based configuration: Comprehensive guide
|
|
80
|
+
- ✅ Agent templates: Complete reference
|
|
81
|
+
- ✅ Migration guides: Added to FAQ
|
|
82
|
+
- ✅ Troubleshooting: Updated with current information
|
|
83
|
+
|
|
84
|
+
**Schema Completeness**:
|
|
85
|
+
- ✅ All configuration options documented
|
|
86
|
+
- ✅ Validation rules for required fields
|
|
87
|
+
- ✅ Min/max constraints for numeric values
|
|
88
|
+
- ✅ Enum values for restricted fields
|
|
89
|
+
- ✅ Comprehensive descriptions for all properties
|
|
90
|
+
|
|
91
|
+
**Backward Compatibility**:
|
|
92
|
+
- ✅ All changes are non-breaking
|
|
93
|
+
- ✅ Existing configurations continue to work
|
|
94
|
+
- ✅ Schema validation is optional (IDE feature)
|
|
95
|
+
- ✅ No code changes required for upgrade
|
|
96
|
+
|
|
97
|
+
### 📊 Statistics
|
|
98
|
+
|
|
99
|
+
```
|
|
100
|
+
Documentation Changes:
|
|
101
|
+
- Files created: 3 (orchestration guide, schema, archived beta guide)
|
|
102
|
+
- Files updated: 10+ (README, FAQ, TROUBLESHOOTING, CONTRIBUTING, source files)
|
|
103
|
+
- Lines added: ~770 (documentation + schema)
|
|
104
|
+
- Lines modified: ~50 (accuracy fixes)
|
|
105
|
+
|
|
106
|
+
Schema Coverage:
|
|
107
|
+
- Configuration options: 100% covered
|
|
108
|
+
- Type definitions: 25+ schemas
|
|
109
|
+
- Validation rules: Complete
|
|
110
|
+
- IDE support: Full JSON Schema draft-07
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### 🔗 Related Issues
|
|
114
|
+
|
|
115
|
+
This release addresses documentation gaps identified in the Phase 3 documentation improvement project, providing comprehensive guides for all major v4.7.0+, v4.10.0+, and v5.0.0+ features.
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
|
|
8
119
|
## [5.0.1] - 2025-10-09
|
|
9
120
|
|
|
10
121
|
### 🐛 Bug Fixes
|
|
@@ -2583,7 +2694,7 @@ Thank you to all contributors who made v4.0 possible!
|
|
|
2583
2694
|
|
|
2584
2695
|
### 🔗 Resources
|
|
2585
2696
|
|
|
2586
|
-
- **Documentation**: <https://
|
|
2697
|
+
- **Documentation**: <https://github.com/defai-digital/automatosx/tree/main/docs>
|
|
2587
2698
|
- **Repository**: <https://github.com/defai-digital/automatosx>
|
|
2588
2699
|
- **Issues**: <https://github.com/defai-digital/automatosx/issues>
|
|
2589
2700
|
- **npm**: <https://www.npmjs.com/package/automatosx>
|
package/CONTRIBUTING.md
CHANGED
|
@@ -91,7 +91,7 @@ npm run test:coverage
|
|
|
91
91
|
### Writing Tests
|
|
92
92
|
|
|
93
93
|
- Write tests for all new features
|
|
94
|
-
- Maintain or improve test coverage (current:
|
|
94
|
+
- Maintain or improve test coverage (current: ~85%)
|
|
95
95
|
- Place unit tests in `tests/unit/`
|
|
96
96
|
- Place integration tests in `tests/integration/`
|
|
97
97
|
- Use descriptive test names
|
|
@@ -338,13 +338,15 @@ if (!isValidPath(path)) {
|
|
|
338
338
|
## Getting Help
|
|
339
339
|
|
|
340
340
|
- Check existing [documentation](docs/)
|
|
341
|
-
- Search [existing issues](https://github.com/
|
|
342
|
-
-
|
|
343
|
-
-
|
|
341
|
+
- Search [existing issues](https://github.com/defai-digital/automatosx/issues)
|
|
342
|
+
- Open a new issue for questions, bugs, or feature requests
|
|
343
|
+
- Use "bug" label for bugs
|
|
344
|
+
- Use "enhancement" label for feature requests/wishlist
|
|
345
|
+
- Use "question" label for questions
|
|
344
346
|
|
|
345
347
|
## License
|
|
346
348
|
|
|
347
|
-
By contributing, you agree that your contributions will be licensed under the
|
|
349
|
+
By contributing, you agree that your contributions will be licensed under the Apache License 2.0.
|
|
348
350
|
|
|
349
351
|
## Recognition
|
|
350
352
|
|
package/FAQ.md
CHANGED
|
@@ -29,15 +29,33 @@ v5.0.0 (October 2025) introduces agent template system:
|
|
|
29
29
|
- **Complete CLI toolset**: `ax agent` command suite (templates, create, list, show, remove)
|
|
30
30
|
- **No hardcoded values**: All execution parameters now configurable
|
|
31
31
|
|
|
32
|
+
### What's new in v4.11.0?
|
|
33
|
+
|
|
34
|
+
v4.11.0 (October 2025) removes vector search for pure FTS5:
|
|
35
|
+
|
|
36
|
+
- **No embedding costs**: Removed OpenAI embedding dependency
|
|
37
|
+
- **< 1ms search**: Pure SQLite FTS5 for blazing fast text search
|
|
38
|
+
- **Better privacy**: All data stays local (no cloud API calls)
|
|
39
|
+
- **Simpler**: No vector dependencies, just SQLite
|
|
40
|
+
|
|
41
|
+
### What's new in v4.10.0?
|
|
42
|
+
|
|
43
|
+
v4.10.0 (October 2025) introduces team-based configuration:
|
|
44
|
+
|
|
45
|
+
- **No duplication**: Agents inherit settings from their team
|
|
46
|
+
- **4 built-in teams**: Core, Engineering, Business, Design
|
|
47
|
+
- **Shared abilities**: Team-wide abilities automatically included
|
|
48
|
+
- **Centralized management**: Change provider for entire team at once
|
|
49
|
+
|
|
32
50
|
### What's new in v4.0?
|
|
33
51
|
|
|
34
52
|
v4.0 is a complete TypeScript rewrite with major improvements:
|
|
35
53
|
|
|
36
54
|
- **87% smaller**: Bundle reduced from 340MB to <50MB
|
|
37
|
-
- **
|
|
55
|
+
- **CLI-based**: No API keys stored, uses provider CLI tools
|
|
38
56
|
- **TypeScript**: 100% type-safe codebase
|
|
39
57
|
- **Better security**: Enhanced path resolution and workspace isolation
|
|
40
|
-
- **Faster**: 60% faster startup, 62x faster
|
|
58
|
+
- **Faster**: 60% faster startup, 62x faster search
|
|
41
59
|
|
|
42
60
|
See [CHANGELOG.md](./CHANGELOG.md) for detailed changes.
|
|
43
61
|
|
|
@@ -54,23 +72,32 @@ No, v4.0 requires a clean installation due to major breaking changes:
|
|
|
54
72
|
|
|
55
73
|
### What AI providers are supported?
|
|
56
74
|
|
|
57
|
-
AutomatosX supports:
|
|
75
|
+
AutomatosX supports multiple AI providers through their official CLI tools:
|
|
76
|
+
|
|
77
|
+
- **Claude** (via `claude` CLI): Latest Sonnet and other Claude models
|
|
78
|
+
- **Gemini** (via `gemini` CLI): gemini-1.5-pro, gemini-1.5-flash, and newer models
|
|
79
|
+
- **OpenAI** (via `codex` CLI): GPT-4, GPT-3.5, and other OpenAI models
|
|
58
80
|
|
|
59
|
-
|
|
60
|
-
- **Gemini** (Google): gemini-1.5-pro, gemini-1.5-flash
|
|
61
|
-
- **OpenAI**: For embeddings (text-embedding-3-small/large)
|
|
81
|
+
**How it works**: AutomatosX calls your installed CLI commands (`claude`, `gemini`, `codex`). Each CLI uses its own authentication and automatically updates to the latest models.
|
|
62
82
|
|
|
63
83
|
You can use multiple providers simultaneously with automatic fallback.
|
|
64
84
|
|
|
65
85
|
### How much does it cost to use?
|
|
66
86
|
|
|
67
|
-
AutomatosX itself is free and open-source (Apache-2.0 license).
|
|
87
|
+
AutomatosX itself is **free and open-source** (Apache-2.0 license).
|
|
88
|
+
|
|
89
|
+
**Pricing model (v4.0+)**:
|
|
90
|
+
- You pay only for what you use via your existing CLI subscriptions
|
|
91
|
+
- No API keys stored in AutomatosX
|
|
92
|
+
- No additional subscription fees
|
|
93
|
+
- **10× more cost-effective** than expensive assistant APIs
|
|
68
94
|
|
|
95
|
+
**Provider costs** (pay directly to provider):
|
|
69
96
|
- **Claude**: ~$3-15 per 1M tokens (varies by model)
|
|
70
97
|
- **Gemini**: Free tier available, paid tier ~$0.35-7 per 1M tokens
|
|
71
|
-
- **OpenAI**: ~$0.02-0.
|
|
98
|
+
- **OpenAI**: ~$0.02-0.06 per 1M tokens (via Codex CLI)
|
|
72
99
|
|
|
73
|
-
Actual costs depend on your usage patterns.
|
|
100
|
+
Actual costs depend on your usage patterns and chosen models.
|
|
74
101
|
|
|
75
102
|
## Installation & Setup
|
|
76
103
|
|
|
@@ -84,40 +111,66 @@ Actual costs depend on your usage patterns.
|
|
|
84
111
|
### How do I install AutomatosX?
|
|
85
112
|
|
|
86
113
|
```bash
|
|
87
|
-
#
|
|
88
|
-
npm install -g automatosx
|
|
114
|
+
# Step 1: Install AutomatosX CLI
|
|
115
|
+
npm install -g @defai.digital/automatosx
|
|
116
|
+
|
|
117
|
+
# Step 2: Install at least one provider CLI
|
|
118
|
+
# Option A: Claude CLI
|
|
119
|
+
brew install claude
|
|
120
|
+
# or follow: https://github.com/anthropics/claude-cli
|
|
121
|
+
|
|
122
|
+
# Option B: Gemini CLI
|
|
123
|
+
# Follow: https://ai.google.dev/gemini-api/docs/cli
|
|
89
124
|
|
|
90
|
-
# Option
|
|
91
|
-
|
|
125
|
+
# Option C: Codex CLI
|
|
126
|
+
# Follow: https://github.com/anthropics/codex-cli
|
|
92
127
|
|
|
93
|
-
#
|
|
94
|
-
|
|
128
|
+
# Step 3: Verify installation
|
|
129
|
+
ax --version
|
|
95
130
|
```
|
|
96
131
|
|
|
97
|
-
|
|
132
|
+
**Alternative (no installation)**:
|
|
133
|
+
```bash
|
|
134
|
+
npx @defai.digital/automatosx --help
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### How do I set up authentication?
|
|
138
|
+
|
|
139
|
+
**v4.0+ (Current)**: AutomatosX uses CLI tools, which handle authentication separately:
|
|
98
140
|
|
|
99
141
|
```bash
|
|
100
|
-
#
|
|
101
|
-
export ANTHROPIC_API_KEY="sk-ant-..."
|
|
102
|
-
export GOOGLE_API_KEY="your-key"
|
|
103
|
-
export OPENAI_API_KEY="sk-..."
|
|
142
|
+
# Each CLI has its own auth setup:
|
|
104
143
|
|
|
105
|
-
#
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
automatosx config --set providers.gemini.apiKey --value "your-key"
|
|
144
|
+
# Claude CLI
|
|
145
|
+
claude auth login
|
|
146
|
+
# Follow the prompts to authenticate
|
|
109
147
|
|
|
110
|
-
#
|
|
111
|
-
|
|
148
|
+
# Gemini CLI
|
|
149
|
+
gemini auth login
|
|
150
|
+
# Follow the prompts to authenticate
|
|
151
|
+
|
|
152
|
+
# Codex CLI
|
|
153
|
+
codex auth login
|
|
154
|
+
# Follow the prompts to authenticate
|
|
112
155
|
```
|
|
113
156
|
|
|
114
|
-
|
|
157
|
+
**No API keys needed in AutomatosX** - the CLI tools handle all authentication!
|
|
158
|
+
|
|
159
|
+
**For older versions (v3.x)**: Used API keys directly (see migration guide)
|
|
160
|
+
|
|
161
|
+
### Can I use AutomatosX without any provider CLIs?
|
|
162
|
+
|
|
163
|
+
No, you need at least one provider CLI installed and authenticated:
|
|
115
164
|
|
|
116
|
-
|
|
165
|
+
- **Recommended**: Install `claude` CLI (most capable)
|
|
166
|
+
- **Free option**: Gemini CLI offers generous free tier
|
|
167
|
+
- **For testing**: Use mock providers (`AUTOMATOSX_MOCK_PROVIDERS=true`)
|
|
117
168
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
169
|
+
```bash
|
|
170
|
+
# Test without real providers
|
|
171
|
+
export AUTOMATOSX_MOCK_PROVIDERS=true
|
|
172
|
+
ax run assistant "Hello"
|
|
173
|
+
```
|
|
121
174
|
|
|
122
175
|
## Configuration
|
|
123
176
|
|
|
@@ -137,12 +190,27 @@ automatosx init
|
|
|
137
190
|
|
|
138
191
|
### How do I change the default provider?
|
|
139
192
|
|
|
193
|
+
**v4.10.0+ (Team-based)**: Configure at team level:
|
|
194
|
+
|
|
195
|
+
```bash
|
|
196
|
+
# Edit team configuration
|
|
197
|
+
# .automatosx/teams/engineering.yaml
|
|
198
|
+
provider:
|
|
199
|
+
primary: codex
|
|
200
|
+
fallbackChain: [codex, gemini, claude]
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
**Per-command override**:
|
|
204
|
+
|
|
140
205
|
```bash
|
|
141
|
-
#
|
|
142
|
-
|
|
206
|
+
# Specify provider for single command
|
|
207
|
+
ax run assistant "hello" --provider gemini
|
|
143
208
|
|
|
144
|
-
#
|
|
145
|
-
|
|
209
|
+
# Provider selection priority:
|
|
210
|
+
# 1. CLI option (--provider)
|
|
211
|
+
# 2. Team config
|
|
212
|
+
# 3. Agent config (deprecated)
|
|
213
|
+
# 4. Router fallback
|
|
146
214
|
```
|
|
147
215
|
|
|
148
216
|
### Can I have different configs for different projects?
|
|
@@ -165,6 +233,65 @@ automatosx config --reset
|
|
|
165
233
|
|
|
166
234
|
## Agents & Abilities
|
|
167
235
|
|
|
236
|
+
### What are agent templates? (v5.0.0+)
|
|
237
|
+
|
|
238
|
+
**Agent templates** are pre-configured agent blueprints that let you create new agents in seconds instead of writing YAML from scratch.
|
|
239
|
+
|
|
240
|
+
**5 Built-in Templates**:
|
|
241
|
+
- `basic-agent` - Minimal configuration (core team)
|
|
242
|
+
- `developer` - Software development (engineering team)
|
|
243
|
+
- `analyst` - Business analysis (business team)
|
|
244
|
+
- `designer` - UI/UX design (design team)
|
|
245
|
+
- `qa-specialist` - Quality assurance (core team)
|
|
246
|
+
|
|
247
|
+
**Quick Start**:
|
|
248
|
+
```bash
|
|
249
|
+
# Interactive creation (guided prompts)
|
|
250
|
+
ax agent create my-agent --template developer --interactive
|
|
251
|
+
|
|
252
|
+
# One-line creation
|
|
253
|
+
ax agent create backend --template developer \
|
|
254
|
+
--display-name "Bob" \
|
|
255
|
+
--role "Backend Engineer" \
|
|
256
|
+
--team engineering
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
**Benefits**:
|
|
260
|
+
- ✅ 10-20x faster than manual creation
|
|
261
|
+
- ✅ Consistent structure and best practices
|
|
262
|
+
- ✅ Auto-assigned to appropriate teams
|
|
263
|
+
- ✅ Beginner-friendly with interactive mode
|
|
264
|
+
|
|
265
|
+
See [Agent Templates Guide](docs/guide/agent-templates.md) for details.
|
|
266
|
+
|
|
267
|
+
### What is team-based configuration? (v4.10.0+)
|
|
268
|
+
|
|
269
|
+
**Team-based configuration** organizes agents into teams with shared settings, eliminating configuration duplication.
|
|
270
|
+
|
|
271
|
+
**4 Built-in Teams**:
|
|
272
|
+
- **core** - QA specialists (primary: claude)
|
|
273
|
+
- **engineering** - Software development (primary: codex)
|
|
274
|
+
- **business** - Product & planning (primary: gemini)
|
|
275
|
+
- **design** - Design & content (primary: gemini)
|
|
276
|
+
|
|
277
|
+
**Example**:
|
|
278
|
+
```yaml
|
|
279
|
+
# Agent inherits provider + shared abilities from team
|
|
280
|
+
name: backend
|
|
281
|
+
team: engineering # Inherits codex provider + team abilities
|
|
282
|
+
role: Backend Engineer
|
|
283
|
+
abilities:
|
|
284
|
+
- backend-development # Agent-specific abilities
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
**Benefits**:
|
|
288
|
+
- ✅ No provider configuration duplication
|
|
289
|
+
- ✅ Change provider for entire team at once
|
|
290
|
+
- ✅ Shared abilities automatically included
|
|
291
|
+
- ✅ Clear organizational structure
|
|
292
|
+
|
|
293
|
+
See [Team Configuration Guide](docs/guide/team-configuration.md) for details.
|
|
294
|
+
|
|
168
295
|
### What's the difference between agents and abilities?
|
|
169
296
|
|
|
170
297
|
- **Agents**: High-level personas with goals and behaviors (YAML files)
|
|
@@ -182,15 +309,68 @@ abilities:
|
|
|
182
309
|
- code_analysis # Ability
|
|
183
310
|
```
|
|
184
311
|
|
|
312
|
+
### How do I update my agents to use teams? (v4.10.0+)
|
|
313
|
+
|
|
314
|
+
**Migration Steps**:
|
|
315
|
+
|
|
316
|
+
1. **Identify common configurations** across your agents
|
|
317
|
+
2. **Choose appropriate team** (core, engineering, business, design)
|
|
318
|
+
3. **Update agent profile**:
|
|
319
|
+
|
|
320
|
+
```yaml
|
|
321
|
+
# Before v4.10.0
|
|
322
|
+
name: backend
|
|
323
|
+
provider: codex
|
|
324
|
+
temperature: 0.7
|
|
325
|
+
abilities:
|
|
326
|
+
- code-generation
|
|
327
|
+
- backend-development
|
|
328
|
+
|
|
329
|
+
# After v4.10.0
|
|
330
|
+
name: backend
|
|
331
|
+
team: engineering # Add this line
|
|
332
|
+
abilities:
|
|
333
|
+
- backend-development # Remove duplicated abilities
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
4. **Test the agent**:
|
|
337
|
+
```bash
|
|
338
|
+
ax agent show backend # Verify team assignment
|
|
339
|
+
ax run backend "test" # Test execution
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
Team abilities (like `code-generation`) are automatically inherited.
|
|
343
|
+
|
|
185
344
|
### How do I create a custom agent?
|
|
186
345
|
|
|
346
|
+
**v5.0.0+ (Recommended)**: Use agent templates:
|
|
347
|
+
|
|
348
|
+
```bash
|
|
349
|
+
# Interactive mode - guided creation
|
|
350
|
+
ax agent create my-agent --template developer --interactive
|
|
351
|
+
|
|
352
|
+
# One-line creation
|
|
353
|
+
ax agent create my-agent \
|
|
354
|
+
--template developer \
|
|
355
|
+
--display-name "Mike" \
|
|
356
|
+
--role "Senior Backend Engineer" \
|
|
357
|
+
--team engineering
|
|
358
|
+
|
|
359
|
+
# List available templates
|
|
360
|
+
ax agent templates
|
|
361
|
+
|
|
362
|
+
# Available templates: developer, analyst, designer, qa-specialist, basic-agent
|
|
363
|
+
```
|
|
364
|
+
|
|
365
|
+
**Manual creation (advanced)**:
|
|
366
|
+
|
|
187
367
|
```bash
|
|
188
|
-
# 1. Create agent profile
|
|
368
|
+
# 1. Create agent profile (v4.10.0+ team-based config)
|
|
189
369
|
cat > .automatosx/agents/my-agent.yaml << EOF
|
|
190
370
|
name: my-agent
|
|
371
|
+
team: engineering # Inherits provider from team
|
|
372
|
+
displayName: "Mike"
|
|
191
373
|
description: My custom agent
|
|
192
|
-
model: claude-3-sonnet-20240229
|
|
193
|
-
temperature: 0.7
|
|
194
374
|
abilities:
|
|
195
375
|
- search
|
|
196
376
|
- code_analysis
|
|
@@ -199,7 +379,8 @@ systemPrompt: |
|
|
|
199
379
|
EOF
|
|
200
380
|
|
|
201
381
|
# 2. Test agent
|
|
202
|
-
|
|
382
|
+
ax run my-agent "Hello, introduce yourself"
|
|
383
|
+
# Or use display name: ax run Mike "..."
|
|
203
384
|
```
|
|
204
385
|
|
|
205
386
|
See [examples/agents/](./examples/agents/) for more examples.
|
|
@@ -239,63 +420,75 @@ This ensures agents can read your code but only write to isolated workspaces.
|
|
|
239
420
|
|
|
240
421
|
### How does the memory system work?
|
|
241
422
|
|
|
242
|
-
|
|
423
|
+
**v4.11.0+ (Current)**: AutomatosX uses pure SQLite FTS5 full-text search:
|
|
424
|
+
|
|
425
|
+
- **Storage**: `.automatosx/memory/memories.db`
|
|
426
|
+
- **Search**: FTS5 full-text search (< 1ms average)
|
|
427
|
+
- **No embeddings**: Removed OpenAI embedding dependency
|
|
428
|
+
- **Cost**: Zero - all local, no API calls
|
|
429
|
+
- **Privacy**: All data stays on your machine
|
|
243
430
|
|
|
244
|
-
|
|
245
|
-
- **Vector search**: HNSW algorithm via sqlite-vec extension
|
|
246
|
-
- **Embeddings**: OpenAI text-embedding-3-small (default)
|
|
431
|
+
**v5.0.1**: Enhanced special character handling (15+ characters supported)
|
|
247
432
|
|
|
248
|
-
Memories persist across sessions and can be searched
|
|
433
|
+
Memories persist across sessions and can be searched instantly.
|
|
249
434
|
|
|
250
435
|
### How do I search memories?
|
|
251
436
|
|
|
252
437
|
```bash
|
|
253
|
-
#
|
|
254
|
-
|
|
438
|
+
# Full-text search (v4.11.0+)
|
|
439
|
+
ax memory search "how to implement authentication"
|
|
255
440
|
|
|
256
441
|
# List all memories
|
|
257
|
-
|
|
442
|
+
ax memory list
|
|
258
443
|
|
|
259
444
|
# Limit results
|
|
260
|
-
|
|
445
|
+
ax memory search "query" --limit 10
|
|
446
|
+
|
|
447
|
+
# v5.0.1+: Special characters are automatically handled
|
|
448
|
+
ax memory search "config.json settings" # Works!
|
|
449
|
+
ax memory search "coverage: 95%" # Works!
|
|
450
|
+
ax memory search "timeout (300ms)" # Works!
|
|
261
451
|
```
|
|
262
452
|
|
|
263
453
|
### Can I export/import memories?
|
|
264
454
|
|
|
265
455
|
```bash
|
|
266
456
|
# Export to JSON
|
|
267
|
-
|
|
457
|
+
ax memory export --output backup.json
|
|
268
458
|
|
|
269
459
|
# Import from JSON
|
|
270
|
-
|
|
460
|
+
ax memory import --input backup.json
|
|
271
461
|
|
|
272
|
-
#
|
|
273
|
-
|
|
462
|
+
# Clear all memories
|
|
463
|
+
ax memory clear
|
|
274
464
|
```
|
|
275
465
|
|
|
276
466
|
### How do I clear old memories?
|
|
277
467
|
|
|
278
468
|
```bash
|
|
279
|
-
#
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
469
|
+
# Clear all memories
|
|
470
|
+
ax memory clear
|
|
471
|
+
|
|
472
|
+
# Backup before clearing
|
|
473
|
+
ax memory export --output backup.json
|
|
474
|
+
ax memory clear
|
|
284
475
|
|
|
285
|
-
#
|
|
286
|
-
rm .automatosx/memory
|
|
476
|
+
# Delete database manually (advanced)
|
|
477
|
+
rm -rf .automatosx/memory/
|
|
287
478
|
# Will be recreated on next use
|
|
288
479
|
```
|
|
289
480
|
|
|
290
|
-
###
|
|
481
|
+
### Do I need any API for memory search?
|
|
291
482
|
|
|
292
|
-
|
|
483
|
+
**No!** (as of v4.11.0)
|
|
293
484
|
|
|
294
|
-
-
|
|
295
|
-
-
|
|
296
|
-
-
|
|
485
|
+
- Memory search uses **pure SQLite FTS5** (local, no API calls)
|
|
486
|
+
- No embedding costs
|
|
487
|
+
- No external dependencies
|
|
488
|
+
- All data stays on your machine
|
|
489
|
+
- Blazing fast (< 1ms average)
|
|
297
490
|
|
|
298
|
-
|
|
491
|
+
**Older versions (v3.x - v4.10.x)**: Required OpenAI API for vector embeddings (deprecated)
|
|
299
492
|
|
|
300
493
|
## Performance
|
|
301
494
|
|
|
@@ -478,15 +671,22 @@ cp ./backup-agents/* .automatosx/agents/
|
|
|
478
671
|
cp ./backup-abilities/* .automatosx/abilities/
|
|
479
672
|
```
|
|
480
673
|
|
|
481
|
-
###
|
|
674
|
+
### Memory search returns no results
|
|
482
675
|
|
|
483
|
-
Verify memories exist
|
|
676
|
+
Verify memories exist:
|
|
484
677
|
|
|
485
678
|
```bash
|
|
486
|
-
|
|
487
|
-
|
|
679
|
+
ax memory list
|
|
680
|
+
|
|
681
|
+
# If empty, try storing a memory first
|
|
682
|
+
ax run assistant "Remember: Project Alpha launches Q1 2025"
|
|
683
|
+
|
|
684
|
+
# Then search
|
|
685
|
+
ax memory search "when does Alpha launch"
|
|
488
686
|
```
|
|
489
687
|
|
|
688
|
+
**v4.11.0+**: Vector search removed, now uses FTS5 text search (no embedding API needed)
|
|
689
|
+
|
|
490
690
|
## Development & Contributing
|
|
491
691
|
|
|
492
692
|
### How do I contribute to AutomatosX?
|
|
@@ -569,12 +769,14 @@ echo ".automatosx/" >> .gitignore
|
|
|
569
769
|
|
|
570
770
|
The `.automatosx/` directory contains:
|
|
571
771
|
|
|
572
|
-
- API keys (sensitive!)
|
|
573
772
|
- Local database
|
|
574
773
|
- Conversation history
|
|
575
774
|
- Agent workspaces
|
|
775
|
+
- Session data
|
|
776
|
+
|
|
777
|
+
**v4.0+**: No API keys stored (CLIs handle auth separately)
|
|
576
778
|
|
|
577
|
-
**Do commit**:
|
|
779
|
+
**Do commit**: Example agent profiles and abilities in `examples/` directory if you want to share them.
|
|
578
780
|
|
|
579
781
|
## Licensing & Usage
|
|
580
782
|
|
|
@@ -598,7 +800,8 @@ Powered by AutomatosX (https://github.com/defai-digital/automatosx)
|
|
|
598
800
|
|
|
599
801
|
## Still Have Questions?
|
|
600
802
|
|
|
601
|
-
- **GitHub
|
|
602
|
-
-
|
|
603
|
-
-
|
|
604
|
-
-
|
|
803
|
+
- **GitHub Issues**: [Report bugs, ask questions, or request features](https://github.com/defai-digital/automatosx/issues)
|
|
804
|
+
- 🐛 Bug reports: Use the bug report template
|
|
805
|
+
- ✨ Feature requests/Wishlist: Use the "enhancement" label
|
|
806
|
+
- ❓ Questions: Use the "question" label
|
|
807
|
+
- **Email**: <support@defai.digital> for private inquiries
|