AGENSPHERE/ JOURNAL
← JOURNAL
J-046NOTE3 MIN READ

Multi-agent systems are a last resort, not an architecture

Multi-agent systems split work across several LLM agents that hand tasks to each other. They add cost, latency and failure points, so reach for them only when one agent genuinely cannot hold the job. When they help, and how to build them so they stay debuggable.

IN SHORT
  • Multi-agent systems split one task across several LLM agents with different roles. Every handoff adds cost, latency and a place where context is lost.
  • Start with one agent and good tools. Split only when the work truly needs parallelism, separate permissions, or context too large for one agent to hold.
  • The pattern that holds up best is an orchestrator with workers: one agent plans and delegates bounded subtasks, workers return structured results, and nothing talks to everything.
  • Make every handoff a typed message with a trace ID, so a failed run can be followed across agents.

Multi-agent systems are an appealing idea: a planner agent, a researcher agent, a writer agent and a reviewer agent, each an expert, working together like a team. In practice, every extra agent is another model call chain, another handoff where context is lost and another place for the run to fail. They are sometimes the right design. They should never be the default.

01What is a multi-agent system?

A system where two or more LLM agents, each with its own instructions, tools and context, work on parts of one task and pass results between them. Common shapes are an orchestrator with workers, a pipeline of agents in sequence, and a group chat where agents talk freely.

02Why are multi-agent systems a last resort?

  • Cost multiplies. Each agent re-reads its own context on every step. Several agents means several growing contexts (see AI agent development cost).
  • Context gets lost in handoffs. The second agent knows only what the first chose to pass on. Important details quietly disappear.
  • Failures compound. If each agent completes its part correctly most of the time, a chain of several completes correctly less often than any one of them.
  • Debugging gets hard. A wrong answer may come from any agent or any handoff.

Most tasks that look like they need several agents are better served by one agent with good tools, or by a workflow (see AI agents vs workflows).

Add an agent only when you can name what the single agent could not do.

03When do multiple AI agents genuinely help?

Three situations:

  1. Parallel, independent subtasks. Researching ten companies, reviewing twenty documents: workers run at the same time and the orchestrator combines results.
  2. Separate permissions. One agent reads customer data; another, which drafts public text, must never see it. Splitting enforces the boundary.
  3. Context too large for one agent. Each worker reads a large slice in its own context window and returns a short, structured summary (see a context window is not memory).

If none of these apply, keep one agent.

04How do you build a multi-agent system that stays debuggable?

Use an orchestrator and workers, with strict contracts:

agents/orchestrator.py
from pydantic import BaseModel

class Subtask(BaseModel):
    trace_id: str
    goal: str                 # one bounded goal, not "help with the report"
    inputs: dict
    allowed_tools: list[str]  # the fewest tools that can do it
    max_steps: int = 8

class WorkerResult(BaseModel):
    trace_id: str
    status: str               # "done" | "failed" | "needs_human"
    output: dict              # validated against a schema per subtask type
    evidence: list[str]       # sources or tool results the output rests on

def run(task):
    plan = plan_subtasks(task)                       # orchestrator: one model call, structured output
    results = run_in_parallel(worker, plan.subtasks)  # workers never talk to each other
    return combine(task, [r for r in results if r.status == "done"]), [r for r in results if r.status != "done"]

The rules that matter:

  • Workers do not talk to each other. All communication goes through the orchestrator, so there is one place to look.
  • Every handoff is a typed message, validated like any model output (see validate structured outputs at the boundary).
  • Every message carries a trace ID, so one run can be followed across agents (see trace and cost every model call).
  • Each worker has its own step budget and tool list.
  • Failures are explicit. A worker returns "failed" or "needs human" rather than an empty or invented result.

05How do you evaluate a multi-agent system?

Evaluate each worker on its own subtask type first, with its own test set, then evaluate the whole system end to end on real tasks. When end-to-end quality drops, the per-worker scores tell you where (see how to evaluate AI agents).

06Where to go next

For the protocol layer that lets agents share tools, read MCP turns tools into a protocol. For how we build agents for production, see AI agent development.

Prototype works, production doesn’t?DESCRIBE YOUR SYSTEM →