Multi-agent
What is Orchestrator?
An orchestrator is the role that routes tasks, validates handoffs, and stops the run.
It may be implemented as one agent or as deterministic code wrapping several agents.
Why it matters
An orchestrator is the role that routes tasks, validates handoffs, and stops the run. It may be implemented as one agent with routing logic, or as deterministic code that calls specialist agents.
The orchestrator's key responsibility is owning the global stop condition. Workers execute tasks; the orchestrator decides when the overall job is done.
Key takeaways
- 1The orchestrator owns routing, validation, and the global stop condition.
- 2It can be an agent or deterministic code.
- 3Workers should not each invent their own stop policy.
Common mistakes
- ✕Building an orchestrator that is too complex to debug.
- ✕Not giving the orchestrator visibility into worker failures.
Related terms
Concept neighborhood
Terms linked from Orchestrator in the glossary graph.
- Orchestrator
- Orchestration
- Supervisor Agent
- Router Agent