Category:
AI Agents Inteligent User Interface
Duration: Duration icon 12 min read
Created on: Created icon Dec 1, 2026

Multi-agent systems: how AI agents work together

Multi-agent systems are AI setups in which several agents, each with its own role, tools, and context, split one task between them, while an orchestration layer decides who works next and what each agent receives. Anthropic reports its multi-agent research system outperformed a single agent by 90.2% on an internal evaluation while using about 15 times the tokens of a chat.

What is a multi-agent system?

A multi-agent system is software in which two or more AI agents work toward one goal, each with a defined role, its own instructions, and its own tools. An orchestration layer passes work between them. Pretty cool, right? The difference from a single agent is not intelligence but division, because each agent sees only the part of the task it was given.

Here, an agent means a model that uses tools in a loop until it reaches a goal, as Anthropic defines it. The field, also called multi-agent systems, predates large language models, but this article covers LLM-based agents. This guide to agentic AI vs. AI agents covers where single agents end, and agentic systems begin.

Most multi-agent systems share four parts, whatever framework builds them:

  • Agents with narrow roles. Each has its own prompt, tools, and limits; for example, a research agent that can search but cannot send email.
  • An orchestration layer. Code or a lead agent that routes work, sets the order, and decides when the run ends.
  • Shared state. The record of what has been done so far, which agents read from and write to.
  • Handoffs. The moments when one agent passes control and context to another.

Handoffs matter most and get the least attention. In LangGraph, a handoff names the destination agent and the payload it receives. The next agent receives everything it needs about the task in that payload. Whatever the sender leaves out is gone for the next agent, and that is where most multi-agent failures begin.

Single agent vs. multi-agent systems

A single agent keeps the whole task in one context window and works through it step by step. Multi-agent systems split the task so several context windows work at once, often in parallel. The split buys breadth and speed, and it costs tokens, coordination, and new places for errors to hide.

Anthropic’s research feature is the clearest public example. A lead agent running Claude Opus 4 handed subtasks to Claude Sonnet 4 subagents, and that setup outperformed a single Opus 4 agent by 90.2% on Anthropic’s internal research evaluation. The gain came on breadth-first questions, such as finding the board members of every company in the S&P 500 Information Technology sector.

The cost side is just as specific. Anthropic found that token usage alone explained 80% of the performance variance on the BrowseComp benchmark. In its data, agents use about 4 times as many tokens as a chat, and multi-agent setups use about 15 times as many. Much of the gain, in other words, comes from spending more compute on the problem.

Single agent Multi-agent system
Context One window holds the whole task Each agent holds one slice
Speed on broad tasks Works through steps in sequence Runs independent parts in parallel
Token use (Anthropic data) About 4 times a chat About 15 times a chat
Where it fails Inside one reasoning chain Inside each agent and at every handoff
Debugging One trace One trace per agent, plus the links between them
Best fit Tasks with tight dependencies High-value tasks that split cleanly and exceed one context window

Anthropic also names where the split doesn’t pay, which we find useful. Tasks where every agent needs the same context, or where agents depend heavily on each other, are a poor fit. Its example is coding, which has fewer truly parallel parts than research. For an engineering lead, the real question is not whether the agent can be split, but whether the work can.

How AI agent orchestration works

AI agent orchestration is the logic that decides which agent works next, what context it receives, and when the run stops. It can live in fixed code, in a lead agent that plans as it goes, or in a mix of both. Every orchestration choice is also a choice about what each agent will not see.

Every orchestration layer, whatever it is built with, answers three questions at each step:

  1. Routing. Which agent takes the next step, chosen by a fixed rule or by a lead agent’s judgment.
  2. Context. What the receiving agent gets: the full history, a summary, or only its own instructions.
  3. Termination. When the run is done, when it retries, and when it stops and asks a person.

In our opinion, the second question causes the most trouble. Anthropic’s early lead agent gave subagents short instructions such as researching the semiconductor shortage. The subagents misread the scope, and two of them repeated the same searches. The fix was a fuller brief for each subagent, with an objective, an output format, the tools to use, and clear task boundaries.

Anthropic also had to teach the lead agent how much effort a question deserved. Its early versions sometimes started 50 subagents for a simple query. The final prompts set rough budgets, from one agent with 3 to 10 tool calls for a simple fact to more than 10 subagents for complex research.

Between products, orchestration increasingly runs on open protocols. Anthropic’s Model Context Protocol (MCP) connects an agent to tools and data. Google’s Agent2Agent protocol (A2A), announced on April 9, 2025, with more than 50 technology partners, connects agents to each other, including agents built by different vendors on different frameworks.

A2A treats each piece of delegated work as a task with a lifecycle. A remote agent publishes its capabilities in a JSON file called an Agent Card, and the finished output of a task is called an artifact. Long-running tasks send status updates along the way, which gives an interface something concrete to show while agents work.

Five orchestration patterns in multi-agent systems

Most multi-agent systems are built from five orchestration patterns. Each one splits the work differently, so each breaks at a different point and needs a human check at a different stage. Real systems often combine two or three patterns, so naming each segment’s pattern is the first design decision a team faces.

Pattern How it works When it fits Where it breaks Where a human checks
Orchestrator-workers A lead agent splits the task and merges results Open-ended research Vague briefs to workers The plan and the merged result
Sequential pipeline Agents run in a fixed order Known, repeatable steps An early error flows downstream Before an irreversible step
Parallel Agents work at the same time Independent parts of one task Conflicting assumptions At the merge
Debate or review One agent drafts, another critiques Code or compliance text Loops that never agree When the round limit hits
Hierarchical Lead agents manage teams of agents Work across departments Context lost at each level At each team boundary

The names vary by framework. LangGraph calls its versions supervisor-agent, network, and hierarchical architectures, while Microsoft’s AutoGen documents sequential workflows, group chat, debate, and reflection. Anthropic’s research feature shows how patterns combine: an orchestrator-worker setup with parallel workers inside, followed by a sequential step in which a citation agent attributes each claim to a source.

Where handoffs lose work and agents disagree

Most failures in multi-agent systems happen between agents, not inside them. A handoff can drop context the next agent needed, and two agents working from different assumptions can return results that cannot both be true. Neither failure shows up as an error message, so the system has to be designed to catch it.

Cognition, the company behind the coding agent Devin, describes the context problem with a Flappy Bird clone. Strange name choice, we agree. One subagent builds a background that looks like a different game, another builds a bird that does not match it, and a final agent has to merge two misunderstandings. Its principle is that actions carry implicit decisions, and conflicting decisions produce bad results.

A UC Berkeley team reached a similar conclusion from data. Its Multi-Agent System Failure Taxonomy, built from execution traces of popular multi-agent frameworks, sorts 14 failure modes into three groups: system design, misalignment between agents, and task verification. The authors trace many failures to system design, not to the model inside it.

Disagreement is the visible version of the same problem. Two agents return opposite answers because each saw a different slice of the facts. The orchestrator can pick one, merge them, or stop. Picking silently is dangerous because the person reading the final result never learns there was a conflict.

A conflict, step by step. A hypothetical support system receives a $480 refund request. The orchestrator sends the case to two agents in parallel. A policy agent checks the order against the refund policy and finds it eligible, inside the 30-day window. A risk agent checks the account and recommends a hold because the same card requested three refunds in two weeks.

The orchestrator’s rule says that opposing recommendations on a money action go to a person. So the run pauses before issuing any refund, and the case lands in the human supervisor’s queue as one record. The screen answers questions in the order the human supervisor asks them:

  1. What is in conflict? One line at the top: “Policy agent: refund. Risk agent: hold.”
  2. Each position with its evidence. Side by side, the policy clause next to the order date, and the three earlier refunds next to the risk rule that flagged them.
  3. What each agent saw. The policy agent never received the account history. That gap, not a reasoning error, explains the disagreement.
  4. What has already happened. Nothing irreversible. The refund is drafted, not sent.
  5. The decision. Approve, deny, or ask the customer for more information, with neither agent’s answer preselected.

The third line is the one most screens leave out, and it does most of the work. Once the human supervisor sees the context gap, the fix is clear for this case and for the system: route account history to the policy agent too. A short reason typed at the decision becomes a record of which handoffs keep dropping context.

Where the human supervisor sees and stops the system

A human supervisor of a multi-agent run needs three things on screen: the state of every agent at a glance, the trail of handoffs between them, and controls that can pause one agent or stop the whole run. Approval gates belong before every step that cannot be undone.

These controls matter more as runs get longer. Anthropic notes that its lead agent waits for each set of subagents to finish, so it cannot steer them mid-task, and one slow subagent can block the whole system. A human supervisor watching that run has one silent question: which agent is holding everything up?

Each part of that screen answers one question a human supervisor brings to a running system:

The human supervisor asks The screen shows
Is the run healthy? Every agent as a row with its state: working, waiting, blocked, or done
Which agent is holding things up? Time in the current state, with blocked agents sorted to the top
What did each agent receive? The handoff trail, with the payload that crossed each handoff
Why did the run stop? The rule, conflict, or failed check that triggered the stop
What has already happened? Every action taken so far, marked as reversible or not
What do I need to decide? The one decision left, with each agent's suggestion marked but not preselected

The fleet view. Our work on Hyperfab, a robotics platform used by commercial construction crews, shows the pattern for a fleet of machines. The dashboard we designed tracks each robotic unit and the whole floor, using green, yellow, and red status colors. Operators can switch a robotic arm between Free Run, Pause, and Stop from the same view.

Hyperfab’s units are robots, not AI agents, but the same structure carries over. Each agent becomes a row with its state, such as working, waiting, blocked, or done. The run becomes the floor-level view. Pause applies to one agent, Stop applies to the whole run, and both controls sit next to the status they act on.

The handoff trail. Under the fleet view sits the handoff trail, showing which agent passed what to whom, and when. Each entry should show the payload that crossed, so a person can see what the next agent actually received. The guide to UI design for AI agents covers how to lay out these supervision screens, including where each control belongs.

The approval gate. We designed the ClyHealth clinical platform so that each AI-generated supplement protocol appears with its formulation reasoning beside it. A provider reviews that logic before approving the protocol for a patient. ClyHealth is not a multi-agent product, but its gate is the model for one: the reasoning travels with the recommendation to the person who signs.

Custom Supplement Complex

In a multi-agent run, the gate sits wherever the work becomes hard to undo, such as before money moves, a message goes out, or a record changes. A gate at the end of the run comes too late if an early agent already acted. A gate on every step teaches the human supervisor to approve without reading.

One display rule holds across all of these views. Our working rule for AI interfaces is that a projection never looks as certain as a measurement. An agent’s verdict, such as the risk agent’s hold, is a projection. The order date and the three earlier refunds are measurements, so the screen draws them more firmly than the verdict built on them.

The screen also has a limit. It can only show what the agents logged, so a handoff that silently drops context still looks complete on screen. That is why the handoff trail records the payload itself, not a summary, because a summary hides the exact gap the human supervisor needs to find.

When not to use multiple agents

One agent is the better choice when the task has tight dependencies, needs every step to see the same context, or is not valuable enough to justify several times the token cost. Multi-agent systems pay off on high-value work that splits cleanly into independent parts. Most teams should start with one agent and split it only when it hits a measured limit.

Cognition takes the strongest position. Its June 2025 post argues that parallel agents working from partial context produce fragile systems, and that a single-threaded agent with continuous context gets most teams very far. It also notes that Claude Code, at the time, used subagents mainly to answer questions rather than to write code in parallel.

Anthropic reaches a similar line from the other side. Its multi-agent setup works for research because research splits into independent questions. Its own conclusion is that most coding tasks split less cleanly, and that agents are not yet good at coordinating and delegating to each other in real time.

A single agent, perhaps with a few tools or a summarizing step, is usually the better choice when:

  • the steps run in a fixed order that rarely changes, which a plain workflow handles without agent judgment
  • each step depends on decisions made in the step before it
  • one context window holds the whole task comfortably
  • the value of a better answer does not cover roughly 15 times the token cost of a chat
  • the team has no tracing in place yet to show what each agent did

That last condition is often the deciding one. Without per-agent tracing, a failed run gives the team one wrong answer and no way to tell which agent caused it. Teams should add tracing first, then split the agent, and then measure whether the split improved the result enough to pay for itself.

Where to start

The first step is the agent the team already has, and the first question is where it fails. If it runs out of context on broad questions, an orchestrator-workers split is the natural next step. If it fails at one risky step, a review agent or a human approval gate belongs there before adding anything else.

Design the human supervisor’s screen before the second agent ships. That means naming the pattern, listing each handoff and what crosses it, and setting the rule for what happens when agents disagree.

Frequently asked questions

What is a multi-agent system?

A multi-agent system is a setup in which several AI agents, each with its own role, instructions and tools, work toward one goal. An orchestration layer routes work between them and decides when the run ends. Multi-agent systems are used where a task splits into parts that benefit from separate context windows, such as broad research.

What is AI agent orchestration?

AI agent orchestration is the coordination layer of a multi-agent setup. It decides which agent acts next, what context each agent receives and when the run stops or asks a person. It can be fixed code, a lead agent that plans as it goes, or a mix, and frameworks such as LangGraph and AutoGen provide building blocks for it.

What is the difference between a single agent and a multi-agent system?

A single agent holds the whole task in one context window and works through it step by step. A multi-agent system splits the task across agents with separate context windows, often running in parallel. The split helps on broad, high-value tasks, but Anthropic measured about 15 times the token use of a chat, compared with about 4 times for a single agent.

What is the difference between MCP and A2A?

MCP, the Model Context Protocol from Anthropic, connects an agent to tools and data. A2A, the Agent2Agent protocol that Google announced in April 2025, connects agents to other agents, including ones built by different vendors. Google describes A2A as a complement to MCP, so a production system often uses both protocols side by side.

When should you not use multiple agents?

Avoid multiple agents when steps depend tightly on each other, when every step needs the same context, or when the task is not valuable enough to cover the extra token cost. Fixed, repeatable steps usually run better as a plain workflow. Most teams should start with one agent and split it only after measuring a real limit.

Which framework should a team use to build a multi-agent system?

The pattern should decide the framework, not the other way around. LangGraph models agents as graph nodes with explicit handoffs and supports supervisor-agent and hierarchical setups. AutoGen documents ready patterns such as sequential workflows, group chat, debate and reflection. Whatever the choice, the team should confirm that it records a trace for every agent and every handoff.

Does a multi-agent system need its own supervision interface?

Yes, once agents act on real systems. A chat thread can show what one agent did, but it cannot show several agents working at once, the handoffs between them or a conflict waiting for a decision. A supervision view with agent status, a handoff trail, stop controls and approval gates gives the human supervisor that picture in one place.

Author

George Railean

Creative Director

12

Years of experience

9

Years in Fuselab

George is Creative Director and Co-Founder at Fuselab Creative, leading visual design direction across AI interface, dashboard, and enterprise product engagements. With over 12 years of experience turning complex data into interfaces people enjoy using, his focus spans AI-driven dashboards, simulations, AR/VR, and data visualization for industries where clarity matters most – healthcare, cybersecurity, and machine learning. For George, great design isn’t about adding polish – it’s about making complexity disappear entirely.