AI Help Center › GenAI / LLM › Multi-Agent Systems Explained
GenAI / LLM · PRACTITIONER GUIDE

Multi-Agent Systems Explained: When One AI Agent Isn't Enough

Know when splitting work across several AI agents pays off, which pattern to use, what it costs and how to stop the agents tripping over each other.

11 min readPublished 8 Nov 2026Last reviewed 8 Nov 2026
Quick insight

More agents means more handoffs, and handoffs are where things break. A multi-agent system can read more, work in parallel and check its own output. It also costs several times more and fails in new ways. Earn the second agent.

A multi-agent system is an AI application where several LLM agents, each with its own role, instructions and tools, divide a task and pass work between them, usually under an orchestrator. It helps when work is too large for one context, splits into parallel parts or needs an independent checker. Otherwise, one agent is cheaper and more reliable.

Summary: the short version

  • A multi-agent system splits a task across several LLM agents with separate roles, tools and context, coordinated by an orchestrator or code.
  • Use one when a single agent hits context limits, has too many tools, faces parallel work or needs an independent checker.
  • The common patterns are orchestrator and workers, sequential pipelines, generator and critic loops, and handoff networks.
  • Anthropic reported multi-agent systems using about 15 times the tokens of a chat, so they suit high-value tasks only.
  • Most failures come from vague roles, loose handoffs and missing verification, not weak models.
GenAI / LLM

What is a multi-agent system?

A multi-agent system is an AI application in which two or more LLM agents, each with its own instructions, tools and context, split a task and pass work between them. One agent might research, another check compliance and a third write, with an orchestrator agent or plain code deciding who does what.

The idea is older than LLMs; multi-agent systems have been a research field since the 1980s. What is new is that each agent is now a language model that can read, reason and call tools, so you can build a team of specialists from prompts. If the single-agent loop is new to you, start with what agentic AI is.

GenAI / LLM

When is one AI agent not enough?

One agent stops being enough when the task needs more context than one model can hold well, more tools than it can choose between reliably, or work that can run in parallel. The signals we look for:

  • Context overflow: the job means reading hundreds of pages, and the agent starts ignoring earlier material. See how context windows work.
  • Tool overload: past a couple of dozen tools, tool choice gets noticeably worse in our experience.
  • Parallel breadth: ten independent questions can be researched at once.
  • Separation of duties: the maker should not be its own checker, and different steps need different permissions.
Strong opinion

Default to one agent. Cognition, the team behind the Devin coding agent, argued in Don't Build Multi-Agents (2025) that sub-agents working without shared context make conflicting decisions. We agree for tightly coupled work like coding. Split only when a signal above is real and measured.

GenAI / LLM

What are the main multi-agent architectures?

Most systems use one of four shapes: an orchestrator with workers, a sequential pipeline, a generator with a critic, or a network of agents that hand off to each other. Anthropic's Building effective agents describes the orchestrator-workers and evaluator-optimizer patterns in detail.

Four common multi-agent patternsOrchestrator and workersOrchestratorResearchCompliancePricingSequential pipelineExtractDraftRevieweach agent hands its output to the nextGenerator and criticWriterCriticdraftfeedback until it passesHandoff networkTriageBilling agentTech agentpass back
Most production systems use one of these shapes, or two combined. The orchestrator pattern is the most common; free-form networks are the hardest to debug.
PatternGood forWatch out for
Orchestrator and workersResearch, due diligence, large documents split into partsOrchestrator writes vague briefs; workers duplicate effort
Sequential pipelineStable processes: extract, then draft, then reviewAn early error flows through every stage
Generator and criticWriting, code, anything with a clear quality barEndless revision loops; cap the rounds
Handoff networkCustomer conversations that move between departmentsAgents passing the user back and forth
GenAI / LLM

How do agents in a multi-agent system communicate?

Agents communicate through a shared state object or through structured messages, and the quality of those handoffs decides whether the system works. Free-text chat between agents drifts like a game of telephone. Typed contracts, where each agent must return specific fields, keep it honest.

orchestrator_workers.py (Python 3.10+, no packages needed)
# orchestrator_workers.py: fan out to specialists, then check before merging.
from concurrent.futures import ThreadPoolExecutor
from dataclasses import dataclass

@dataclass
class Brief:                    # what the orchestrator hands each worker
    section: str
    instructions: str
    allowed_sources: list[str]

@dataclass
class Result:                   # what every worker must hand back
    section: str
    draft: str
    evidence: list[str]

def worker(brief: Brief) -> Result:
    """Stand-in for an LLM agent with its own prompt, tools and context."""
    cited = [s for s in brief.allowed_sources if s.endswith(".pdf")]
    return Result(brief.section, f"Draft answer for {brief.section}", cited)

def orchestrate(sections: list[str], library: dict[str, list[str]]):
    briefs = [Brief(s, f"Answer RFP section '{s}' from approved sources only",
                    library.get(s, [])) for s in sections]
    with ThreadPoolExecutor(max_workers=4) as pool:      # workers run in parallel
        results = list(pool.map(worker, briefs))
    accepted = [r for r in results if r.evidence]        # no evidence, no merge
    to_human = [r.section for r in results if not r.evidence]
    return accepted, to_human

if __name__ == "__main__":
    library = {"Technical approach": ["core_banking_migration_case.pdf"],
               "Data security": ["iso27001_certificate.pdf", "soc2_summary.pdf"]}
    ok, review = orchestrate(["Technical approach", "Data security", "Commercials"], library)
    print("Merged:", [r.section for r in ok])
    print("Needs a human:", review)

The worker() stub stands in for an LLM agent so the file runs offline. The rule in the last lines matters most: a result without evidence never reaches the final document. In LangGraph, the same idea becomes a typed state shared across nodes; our LangGraph tutorial shows the single-agent version.

Two protocols are worth knowing. MCP connects an agent to tools and data. Agent2Agent (A2A), launched by Google in April 2025 and a Linux Foundation project since June 2025, connects agents built by different teams or vendors to each other.

GenAI / LLM

How much more does a multi-agent system cost?

A lot more: according to Anthropic's data, multi-agent systems use about fifteen times the tokens of a chat, against about four times for a single agent.

Tokens used, relative to a chat (Anthropic, 2025) Chat1× Single agent~4× Multi-agent system~15×
Figures as reported by Anthropic from its own usage data (June 2025); your ratios will differ by task and design. The direction is the point: every extra agent re-reads context and multiplies spend.

The same 2025 write-up reported that a multi-agent setup (a Claude Opus 4 lead with Claude Sonnet 4 sub-agents) beat single-agent Claude Opus 4 by 90.2% on Anthropic's internal research evaluation, and noted that tasks where all agents need the same context, such as most coding, are a poor fit. Read both numbers together. Multi-agent systems pay off when the value per task is high and the work splits cleanly; a ₹200 support ticket rarely qualifies.

GenAI / LLM

Why do multi-agent systems fail?

They mostly fail because of design and coordination problems, not because the underlying models are weak. Cemri and colleagues at UC Berkeley annotated more than 1,600 traces from seven popular frameworks in Why Do Multi-Agent LLM Systems Fail? (2025) and grouped 14 failure modes into three categories: system design issues, misalignment between agents, and weak task verification.

In plain terms, we see agents ignore their role, ignore another agent's output, declare victory early, or loop with each other until the budget runs out. The fixes are unglamorous: narrow roles, typed handoffs, a hard cap on rounds and a verification step that checks results against sources before anything is merged.

From our classrooms

When learners in Ivy Professional School's Advanced Generative AI course reach the LangGraph and LCEL module on stateful multi-agent workflows and build their first multi-agent project, the version with five agents almost always loses to a rebuilt version with two agents and better briefs. Logging every handoff is what shows them why.

Worked example

How would an IT services firm use multi-agent AI for RFP responses?

RFP responses suit an orchestrator-and-workers design because the work is large, splits by section and has a clear checker: does every claim have evidence? This is a composite scenario; figures are illustrative.

Picture a mid-sized IT services firm in Pune bidding for a public-sector bank's 140-page RFP for a loan-origination system. The presales team has ten working days. Most of that time goes into the compliance matrix: reading every requirement, mapping it to a past project or certificate, and drafting a response.

  1. An extractor agent splits the RFP into numbered requirements and tags each by section.
  2. The orchestrator sends each section to a worker with a brief and the allowed sources: case studies, certificates, past proposals.
  3. Workers draft answers in parallel and must cite a source document for every claim.
  4. A compliance checker agent rejects any answer without evidence and flags "partially compliant" items.
  5. Commercials and deviations go only to people. The bid manager approves the final matrix.
~600requirements extracted (illustrative)
4agents, plus an orchestrator
0prices or deviations written by AI

Why not one agent? A 140-page RFP plus the evidence library overflows a single context, the sections are independent, and the checker should not mark its own homework. Those are three of the four signals from earlier, which is what justifies the extra cost.

GenAI / LLM

Which frameworks are used to build multi-agent systems?

LangGraph, CrewAI, Microsoft Agent Framework and OpenAI's Agents SDK are the most common choices at the time of writing (Nov 2026). LangGraph models agents as nodes in a graph with shared, checkpointed state, which suits approvals and long runs. CrewAI centres on role-based crews. Microsoft describes its Agent Framework as the direct successor to AutoGen and Semantic Kernel, built by the same teams, so new Microsoft-stack projects should start there rather than on AutoGen.

Our view: learn the concepts (state, handoffs, checkpoints, human-in-the-loop) on one framework properly. They transfer, and frameworks change faster than the ideas. For the career path, see how to become an AI engineer.

GenAI / LLM

Should you build a multi-agent system?

Build one only after a single agent has failed for a reason you can name and measure.

  • Build the single-agent version first and log where it fails.
  • Match each failure to a signal: context overflow, tool overload, parallel breadth or separation of duties.
  • Pick the simplest pattern that fixes it, usually orchestrator and workers.
  • Define typed handoffs: what each agent receives and must return.
  • Cap rounds, tokens and run time per task, and add a verification step before merging.
  • Compare cost and accuracy against the single agent on the same test set before going live.

If the bigger question is which processes in your company deserve agents at all, start there: our AI for Leaders and CXOs workshop helps leadership teams rank AI use cases by value, feasibility and risk and leave with pilot-ready candidates.

FAQ

Frequently asked questions

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

A single agent is one model with one set of tools working through a task in a loop. A multi-agent system splits the task across several agents with separate roles, prompts and context, coordinated by an orchestrator or code. Multi-agent designs handle bigger, parallel work but cost more and add coordination failures.

What is an example of a multi-agent system?

A research assistant where a lead agent plans the question, several sub-agents search different sources in parallel, and the lead combines their findings. Another is an RFP response desk where workers draft sections from approved documents and a checker agent rejects any claim without evidence.

What is the supervisor pattern in multi-agent AI?

The supervisor or orchestrator pattern uses one agent to break a task into parts, assign each part to a specialist worker agent, and combine the results. It is the most common multi-agent design because control stays in one place, which makes it easier to log, budget and debug.

What is the difference between MCP and A2A?

MCP (Model Context Protocol) standardises how an AI application connects to tools and data. A2A (Agent2Agent) standardises how independent agents, possibly from different vendors, discover each other and exchange tasks. A multi-agent system can use both: MCP for each agent's tools, A2A between agents.

Are multi-agent systems more accurate than single agents?

Sometimes. Anthropic reported a large gain on its own research evaluation, but at about fifteen times the tokens of a chat. For tightly connected tasks such as most coding, a single agent with full context often does better. Test both on the same cases before deciding.

Sources

Sources