1:1 mentoring with Big Tech AI engineers
LLM & Agentic

Hierarchical Delegation

Hierarchical delegation pattern for multi-agent systems: orchestrating specialized agents with a coordinator for complex tasks.

Last updated

Staff8 min readFirst readThe Agent Loop

After this section you can

  • Design the delegation contract between an orchestrator and its specialists — the real API of a multi-agent system
  • Tell orchestrator, planner, and router apart instead of conflating them
  • Recognise the coordination failure modes and the anti-patterns that cause them
15

Hierarchical Delegation: Multi-Agent Teams

An orchestrator agent decomposes the mission and delegates to specialists — each with its own context window, tools, and model tier. The pattern behind Claude’s Research mode, and the most expensive way to be right.

THE CENTRAL IDEA

A single agent eventually hits three ceilings: the context ceiling (one window must hold research, code, and review at once), the focus ceiling (a prompt juggling six roles does all of them worse), and the tool ceiling (forty tool schemas confuse selection). Hierarchical delegation splits the job like an engineering org: an orchestrator owns the mission, decomposition, and synthesis; specialists own one competency each, with only the tools and context that competency needs. The win is not intelligence — it is isolation. The cost is coordination, and it is never free.

The team shape — one decision-maker, isolated specialists, structured handoffs
User request “audit our auth flow” ORCHESTRATOR decompose · delegate · track synthesize · own the answer RESEARCH specialist tools: web_search · read_docs model: fast & cheap tier fresh context window CODE specialist tools: read_repo · run_tests model: strongest tier fresh context window REVIEW specialist tools: lint · policy_check model: mid tier fresh context window task brief + tool budget results converge Synthesized answer conflicts resolved by orchestrator specialists run in parallel · they never talk to each other · every decision lives in the orchestrator

Related

More in LLM & Agentic

Get full access to all 74+ sections with code examples, diagrams, and interactive animations.

Unlock Premium