Multi-agent systems: when one agent is not enough
A multi-agent system splits a large job across several specialized AI agents, each with its own instructions, tools, and context window, coordinated by a router, pipeline, or orchestrator. It helps when one agent would drown in too many tools or conflicting roles, but every added agent multiplies latency, token spend, and handoff bugs.
When one overloaded agent starts dropping the ball
A team tries to automate quarterly client account reviews with a single agent holding twenty-five tools, forty pages of instructions, and three competing jobs at once: pulling billing history, checking support tickets for churn signals, and drafting an executive email. By step eight, the context is packed with raw logs and the agent forgets its writing rules.
Splitting that work into a multi-agent system solves real context and permission boundaries: one read-only subagent checks support history, another summarizes billing, and a separate writer drafts the update. The mistake is reaching for a five-agent committee on day one for a workflow that a single agent with clean skills would finish faster and more reliably.
| Pattern | How it works | Best fit | Main failure mode |
|---|---|---|---|
| Single agent + skills | One model loop loads task-specific skills on demand. | Most everyday business workflows with under 10 tools. | Context bloat if one run spans unrelated domains. |
| Router | A fast classifier sends each request to one specialist agent. | Multi-department intake (billing vs. support vs. scheduling). | Misclassification sends a request to the wrong specialist. |
| Fixed pipeline | Agent A hands a structured artifact to Agent B in a set sequence. | Research -> draft -> compliance check workflows. | Upstream error propagates cleanly through every downstream stage. |
| Orchestrator-worker | A lead agent breaks a goal into parallel slices and merges worker outputs. | Large research, auditing, or codebase reviews that parallelize cleanly. | Weak delegation briefs, high token burn, and conflicting edits. |
When to split into multiple agents vs. stay with one
Split into multiple agents when
- Independent sub-tasks can run in parallel (for example, auditing five separate documents at once).
- Security requires strict privilege separation: a read-only reader with untrusted web access must never share tools with a writer.
- One agent needs so many tools or domain rules that context rot degrades accuracy even after trimming.
- You want an independent reviewer agent checking a draft without seeing the author's scratchpad.
Stick with one agent + skills when
- A single agent with 3 to 6 tools and progressive skills already passes your eval suite.
- Steps are tightly coupled and every agent would need the exact same full conversation history.
- Low latency matters: adding agent handoffs adds extra full model round-trips.
- You do not yet have tracing and evals in place to debug where a multi-step run went sideways.
For builders weighing orchestrators, subagents, and shared state in production.
Token multiplication and latency: Every handoff between agents starts a fresh inference call with its own system prompt, tool schemas, and summary of prior work. A job that takes one agent 3 turns can easily become 12 turns across three agents, multiplying both wall-clock latency and total token usage unless workers genuinely execute in parallel.
Compounding handoff errors: When an orchestrator writes a vague brief to a worker, the worker solves the wrong problem cleanly and passes a confident but misaligned result back up. Enforce strict structured output contracts at every handoff boundary so the orchestrator validates what came back instead of skimming prose.
Clear state ownership: Two agents editing the same record or file at once is the fastest way to corrupt a workflow. Give each worker bounded read-only inputs and a single owned output artifact, keep canonical state inside deterministic harness storage, and let only one designated step commit final changes after an approval gate.
Try this in 2 minutes
Pressure-test any multi-agent design before writing orchestration code:
-
Try it as one agent first
Ask what specifically breaks if one agent handles the whole job with two skills instead of three agents.
-
Check for true parallelism
If Agent B has to wait for Agent A and Agent C has to wait for Agent B, a fixed pipeline beats a dynamic orchestrator.
-
Define every handoff contract
Write down the exact JSON fields or checklist each agent must hand to the next, not a loose paragraph.
-
Assign one owner per write
Ensure only one final step can send messages or update records, with a human gate where consequences matter.
Designing a multi-step agent workflow and want it to stay maintainable?
We build single-agent workflows first and introduce routers, pipelines, or orchestrator-worker setups only where isolation or parallelism clearly pays off. Every handoff ships with traces, caps, and eval checks.
Build on these foundations: What is an AI agent?, What is an agentic harness?, What is context engineering?, and Observability and tracing. Or browse the AI glossary.
Common questions about multi-agent systems
What is a multi-agent system in plain English?
It is a setup where several specialized AI agents divide a larger task, each with its own instructions and tools, and coordinate through a router, fixed sequence, or lead orchestrator.
Is a multi-agent system always better than a single AI agent?
No. A single agent with clean skills is usually faster, cheaper, and easier to debug. Multi-agent systems earn their keep when tasks run in parallel, require separate security permissions, or overload a single context window.
What is the difference between a router, a pipeline, and an orchestrator?
A router picks one specialist for each request. A pipeline passes work through agents in a fixed order. An orchestrator dynamically breaks a goal into sub-tasks, assigns them to workers, and combines the results.
Why do multi-agent systems cost more tokens than a single agent?
Every agent handoff requires a fresh model call with its own system instructions, tool schemas, and task summary. Without tight handoff summaries and step caps, token usage climbs quickly.
How do you prevent multiple agents from conflicting with each other?
Give each worker a narrow, non-overlapping scope, pass structured outputs at handoffs, store shared state in deterministic code, and allow only one controlled step to perform external writes.
What should be in place before moving to a multi-agent architecture?
End-to-end tracing across all agent calls, a working eval suite for the overall outcome, hard step and token caps per worker, and a clear reason a single agent cannot handle the job.