Multi-Agent Orchestration
Build entire SaaS platforms by coordinating specialist agents with the /orchestrate workflow.
Overview
Most AI interactions are 1-on-1. The orchestrator agent changes this by acting as a Project Manager.
It breaks down a large request (e.g., "Build a SaaS MVP") into tasks and assigns them to the best specialist for the job.
The Process
Project Brief
Describe the high-level goal. The orchestrator will interview you to clarify requirements.
/orchestrate Build a "Course Platform" MVP with:
- User Authentication (NextAuth)
- Stripe Payments
- Video Hosting (Mux)
- Dashboard for InstructorsPhase 1: Planning
The project-planner agent creates a detailed roadmap ({task-slug}.md in the project root).
Phase 2: Execution
Agents work in parallel. The Orchestrator monitors progress and unblocks dependencies.
Example Session
▸Activating Squad...
Assigning tasks based on the {task-slug}.md plan:
▸✅ Project Complete!
All tasks finished. Run npm run dev to start.
Pro Tips
Start Small
Don't try to build Facebook in one go. Orchestrate an MVP first, then use /enhance to iterate.
Define Auth
Always specify how users log in (e.g., "Use NextAuth with GitHub"). It's a key architectural decision.
Next Steps
- Learn about Systematic Debugging to maintain your complex app
- See Deployment to ship your MVP