Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@defai.digital/automatosx) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
AutomatosX
Provider-Agnostic AI Agent Orchestration
A CLI-first tool for orchestrating specialized AI agents with persistent memory, intelligent delegation, and cross-provider support (Claude, Gemini, OpenAI).
Status: โ Production Ready ยท v5.2.0 ยท October 2025
Looking for answers? See the FAQ.
๐ฏ Built for Claude Code
AutomatosX extends Claude Code with specialized AI agents that remember context, delegate tasks, and collaborate autonomously.
# In Claude Code, simply use /ax:agent
/ax:agent Paris, design authentication system with JWT
/ax:agent Bob, implement the auth design # Bob auto-receives Paris's design from memoryThe result: Claude Code becomes a learning, coordinated team instead of a stateless assistant.
๐ก Why AutomatosX?
The Problem with Stateless AI
Traditional AI assistants (ChatGPT, vanilla Claude):
- โ No memory between conversations
- โ You repeat context every time
- โ No coordination between tasks
- โ Knowledge disappears after each session
AutomatosX changes this:
- โ Persistent memory: < 1ms search, zero cost, 100% local
- โ Multi-agent delegation: Agents coordinate automatically
- โ Context retention: Never explain the same thing twice
- โ Knowledge accumulation: Your team gets smarter over time
Real-World Impact
Without AutomatosX:
Day 1: You explain architecture to Claude โ Response lost
Day 2: You ask to implement โ You re-explain architecture
Day 3: Different task โ You re-explain everything againWith AutomatosX:
Day 1: Product designs architecture โ Saved to memory
Day 2: ax run backend "implement auth" โ Backend finds Product's design automatically
Day 3: ax run security "security audit" โ Security has full context from Day 1-2Time saved: Hours per week. Quality: Consistent. Cost: $0.
๐ Full Changelog | ๐ Release Notes
๐ง Core Value: Persistent Memory
AutomatosX remembers everything. Every agent conversation is automatically saved and searchable.
How It Works
# Automatic memory saving
ax run product "Design calculator with add/subtract"
โ Task + Response saved to SQLite FTS5
# Automatic memory retrieval
ax run backend "Implement the calculator"
โ Memory searches "calculator" automatically
โ Backend receives: "# Relevant Context from Memory: Product's design..."
โ Backend implements WITHOUT you repeating the specThe Technology
- SQLite FTS5: Built-in full-text search
- < 1ms search: 62x faster than v3.x vector search
- $0 cost: No embedding APIs, no cloud calls
- 100% local: Your data never leaves your machine
- Automatic injection: Relevant context added to every agent
Benefits
โ Cross-day continuity: Pick up where you left off โ Cross-agent knowledge: All agents share the same knowledge base โ Learning from history: Agents avoid past mistakes โ Zero cost scaling: 10,000 entries = ~10MB, still < 1ms search
Learn more: Memory System Guide | Memory Tutorial
๐ค Core Value: Multi-Agent Orchestration
Agents coordinate automatically. Natural language delegation creates complex workflows without manual orchestration.
How It Works
// Product Manager analyzes and delegates
ax run product "Build authentication feature"
Product response:
"I'll design the auth system with JWT + OAuth2.
@backend Please implement the JWT authentication API based on this design.
@security Please audit the implementation for security issues."
// AutomatosX automatically:
// 1. Backend receives full spec, implements code
// 2. Security receives spec + code, performs audit
// 3. Results aggregated back to ProductThe Technology
- 7 delegation syntaxes:
@mention,DELEGATE TO,Please ask, etc. - Cycle detection: Prevents infinite loops
- Depth limits: Default 2 levels (configurable)
- Session tracking: Who did what, when
- Shared workspace: Organized PRD/tmp structure for collaboration
Benefits
โ Automatic coordination: No manual task switching โ Parallel execution: Multiple agents work simultaneously โ Transparent workflows: Full delegation chain visible โ Context preservation: Every agent has complete context
Learn more: Multi-Agent Orchestration Guide
๐ญ 12 Specialized Agents with Clear Governance
v5.0.12 introduces strict role ownership and delegation controls to eliminate cycles:
๐ป Engineering Team (Implementers)
maxDelegationDepth: 1 - Can delegate once for cross-domain needs, no re-delegation
- Bob (backend) - API design, database modeling, caching strategies
- Can delegate to: frontend, data, security, quality, devops
- Frank (frontend) - Component architecture, state management, accessibility
- Can delegate to: backend, design, security, quality, devops
- Oliver (devops) - Infrastructure as code, CI/CD pipelines, observability
- Can delegate to: backend, frontend, security, quality
- Daisy (data) - Data modeling, ETL pipelines, SQL optimization
- Can delegate to: backend, security, quality
- Steve (security) - Sole owner of security-audit, threat modeling, secure coding review
- Can delegate to: backend, frontend, devops, quality
๐ฏ Quality Team (Coordinator Role)
maxDelegationDepth: 1 - Can delegate fixes back to implementers, no re-delegation
- Queenie (quality) - Sole owner of code-review and debugging, testing strategies
- Can delegate to: backend, frontend, security, devops, data
๐จ Content Team (Implementers)
maxDelegationDepth: 1 - Can delegate once for cross-domain needs, no re-delegation
- Debbee (design) - UX research, wireframes, design systems
- Can delegate to: frontend, writer, quality
- Wendy (writer) - API documentation, ADRs, release notes
- Can delegate to: backend, frontend, design, quality
๐ Leadership Team (Coordinators)
maxDelegationDepth: 1 - Delegate to implementers, focus on strategy, no re-delegation
- Paris (product) - Product strategy, feature planning, roadmap
- Can delegate to: backend, frontend, design, writer, quality
- Eric (ceo) - Business strategy, organizational leadership
- Can delegate to: paris, tony, all agents
- Tony (cto) - Technology strategy, technical leadership
- Can delegate to: backend, frontend, devops, security, quality
๐ฌ Research Team (Specialist)
maxDelegationDepth: 0 - Execute research work directly, no delegation
- Rodman (researcher) - Idea validation, feasibility analysis, research reports
- Specializes in: logical reasoning, risk assessment, literature review
- Produces: executive summaries, feasibility studies, long-form research reports
New in v5.0.12: Each agent has role-specific workflow stages, smart ability loading (abilitySelection), and explicit delegation scopes. Most agents have maxDelegationDepth: 1 to allow cross-domain collaboration while preventing delegation cycles.
๐ Two Ways to Use AutomatosX
AutomatosX offers two powerful modes to fit your workflow:
1๏ธโฃ Claude Code Integration (Recommended)
Use AutomatosX agents directly inside Claude Code conversations with the /ax:agent slash command.
# In Claude Code, use the slash command
/ax:agent Paris, design a REST API for user authentication
/ax:agent Bob, implement the auth API from Paris's design
/ax:agent Steve, security audit the authentication codePerfect for:
- ๐ฌ Interactive development workflows
- ๐ Seamless context switching within Claude Code
- ๐ค Collaborative coding sessions
- ๐ฏ Quick agent delegation while coding
How it works: Claude Code executes AutomatosX commands behind the scenes, brings results back into your conversation, and maintains full context.
2๏ธโฃ Terminal/CLI Mode (Power Users)
Use AutomatosX as a standalone CLI tool for automation, scripting, and direct control.
# In any terminal (Bash, Zsh, PowerShell)
ax run Paris "Design REST API for user authentication"
ax run Bob "Implement the auth API" # Auto-receives Paris's design from memory
ax run Steve "Security audit the auth code" # Auto-receives design + implementation
# Full CLI power
ax memory search "authentication"
ax agent list --by-team engineering
ax session list --activePerfect for:
- โ๏ธ CI/CD pipelines and automation scripts
- ๐ง Custom workflows and integrations
- ๐ Batch processing and reporting
- ๐๏ธ Advanced configuration and debugging
How it works: Direct command-line execution with full control over providers, memory, sessions, and configuration.
Which Mode Should I Use?
| Scenario | Recommended Mode |
|---|---|
| Coding in Claude Code | Claude Code Integration (/ax:agent) |
| Automation scripts | Terminal Mode (ax run) |
| CI/CD pipelines | Terminal Mode |
| Quick questions during dev | Claude Code Integration |
| Memory management | Terminal Mode |
| Agent creation/management | Terminal Mode |
| Multi-agent workflows | Both work great! |
๐ Learn More
- Using Terminal Mode? โ Complete Terminal Mode Guide
- Using Claude Code? โ Continue reading below for slash command examples
- Want both? โ They work together seamlessly! Memory is shared across both modes.
โก Quick Start
Step 1: Install AutomatosX
All Platforms (Windows, macOS, Linux):
npm install -g @defai.digital/automatosxVerify Installation:
ax --version
# Should show: 5.1.0 (or later)Windows Users: If
axcommand not found, see Windows Troubleshooting
Step 2: Initialize Your Project โ ๏ธ REQUIRED
Navigate to your project directory, then run:
# Go to your project folder
cd your-project-folder
# Initialize AutomatosX (MUST do this first!)
ax initIf you see "already initialized" but have issues:
# Force reinitialize (overwrites existing setup)
ax init --force๐ก When to use
--force:
- Seeing "0 agents" despite having
.automatosxfolder- Upgrading from older version
- Files are corrupted or incomplete
- Want to reset to default configuration
What This Does:
- Creates
.automatosx/directory with 12 agents, 15 abilities, 4 teams - Sets up memory database (SQLite FTS5)
- Creates shared workspace structure (PRD for planning, tmp for temporary files)
- Generates
automatosx.config.json - NEW (v5.2.0): Automatically initializes git repository (required for Codex provider)
Verify Initialization:
ax status
# Should show: โ
System is healthy
# With: 12 agents, 15 abilities, providers configured
ax list agents
# Should list 12 agents: backend, frontend, devops, security, etc.โ ๏ธ IMPORTANT: If you still see "0 agents" or "System has issues" after
ax init, tryax init --force!
Step 3: Run Your First Agent
Terminal Mode (any platform):
# Test with backend agent
ax run backend "Explain TypeScript in one sentence"
# Agents automatically share memory
ax run Paris "Design REST API for users"
ax run Bob "Implement the API" # Auto-receives Paris's design
ax run Queenie "Write tests for the API" # Auto-receives design + implementationClaude Code Integration:
# In Claude Code, use the slash command
/ax:agent Paris, design REST API for users
/ax:agent Bob, implement the API
/ax:agent Queenie, write tests for the APIWhat happens:
- Claude Code executes AutomatosX behind the scenes
- Paris designs the API โ Saved to memory
- Bob reads Paris's design from memory โ Implements code
- Queenie reads everything โ Writes comprehensive tests
- Results flow back into your Claude Code conversation
Common Issues
"Agent not found" or "0 agents":
โ You forgot ax init. Run it in your project directory.
Windows: Command not found: โ See Windows Quick Fix
No providers available: โ Install a provider CLI (Claude, Gemini, or OpenAI) or use mock providers for testing:
# Test with mock providers (no API needed)
set AUTOMATOSX_MOCK_PROVIDERS=true # Windows CMD
$env:AUTOMATOSX_MOCK_PROVIDERS="true" # Windows PowerShell
export AUTOMATOSX_MOCK_PROVIDERS=true # macOS/Linux
ax run backend "Hello"That's it! Agents now remember everything and coordinate automatically.
MCP Server Mode (Advanced) โจ NEW in v5.1.0
Use AutomatosX as a native MCP server for direct Claude Code integration via Model Context Protocol.
# Start MCP server
ax mcp
# Add to Claude Code's claude_desktop_config.json
{
"mcpServers": {
"automatosx": {
"command": "ax",
"args": ["mcp"]
}
}
}What you get:
- โ 16 native MCP tools for Claude Code
- โ 90% faster than CLI execution (shared state, < 300ms p50 latency)
- โ Persistent services across requests (MemoryManager, SessionManager)
- โ First-class integration with Claude Desktop
Available MCP Tools:
- Agent execution:
run_agent,list_agents - Memory operations:
search_memory,memory_add,memory_list,memory_delete,memory_export,memory_import,memory_stats,memory_clear - Session management:
session_create,session_list,session_status,session_complete,session_fail - System info:
get_status
Performance:
- No subprocess overhead (3-5s โ 300ms)
- < 1.5s cold start
- Shared services across requests
- Native JSON-RPC 2.0 protocol
๐ Terminal Mode Guide | Installation Guide | Quick Start Tutorial
๐ Documentation
Getting Started
- Quick Start Guide - Get up and running in 5 minutes
- Terminal Mode Guide - Complete CLI usage tutorial
- Core Concepts - Understand agents, memory, providers
- Installation Guide - Detailed setup instructions
- FAQ - Common questions and answers
- Troubleshooting - Problem solving and platform-specific issues
Core Features
- Agent Communication & Memory - How agents communicate and remember
- Multi-Agent Orchestration - Natural language delegation
- Team Configuration - Team-based agent organization
- Agent Templates - Quick agent creation
Tutorials
- Memory Management - Hands-on memory system guide
- Creating Your First Agent - Build custom agents
Reference
- CLI Commands - Complete command reference
- Agent Directory - All available agents
๐ฌ The Technical Advantage
| Feature | Traditional AI Chat | Claude Code | Claude Code + AutomatosX |
|---|---|---|---|
| Memory | No | No | โ SQLite FTS5 (< 1ms) |
| Cost | $20/month | Included | โ $0 (100% local) |
| Multi-Agent | No | No | โ 12 specialized agents |
| Coordination | Manual | Manual | โ Automatic delegation |
| Context Retention | Copy-paste | Session only | โ Persistent (days/weeks) |
| Knowledge Sharing | No | No | โ Cross-agent memory |
| Privacy | Cloud | Claude servers | โ 100% local data |
| Speed | Web UI | Terminal | โ Instant CLI |
๐ผ Real-World Use Cases
๐๏ธ Feature Development
# Using friendly agent names in terminal
ax run Paris "Design user authentication feature"
# Paris creates spec โ Saved to memory
ax run Bob "Implement auth based on spec"
# Bob auto-receives spec โ Implements code
ax run Steve "Security audit the auth implementation"
# Steve auto-receives spec + code โ Performs audit
ax run Wendy "Document the auth system"
# Wendy auto-receives everything โ Creates docs
# Or in Claude Code:
# /ax:agent Paris, design user authentication feature
# /ax:agent Bob, implement auth based on specResult: 4-step workflow, zero context re-explanation, complete audit trail
๐ Bug Investigation
# Mix of names and roles (both work!)
ax run Queenie "Debug the payment timeout issue"
# Queenie analyzes, saves findings to memory
ax run backend "Fix the issue Queenie found"
# Backend reads Queenie's analysis โ Implements fix
ax run quality "Test the payment fix"
# Quality knows the bug + fix โ Comprehensive testingResult: Coordinated debugging with full context preservation
๐ Research & Analysis
# Using agent names for clarity
ax run Daisy "Analyze user behavior patterns"
# Daisy analyzes patterns โ Findings in memory
ax run Paris "Design features based on Daisy's analysis"
# Paris reads analysis โ Creates product spec
ax run Eric "Business case for Paris's proposal"
# Eric has analysis + spec โ Strategic evaluationResult: Data-driven decision making with complete context
๐ Multi-Agent Delegation
# Single command triggers automatic multi-agent coordination
ax run Paris "Build a user dashboard with real-time metrics"
# Paris analyzes and delegates automatically in its response:
# "I've designed the dashboard architecture:
#
# @Bob Please implement the REST API endpoints for user metrics
# @Frank Please create the React dashboard components
# @Steve Please review the data access security
#
# All specs are in my workspace."
# AutomatosX automatically:
# โ Bob implements backend API โ Saves to workspace
# โ Frank builds frontend UI โ Reads Bob's API spec
# โ Steve audits security โ Reviews both implementations
# โ Results aggregated โ Complete dashboard deliveredResult: One command orchestrates 4 agents with automatic coordination
Delegation Syntaxes:
@Bob Please implement this # Direct mention
DELEGATE TO Frank: Create the UI # Explicit syntax
Please ask Steve to audit this # Polite request
I need Daisy to analyze the data # Need expression๐ฏ Why Teams Choose AutomatosX
For Solo Developers
- Extend Claude Code with persistent memory
- Never repeat context - agents remember everything
- Coordinate complex tasks with multi-agent workflows
- 100% local - your data stays private
For Teams
- Shared knowledge base - export/import memory across team
- Consistent quality - agents learn from past work
- Faster onboarding - new members inherit team knowledge
- Audit trail - complete history of all decisions
For Claude Code Power Users
- Slash command integration -
/ax:agentfor instant access in Claude Code - Terminal-native - no context switching
- CLI-based - scriptable and automatable
- Zero latency - local memory = instant search
๐ ๏ธ Production-Ready
โ 1,259 tests passing (100% pass rate) โ TypeScript strict mode (zero errors) โ ~56% test coverage (comprehensive testing) โ 458KB bundle (99.9% smaller than v3.x) โ < 1ms memory search (62x faster than v3.x)
Performance Metrics
Memory Search: < 1ms (10,000 entries)
Bundle Size: 458KB (down from 340MB in v3.x)
Dependencies: 19 packages (down from 589 in v3.x)
Test Coverage: ~56% (1,259 tests passing, 100% pass rate)
Memory Cost: $0 (no API calls)Technology Stack
- Runtime: Node.js 20+
- Language: TypeScript 5.3 (strict mode)
- Memory: SQLite + FTS5 (built-in full-text search)
- Testing: Vitest 2.x (1,259 tests)
- Build: tsup/esbuild
- Providers: Claude CLI, Gemini CLI, Codex CLI (OpenAI)
๐ง Coming Soon
- Enhanced Claude Code integration
- Visual workflow builder
- Advanced memory analytics
- Cross-project knowledge sharing
- Plugin system for custom providers
๐ค Contributing
We welcome contributions! AutomatosX is built in the open.
- Contributing Guide - How to contribute
- Development Setup - Local setup
- Architecture Guide - Understand the codebase
Join the community:
- ๐ Report Issues
- ๐ก Feature Requests
๐ License
AutomatosX is Apache 2.0 licensed.
๐ Links
- ๐ฆ npm: @defai.digital/automatosx
- ๐ GitHub: defai-digital/automatosx
- ๐ Documentation: docs/
- โ FAQ: FAQ.md
- ๐ Releases: GitHub Releases
- ๐ Changelog: CHANGELOG.md
Transform Claude Code into an intelligent, coordinated team with AutomatosX. ๐
Built with โค๏ธ by the AutomatosX team