AI agents
Key points

Key points

  1. 1Start with the simplest design that works: a single model call, then a single agent with tools, and add more agents only when one agent demonstrably cannot handle the task.
  2. 2Multiple agents help when work splits into independent parts, when one context window cannot hold everything or when security and team boundaries demand separation.
  3. 3They cost more tokens, more latency and more ways to fail, so the value of the task has to justify the overhead.
  4. 4Delegation quality decides success: each sub-agent needs a clear objective, output format, tools and boundaries, and the whole system needs tracing, limits and outcome-based evaluation.

Start with one agent

A multi-agent system is several agents, each a model using tools in a loop, working together on one job. The idea is appealing because it mirrors a human team. It is also easy to reach for too early.

Microsoft's architecture guidance frames the decision as a ladder of complexity and advises using "the lowest level of complexity that reliably meets your requirements" (Microsoft, AI agent orchestration patterns):

LevelWhat it isWhen it fits
Direct model callOne prompt, no toolsClassification, summarization, translation and other single-step tasks
Single agent with toolsOne agent that loops through model calls and tool useVaried requests within one domain, such as order lookups or database questions
Multi-agent orchestrationSeveral specialized agents coordinated by an orchestrator or a protocolCross-domain problems, separate security boundaries, tasks that benefit from parallel specialists

Microsoft calls the single agent with tools "often the right default for enterprise use cases," simpler to debug and test than a multi-agent setup. It justifies the multi-agent level only when a single agent cannot reliably handle the task "due to prompt complexity, tool overload, or security requirements." Beam's guide to production patterns says the same thing more bluntly: start with the simplest pattern that fits, because "most teams over-architect" (Beam, Multi-agent orchestration patterns).

What multiple agents actually buy you

The clearest public account of why multiple agents help comes from Anthropic's write-up of its research feature, in which a lead agent plans the work and starts sub-agents that search in parallel (Anthropic, How we built our multi-agent research system). It names three benefits.

Context isolation and compression. Each sub-agent works in its own context window, explores one aspect of the question and returns only a condensed result to the lead agent. Anthropic describes search as compression, "distilling insights from a vast corpus," and sub-agents as the mechanism that does it in parallel. The lead agent never has to hold every page every sub-agent read.

Parallelism. Independent directions can be explored at the same time instead of one after another. Anthropic's example is a request to find the board members of every company in a large index: the multi-agent system split it into tasks for sub-agents, while a single agent failed with "slow, sequential searches."

Separation of concerns. Each sub-agent can have its own prompt, tools and approach, which Anthropic says reduces path dependency and allows independent investigations.

Anthropic also gives an honest explanation of the underlying mechanism: multi-agent systems "work mainly because they help spend enough tokens to solve the problem." Splitting the work across several context windows adds capacity for reasoning that one window cannot hold. That is a benefit and, as the next section shows, a cost.

Organizational reasons matter too. Microsoft's guidance on choosing between single and multiple agents lists security and compliance boundaries, separate teams owning separate knowledge areas and planned growth across many functions as reasons to start with a multi-agent design (Microsoft, Single agent or multiple agents). Its financial services example is one agent preparing transactions while another validates them, enforcing separation of duties through architecture.

What multiple agents cost

Every benefit above has a price.

Tokens. In Anthropic's data, as published in its engineering write-up and read on 2026-10-17, agents used about four times more tokens than chat interactions and multi-agent systems about fifteen times more. Its conclusion is that multi-agent systems need tasks "where the value of the task is high enough to pay for the increased performance" (Anthropic).

Latency and coordination. Microsoft notes that coordination between agents adds latency at every handoff and requires explicit state management between components, and that each agent needs its own prompt engineering, monitoring and debugging (Microsoft, Single agent or multiple agents).

Failure modes that do not exist with one agent. Anthropic's early versions spawned far too many sub-agents for simple questions, searched endlessly for sources that did not exist and distracted each other with excessive updates. Beam catalogs more: an orchestrator that misroutes a task, sub-agents that disagree while a synthesis step invents a consensus, handoff loops where agents pass a task around with nobody owning it, and agents in a debate that converge on the same wrong answer (Beam).

Poor fit for tightly coupled work. Anthropic notes that domains where all agents need the same context, or where there are many dependencies between agents, are not a good fit. It observes that most coding tasks contain fewer truly parallel pieces than research does.

Signs that one agent is not enough

Before splitting an agent, try to fix it as a single agent: tighten the prompt, prune and clarify the tools, add retrieval and compact the context. If problems remain, these signals point toward multiple agents:

  • The work splits into independent parts that can run at the same time, such as researching several companies or reviewing code for security, style and performance separately.
  • Context overflows. The agent needs to read more material than fits usefully in one window, and quality drops as the context grows.
  • Tool overload. The agent has so many tools that it picks the wrong one, and grouping them by domain would make each group clear.
  • Hard boundaries. Different parts of the work must run with different data access or permissions.
  • Separate owners. Different teams maintain different domains and need to change their part without coordinating every release.
  • Checks that should be independent. A second agent that reviews the first agent's output with a different prompt can catch errors the first one is blind to.

If none of these apply, a single agent is usually cheaper, faster and easier to debug.

Choose a coordination pattern

Once you decide on multiple agents, pick a structure for how they cooperate. LangChain describes four foundational patterns (LangChain, Choosing the right multi-agent architecture), and Microsoft and Beam add sequential pipelines and group discussion.

PatternHow it worksGood forWatch out for
Orchestrator with sub-agentsA lead agent calls specialist agents as tools and combines their resultsDistinct domains, parallel researchExtra model call per interaction; the orchestrator is a single point of failure
RouterA routing step classifies the request and sends it to one or more specialistsSeparate knowledge domains, multi-vertical supportRepeated routing overhead without conversation history
HandoffThe active agent transfers control to another as the conversation reveals the needStaged customer support, workflows that unlock stepsLoops where nobody owns the task; context lost at each transfer
Sequential pipelineAgents run in a fixed order, each processing the previous outputDocument processing, moderation, multi-stage generationErrors in early stages cascade with no backtracking
Concurrent fan-outSeveral agents work on the same input or independent subtasks, then results are mergedMulti-perspective analysis, parallel reviewRate limits, conflicting results, a merge step that hides disagreement
Skills on one agentOne agent loads specialist instructions on demandMany specializations without separate agentsContext grows as more skills load

LangChain counts the skills pattern as "quasi-multi-agent": a single agent that loads specialized prompts and knowledge only when needed. It delivers much of the benefit of specialists, such as separate ownership and focused context, without running separate agent instances. It is often the right step before a true multi-agent design.

Beam's advice for choosing: if you know the subtasks at design time and want one point of accountability, use an orchestrator. If the steps are fixed and each depends on the last, use a pipeline. Reach for open-ended planning or debate only when the problem truly has no predetermined path (Beam).

Make delegation work

Most multi-agent failures are delegation failures. Anthropic's lessons are specific (Anthropic):

  • Write complete task descriptions. "Each subagent needs an objective, an output format, guidance on the tools and sources to use, and clear task boundaries." Short instructions such as "research the semiconductor shortage" led sub-agents to misread the task or duplicate each other's searches.
  • Scale effort to the request. Agents are poor judges of how much effort a task deserves, so Anthropic wrote explicit rules into the lead agent's prompt: simple fact-finding needs one agent and a few tool calls, comparisons need a few sub-agents, and only complex research justifies many.
  • Return condensed results. Sub-agents should hand back a distilled summary, not their full working context, so the lead agent's context stays focused.
  • Give each agent tools with a distinct purpose. Anthropic found that bad tool descriptions "can send agents down completely wrong paths."
  • Set guardrails that stop agents from spiraling, such as limits on sub-agent count, tool calls and time.

A delegation message can be as simple as a structured block:

Objective: List the pricing tiers for the three vendors below, with monthly prices and seat limits.
Vendors: A, B, C (one sub-agent per vendor; do not research others)
Sources: each vendor's own pricing page first; ignore third-party reviews
Output: JSON array of {vendor, tier, monthly_price, seat_limit, source_url}
Stop when: every tier on the pricing page is captured, or after 8 tool calls

Run a multi-agent system in production

Multi-agent systems are harder to operate because errors compound and behavior emerges from interactions. Anthropic notes that small changes to the lead agent can unpredictably change how sub-agents behave (Anthropic). Its production lessons:

  • Make long runs resumable. Agents hold state across many tool calls, so restarting from scratch after an error is expensive. Anthropic built systems that resume from where the agent failed, combined with retries and regular checkpoints.
  • Trace everything. Full production tracing let Anthropic see whether a failure came from bad queries, poor sources or tool errors.
  • Evaluate outcomes, not paths. Agents may take different valid routes to the same answer, so judge whether they reached the right result through a reasonable process, often with a model-based grader and a rubric.
  • Deploy carefully. Agents may be mid-task when you release changes, so Anthropic shifts traffic gradually from old to updated versions while both run.

Add budgets on top: maximum sub-agents per request, maximum tool calls and tokens per agent, and a timeout for the whole job. Microsoft also recommends iteration limits even for a single agent to prevent infinite tool-call loops (Microsoft, AI agent orchestration patterns).

Specialization can also live at the product level rather than inside one request. Quanta Intelligence, for example, routes each request to one of many vertical expert agents rather than asking a single generalist to cover every domain, which is the router pattern applied across a whole catalog.

FAQ

FAQ

When should I use more than one agent?

When a single, well-tuned agent cannot reliably do the job. Typical reasons are work that splits into independent parallel parts, more material than one context window can handle, too many tools for one agent to choose between, or security and ownership boundaries that require separation.

Are multi-agent systems more accurate?

They can be on broad, parallel tasks such as research, where they let the system spend more effort across separate context windows. They are often worse on tightly coupled tasks where every step depends on shared context. Measure on your own task before committing.

How much more do multi-agent systems cost?

Substantially more in tokens, because each agent has its own context and the orchestrator adds calls to plan and combine results. Anthropic's published data showed multi-agent runs using many times more tokens than chat interactions. The task's value has to cover that.

What is the simplest multi-agent pattern to start with?

A router or an orchestrator with a few specialist sub-agents called as tools. Both keep one point of control, which makes behavior easier to trace and debug than handoff chains or open-ended agent discussions.

How do I stop agents from looping or duplicating work?

Give every sub-agent a clear objective, output format and boundary, and make one agent own the overall task. Set hard limits on sub-agent count, tool calls, tokens and time, and log every handoff so loops are visible.

Sources

Sources

  1. https://learn.microsoft.com/en-us/azure/architecture/ai-ml/guide/ai-agent-design-patterns
  2. https://beam.ai/agentic-insights/multi-agent-orchestration-patterns-production
  3. https://www.anthropic.com/engineering/multi-agent-research-system
  4. https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ai-agents/single-agent-multiple-agents
  5. https://www.langchain.com/blog/choosing-the-right-multi-agent-architecture
About the author

About the author

Antonio Evans
Antonio Evans

Antonio Evans is the founder of Quanta Intelligence and a fractional CTO who builds HIPAA-ready AI systems for health and life-science companies. Before that he was technical co-founder of FriendsEAT for twenty years, CEO of Socialdraft, and a data engineer at IBM. Antonio lives with his dog Santino in Lisbon, Portugal.

All articles