WisyLink Blog

multi-agent systemsAI agentsagent orchestrationorchestrator-worker patternAI reliability

Multi-Agent Orchestration: When One Loop Becomes Many

Multi-agent orchestration splits work across AI agents. Learn when it pays off, what the evidence says, and how handoffs, stopping rules and errors go wrong.

10 min read
Multi-Agent Orchestration: When One Loop Becomes Many

Multi-agent orchestration coordinates several AI agents, each with a narrow role, toward one goal. It pays off when subtasks are independent and can run in parallel, as in broad research. It costs more, adds handoffs where context gets lost, and lets one agent's mistake become the next agent's input. Start with one agent and split only when measurement says so.

  • Splitting one agent into specialists trades a generalist's coherence for depth at each step.
  • Published results point both ways: large gains on parallel research tasks, small or no gains on many benchmarks.
  • Every handoff moves context, and context that does not survive the move becomes a defect.
  • Stopping gets harder when no single agent owns the definition of done.
  • Errors compound: one agent's wrong step is read downstream as fact, not as a mistake.
  • Past a point, coordination costs more than the work it organizes, so treat each added agent as a cost to justify.

Why split one agent into several at all?

A single-agent loop is a generalist. One reasoning process holds the goal, the context and the running state, and it keeps working until it decides the task is finished. The appeal of splitting that loop is specialization. A research role, a drafting role and a checking role each get a narrower brief and a cleaner slice of context, and each tends to do its narrow job better than a generalist juggling all three.

The cost is coherence. A generalist never has to explain itself to anyone; the full picture lives in one place. Once work splits across agents, the picture fragments, and what one role assumed, the next role never sees. Specialization sharpens each step and weakens the seams between steps, which is exactly where multi-agent systems tend to fail.

So the first question is whether to orchestrate at all. Anthropic's guide "Building effective agents" (December 2024) recommends "finding the simplest solution possible, and only increasing complexity when needed." Orchestration earns its place when subtasks are genuinely separable, when running them in parallel saves real time, or when one role's failure should not contaminate another's reasoning. It does not when the task is small enough that one loop would finish before the handoffs complete.

What the evidence says about multi-agent systems

Three sources from 2025 frame the debate, and they disagree in useful ways.

The case for. Anthropic described its research feature in "How we built our multi-agent research system" (June 2025). A lead agent plans and delegates to subagents that search in parallel. On Anthropic's internal research evaluation, this setup outperformed a single agent by 90.2%. The same post reports that multi-agent runs used about 15 times more tokens than chat, and that tasks where all agents must share the same context, or where agents depend heavily on each other, are not a good fit today. It names most coding work as an example.

The case against. In "Don't Build Multi-Agents" (June 2025), Walden Yan of Cognition argues for two principles: share full context, not just messages, and remember that "actions carry implicit decisions." His example: two subagents asked to build parts of a Flappy Bird clone each make reasonable choices that do not fit together, one producing a background in the wrong style and the other a bird that behaves differently, leaving a final step to merge incompatible pieces.

The failure data. Mert Cemri and colleagues analyzed more than 1,600 annotated traces from seven popular multi-agent frameworks in "Why Do Multi-Agent LLM Systems Fail?" (Cemri et al., 2025). They found that performance gains on popular benchmarks are often minimal and grouped 14 failure modes into three categories: system design issues, misalignment between agents, and weak task verification.

Read together, the sources agree more than their titles suggest. Orchestration helps when work is broad and parallel, like searching many sources at once. It hurts when work is tightly coupled, like building one coherent product, because decisions made in one place constrain everything else.

What specialization wins and what it quietly loses

Role specialization gives each agent a bounded responsibility and a context scoped to it. Its strength is legibility: a checker that only checks is easier to reason about, constrain and replace than a loop that checks as an afterthought. Narrow agents also fail in narrow, nameable ways, which makes diagnosis easier.

What specialization loses is the implicit context a generalist carries for free. In one loop, a fact discovered in step one is simply present in step four. Across agents, that fact has to be passed deliberately, and anything not passed is, from the receiver's point of view, unknown.

A second loss appears under pressure. A generalist can notice mid-task that the plan was wrong and change course. A pipeline of specialists usually cannot, because no single agent has the authority or the whole picture to revise the goal. Each role does its part faithfully, and the group marches past the point where a generalist would have stopped to reconsider.

How supervisor-led and peer handoff patterns differ

Two coordination shapes recur. In a supervisor-worker (or orchestrator-worker) pattern, one agent breaks down the goal, dispatches subtasks and integrates the results, holding the only complete view. In peer handoff, agents pass work along a chain, each finishing its stage and choosing the next recipient, with nobody holding the whole.

Supervisor-led and peer handoff patterns compared
PropertySupervisor-ledPeer handoff
Where the goal livesIn the supervisorSpread across peers
BottleneckThe supervisor's throughputThe slowest or most confused peer
Typical failureOne bad decomposition dooms every workerDrift that no agent owns
Who decides it is doneClear: the supervisorUnclear
Works best whenSubtasks are independentStages form a natural sequence

Most real systems are hybrids: a supervisor sets the goal and checks results, while workers hand off within a stage. That gives auditable authority without making the supervisor a choke point.

What it costs to pass context between agents

The defining expense of orchestration is moving context across the seam between agents. Inside one loop, state is simply there. Between agents it has to be summarized, transmitted and reinterpreted, and each step can lose or distort meaning. The receiver does not inherit the sender's understanding, only whatever fragment the handoff carried.

Pass too little and the next agent works blind. Pass too much and the generalist's cluttered context reappears inside every agent, erasing the benefit of the split. The craft is the minimal sufficient slice, and the same discipline applies to a single agent, as our piece on context engineering explains. A reliable handoff follows the same order regardless of roles:

  1. Name the decision the receiving agent must make before deciding what to send.
  2. Select the smallest slice of state that decision depends on.
  3. Mark what was left out, so the receiver can ask instead of silently assuming.
  4. Include the decisions already taken, not just the facts, so the receiver does not contradict them.
  5. Have the receiver restate its understanding before it acts, so distortion surfaces early.
Context handoff
The deliberate transfer of the state a receiving agent needs to act correctly without the sender present.
Shared state
Information several agents read or write in common; when their views diverge, their actions conflict.
Coordination tax
The overhead of handoffs, synchronization and oversight, which grows as agents are added.

Shared state adds one more hazard. When two agents read and write the same record, one may act on a picture the other has already changed. Unlike a strict program, an agent does not crash on stale data; it reasons fluently over it and produces a confident, wrong result. What an agent should remember across steps and sessions is a design problem of its own, covered in agent memory.

When does the work actually stop?

Termination is the quiet hard problem. A single loop stops when it judges the goal met; the goal and the stopping rule live in the same place. Distribute the work and that judgment scatters. Three failures recur: the system stops early because one agent's sense of "done" is taken as global completion; it runs forever because nobody has authority to stop and each handoff generates plausible next steps; or it stops in disagreement, with one agent calling the task finished and another calling it failed.

Robust systems make the stopping rule explicit and external to any single agent: a step or cost budget, one named authority that declares completion, and a definition of done every agent can test against. Anthropic's research post describes the opposite failure in its early versions, including agents spawning 50 subagents for simple queries, and the fix was explicit effort rules in the prompts.

How one wrong step compounds down the chain

Error propagation is the property by which one agent's mistake becomes the next agent's input, read as fact. A generalist that makes a wrong assumption can notice and correct it, because the assumption and its consequences sit in one context. In a chain, the agent that could notice is usually not the agent that erred.

The compounding is multiplicative. A small distortion early becomes the trusted premise of the next step, which builds on it, which feeds the one after. By the end, the original error sits under layers of confident reasoning, and the output looks coherent precisely because every later step was internally sound. A chain can be valid at every link and wrong as a whole.

The defences are structural. Validation gates between stages catch distortion before it is inherited. A checking role that audits output, rather than extending it, breaks the inheritance. Independent re-derivation, where a second agent reaches the result by another path, surfaces disagreements a linear chain hides. Measuring all this is its own discipline, described in eval discipline for generated output. Each defence is also coordination, so each adds to the tax.

Where added coordination stops paying for itself

Every agent added to a task brings specialization and also handoffs, a share of shared state and a slice of oversight. The first agents often pay for themselves because the work genuinely divides. Later ones often do not, because what they add in depth is swamped by what they add in seams. The tax is nonlinear: possible handoffs grow faster than agents, since each newcomer can exchange context with several others.

The honest way to find the threshold is empirical. Measure whether each agent reduces total time, cost or error, and remove it when it does not. Treat agent count as a cost to justify rather than a capability to collect, and resist answering every weakness by adding another role. The cheapest handoff is the one that never had to happen. If your agents call external tools, the same logic applies to each tool they gain, as discussed in tool-using agents.

WisyLink, which builds hosted web apps from a chat, uses a small division of labor. Wisy, the chat assistant, gathers what it needs: each turn it either asks one short question or starts a build, never both. An isolated build agent then writes the app. That agent has no standing access to your account, your credentials or other sites, so each role's reach matches its job.

The stopping rule is explicit too. A deploy either fully replaces the last version or does not ship, and a failed build never replaces what is live. The final definition of done stays with you: test the app before you share it.

If you orchestrate your own agents, a hosted builder can be one worker among them. The WisyLink API creates or continues a link from a message and returns its address and build status. Or skip the orchestration and start free by describing your app in one message.

F.A.Q.

Frequently asked questions

What is the difference between an AI agent and a multi-agent system?
An AI agent is a model running in a loop: it plans, uses tools, checks results and decides when it is finished. A multi-agent system runs several such loops with different roles and has them exchange work, usually under a coordinating agent. The second adds parallelism and specialization, and it also adds handoffs, shared state and new ways to fail.
How many agents should a multi-agent system have?
As few as the task allows. Start with one agent and a clear definition of done. Add a second only when you can name a subtask that is genuinely independent, and keep it only if measurement shows it cuts time, cost or errors. A common starting shape is two or three roles, such as a planner, a worker and a checker.
How do you test a multi-agent system?
Test the whole run and each handoff. Keep a fixed set of tasks with known good outcomes and score complete runs against them. Log every message passed between agents, so you can see where context was lost or a wrong assumption entered. Re-run the same task several times, because outputs vary, and track failure rates rather than single results.
Can several AI agents work on the same code at once?
They can, but it is one of the places coordination breaks down most easily, because each agent makes design decisions the others do not see. If you try it, give each agent a clearly separated area, share the decisions already made, not just the task, and have one agent or person integrate and review the combined result before anything ships.
What frameworks are used to build multi-agent systems?
Several open-source frameworks and model providers' SDKs offer the same core pieces: agents with roles, tools they can call, a way to pass messages or state, and a coordinator. The framework matters less than the design. Decide the roles, the handoff format and the stopping rule first, then pick the tool that makes those easy to inspect.
Do I need multi-agent orchestration to build a website with AI?
No. For a typical website or web app, a single conversation with a builder is enough, and any internal split of work is the platform's job. Your part is a clear description, quick feedback on each version and testing before launch. Orchestration matters if you are building your own automation that creates many sites or apps programmatically.
Share