Lead agent (orchestrator)
The agent that makes the plan, hands out the work and writes the final answer.
What it is
A lead agent reads the request, plans, splits the work into sub-tasks, starts subagents, collects their results and synthesises the answer. It decides whether more work is needed.
When to use it
- Tasks that split into parts that can run at the same time
- Information that won't fit in one context window
When to skip it
- Tightly coupled tasks where every part depends on decisions in the others: one agent with full context does better
Why (the trade-off)
It turns one long sequential job into many short parallel ones. Anthropic's lead-plus-subagents setup beat a single agent by 90.2% on its internal research eval.
Where it sits
Control layer, at the top: it owns the plan and the final answer.
What it needs first
- Agent loopthe lead is itself an agent loop that can call tools, including "start a subagent"
What can be added to it
- builds on itParallel subagentsParallel subagents needs it: something has to split the work and start them
- builds on itTask briefsTask briefs needs it: the lead writes the briefs
- builds on itEffort scaling (fan-out limits)Effort scaling (fan-out limits) needs it: it limits what the lead may start
- pairs withShared memory (plan and notes)keep the plan outside the context window
Effect of adding it
- cost ↑
- latency ↑
- reliability ↑
- safety —
Learn first (AI Engineering)
depth 4+1 production note with numbers.