← All writing

Agents· February 12, 2026 · 11 min

Multi-Agent Systems Are Mostly Bad Engineering

Most multi-agent demos are a single agent with extra steps — and a 4x token bill.

The Bait

A diagram with five labeled boxes — Planner, Researcher, Coder, Critic, Reviewer — connected by arrows that loop back on themselves. A screenshot of a terminal where each box prints its own colored log line. A caption that reads "fully autonomous multi-agent system."

It is not a multi-agent system. It is a single agent with a chain of prompts and a marketing team.

I have shipped enough of these to know the difference, and I have killed enough of them to be done being polite about it.

What "Multi-Agent" Actually Means

A real multi-agent system has three properties:

  1. Independent decision boundaries. Each agent owns its own policy. No central process can preempt or rewrite its choices.
  2. Distinct goals. Agents are not all optimizing the same scalar. They have different objectives that may conflict.
  3. True concurrency. They run in parallel, with no synchronous round-robin scheduler deciding whose turn it is.

If you can replace your "agents" with step1(), step2(), step3() and the system behaves the same, you do not have a multi-agent system. You have a function with delusions.

The Planner -> Executor -> Critic loop fails all three tests. The planner has no goal independent of the executor. The critic exists only to feed back into the planner. The whole thing executes sequentially. It is a Chain of Responsibility pattern from 1994, wrapped in three system prompts and a price tag.

When Multi-Agent Is Correct

There are real use cases. They are narrower than the demos suggest.

  • Simulations. You are modeling a market, a negotiation, a crowd. Agents must hold private state and act in self-interest. Multi-agent is the only honest model.
  • Adversarial setups. Red-team / blue-team. Attacker / defender. Generator / discriminator. The opposing objectives are the point.
  • Genuinely parallel decomposition. A swarm of agents researching 200 companies in parallel, none of which need each other's output. Embarrassingly parallel maps fine to multi-agent if you actually need agent-level autonomy per branch (you usually do not — a for loop over tool calls is cheaper).

That is roughly the list. Notice what is not on it: code generation, customer support, document analysis, "AI assistants." Those are all sequential, shared-memory, latency-sensitive tasks. The exact workloads where multi-agent is wrong.

The Cost Math Nobody Shows You

Let us do the arithmetic the demos skip.

You have four agents. They run five rounds of message passing. Each agent maintains an 8k-token rolling context (system prompt + shared scratchpad + recent history).

4 agents x 5 rounds x 8k context = 160,000 input tokens per pass

Each agent generates ~2k tokens per turn:

4 agents x 5 rounds x 2k output = 40,000 output tokens

So per task you are burning roughly 200k tokens of LLM traffic before any tool calls. With Claude Sonnet pricing that is around $0.90 per task. Add tool round-trips, retries, and the inevitable "let me reconsider" loop, and you are at $2 to $4 per task for what a single agent would handle for $0.20.

I have watched a team scale this to 50k tasks per day and then watch their CFO scale them back to one agent within a sprint.

Coordination Is the Achilles Heel

Even if you can afford the tokens, you cannot afford the deadlocks.

Two agents waiting on each other's output is the simplest failure mode and the most common.

# Agent A's policy
if not shared_state.get("plan"):
    wait_for("plan")  # blocks until B writes it
return refine(shared_state["plan"])

# Agent B's policy
if not shared_state.get("draft"):
    wait_for("draft")  # blocks until A writes it
return plan_for(shared_state["draft"])

Both agents are correct in isolation. Together they hang forever. You will write a timeout. The timeout will fire. You will then write retry logic. The retry will produce a different draft. The other agent will respond to the new draft, invalidating the first agent's reasoning. Welcome to distributed consensus, except your nodes hallucinate.

Production multi-agent systems end up reinventing parts of Raft, badly, in a Slack thread.

Frameworks, Honestly

I have shipped real workloads on each of these. Here is the unsentimental version.

FrameworkWhat it is good atWhat it is bad at
LangGraphState machines with LLM nodes. Honest about what it is.Documentation drift, Pythonic verbosity.
CrewAIDemos. Conference talks. Tweets.Production. Debugging. Cost.
AutoGenResearch prototypes, conversational sims.Latency, observability, anything customer-facing.

LangGraph wins because it stopped pretending. It is a graph executor with conditional edges and a state object. That is what an "agentic system" actually is. The framework that admits this is the one you can debug at 2am.

CrewAI is built around personas — "you are an experienced researcher, you are a senior writer" — which is exactly the shape that makes models hallucinate confidently. It produces beautiful demos and undebuggable failures.

AutoGen sits in the middle. The conversational primitives are nice for prototypes. The cost model is brutal for anything resembling a product.

The Pattern That Actually Works

One orchestrator. Tool calls. That is it.

async def orchestrate(task: str) -> Result:
    state = State(task=task)
    while not state.done:
        action = await llm.decide(state)        # one LLM call
        result = await tools.execute(action)    # one tool call
        state = state.apply(result)
    return state.result

The orchestrator is the only thing making decisions. Tools can be arbitrarily smart — a tool can wrap a specialized prompt, a vector search, an external API, even another LLM call with its own system prompt. But the control flow lives in one place. One state machine. One trace. One thing to debug.

When you need parallelism, fan out tool calls. When you need a specialist, give the orchestrator a tool whose implementation is a focused prompt. The model already knows how to call tools. You do not need a framework for this. You need a while loop and discipline.

A War Story

Last year we built a code review feature for a developer tools product. The first design was a five-agent system — Style Reviewer, Security Reviewer, Logic Reviewer, Test Coverage Reviewer, and Synthesizer. Each had its own system prompt, its own context window, its own retry policy. The Synthesizer collated the four reports into a single comment.

It worked. It also took 47 seconds at P95 and cost about $0.31 per review. Worse, the reviews were mediocre. The Synthesizer kept producing bland summaries because it was averaging four LLM outputs that already half-agreed with each other. Reviewer drift — each agent slowly converging on the same generic "consider extracting this function" suggestion — was real and measurable.

We replaced it with one agent and three tools:

  • static_analysis(diff) — runs the existing linter and type checker, returns structured findings.
  • git_blame_context(file, line) — pulls in the last three commits touching that line.
  • search_codebase(query) — semantic search over the repo for related patterns.

The single agent uses these tools to reason about the diff in one pass. P95 latency dropped to 8 seconds. Cost fell to $0.06 per review. Review quality went up — measured by accept rate on suggestions — because the model was working with real signal from real tools instead of synthesizing four hedged LLM opinions.

The five-agent version was easier to draw on a whiteboard. That was its only advantage.

The Failure Mode We Did Not See Coming

The reason we even tried the five-agent design — and this is the embarrassing part — was that we wanted to "let the agents specialize." We had this fuzzy belief that giving each reviewer a narrow system prompt would produce sharper analysis than a single generalist prompt.

It did not. The model is already a generalist. Forcing it into a narrow persona did not make it better at security review; it made it worse at saying "I do not see a security issue here" because the Security Reviewer's role was to find security issues. Personas create incentive structures inside the agent. Those incentives are not aligned with what you want.

We learned this the hard way after shipping a version where the Security Reviewer flagged localStorage.setItem('theme', 'dark') as a "potential information disclosure vulnerability." It was doing its job.

The Test

Here is the question I now ask before any "multi-agent" design review:

Can you draw this system as a single state machine with explicit transitions and a single mutable state object?

If yes, build it as one. The "agents" are nodes. The "communication" is state updates. You get one trace, one log, one thing to reason about. Debugging is tractable. Cost is predictable.

If no — if the agents genuinely have private state and conflicting objectives and run concurrently — then you have a real multi-agent system, and you should treat it like the distributed systems problem it actually is. Read Lamport. Add timeouts. Expect deadlocks.

Most teams find that when they try to draw the state machine, they can. And the state machine is small. And the realization that follows is uncomfortable but correct: they never needed multiple agents. They needed one agent with better tools.

Takeaway

If you cannot draw your multi-agent system as a single state machine, you do not understand it. If you can, you do not need it.