The technique · Executize stage

Agent swarm

An agent swarm is multiple specialized agents coordinating to accomplish a goal that doesn't reduce to one agent's work. Distinguished from a multi-step workflow by three things: specialization, coordination, and a shared goal the individual agents don't individually achieve.

What an agent swarm is

The term gets used loosely. Almost everything sold as a "swarm" in enterprise AI is actually a multi-step workflow with agents at some of the steps — sequential, not coordinated, and perfectly serviceable as a single agent or deterministic code. That's not a criticism of the workflow; it's a criticism of the label.

A swarm has three properties, all required:

  • Specialization. Each agent does something genuinely distinct — different domain, different tools, different evaluation standard. If two agents could be merged into one without loss, they should be.
  • Coordination. There is a mechanism that routes work between agents — a controller, a shared state, an orchestrator. The agents don't just run in sequence; they interact.
  • A shared goal. The goal is achieved by the whole, not by any single agent. A customer service swarm where one agent classifies, one retrieves, one drafts, and one reviews achieves resolution — no single agent achieves it.

The coordination layer in the Executize stage is where swarms become real — where agents can be composed, monitored, and improved through a registry, not ad hoc.

When a swarm makes sense

Three conditions must all hold. If any one fails, a single agent is cheaper, faster, and more debuggable.

ConditionWhat it meansWhat it looks like when it fails
Genuinely different capabilities The goal requires different domains, tools, or evaluation standards that one agent can't hold well. Three agents that all reason about the same ticket — mergeable into one, running 3x as many prompts.
Parallelism or natural handoffs The work splits into non-overlapping regions or has clean handoff points. Agents stepping on each other, waiting on shared state, or needing extensive negotiation to proceed.
Coordination cost justified The reduction in per-agent complexity pays for the coordination overhead. A swarm that gets the right answer at 5x the latency and cost of a single agent.

The third condition is the one teams skip. A swarm is always more expensive than a single agent — more model calls, more tokens, more failure surface, more debugging surface. It only earns its cost when the per-agent complexity reduction is real. A three-agent swarm on a problem one agent could solve is not "advanced" — it's expensive engineering.

Why it matters

When a swarm is genuinely needed, it unlocks capabilities that a single agent can't produce. A legal research swarm can hold the contract, the regulatory corpus, and the precedent database as separate expert agents, then coordinate to produce a memo that synthesizes them. A single agent, given all three, would need to hold all three contexts simultaneously — technically possible, frequently worse.

But the more important framing for most organizations is the inverse: most "swarms" in enterprise proposals are not swarms. They're a workflow described in agent language to sound more advanced. Recognizing the difference saves nine figures of wasted engineering, and it's a skill the coordination layer forces you to develop — because coordination without purpose is just overhead you can measure.

Three swarm patterns

  1. Orchestrator–workers

    One controller agent routes work to specialized worker agents.

    The most common real pattern. The controller receives the goal, decomposes it, and assigns subtasks to specialized workers — retrieval, analysis, drafting, review. The workers report back; the controller assembles the result. Correct when the goal decomposes cleanly and the worker specializations are genuinely distinct.

    Illustrative example A contract review workflow: controller agent receives the contract and the goal ("flag any clause that's non-standard for our jurisdiction"). It routes to three specialists — precedent lookup, regulatory check, drafting — and assembles their findings into a memo. No worker sees the whole contract; the controller holds the coordination.
  2. Debate

    Multiple agents argue for different answers; a judge selects or synthesizes.

    Useful when the workflow's failure cost is high and single answers are unreliable — complex reasoning, high-stakes classification, or ambiguous interpretations. The agents produce independent answers, see each other's reasoning, and revise. A judge agent selects. Expensive: 2–5x the token cost of a single call, with diminishing returns past three agents.

    Illustrative example A medical coding workflow has three agents independently code a chart, each with a different lens (billing, clinical accuracy, compliance). Where they agree, high confidence. Where they disagree, the case routes to a human coder. The swarm exists because the disagreement itself is the signal.
  3. Hierarchical

    Swarms of swarms — a controller dispatches to sub-controllers.

    Rarely justified. When the task has genuinely hierarchical structure — a company-wide audit that decomposes into department audits that decompose into workflow audits — a hierarchy of controllers may make sense. But at this scale, the coordination cost usually exceeds the value, and a well-designed single-level swarm with a stronger controller performs better. Treat hierarchical swarms as a hypothesis, not a default.

    Why it's often wrong Each additional layer of controllers multiplies latency and cost without adding average-case value. Teams often reach for hierarchical swarms to solve coordination problems that were really specification problems — the goal wasn't clearly defined, so the controllers were trying to figure out what to do instead of doing it.

Three failure modes

Swarm-washing

Calling any multi-agent process a "swarm" to sound more advanced. The label matters less than the design, but it usually signals the team skipped the workflow question — did this need to be agents at all, and did it need to be multiple? If your "swarm" is a workflow with two sequential agents, run it as a single agent. You'll save the coordination, and the debugging will be tractable.

Coordination without purpose

Agents negotiating with each other when the decomposition was fixed. If the workflow has a clear sequence — classify, retrieve, draft, review — coordination is overhead. Let each step hand off deterministically. Coordination earns its cost only when the routing genuinely varies with the input, and only when a single agent can't do the work.

Evaluation at the wrong level

Teams report "the swarm's output was correct" without measuring whether each agent did its job and whether the coordination was efficient. This produces swarms that work but at unnecessary cost. Evaluate at three levels: the swarm's output (does the whole thing work), each agent's output (did each agent do its part), and coordination (did the right work reach the right agent, and how much did routing cost).

What an agent swarm is not

  • Not a workflow. A workflow is the container. A swarm is one pattern inside it. Calling a workflow a swarm when it's a fixed sequence of steps is swarm-washing.
  • Not one agent, many times. Calling the same agent multiple times isn't a swarm. Specialization is required — different tools, different context, different evaluation. Parallel invocation without specialization is scaling a single-agent approach, not adding a swarm.
  • Not "more agents is better." Three-agent swarms outperform single agents on a narrow set of problems. Ten-agent swarms outperform three-agent swarms on almost nothing, and add 3x the coordination cost. Bigger is not better; different is better.
  • Not the same as autonomous agents. Swarms can run at any autonomy tier. A swarm at L1 (every output reviewed) is common and often correct. Swarm ≠ full autonomy.

Frequently asked questions

What is an agent swarm?

An agent swarm is multiple specialized agents coordinating to accomplish a goal that doesn't reduce to one agent's work. Three requirements: specialization (each agent does something distinct), coordination (there's a mechanism that routes work between them), and a shared goal the individual agents don't individually achieve. Without all three, it's not a swarm — it's a multi-step workflow, run by agents that could be one agent, with more failure modes.

When should you build an agent swarm instead of a single agent?

Three conditions. First, the goal requires genuinely different capabilities that one agent can't hold well — different domains, different tools, different evaluation standards. Second, the work parallelizes (or has natural handoff points) so agents can act without stepping on each other. Third, the coordination cost is justified by the reduction in per-agent complexity. If any of the three fails, a single agent or a multi-step workflow is cheaper and more debuggable.

What is swarm-washing?

Calling any multi-agent process a 'swarm' to sound more advanced. Real swarms have specialization, coordination, and a shared goal. Most things sold as swarms are just a workflow with two agents doing sequential steps — which would run faster and cheaper as a single agent or as deterministic code. Swarm-washing is a sign the team read about swarms before reading about workflows.

How do you evaluate an agent swarm?

Same way you evaluate any workflow — against a baseline, on a fixed eval set — plus two additional measurements: coordination quality (does the swarm route work to the right agent) and coordination overhead (how much cost and latency is spent on the coordination itself). A swarm that gets the right answer at 5x the cost of a single agent did not succeed; it succeeded expensively, which in production is a failure.

Where this fits

Swarms become manageable in Executize

Executize is where the coordination layer — registry, controller, decision log, eval harness — makes multi-agent systems auditable. Without it, swarms are experiments. With it, they're infrastructure.

See the Executize stage →