← Dual-Axis Framework  ·  Pattern reference

Hierarchical Delegation

Collaboration × Hierarchy

A manager agent decomposes the task and dispatches workers; workers stay isolated; failure stays local; the manager re-plans on failure.

Chain
Route
Parallel
Orchestrate
Loop
Hierarchy
Collaboration
Handoff Chain
Fan-Out / Gather
Adversarial Review
Hierarchical Delegation

Why this pattern exists

A single agent cannot do everything for two reasons. The first is bandwidth: one model context cannot hold an entire enterprise workflow — you cannot fit a full security audit, a full legal review, and a full pricing analysis into the same 200K-token window without losing fidelity in each. The second is accountability: when something goes wrong, you need to know which decision went wrong, not just the agent went wrong. Hierarchical Delegation answers both: the manager agent owns the plan and the verdict, but the actual work happens in isolated workers, each with its own context, its own tools, its own failure boundary.

For leadership: this is the pattern that lets agent-based work scale beyond a single specialist. It is also the pattern that introduces real organizational risk — multi-agent systems can multiply cost and amplify failure in ways single agents cannot. Gartner’s 2025 projection that 40% of multi-agent projects would be cancelled by 2027 is not a prediction about the model layer; it is a prediction about teams skipping the isolation discipline this pattern enforces. Get Hierarchical Delegation right and one agent becomes a team. Get it wrong and you have an N-agent system that is worse than each agent alone.

The agent-design problem it solves

Hierarchical Delegation organizes multi-agent work along four axes the simpler topologies do not:

  1. Task decomposition — the manager owns the breakdown into sub-tasks. Workers do not see the original task; they see only their slice.
  2. Sub-agent isolation — each worker has its own context, its own tool set, its own permissions. Worker A cannot read worker B’s scratchpad. This is bulkhead isolation in agent form.
  3. Result synthesis — workers return structured outputs to the manager; the manager composes the final answer. Token cost does not multiply because workers do not share context.
  4. Failure escalation — when a worker fails, the manager decides: retry with a different worker, re-plan the decomposition, or escalate to a human. Failure is bounded by design.

The distinguishing structural choice is that this is Hierarchy, not Orchestrate. Orchestrate (e.g., Plan-and-Execute) is one-deep: one orchestrator, many workers, all visible. Hierarchy is multi-deep: manager dispatches sub-managers that dispatch workers. The recursion is the point. A research agent runs three sub-research agents, each of which runs five summarizer workers. The manager need not know that depth exists.

Deep thinking direction

The deepest failure mode of Hierarchical Delegation is what I call context bleed: when the worker, lacking the manager’s context, makes a locally-good decision that is globally wrong. The legal-review worker correctly flags a clause as risky. But it did not know that the customer is the company’s strategic partner, that this clause has been accepted in three prior contracts, that the risk is already mitigated by an external insurance arrangement. Locally right, globally wrong. The cure is not to remove isolation (then the worker drowns in context) but to enrich the manager’s sub-task brief: give the worker enough situational scaffolding without dumping the whole world.

Three more failure modes recur. Token Explosion: the manager copies its full context into every sub-task, multiplying token cost by N. The discipline is structured sub-task briefs — minimal scaffolding plus task spec, never the whole upstream context. Synthesis Drift: the manager assembles worker outputs but lets style or vocabulary drift across slices, producing a final answer that reads like four people wrote it. The discipline is a normalization pass owned by the manager. Escalation Paralysis: workers escalate too readily, the manager queues build up, throughput collapses. The discipline is explicit retry budgets at each level.

The architectural insight is that Hierarchical Delegation is the Erlang/OTP supervisor tree pattern reborn in agent form. Erlang’s 1986 contribution — processes that may fail, supervisors that decide how to restart, isolation by default — is exactly the wiring this pattern needs. The medium changed from BIFs to LLM calls; the supervision tree did not.

Engineering blog posts — curated

Latest paper progress (arXiv)

Where this pattern is developed

  • Manning bookDesigning AI Agents, Chapter 8 §8.1 (Collaboration / Hierarchical Delegation).
  • PaperHuang & Zhou (2026), §4.6 Pattern 6.