Skip to main content
← Guides

Multi-agent orchestration

Multi-agent orchestration

How multiple agents divide work, hand off, and merge results — and when not to go multi-agent at all.

What this guide covers

Multi-agent orchestration means having several agents divide up one job. The usual reasons to divide are three: the context does not fit, tasks can run in parallel, different stages need different expertise. The core question of orchestration is a single one: who takes the next step, and whose context travels with it.

This site explains mechanisms, not rankings. Every product mentioned links to its own dossier — the dossiers are the source of facts, this guide is the lens.

First, do you need multi-agent?

Most needs that "want multi-agent" are satisfied by a single agent with the right tools and prompt. LangGraph's official docs put this sentence at the top of the multi-agent page:

"However, not every complex task requires this approach— a single agent with the right (sometimes dynamic) tools and prompt can often achieve similar results."

When developers want multi-agent, what they usually really want is one of three capabilities: context management, parallelism, or multiple people developing separately. The latter two are good reasons; for the first, first confirm "the context genuinely does not fit", because the cost of splitting wrong is bigger than the cost of not splitting.

Four common shapes

LangGraph groups the market's multi-agent implementations into four patterns.

Subagents (a sub-agent as a tool): the main agent calls sub-agents as tools, all routing passes through the main agent, which decides when to call which. LangGraph and Google ADK both belong to this shape.

ADK official text: "ADK automatically generates weather_checker and flight_booker delegation tools" — after a coordinating agent declares SubAgents, delegation tools are named after each sub-agent. When a sub-agent finishes, control automatically returns to the coordinating agent.

Handoffs: the current agent transfers the whole conversation to the next agent. The official definition in the OpenAI Agents SDK is "Handoffs allow an agent to delegate tasks to another agent". To the model a handoff is a tool: the tool that transfers to the refund agent is called transfer_to_refund_agent.

CrewAI official text: under the hierarchical process, "Tasks are not pre-assigned; the manager allocates tasks to agents based on their capabilities, reviews outputs, and assesses task completion". The manager dispatches dynamically, reviews outputs, and judges completion — close to Anthropic's orchestrator-workers.

Router: one classification step sends the input to a specialized agent, then synthesizes the answer. It shares its roots with the routing pattern Anthropic describes: classify first, then take a specialized path.

Custom workflows: draw the orchestration as a graph, mixing determinism and agent behavior. Fits scenarios where the flow itself must be constrained by code — which step must be intercepted, which can run in parallel, written into the graph.

The four shapes compared:

ShapeWho decides the next stepContextTypical scenario
SubagentsThe main agentEach sub-agent sees only its assigned sliceTasks enumerable, want parallelism
HandoffsThe model choosesThe full history follows by defaultCustomer-service triage, specialization
RouterA classifierEach path separate, merged at the endInput categories are clear
Custom workflowCodePassed explicitly per the graphThe flow needs hard constraints

Whose context follows a handoff

This is the most overlooked, most accident-prone point in orchestration.

OpenAI official text: "the new agent takes over the conversation, and gets to see the entire previous conversation history". That is, when a handoff happens the full history follows by default. To change that, use an input_filter, or control the nesting of handoff history via run configuration.

ADK's collaboration modes add one more choice — a sub-agent can be configured in three modes:

  • chat (default): can go back and forth with the user.
  • task: can ask the user follow-ups, then automatically returns control when done.
  • single_turn: one turn, returns immediately when done.

The official docs specifically remind: this mode is for sub-agents only; do not set it on the root agent.

CrewAI's sequential process is the other pole: tasks run in list order, the previous task's output becomes the next one's context. Controllable, but not flexible enough.

Failure modes

Context balloons hop by hop. Each handoff carries the full history by default; after several hops the prompt is swollen by history and cost and latency rise together. The original point of splitting agents (saving context) is gone.

Overlapping or empty responsibilities. Two agents each assume the other owns something, or nobody picks something up. Anthropic's advice is to start simple: optimize the single call first, add multi-step systems only if it is not enough.

Errors compound. A single agent can retry in place; in multi-agent one wrong link poisons every later link, and it is harder to locate which link started it. Anthropic official text: "The autonomous nature of agents means higher costs, and the potential for compounding errors."

Choosing a shape

A decision order that is usually enough:

  1. Can a single agent with tools solve it? If yes, stop here.
  2. Can the task be cleanly cut into a fixed few steps? If yes, use a sequential flow (CrewAI sequential, Anthropic's prompt chaining).
  3. Are the inputs clearly categorized with large per-category differences? Use Router / routing.
  4. Are subtasks not enumerable in advance, needing dynamic decomposition? Use orchestrator-workers or Subagents.
  5. Do humans need to review key nodes? Add human checkpoints inside a custom workflow.

Splitting wrong costs more than not splitting. Before splitting, think through: what each agent's own context should contain — and what it should not.

Sources

SourceURL
LangGraph official docs · Multi-agent (direct fetch 200 on 2026-10-30)https://docs.langchain.com/oss/python/langchain/multi-agent
OpenAI Agents SDK official docs · Handoffs (direct fetch 200 on 2026-10-30)https://openai.github.io/openai-agents-python/handoffs/
Google ADK official docs · Collaborative workflows (direct fetch 200 on 2026-10-30)https://adk.dev/workflows/collaboration/
CrewAI official docs · Processes (direct fetch 200 on 2026-10-30)https://docs.crewai.com/en/concepts/processes
Anthropic engineering blog · Building effective agents (official page verified via WebFetch on 2026-10-30)https://www.anthropic.com/engineering/building-effective-agents

Source snapshot: 2026-10-30; item-specific rechecks and their scope are recorded in the text or source notes. Features and terms may change; check the original sources before use.