What problem does it solve?
It eliminates slow, error-prone single-agent work by coordinating multiple agents to process many subtasks in parallel while safely dividing ownership of work items.
Core Features & Use Cases
- SQLite atomic task claiming: Multiple agents draw from the same pool with race-condition-free, transactional claiming.
- Fault-tolerant execution: Lease-based ownership with heartbeat monitoring and automatic recovery of stale claims.
- Progress visibility: Tracks pending/claimed/done/failed counts and which agent owns which task, producing a clear final summary.
Use Case Examples:
- Fixing many files concurrently (e.g., TypeScript type errors) with executor agents.
- Implementing UI work across components in parallel with designers.
- Reviewing multiple API endpoints simultaneously with specialist reviewers.
Quick Start
Provide the command /swarm 5:executor "fix all TypeScript errors" to spawn five coordinated executors that claim and work through the decomposed file-level subtasks.