# agent-team-orchestration
Agent Team Orchestration Production playbook for running multi-agent teams with clear roles, structured task flow, and quality gates. Quick Start: Minimal 2-Agent Team A builder and a reviewer. The simplest useful team.
Rules:
Orchestrator owns state transitions β don't rely on agents to update their own status Every transition gets a comment (who, what, why) Failed is a valid end state β capture why and move on β Read references/task-lifecycle.md when designing task flows or debugging stuck tasks. Handoffs When work passes between agents, the handoff message includes: What was done β summary of changes/output Where artifacts are β exact file paths How to verify β test commands or acceptance criteria Known issues β anything incomplete or risky What's next β clear next action for the receiving agent Bad handoff: "Done, check the files."
Good handoff: "Built auth module at /shared/artifacts/auth/. Run npm test auth to verify. Known issue: rate limiting not implemented yet. Next: reviewer checks error handling edge cases."
Reviews Cross-role reviews prevent quality drift: Builders review specs β "Is this feasible? What's missing?" Reviewers check builds β "Does this match the spec? Edge cases?" Orchestrator reviews priorities β "Is this the right work right now?" Skip the review step and quality degrades within 3-5 tasks. Every time. β Read references/communication.md when setting up agent communication channels. β Read references/patterns.md for proven multi-step workflows. Reference Files FileRead when...team-setup.mdDefining agents, roles, models, workspacestask-lifecycle.mdDesigning task states, transitions, commentscommunication.mdSetting up async/sync communication, artifact pathspatterns.mdImplementing specific workflows (specβbuildβtest, parallel research, escalation) Common Pitfalls Spawning without clear artifact output paths Agent produces great work, but you can't find it. Always specify the exact output path in the spawn prompt. Use a shared artifacts directory with predictable structure. No review step = quality drift "It's a small change, skip review." Do this three times and you have compounding errors. Every artifact gets at least one set of eyes that didn't produce it. Agents not commenting on task progress Silent agents create coordination blind spots. Require comments at: start, blocker, handoff, completion. If an agent goes silent, assume it's stuck. Not verifying agent capabilities before assigning Assigning browser-based testing to an agent without browser access. Assigning image work to a text-only model. Check capabilities before routing. Orchestrator doing execution work The orchestrator routes and tracks β it doesn't build. The moment you start "just quickly doing this one thing," you've lost oversight of the rest of the team. When NOT to Use This Skill Single-agent setups β Just follow standard AGENTS.md conventions. Team orchestration adds overhead that solo agents don't need. One-off task delegation β Use sessions_spawn directly. This skill is for sustained workflows with multiple handoffs. Simple question routing β If you're just forwarding a question to a specialist, that's a message, not a workflow. This skill is for sustained team workflows β recurring collaboration patterns where agents depend on each other's output over multiple tasks.
Join 80,000+ one-person companies automating with AI