Compare Architectures

Side-by-side: use case, requirements, latency, cost, strengths, weaknesses, failure modes, example — and when to choose each.

Single agentMulti-agent
Use caseOne task domain, a manageable tool set, one contextDistinct specializations, separate contexts, or parallel sub-tasks
RequirementsOne loop, one prompt, toolsTopology (supervisor / pipeline / swarm), message schema, shared state
LatencyOne sequential chain of callsCoordination overhead; can be lower when sub-tasks run in parallel
CostLower: no coordination tokensHigher: each hand-off re-reads context; supervisors add calls
StrengthsSimple to trace, evaluate, and secureContext isolation, specialization, parallelism
WeaknessesContext bloat when too many tools or domainsHand-off errors, duplicated work, supervisor bottleneck
Failure modesWrong tool among 40; overflowing contextAgents disagree, loop between each other, lose task state
ExampleSupport bot with 8 tools and a knowledge baseResearch pipeline: search agent → synthesis agent → critic
Choose this whenChoose a single agent first; add tools and better prompts before adding agents.Choose multi-agent when a single context provably cannot hold the task, or sub-tasks are independent enough to parallelize.