When it applies
Multi-agent suits tasks like these:
- The problem is open and the steps cannot be fixed in advance
- Exploration can run in parallel (several directions at once)
- The information is too much for a single context window
- Several tools need to work together
Research, investigation and cross-source verification fall into this category; coding tasks with fixed steps usually do not.
Architecture: one main agent + several sub-agents
A typical flow:
- The user asks a question
- The main agent analyses, sets strategy and splits the task
- Sub-agents search in parallel, each using tools
- Sub-agents report their conclusions
- The main agent aggregates and judges whether to continue
- When citations are needed, a dedicated agent verifies the sources
- Output the result with citations
The main agent handles planning and aggregation; each sub-agent handles its own exploration. A sub-agent is effectively a filter with its own context window.
Cost and benefit
- Multi-agent consumes about 15 times the tokens of a normal conversation
- Performance gains come mainly from token usage, the number of tool calls and model choice
- Upgrading the model can bring a bigger gain than simply increasing the budget
So ask first: does the value of this task justify the cost?
Eight practical lessons
- Think like the agent: run it with real prompts and tools and watch how it fails
- Teach the main agent how to delegate: every subtask needs a goal, output format, tool scope and boundaries
- Allocate by complexity: one for simple, 2–4 for comparisons, 10+ for complex research; do not always run the heavy process
- Tool design matters: tool descriptions must state when to use it and when not to
- Let the agent improve itself: have it test and rewrite tool descriptions; task completion time can drop noticeably
- Broad first, then narrow: scan the whole picture first, then dig into details; avoid searching too narrow a keyword from the start
- Guide the thinking process: planning, evaluation and gap finding can all be made explicit
- Call tools in parallel: the main agent pulls sub-agents in parallel, and sub-agents use tools in parallel; speed can improve several times over
How to evaluate
Multiple agents do not take the same steps every time, so traditional evaluation does not apply:
- Start with a small sample: 20 real questions are enough to see change
- Use a model as judge: score factual accuracy, citation accuracy, completeness and source quality
- Human fallback: biases and edge cases automated evaluation cannot see need human spot checks
- Look at the final state: for tasks that changed data, check whether the result is right, not every step
Production pitfalls
- Errors compound: one sub-agent misunderstanding gets amplified in aggregation
- Resumability is needed: long-running work must be able to recover, not restart from scratch every time
- Deploy gradually: a new version of the agent cannot be switched over all at once
- Synchronous execution is a bottleneck: the main agent waits for sub-agents, limiting intervention in the process
What ordinary users can learn
- You do not need to build a system yourself, but you can have AI work by “investigating separately, then aggregating”
- Split complex problems into several parallel sub-problems first
- Write the goal and output format for every subtask
- Require sources for the results
Checklist
- The task is genuinely open, parallelisable and information-heavy
- There is a clear split and delegation description
- The number of agents is allocated by complexity
- Tool descriptions are clear
- There is an eval set and human spot checks
- It can resume and deploy gradually
- The cost is within an acceptable range
Reference: key points adapted from Anthropic’s official engineering blog post “How We Built Our Multi-Agent Research System”, rewritten for general readers.
Questions
When is multi-agent worth it?
When the task is open, the steps cannot be fixed in advance, exploration can run in parallel, and the information exceeds a single context window; the cost is usually more than ten times a normal conversation, so if the value is not high enough it is not worth it. Most coding tasks do not suit it.
Is multi-agent always stronger than a single agent?
Not necessarily. In one research evaluation, a main agent plus sub-agents scored about 90% higher than a single agent, but that was on highly parallel tasks like research. On tasks with fixed steps, multiple agents are only slower and more expensive.
How do I control cost?
Allocate by complexity: a simple fact lookup uses one agent and 3–10 tool calls; a direct comparison uses 2–4 sub-agents; only complex research uses 10+. Do not run every question through the heaviest process.