| Approach | Use it when | Built into |
|---|---|---|
| Orchestrator-worker | The job splits into independent parts | OpenAI Agents SDK agents as tools, Google ADK coordinator, n8n AI Agent Tool |
| Sequential | Steps always run in the same order | CrewAI sequential process, Microsoft Agent Framework, BetterClaw workflows |
| Hierarchical | One manager has too many workers to route well | Google ADK multi-level sub-agents, nested n8n agent tools |
| Shared state | Several agents build one result together | LangGraph state, Google ADK session state, Agent Framework group chat |
| Handoffs (the move between agents) | A specialist should take over the conversation | OpenAI Agents SDK handoffs, Agent Framework handoff |
Checked 16 November 2026.
Picture this: five agents on a whiteboard. A researcher, a writer, a fact-checker, an editor and a manager to keep them in line.
It looks like a team. Then someone asks the awkward question.
What happens when the researcher comes back with nothing?
That question, not the boxes, is orchestration.
What AI agent orchestration actually decides
Every multi-agent system makes the same five decisions, whether you write them down or not:
- Who works on each piece of the job.
- In what order, and what can run at the same time.
- What context each agent sees, and what it hands back.
- What happens when one agent fails or returns junk.
- Where a person approves before anything leaves the building.
LangChain's multi-agent docs single out the third one as the centre of the whole design: deciding what information each agent sees. Get it wrong and your agents either drown in context or work blind.
There are two ways to make those decisions. The OpenAI Agents SDK docs split them cleanly: let the LLM plan and delegate, or orchestrate in code with fixed chains, loops and parallel runs. Code is more predictable on speed, cost and performance, the LLM copes better with open-ended work, and most real systems mix the two.
One more distinction saves a lot of confusion. LangChain separates a supervisor, a full agent that keeps the conversation's context and decides which subagents to call across turns, from a router, a single classification step that dispatches and forgets. A router is the cheapest orchestration you can build.
If you're still pinning down what an AI agent is, start there. This guide assumes you have one agent working and you're deciding whether multi-agent orchestration is worth adding.
Microsoft's Agent Framework overview says it best: "If you can write a function to handle the task, do that instead of using an AI agent." The same goes for adding a second agent.
The 4 AI agent orchestration approaches, and when each one fits
Almost every system you'll meet is one of four structures, or a mix of them. Handoffs aren't a fifth structure. They're the move that passes control from one agent to another, and they turn up inside all four.
1. Orchestrator-worker (also called supervisor)
A lead agent breaks the job into parts, sends each part to a worker agent, and combines what comes back. Workers never talk to each other or to the user: everything routes through the lead.
This is how Anthropic built Claude's Research feature, with a lead agent that plans the research and hands pieces to subagents searching in parallel. In Anthropic's internal research eval, a Claude Opus 4 lead with Claude Sonnet 4 subagents outperformed single-agent Claude Opus 4 by 90.2%, according to its June 2025 engineering write-up.

Use it when:
- the job splits into parts that don't depend on each other (one per competitor, per file, per region);
- you want one agent to own the final answer and its tone;
- speed matters and the parts can run at the same time.
Skip it when the parts need each other's working. Anthropic's write-up says domains where every agent needs the same context, or with many dependencies between agents, are not a good fit for multi-agent systems today, and that most coding tasks have fewer truly parallel parts than research.
The bill is the catch. In Anthropic's data, agents use about 4 times the tokens of a chat, and multi-agent systems about 15 times. LangChain's docs show the overhead even on a tiny request: a one-shot task takes 4 model calls with subagents against 3 with a router or a handoff, because every result flows back through the main agent.
Most orchestrator-worker failures come from vague briefs, not weak models. Anthropic found each subagent needs an objective, an output format, guidance on tools and sources, and clear task boundaries; without them, agents duplicate work or leave gaps.
Built in: Agent.as_tool() in the OpenAI Agents SDK, subagents in LangChain, a coordinator with sub_agents in Google ADK, the AI Agent Tool node in n8n, and subagents in the Claude Agent SDK.
Orchestrator-worker buys speed and breadth with tokens. It pays off when the parts are independent and the answer is worth more than the bill.
2. Sequential (a pipeline)
Agents run in a fixed order, and each one's output becomes the next one's input: extract, check, write, review. CrewAI's docs describe its sequential process exactly like that, with each task's output serving as context for the next.

Use it when:
- the steps happen in the same order every time;
- each step has a clear input and output you can test on its own;
- a failed check should stop the line before anything is sent.
The weakness is the same as any assembly line. It's only as fast as its slowest step, and a failure halts everything after it; the Strands Agents docs say it plainly about their workflow tool, where a failure in one task halts all downstream dependent tasks.
Built in: CrewAI's Process.sequential, Microsoft Agent Framework's sequential orchestration, LangGraph edges, and BetterClaw workflows, whose sections run in order, top to bottom. Google ADK's SequentialAgent still runs, but ADK's docs now mark it deprecated in Python and TypeScript and point new code to graph-based workflows.
A pipeline is also the easiest structure to debug, which is why we'd start most business automations here.
3. Hierarchical (managers of managers)
A top agent delegates to a few team leads, and each lead runs its own workers. Results flow back up the tree. Google ADK's docs call this hierarchical task decomposition: a multi-level parent and sub-agent structure where results return up the hierarchy.

Use it when:
- one supervisor has too many workers or tools to choose between well;
- the work maps to departments that different people maintain;
- each branch needs its own permissions and context.
Here's the thing: depth multiplies everything, from cost and latency to the number of places a run can break. The Claude Agent SDK docs warn that because a subagent can spawn subagents of its own, one prompt can grow into a tree of agents. Its defaults allow 3 layers below your main agent and 20 subagents running at once, and spend has no limit unless you set max_budget_usd.
One naming trap. CrewAI's Process.hierarchical is a single manager, set with manager_llm or manager_agent, that assigns and reviews tasks across a crew, which is orchestrator-worker by our definition. Real hierarchy means the workers have workers.
Built in: multi-level sub_agents in Google ADK, nested AI Agent Tool nodes in n8n (its docs say you can nest them into multiple layers), a whole multi-agent system embedded as one node in LangGraph, and nested subagents in the Claude Agent SDK, which our Claude Agent SDK vs LangGraph comparison puts side by side.
4. Shared state (the blackboard)
Agents don't message each other at all. They read from and write to one shared record, the blackboard, and a controller or a set of rules decides who acts next. Each agent sees what the others found without anyone passing notes.
This is closer to how today's frameworks work than the old name suggests. LangGraph's docs describe workflows as graphs of shared state, nodes and edges, and Google ADK's docs call session state the primary data-sharing mechanism for its prebuilt workflow agents. In Microsoft Agent Framework's group chat, all agents see the full conversation history.

Use it when:
- several specialists build one result a piece at a time;
- later steps need earlier findings, not only the last output;
- you want the state itself as a record of the run.
Watch two things. State bloats, and ADK's docs warn against keeping large data in state and point you to artifacts instead. Shared context also means shared noise, so give each agent a defined slice to read and write.
Built in: LangGraph state, ADK session state, Agent Framework's group chat and its Magentic orchestration (whose manager keeps a shared context and tracks progress), the per-run shared state in Strands Agents' Graph and Swarm, and CrewAI Flows. BetterClaw workflows add a contract line to every step that lists exactly what it reads and writes. For how the best-known frameworks differ beyond state, see our LangGraph vs CrewAI vs AutoGen comparison.
Handoffs: how control moves between agents
A handoff passes the conversation to a specialist, who takes over and answers the user directly. In the OpenAI Agents SDK, handoffs are presented to the model as tools, so a handoff to a refund agent becomes a tool named transfer_to_refund_agent. LangChain's docs credit OpenAI with coining the term.
The difference from orchestrator-worker is ownership. Microsoft's Agent Framework docs lay it out: after a handoff the receiving agent owns the task and there's no central authority, while with agents as tools the primary agent keeps responsibility and control comes back to it.

Agent Framework builds its handoff orchestration as a mesh, with agents connected directly and no orchestrator in the middle. In microservice language that's choreography rather than orchestration: no conductor, only agents that know who to pass to.
Use handoffs when:
- the first job is routing (support desks, intake, triage);
- the specialist should talk to the user directly;
- you want each specialist's prompt and tools kept narrow.
LangChain's call counts favour handoffs for single and repeat requests: 3 model calls for a one-shot task, and stateful designs such as handoffs save 40 to 50% of calls on a repeat request. They lose on questions that span several domains: 7 or more calls and about 14,000 tokens, against 5 calls and about 9,000 tokens with subagents working in parallel.
A handoff is also the natural place for permissions to change: the refund agent can issue refunds, and triage can't. Our AI agent security guide covers how to scope what each agent can touch.
AI agent orchestration frameworks and platforms compared
We checked every name, version and licence below on the project's own docs, release notes or package registry on 16 November 2026. Most of these ship every week, so treat the versions as a snapshot.
| Framework | Latest version (release date) | Licence | Orchestration built in | Best fit |
|---|---|---|---|---|
| LangGraph | 1.2.22 (14 Nov 2026) | MIT | Graphs of shared state, subgraphs, checkpoints, human-in-the-loop | Explicit control over state and flow |
| CrewAI | 1.15.41 (12 Nov 2026) | MIT | Crews with a sequential or manager-led process, inside stateful Flows | Role-based teams of agents |
| Microsoft Agent Framework | Python 1.26.0 (12 Nov 2026), .NET 1.28.0 (6 Nov 2026) | MIT | Sequential, Concurrent, Handoff, Group Chat, Magentic | .NET and Azure teams, and anyone leaving AutoGen |
| OpenAI Agents SDK | 0.24.0 (15 Oct 2026) | MIT | Agents as tools, handoffs, guardrails, tracing | The shortest path to handoffs in Python |
| Google ADK | 2.14.1 (12 Nov 2026) | Apache 2.0 | Graph, dynamic and collaborative workflows, session state | Python, TypeScript, Go, Java or Kotlin teams |
| Strands Agents on AWS AgentCore | Strands 1.65.0 (13 Nov 2026) | Apache 2.0 | Agents as tools, Swarm, Graph, Workflow, A2A | AWS shops, now that Bedrock Agents is closed to new customers |
| Claude Agent SDK | Python 0.2.182 (13 Nov 2026) | MIT repo; use under Anthropic's Commercial Terms | Subagents with caps on depth, concurrency and spend | Claude Code's agent loop as a library |
| n8n | 2.48.4 stable (13 Nov 2026) | Sustainable Use License (fair-code) | AI Agent node plus nestable AI Agent Tool nodes | Visual, rule-based workflows with AI steps |
Checked 16 November 2026.
Three changes that older comparisons miss:
- AutoGen is archived. Its README says Microsoft provides no bug fixes, security fixes, new features or support, and points new users to Microsoft Agent Framework, which calls itself the direct successor to AutoGen and Semantic Kernel. The last AutoGen release, 0.7.5, shipped on 30 September 2025.
- Amazon Bedrock Agents is now Bedrock Agents Classic, closed to new customers from 30 July 2026, multi-agent collaboration included. AWS recommends Bedrock AgentCore, whose runtime runs CrewAI, LangGraph, LlamaIndex, Google ADK, the OpenAI Agents SDK and Strands Agents.
- Google ADK 2.x moved to graph-based, dynamic and collaborative workflows. The old Sequential, Parallel and Loop agents now print a deprecation warning in Python and TypeScript.
If AWS is home, our Bedrock AgentCore pricing breakdown covers what running agents there costs.
Two more notes the table can't hold. The OpenAI Agents SDK isn't locked to OpenAI models: its docs list third-party adapters for other providers, marked beta. And every framework here except n8n is code-first, so hosting, retries, secrets and monitoring are yours to run unless you pay for a managed layer such as LangSmith, CrewAI AMP or AgentCore.
A minimal AI agent orchestration example in Python
Here's orchestrator-worker in about 40 lines, built only from calls shown in the OpenAI Agents SDK docs for version 0.24.0: Agent, Runner.run, Agent.as_tool() and the hosted WebSearchTool. The company names are made up.
pip install openai-agents
export OPENAI_API_KEY=sk-...
import asyncio
from agents import Agent, Runner, WebSearchTool
researcher = Agent(
name="Pricing researcher",
instructions="You look up one company's current public pricing and summarise it in three bullet points.",
tools=[WebSearchTool()],
)
writer = Agent(
name="Brief writer",
instructions="You turn research notes into a short competitor brief: one line per company, then one line on what changed.",
)
orchestrator = Agent(
name="orchestrator_agent",
instructions=(
"You produce a competitor pricing brief. Call research_pricing once for each competitor "
"you are given, then pass all the notes to write_brief and return the brief it writes."
),
tools=[
researcher.as_tool(
tool_name="research_pricing",
tool_description="Research one competitor's current public pricing",
),
writer.as_tool(
tool_name="write_brief",
tool_description="Write the brief from the research notes",
),
],
)
async def main():
result = await Runner.run(orchestrator, input="Competitors: Acme Cloud, Globex AI")
print(result.final_output)
if __name__ == "__main__":
asyncio.run(main())
The orchestrator never researches anything itself. It calls research_pricing once per competitor, each call runs the researcher as a nested agent in a fresh context, and write_brief turns the notes into the one answer the orchestrator returns. In the SDK's words, the manager agent keeps control of the conversation.
To turn it into a handoff instead, give a triage agent a handoffs list, and the chosen specialist answers the user directly. Each specialist's handoff_description tells the triage agent when to pick it:
billing_agent = Agent(
name="Billing agent",
handoff_description="Specialist for invoices and payment questions",
instructions="You answer billing questions clearly.",
)
refund_agent = Agent(
name="Refund agent",
handoff_description="Specialist for refund requests",
instructions="You handle refund requests and explain the next steps.",
)
triage_agent = Agent(
name="Triage agent",
instructions="Route each request to the right specialist.",
handoffs=[billing_agent, refund_agent],
)
We checked that this code builds against openai-agents 0.24.0, with research_pricing and write_brief registered as the orchestrator's tools. We didn't run it against the API, so there's no sample output here, and WebSearchTool needs one of OpenAI's Responses models, which is the SDK's default path for OpenAI models.
What about an AI agent orchestration UI? The SDK's built-in tracing shows each run in the Trace viewer in the OpenAI Dashboard, and draw_graph (install openai-agents[viz]) draws your agents, tools and handoffs as a diagram. LangGraph gets visual prototyping in Studio through LangSmith, while Microsoft's DevUI and Google's adk web are development tools their docs say aren't for production.
Worked example: one Monday competitor brief, built two ways
Say you want a Monday email that tells you what your competitors changed on their pricing and product pages, plus any launches or funding news. Here's that one job built two ways. The second version is illustrative, not a system we run.
Version A: one agent, three steps in order
BetterClaw's workflow directory has this exact job as the Competitor Monitor workflow. It runs on Mondays at 9 am, needs only Gmail, and has three steps: check their pages against last week's notes, look for news from the last 7 days, and email the report with the biggest moves first.
Through the orchestration lens, that's sequential plus shared state across runs. Last week's notes are the state each run reads before writing new ones, and there's one agent, one context and one bill.
Version B: an orchestrator with parallel researchers
Now say you track 25 competitors and want each one researched properly. A lead agent splits the list, starts one researcher per competitor in parallel, and each returns the same small structure: company, what changed, source link. A writer merges them, and a person approves before the email goes out.

Anthropic's scaling rule helps you size Version B. Its research agents carry effort guidance in their prompts: simple fact-finding needs 1 agent with 3 to 10 tool calls, direct comparisons 2 to 4 subagents with 10 to 15 calls each, and complex research more than 10 subagents with clearly divided responsibilities.
So which version wins? For four competitors, Version A: it's cheaper, easier to debug, and it fails in one obvious place. Version B earns its extra tokens when each competitor needs real digging and the list is long enough that parallel runs save hours.
What passes between the agents matters more than the boxes. Give every worker the same output shape, cap how many it can start, and decide in advance what the writer does when one researcher fails: skip that company and say so, rather than stall the whole brief.
Pick the structure by the shape of the work, not by how impressive the diagram looks.
Do you need orchestration at all? The one-question test
Before you draw any boxes, ask one question. Can you describe the job as one entity that reads input, reasons about it, takes actions and reports back?
If yes, start with one agent. If no, because the job needs different toolsets, permissions or models working on the same task, or it splits cleanly into parallel parts, you need orchestration.
Premature orchestration costs you in four places. Every handoff adds a model call and some latency, one failing agent feeds junk to the next, every agent burns its own tokens, and four agents means four prompts to keep in sync. Our AI agent cost breakdown shows where that money goes.
How BetterClaw handles AI agent orchestration
BetterClaw isn't a code framework, so you won't write graphs. Here's what its docs describe today, mapped to the approaches above.
| Approach | What BetterClaw's docs describe |
|---|---|
| Routing at the front door | New chats default to Auto, which routes the chat to a suitable agent; an @mention picks one yourself |
| Sequential with shared state | Workflows (Beta): sections run in order, each listing what it reads, writes and uses |
| Helpers inside one reply | The Agent API's stream reports subagents, the helper agents an agent started for that reply |
| Your own orchestrator | The Agent API lets your code chat with any agent in the workspace |
Checked 16 November 2026.
Specialist agents. Each agent in a workspace has its own personality file (soul.md), model, skills, secrets, connected accounts, memory and timezone, so you can give different work to different specialists. Starter includes 1 agent, Pro 5 and Business 25.
Routing. In a new chat the agent picker defaults to Auto ("choose for me"), so BetterClaw sends the chat to a suitable agent, or you start a message with @ and an agent's name. The Agent API does the same when you leave out agentId: a pinned key's agent first, then an @mention, then the best-suited agent.
Workflows, step by step. A workflow is a document of sections that one agent runs in order, and each section's contract line lists what it reads, what it writes and which connectors or secrets it uses. Any section can be set to ask you first, an unanswered approval expires after 24 hours, and the docs say workflows can run on a schedule, from a webhook or on demand.
On the UI side, a workflow's Run view shows how far each run got, the values every section wrote and the calls it made. Chats show a live plan checklist as the agent works through a multi-step job.
Where it isn't the right tool: if you need custom control flow you version and unit-test in code, use a framework from the table, and call BetterClaw agents as workers through the Agent API if you like. Workflows are also still in Beta, and the streaming docs mention helper agents without saying more, so we won't either.
If your job looks like Version A, that's the work BetterClaw is built for: managed agents with bring-your-own-key access to 28+ model providers at zero markup, 500+ connectors and any remote MCP server. Plans start from $19 a month. See BetterClaw plans
When a workflow tool like n8n is the better fit
Often, to be honest. n8n describes itself as a fair-code licensed workflow automation tool that combines AI features with business process automation, and plenty of "orchestration" problems are really that shape.
Pick n8n when:
- every run follows the same rules, and the same input should take the same path;
- AI is one step in a longer process (sync records, route a notification, update a sheet);
- you want to see and edit every step on a visual canvas;
- you need to self-host, which its docs cover with Docker Compose.
n8n does multi-agent work too. Its AI Agent Tool node lets a root agent call other agents as tools, supervising and delegating, and the docs say you can nest those nodes into multiple layers: orchestrator-worker and hierarchical, drawn on a canvas.
Two caveats. n8n uses its own Sustainable Use License, which allows internal business, non-commercial and personal use, so by n8n's own description it isn't an open source licence. And when the job changes shape on every run, a goal-driven agent copes better than branches you have to draw in advance.
You don't have to choose one AI orchestration tool. An n8n HTTP Request node can call BetterClaw's Agent API to hand a judgement-heavy step to an agent, and a BetterClaw workflow can start from a webhook. Our BetterClaw vs n8n comparison goes through the trade-offs job by job.
Agent governance vs agent orchestration
People mix these up because they meet at the same boundaries. Orchestration decides who does the work, in what order, with which context. Governance decides what each agent may do and spend, who signs off, and how you prove afterwards what happened.
| Question | Orchestration answers with | Governance answers with |
|---|---|---|
| Who does this step? | Routers, supervisors, handoffs | Which agents may hold this tool or key |
| How far can it go? | Max turns, depth of delegation | Spend caps, approval before risky actions |
| What happened? | Traces and run views | Audit logs and access records |
Every framework above ships some of both. The Claude Agent SDK caps subagent depth, concurrency and spend, and the OpenAI Agents SDK runs guardrails alongside agents and can require approval before an agent-as-tool runs (needs_approval). Microsoft Agent Framework pauses workflows for tool approval, and its Magentic manager can be set to wait for a person to sign off on its plan.
BetterClaw's docs put governance at the agent level. Connectors and secrets are granted per agent, every secret read (granted, denied or errored) lands in an append-only audit log, MCP tools are labelled Read, Write or Destructive with a read-only mode, and a server that changes its tools is paused until you review and approve it.
Every handoff is a permission boundary. If two agents need the same keys, ask whether they should be two agents at all.
The diagram is not the system
Orchestration diagrams are seductive because they look like org charts, and org charts look like progress. But the boxes are the cheap part. The expensive part is the arrows: what each one carries, what happens when it breaks, and who's allowed to cross it.
Start with one agent. Add a second only when you can name the boundary it protects, whether that's a permission, a context window or a part of the job that can run in parallel. Then draw the diagram.
Not sure which design your workflow needs?
If you're about to build a multi-agent system, an outside look before you start can save weeks of rework.
Our AI automation audit starts with a 30-minute call about how your team works. Within 5 business days you get a written report with a workflow map, a proposed agent architecture, ROI projections and an implementation timeline. Book an AI automation audit
Frequently Asked Questions
What is AI agent orchestration?
AI agent orchestration is the coordination layer that decides which agent handles which part of a task, in what order, what context each one sees, and what happens when one fails. The four common designs are orchestrator-worker, sequential, hierarchical and shared state, with handoffs moving control between agents. Frameworks such as LangGraph, CrewAI and Microsoft Agent Framework implement it in code.
What is an agent orchestrator?
An agent orchestrator is the component, usually a lead agent or a piece of code, that splits a job into tasks, assigns them to other agents and combines the results. In the OpenAI Agents SDK it's a manager agent that calls specialists through Agent.as_tool(), and in CrewAI's hierarchical process it's the manager set with manager_llm or manager_agent. A router that only classifies a request and dispatches it is the simplest kind.
What is the best AI agent orchestration framework?
There's no single best one, only a best fit. As of 16 November 2026: LangGraph 1.2.22 for explicit control over state and flow, CrewAI 1.15.41 for role-based crews, Microsoft Agent Framework (Python 1.26.0, .NET 1.28.0) for .NET teams and AutoGen users, the OpenAI Agents SDK 0.24.0 for the lightest handoffs, and Google ADK 2.14.1 for multi-language teams. Avoid AutoGen for new work, because Microsoft has archived it.
What is the difference between agent orchestration and a workflow?
A workflow follows a path you define in advance, while agent orchestration lets agents decide part of the path, such as which specialist to call or when to hand off. In practice they blend: LangGraph, Microsoft Agent Framework and n8n all mix fixed steps with agent decisions. If every run takes the same path, a plain workflow is simpler, cheaper and easier to test.
Is MCP an agent orchestration tool?
No. MCP (Model Context Protocol) is an open standard for connecting AI applications to external systems, so it gives an agent its tools and data. The A2A protocol's site puts the split neatly: MCP connects an agent to tools, APIs and data, and A2A connects it to other agents, while orchestration is the logic on top that decides which agent does what.
What is the difference between agent governance and agent orchestration?
Orchestration coordinates the work: which agent acts, in what order, with what context. Governance controls the risk: what each agent may access, how much it can spend, which actions need a person's approval, and the audit trail afterwards. You need both, and every agent you add increases the governance work.
Is n8n an AI agent orchestration tool, and is it open source?
Yes, it orchestrates agents: the AI Agent node runs an agent, and the AI Agent Tool node lets a root agent delegate to other agents, nested in layers if needed. It isn't open source in the usual sense, because n8n uses its own fair-code Sustainable Use License, which permits internal business, non-commercial and personal use. It fits best when your steps are fixed and rule-based.




