Multi-agent software development orchestration system with built-in quality assurance, skill evolution, and memory consolidation.
SwarmX coordinates specialized AI agents to collaborate on software development tasks. It provides:
- Agent Orchestration: Centralized task coordination via Conductor agent
- Skill System: Event-triggered skill invocation with evolution
- Quality Assurance: File ownership enforcement and code review workflows
- Intelligence: Episode logging and skill improvement tracking
┌─────────────────────────────────────────────────────────────┐
│ Orchestration Pool │
│ Conductor │ Spec │ Architect │ Reflection │ ... │
└──────────────────────────────┬──────────────────────────────┘
│ assigns tasks
▼
┌─────────────────────────────────────────────────────────────┐
│ Execution Pool │
│ Backend │ Frontend │ DevOps │ │
└──────────────────────────────┬──────────────────────────────┘
│ results
▼
┌─────────────────────────────────────────────────────────────┐
│ Assurance Pool │
│ Arbiter │ Skill Evolver │ │
└─────────────────────────────────────────────────────────────┘
| Crate | Description |
|---|---|
swx-core |
Shared types, ID generation, task management |
swx-actors |
Actor-based message handling |
swx-store |
Persistent storage |
swx-sandbox |
Isolated execution environment |
swx-llm |
LLM gateway |
swx-git |
Git operations |
swx-github |
GitHub API integration |
swx-memory |
Long-term memory |
swx-intel |
Intelligence and evolution |
swxd |
HTTP API server |
# Build the project
cargo build --workspace
# Run tests
cargo test --workspace
# Start the API server
cargo run --bin swxdAgents are specialized AI workers assigned to specific tasks:
- Orchestration Pool: Conductor, Spec, Architect, Reflection, etc.
- Execution Pool: Backend, Frontend, DevOps, Data, Security
- Assurance Pool: Arbiter, Skill Evolver, etc.
Tasks are work items with:
- Priority (Critical, High, Normal, Low)
- State (Pending → Completed)
- Parent/child relationships (epics)
- Context tags for categorization
Skills are reusable workflows triggered by events:
| Trigger | Skill |
|---|---|
| CodeChanged | code-change-verification |
| TestFailure | test-failure-analysis |
| DependencyAdded | dependency-review |
The Intel system evolves skills based on usage:
- Log successful task completions as episodes
- Propose skill improvements
- Apply changes with appropriate safety tier
- Add
AgentIdvariant incrates/swx-core/src/agent.rs - Assign to appropriate
AgentPool - Implement message handling in
swx-actors
- Create skill definition in
crates/swx-core/src/skill.rs - Add trigger mapping
- Implement skill scripts
cargo new crates/swx-new-crateAdd to workspace in Cargo.toml.
MIT