Parallel Agent Execution
agentful runs multiple agents in parallel by auto-enabling Claude Code's TeammateTool, reducing build time by 3-5x.
How It Works
On first run, agentful automatically:
- Detects Claude Code installation
- Patches TeammateTool gate function (creates backup)
- Enables parallel agent execution
You don't need to do anything - it just works.
// Orchestrator spawns 3 agents simultaneously
Task("backend", "Implement auth API");
Task("frontend", "Create login UI");
Task("tester", "Write tests");
// All 3 run at the same timeExample: Building Auth Feature
🚀 Parallel (6 min)
backend API
frontend UI
tester Tests
reviewer
0min5min10min15min
🐌 Sequential (15 min)
backend API
frontend UI
tester Tests
0min5min10min15min
Result: Parallel is 2.5x faster (6 min vs 15 min)
Task Independence
Tasks must be independent to run in parallel:
✅ Safe:
Task("backend", "src/api/auth.ts");
Task("frontend", "src/pages/Login.tsx");
// Different files, no conflicts❌ Unsafe:
Task("backend", "Implement auth API");
Task("frontend", "Use auth API"); // Needs backend first!Manual Control
Check status:
node lib/parallel-execution.js capabilitiesForce enable:
node lib/parallel-execution.js enable