chart/AgenticOrgChart.com
menu
Pattern 03 / orchestrator-workers

Supervisor Pattern: Orchestrator and Workers (2026)

One supervisor agent decomposes a goal and dispatches sub-tasks to specialised worker agents, then aggregates their results. Defined in Anthropic’s December 2024 paper as the orchestrator-workers pattern. LangChain documents the same shape as the subagents pattern: a main agent that calls each worker as a tool.

Supervisor (orchestrator-workers) topologyA supervisor agent decomposes a goal supplied by a human, dispatches sub-tasks to three specialised worker agents, and aggregates the results. The pattern is documented in Anthropic's Building Effective Agents (December 2024) and by LangChain as the subagents pattern.Humangoal inSupervisororchestratorWorker 1searchWorker 2analysisWorker 3writerrouteaggregate
Supervisor (orchestrator-workers) topology. A supervisor agent receives the goal, decomposes it into sub-tasks, dispatches each sub-task to a specialised worker, and aggregates the results into a final response.Pattern documented in: Anthropic, “Building Effective Agents” (Schluntz and Zhang, December 2024) anthropic.com/engineering/building-effective-agents; LangChain subagents documentation docs.langchain.com/oss/python/langchain/multi-agent/subagents. Accessed 4 October 2026.

The orchestrator-workers pattern (Anthropic, December 2024)

Anthropic’s engineering essay names orchestrator-workers as the fourth of five workflow patterns, after prompt chaining, routing, and parallelisation, and before evaluator-optimiser. It does not rank them: the essay presents them as building blocks that are “not prescriptive” and that developers “shape and combine to fit different use cases”, along a spectrum of increasing complexity. The orchestrator is the agent with the goal and the routing logic. The workers are specialised by tool, role, or domain. The orchestrator decomposes the goal, calls the right worker for each sub-task, and synthesises the workers’ outputs into a coherent response.

The shape generalises a familiar pattern from human team structure: a project lead who dispatches work to specialists and integrates their outputs. The corresponding org chart has the supervisor at the top with reporting lines down to each worker.

Anthropic’s essay treats the orchestrator-workers topology as a deliberate complexity choice, not a default. The bar for moving from a single agent to an orchestrator-workers topology is a measurable failure mode in the simpler shape: context-window pressure, role conflict in the system prompt, or a cost-versus-latency profile that benefits from worker parallelism.

How LangChain documents the pattern today

LangChain documents this shape as the subagents pattern. Its wording: “In the subagents architecture, a central main agent (often referred to as a supervisor) coordinates subagents by calling them as tools.” The worker is wrapped as a tool function; the main agent’s tool-call is the dispatch, and the tool’s return value is the worker’s result. Reference: docs.langchain.com/oss/python/langchain/multi-agent/subagents. Access date: 4 October 2026.

Readers following older write-ups will find a standalone langgraph-supervisor package and a create_supervisor helper. That package is no longer current: LangChain describes it as “no longer actively maintained” and publishes a migration guide pointing at the subagents pattern, replacing create_supervisor with a create_agent main agent whose tools wrap each worker. The package repository was archived on GitHub (last commit July 2026). Sources: docs.langchain.com/oss/python/migrate/langgraph-supervisor and github.com/langchain-ai/langgraph-supervisor-py. Both checked 4 October 2026.

The pattern itself is unaffected by the packaging change. What moved is the recommended implementation route, not the topology: a single accountable orchestrator dispatching to specialised workers is still the shape, and it is still the foundation of the hierarchical topology (a supervisor whose workers are themselves supervisors).

Routing variants

The three-way split below is this site’s own taxonomy, not a framework’s. It is offered because the routing mechanism is the decision an architect actually makes, and the published docs describe the mechanisms without grouping them. Each variant is linked to the place it is documented.

Three routing variants in supervisor patternsThree side-by-side topologies: a static (rule-based) router, an LLM-judged router, and a tool-based router that routes by which tool the supervisor calls.Static routingdeterministic ruleSupervisorW1W2W3LLM-judgedsupervisor's LLM picksSupervisorW1W2W3Tool-basedtool call selects workerSupervisorW1W2W3tool=W*
Three routing variants in supervisor patterns. Static routing uses a deterministic rule. LLM-judged routing uses the supervisor’s LLM to pick the next worker. Tool-based routing represents each worker as a callable tool, and the supervisor’s tool-call selects the worker.Grouping is this site’s own. Underlying mechanisms documented in: LangChain workflows and agents (routing by structured output) docs.langchain.com/oss/python/langgraph/workflows-agents; LangChain handoffs (tools as handoffs) docs.langchain.com/oss/python/langchain/multi-agent/handoffs; Anthropic, “Building Effective Agents” (December 2024). Accessed 4 October 2026.

Static routing

The supervisor uses a deterministic rule to select the worker. Examples: a router that dispatches based on the input’s detected language, or a router that always sends document-extraction tasks to a single specialist worker. Static routing is fast, predictable, and cheap; it is the right choice when the dispatch logic is genuinely deterministic. There is no framework primitive for this because there does not need to be: it is ordinary conditional code around the worker calls.

LLM-judged routing

The supervisor’s LLM reads the input and picks the next worker based on its own reasoning. LangChain documents the mechanism in its routing workflow, where the routing decision is produced as structured output and then used to select the downstream step. The cost is two LLM calls per dispatch (one for the routing decision, one for the worker’s execution). The benefit is flexibility: the supervisor can route across cases that no static rule covers cleanly.

Tool-based routing

Each worker is exposed to the supervisor as a callable tool. The supervisor’s tool-call directly selects the worker, with the call arguments framing the sub-task. This compresses the routing into the standard tool-use loop that the underlying model already optimises for, and it is the mechanism LangChain now documents for both subagents and handoffs.

When the supervisor pattern is the right shape

When the work is genuinely separable into specialised roles. If three roles can be cleanly named (researcher, writer, reviewer) with non-overlapping system prompts and tool surfaces, the supervisor pattern earns its keep.

When you need a single accountable orchestrator for cost, latency, and audit. The supervisor is the chokepoint where logging, rate limiting, and policy enforcement happen. In an enterprise audit context, having one orchestrator that records every routing decision is structurally easier than auditing peer multi-agent state.

Common failure modes

Supervisor over-routes to one worker. When the routing prompt is ambiguous or one worker is the “safe” default in the prompt, the supervisor sends nearly everything to that worker. The remedy is to constrain the routing prompt and add evals that check the routing distribution.

Worker output mismatch. Workers that return inconsistent shapes (one returns prose, another returns JSON, a third returns markdown) make aggregation brittle. The remedy is a typed output schema enforced at the worker boundary.

Aggregation drift. The supervisor’s aggregator can hallucinate a synthesis that misrepresents what the workers said, especially when worker outputs are long. The remedy is to keep aggregation extractive (cite the worker output verbatim) where the use case allows.

Reference example

LangChain supervisor with handoffsThe subagents shape as LangChain documents it: a supervisor node routes work to one of several workers by calling it as a tool or emitting a handoff. Workers may hand back to the supervisor or terminate.Supervisor nodehandoff(next)Researchersubgraphtools: searchCodersubgraphtools: REPLReviewersubgraphtools: lint, evalEND (terminate)
LangChain supervisor with handoffs. The supervisor node routes to one of three workers (researcher, coder, reviewer) and the workers can hand back to the supervisor or terminate.Source: LangChain subagents documentation docs.langchain.com/oss/python/langchain/multi-agent/subagents; LangChain handoffs docs.langchain.com/oss/python/langchain/multi-agent/handoffs. Accessed 4 October 2026.

Related on this site

For the engineering reference behind the supervisor pattern, see buildingeffectiveagents.com. For the process-flow view, see agenticswimlanes.com.