Free 15-minute callFree 15-minute call →
艾维禾砺Vibe Coding LabIvheli · 1:1 coaching
Engineering deep dives

How to divide work among multiple agents

The value of multiple agents is parallelism and division of labour; the price is cost and chaos. First judge whether the task is worth it, then talk about splitting it.

Updated 2026-11-113 min readFree guides · 26/96

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:

  1. The user asks a question
  2. The main agent analyses, sets strategy and splits the task
  3. Sub-agents search in parallel, each using tools
  4. Sub-agents report their conclusions
  5. The main agent aggregates and judges whether to continue
  6. When citations are needed, a dedicated agent verifies the sources
  7. 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

  1. Think like the agent: run it with real prompts and tools and watch how it fails
  2. Teach the main agent how to delegate: every subtask needs a goal, output format, tool scope and boundaries
  3. Allocate by complexity: one for simple, 2–4 for comparisons, 10+ for complex research; do not always run the heavy process
  4. Tool design matters: tool descriptions must state when to use it and when not to
  5. Let the agent improve itself: have it test and rewrite tool descriptions; task completion time can drop noticeably
  6. Broad first, then narrow: scan the whole picture first, then dig into details; avoid searching too narrow a keyword from the start
  7. Guide the thinking process: planning, evaluation and gap finding can all be made explicit
  8. 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.

Want to apply this to your own work?

Read next

Share this article

Where should your idea start?

Bring an idea or a question to a free 15-minute call. Confirm the conversation language and time when booking.

Book a free 15-minute call

Where should your idea start?

Free 15-minute call →Free guides

Book a free 15-minute call

Contact

Booking formEnterprise AI implementation & system developmentSee enterprise services (official site)
Add us on WeChat, mention Vibe Coding and tell us what you want to do
Add us on WeChat, mention Vibe Coding and tell us what you want to do