AI & Development

Multi-Agent Architecture: Why Only One Agent Should Write

Splitting an agent into specialists breaks four very specific things in production. The principle that makes them impossible: one writes, the others think.

Published on August 20, 202610 min read

Splitting a big AI agent into small specialized agents is the natural reflex once an assistant grows. Too many tools, too many responsibilities, a prompt that overflows: you decompose, the way we decomposed monoliths into microservices.

I argued for that decomposition here in March, and the arguments still hold. Production taught me a nuance, though, and it is the subject of this article: what you decompose matters. You can distribute intelligence, but not the right to write. I learned that building agents and workflows powered by language models.

To keep everyone on board, we will follow a deliberately simple example: an AI assistant that manages a cooking blog over chat. Its user writes "add my plum tart recipe", "create a Summer Menus page", "reply to this comment". The assistant reads and writes directly into the site. Everything below applies to any agent that modifies a real system: a shop, a CRM, a workspace.

Three words before we start

Three terms come up everywhere, with an image for each:

  • a tool is a button the model can press: create a recipe, read a page, publish a reply;
  • an agent is the model, plus its written instructions, plus the list of buttons it is allowed to press;
  • a sub-agent is a colleague the agent hands the file to when a request falls outside its scope. The one distributing the files is the supervisor.

The supervisor pattern, and why teams adopt it

Once the assistant grows, the classic decomposition looks like this:

  user
    |
  supervisor       no business tools: it routes, then writes the reply
    |
    +-- recipes    create, edit, organize recipes      writes
    +-- pages      compose the blog's pages            writes
    +-- readers    reply to comments                   writes

The supervisor has no business tools. Its only job is to understand the request, hand it to the right specialist, then write the final answer. Three sub-agents sit behind it, each with its own prompt, tools and scope.

The reasons to adopt this pattern are solid. A single agent carrying every tool sees its context window fill up with irrelevant descriptions. Its permissions become impossible to scope. A prompt change for one use case breaks another. Specialization fixes all of that on paper.

On paper only. The diagram hides one detail that decides everything: all three specialists write. Each can modify the blog, and every modification crosses a boundary.

Where it breaks: the boundary

Follow one ordinary request: "Create a Summer Menus page with my three latest recipes".

The supervisor receives the message. It writes a handover note for the pages sub-agent: free text summarizing what it understood. The pages sub-agent wakes up with that note as its only luggage, works, writes into the site, then writes a report. The supervisor reads the report and answers the user.

Each of the four handoffs can fail silently.

The report gets lost in transit. A sub-agent works under a step ceiling, a cap on how many actions it can chain before it is cut off. If it hits that cap right after creating the page but before writing its report, the supervisor gets a blank sheet. A blank sheet looks like a failure. So it announces a failure and offers to retry, while the page exists. The user retries: now there are two pages.

Consent does not cross the boundary. The user said "yes, publish". That yes stays on the supervisor's desk, while the sub-agent is the one who executes. Between them sits nothing but the handover note. If the note rephrases badly, the sub-agent asks again for a confirmation already given. From the outside, the assistant looks like it is not listening.

Neither does memory. The sub-agent arrives without having read the conversation: every delegation starts on a blank sheet. "My three latest recipes", "like last time", "same style as the home page": anything the supervisor forgets to copy into its note does not exist for the specialist.

State fragments. The recipes sub-agent creates a recipe and confirms: it does exist in the database. But creating a recipe displays it nowhere: it has to be added to a page, and pages belong to another sub-agent. Neither of them sees the whole board. The assistant then confuses "it exists in the database" with "a visitor can see it", and keeps insisting everything is fine while the user stares at an empty page.

These four failures share one trait: the model did nothing wrong. Each agent, taken alone, did its job. The boundary between agents is made of free text, and free text loses information at every crossing.

The telltale sign is a prompt rule like "at most one modification per delegation, even if the user asked for several". It reflects no business constraint and hides architectural scar tissue.

What the state of the art says

Three sources, from three angles, reach the same conclusion.

Mastra's documentation1 says it: start with one agent when possible, and add more only when the extra structure clearly improves quality, speed or reliability.

LangChain's post2 supplies the missing criterion: read actions are inherently more parallelizable than write actions. Multi-agent shines on breadth-first queries, the ones where you go fetch information in ten directions at once. It fails in domains that require all agents to share the same context. An assistant that modifies a system through conversation is precisely that second case.

Cognition had published a blunt position, "Don't Build Multi-Agents"3. Their follow-up, "Multi-Agents: What's Actually Working"4, published in April 2026, is more useful still because it states what works rather than what fails: multi-agent systems, they write, work best today when "writes stay single-threaded" while the additional agents contribute intelligence to the task.

One observation in the same post is easy to skim past: most multi-agent setups are limited to read-only sub-agents, which mostly resemble tool calls rather than true multi-agent collaboration. That is the shape Cognition finds most reliable today.

The principle: one writes, several think

Writes are single-threaded. Intelligence is distributed.

One agent writes. It holds the conversation memory, the user's consent, the tone, the voice. It is the only thing with authority over system state.

The specialists stop being colleagues you hand the file to. They become consultants: you call them for an opinion, they think it through on their own with their own instructions, they return a structured answer, and they never touch the site. Technically they are model-powered tools.

  THE WRITER  ·  one agent, one voice, one authority

  write tools          consolidated by family
  read tools           deterministic, free, testable
  intelligence tools   the consultants, no write rights
      compose_page     intent + blog state    ->  a plan
      write_copy       brief + constraints    ->  the text
      review_page      state after writing    ->  what is off

Replay the earlier request. "Create a Summer Menus page with my three latest recipes": the writer reads the site, calls the compose_page consultant which returns a plan, asks for confirmation exactly once, writes the blocks, calls review_page to check the result, and answers. The memory, the yes and the site state never leave the same context. None of the four failures from the previous section needs its own fix: they become impossible to express.

Specialization stays: each consultant keeps its isolated context, its dedicated prompt and, if needed, a different model. It only loses the right to write.

A short message stays short. "Feature the plum tart" triggers no delegation at all: the writer answers on its own. In the supervisor pattern, every message, even a trivial one, crossed a boundary.

The monolith objection, and how to defuse it

The objection is immediate and fair: if one agent carries every tool, you land back on the monolith you were escaping. The Claude API documentation5 states that the model's ability to pick the right tool degrades beyond thirty to fifty available tools, without citing a study. When genuinely distinct tools remain, on-demand loading avoids resending all of them on every call.

The answer is to measure first. Every tool has to be described to the model, with its name, what it does and the shape of its parameters. That manual ships in full on every message. Anthropic estimates that fifty tools can take 10,000 to 20,000 tokens of definitions6, sent on every call before the user has said a word. Measuring takes an hour, with a script that compiles each description exactly the way your framework does right before calling the model. It makes no model calls and spends no tokens.

The measurement almost always shows that the weight comes from tool families. Ten tools named add_menu_block, add_heading_block, add_grid_block are ten ways of saying "add something to the page". A family consolidates into a single tool where one parameter carries the type. Ten buttons become one button and a dropdown.

Two measurement lessons along the way:

Measure the sum of the descriptions. They ship on every call, so the token bill follows their total.

Date your constraints. If a family was split into ten tools, it is often because of a vendor limit, such as the caps on structured outputs, the mechanism that forces the model to answer in exactly the shape you asked for. OpenAI's documentation7 currently sets maximums on the number of properties (5,000) and on nesting depth (10 levels), and those values belong to the vendor, who can change them. An architectural decision made under a vendor limit carries an expiry date nobody writes down. Check yours: the constraint that justified your split may no longer exist.

Consolidate first, merge second. Without consolidation, the merge produces an obese agent that picks its tools badly. With it, the single writer often carries fewer tools than one of your former sub-agents did.

What single-threaded writes delete

The principle mostly lets you skip building all the machinery that manages the boundary:

  • The reports between agents, and the guards that detect when they arrive empty or truncated
  • The per-delegation cost accounting, to know which sub-agent spent what
  • The defensive rules like "one modification per delegation"
  • The prompt blocks explaining to each specialist what it cannot see
  • The suspend and resume workflows, those state machines that pause an operation while a human answers, and that only exist because a sub-agent cannot wait

With a single writer, an operation awaiting confirmation becomes a state inside the ongoing conversation, with no suspended workflow to persist and resume.

What you decompose, and what you do not

None of this contradicts the March article. The monolithic agent does break, decomposition is still the right answer, MCP and A2A are still the right plumbing: the former to wire agents to tools, the latter to let them talk to each other. The base patterns and the framework comparison are in the guide to designing an agentic module, and Mastra 1.0 gives a TypeScript implementation.

The nuance is about what you decompose.

You decompose intelligence: contexts, prompts, models, specialties. That is where separation pays, because it isolates reasoning, and reasoning parallelizes well.

You do not decompose write authority. It stays in one place, with the memory and the consent. A write spread across several agents is a consensus to rebuild on every turn, and nobody builds a reliable consensus out of free text passed between two models.

The microservices parallel says the same thing, pushed one notch further. We split the services. We never split data ownership: the "database per service" pattern8 keeps a service's persistent data private and reachable only through its API. Each piece of data belongs to exactly one service, and the others read it through that API. That is the rule missing from most multi-agent architectures.

Sources

  1. Mastra, Multi-agent systems, accessed 10/29/2026.
  2. LangChain, Harrison Chase, How and when to build multi-agent systems, June 16, 2025.
  3. Cognition, Walden Yan, Don't Build Multi-Agents, June 12, 2025.
  4. Cognition, Walden Yan, Multi-Agents: What's Actually Working, April 22, 2026.
  5. Anthropic, Claude API documentation, Tool search tool, accessed 10/29/2026.
  6. Anthropic, Agent SDK documentation, Tool search, accessed 10/29/2026.
  7. OpenAI, API documentation, Structured outputs, accessed 10/29/2026.
  8. Microservices.io, Chris Richardson, Pattern: Database per service, accessed 10/29/2026.