Dismiss

New here? Start the Builder path.

Home · Agents · 12 · Multi-agent

Concept card · Agents

Multi-agent

What this gets you. Decide when one agent is enough, and when you split the work, what each agent is told and sends back.

A multi-agent system is two or more agents working on one job. Each agent is an AI model with its own instructions and tools. One agent hands the conversation to another, calls another like a tool, or several work on separate parts and the results are combined.

Last checked 2026-10-28 6 min

Search for Multi-agent

What changed

Oct 28: First card. A worked example splits one support message between two specialists, with the brief each gets and the report each sends back.

See when one agent is enough, how to split a job when it isn't, and what each agent needs to be told.

1 What it is

On Agent loop, one AI model calls your tools until the job is done. A multi-agent system puts two or more agents on the same job, each with its own instructions and tools. Planning decides the steps; this card is about who does each one. There are three common shapes.

  • Hand off. One agent passes the conversation to a specialist, which takes over and answers. OpenAI's Handoffs page gives a support app with agents for order status, refunds and FAQs.
  • Call a specialist, keep the answer. A lead agent calls specialists the way it calls tools, reads what they send back, and writes the reply. OpenAI's Agent orchestration page says to use this when one agent should own the final answer.
  • Split and run at once. Parts that don't depend on each other run at the same time, and the results are combined. Anthropic's Building effective agents calls this parallelization.

Whichever you pick, each agent sees only what you send it.

From Agent loop: is a tool result an order for the model?

Show the answer

No. It's data the model reads. A report from another agent is the same: data, not an order.

Example: made up to show the idea.

The Support assistant now also handles billing, with its own billing tools. One message asks two things that don't depend on each other: 'I was charged twice this month, and my export is missing attachments.' The Support assistant is the lead. It calls two specialists at once.

Part Billing agent Docs agent
Brief (goal) Was this account charged twice this month? Why are attachments missing from exports?
Tools Look up invoices · read. Refund · acts, waits for a person: Permissions & human sign-off Search the docs · read
Send back Yes or no, the invoice numbers, any refund waiting The doc name and the sentence that answers it
Report "Yes: INV-208 and INV-209. Refund of INV-209 is waiting for a person's OK." "export.md: 'Attachments are not included in the CSV.'"

The lead reads both reports and writes one reply: the duplicate charge was found and a refund is waiting for approval, and exports leave attachments out, citing export.md. Neither specialist talks to the customer, and neither can use the other's tools.

2 Why it matters

Show why it matters

Quality

One agent with too many tools picks the wrong one. LangChain's Multi-agent guide says splitting helps most when a single agent has too many tools and makes poor decisions about which to use.

Speed

Parts that don't depend on each other can run at once.

Cost and risk

Every agent is more model calls and more tokens. And every split is a place to lose context: Cognition's Don't Build Multi-Agents shows two subagents building parts that don't fit together, because neither saw what the other decided.

One agent, or more?

The job Use
A few tools, one kind of question One agent: Agent loop
Kinds of request that each need their own tools and instructions, answered by the specialist Hand off to a specialist
Parts that don't depend on each other, one answer at the end A lead that calls specialists, at once
Parts that each need the other's decisions Keep one agent, or run the parts in order

3 How to apply · try today

Look at one agent you run. Count its tools, and the kinds of request it handles. If it keeps picking the wrong tool, write the brief one specialist would need: the goal, what to send back, its tools, and where to stop. If you can't write that brief without the rest of the conversation, keep one agent.

Common mistake

Sending a specialist a one-line brief. It sees only what you send it, so it guesses the rest, and two agents end up doing the same part. Give each one the goal, what to send back, its tools and where to stop.

Self-check

Your Support assistant has three tools and answers well. A teammate wants to add a second agent, just in case. What do you do?

Self-check

From now on, refund questions go to a Billing agent, which answers the customer itself. Which shape?

Self-check

The lead sends the Docs agent one line: 'Look into exports.' What's missing?

Want the why? Understand it · 6 min, optional

Questions

What is a multi-agent system?
A multi-agent system is two or more agents working on one job. Each agent is an AI model with its own instructions and tools. One agent hands the conversation to another, calls another like a tool, or several work on separate parts and the results are combined.
Do I need more than one agent?
Usually not at first. Start with one agent, and split when it struggles: too many tools to choose well, too much specialist knowledge for one prompt, or separate parts that could run at once.
What's the difference between a handoff and a subagent?
In a handoff, the specialist takes over the conversation and answers. A subagent is called like a tool: it does one part and reports back, and the main agent keeps the conversation and writes the answer.

Next card: Working with a coding agent →