Module 5 · Lesson 7 of 7 · Emerging
Several agents working together
The picture
- User — wants 20 laptops — healthy
- Agent — one loop, the whole task — healthy — NOW — has the task
- Search tool — supplier offers — healthy
- Task or brief
- Search
- Report or answer
Step 1 of 9 · Agent
Done: The user sends the task to the agent
- What happens
- The task: Compare suppliers A, B and C for 20 laptops with 16 GB of memory, delivered to Pune by Friday. Pick the cheapest offer that meets every need.
- Why
- One agent holds the whole task, so every need stays in front of it on every turn.
- What changes
- The agent starts its loop.
- Next
- The agent plans its searches
Event log
8 more to go. Press a line to go back to that step.
The user's task
Compare suppliers A, B and C for 20 laptops with 16 GB of memory, delivered to Pune by Friday. Pick the cheapest offer that meets every need.
Search results the agent has read
None yet.
Step 1 of 9: Agent. The user sends the task to the agent. The task: Compare suppliers A, B and C for 20 laptops with 16 GB of memory, delivered to Pune by Friday. Pick the cheapest offer that meets every need.
What this simplifies. Each box called an agent stands for an application running a model in a loop, as in "A model in a loop". The times are examples: 1 s for a model call and 1.5 s for a search, with no network time. The token counts come from this page's own counter, which is close to but not the same as a real model's. Tokens the models write are left out. Real teams also check each report before acting on it.
Some systems split one task between several (A model that calls tools in a loop, deciding each next step from the results, until it can answer.). A lead agent splits the task, gives each worker agent one part, and combines what they report. Workers can run at the same time, so a task with separate parts can finish sooner.
The cost grows with each agent, because each one makes its own model calls and reads its own instructions. Anthropic reported that its research system with several agents used about 15 times the (A piece of text that a language model reads or writes, often part of a word. Prices and limits are counted in tokens.) of a chat. One agent used about 4 times.
A worker knows only what its brief says. If the brief leaves out a need, such as a deadline, the worker cannot know it. Mistakes also add up. Say three workers are each right 9 times in 10, and their mistakes are independent. Then all three are right about 73 times in 100 (0.9 × 0.9 × 0.9 = 0.729).
So use several agents only when the parts can be done apart, such as searching many sources at once. When each step needs what the last one found, one agent or a fixed workflow is cheaper and easier to check.
In system design: Split work only where the parts are separate. Put the goal, the limits and the report form in every brief, and cap the cost of the whole run.
Where it goes wrong
- A short brief drops what the lead knew, such as a deadline or a size. The worker then does the wrong task well. Put the goal, the limits and the form of the report in every brief.
- Workers that act on their own can make choices that clash, such as two parts of one design built on different guesses. Keep choices that must agree with one agent, or check the parts together before acting.
- A limit on each agent does not limit the whole run. A lead that starts many workers can spend far more than planned, so set one budget for the whole task.
In an interview
- Say which parts of the task can run apart and at once, and why that needs several agents. Then give the cost: model calls for the whole run, the time saved, and how the lead checks each report.
Check yourself
Two harder questions
The first uses the idea on a new case. The second asks you to judge a design.
Apply it
Judge a design
Sources and further reading
First-hand sources to check this lesson against and to go further. They are standards, official docs, original papers, and guides from engineering and security teams. Each link was opened on 12 November 2026.
- Engineering guideHow we built our multi-agent research systemAnthropic engineering blog (one provider)A lead agent with workers searching at once: where that helps, its token cost (about 15 times a chat), and why short briefs failed.
- Research paperWhy Do Multi-Agent LLM Systems Fail? (2025)Cemri et al., arXivStudies real runs of systems with several agents and sorts their failures into 14 kinds in 3 groups, such as agents that misread each other.
- Engineering guideDon’t Build Multi-AgentsCognition blog (one company)Argues that agents working apart make choices that clash, and that each needs the full context of the task.
- Engineering guideBuilding effective agentsAnthropic engineering blogThe lead and workers pattern: one model splits a task, hands the parts to other models and combines their results.