Sequential
Agents in a fixed order, each working on the last one’s output. Best for staged refinement; an early error carries forward.
A multi-agent system is several AI agents with separate roles, tools and context, plus the coordination, communication and runtime that make them one system.
Designing one is mostly about the parts between the agents: who decides which agent works next, how results and state move, which protocol carries them, and what checks the whole. This guide lays out the layers, the five common orchestration patterns, the protocols, a worked design and the points where these systems fail.
Updated · 11 sources
Multi-agent system architecture is the design of a system in which several AI agents — each with its own role, instructions, tools and context — work together on one job. It defines how work is divided (the orchestration pattern), how agents exchange results and state (messages, hand-offs, shared memory), which protocols connect them to tools and to each other, and how the whole run is verified, recovered and recorded.
Every design has these layers, whether they are drawn or not. Most failures trace to a layer nobody owned — usually communication, verification or the runtime underneath.
Microsoft’s architecture guidance names five patterns, each known by several other names. Real systems combine them: a fixed sequence for intake, then concurrent analysis, then a maker-checker loop on the result.
Agents in a fixed order, each working on the last one’s output. Best for staged refinement; an early error carries forward.
Agents work on the same input at once; results are voted, merged or summarised. Fast; contradictions need resolving.
Agents share one thread; a manager picks who speaks. Good for review and consensus; hard to steer with many agents.
A form of group chat: one agent drafts, another checks against criteria, until it passes or reaches its iteration cap and goes to a person.
One agent at a time; each decides to answer or pass control to a better-placed agent. Watch for hand-off loops.
A manager builds and revises a plan as it goes, assigning tasks to agents that act in outside systems. Slow to converge.
OpenAI’s guide models a multi-agent system as a graph: in the manager pattern the edges are tool calls; in the decentralised pattern they are hand-offs that transfer the conversation. Further right, agents stop calling each other and publish to a bus.
Keep a checker in the middle. In controlled tests across 260 configurations, architectures without centralised verification propagated errors more than those with centralised coordination. Distribute the work; keep the verification in one place.
Inside one system, agents can share memory and call each other directly. Across systems and vendors, two open protocols divide the work. Google’s launch post put it in one line: A2A “complements” MCP.
The Model Context Protocol. An agent discovers and calls tools, reads resources and uses prompts from a server.
The Agent2Agent protocol. A client agent finds a remote agent by its Agent Card and sends it tasks.
A claim arrives as an email with several attachments. The design mixes patterns, each chosen for one stage — the advice Microsoft gives for combining orchestration patterns.
Code unpacks the email into one item per attachment.
A classifier labels each file; each label goes to its own extractor agent.
Claim-form, invoice and photo agents run at once on their files.
Results are gathered by claim number — only when every part has arrived.
A policy agent drafts a decision; a checker agent tests it against the policy wording.
Clear claims proceed; the rest wait for an adjuster with the evidence attached.
Where this design can break. A redelivered message counted twice at the join; a join that fires when two of three parts are back; a run marked complete while one extractor failed. The architecture must rule out each one.
Research on 1,600+ traces across seven frameworks found 14 failure modes in three groups: system design, misalignment between agents, and weak verification. Each rule below answers one of them.
A Botminds agent mesh is a graph you draw once: members do the work, channels say who receives what, and a durable bus carries and remembers every message. The graph is checked before it may run.
| Multi-agent framework | Botminds agent mesh | |
|---|---|---|
| Members | Agents in code | Agents, workflows, nested meshes and outside services on one canvas |
| Routing | Your code | Conditions on channels: simple comparisons joined by and/or |
| A worker crashes | Whatever recovery you build | Another worker takes the message; a keyed join recognises it |
| Joining results | Your code | Once per key, never on a partial set |
| Fan-out | As wide as one process holds | 20,000 branches measured, rebuilt byte for byte |
| Long outside work | Holds a thread | The step parks and holds no worker |
| Failures | Exceptions in a log | One cause, a severity, shown in four places — and Piper can explain them |
| Scaling | Your infrastructure | Admitted against capacity; workers and orchestrators scale out on Kubernetes |
Read the full design in the agent mesh, and build one with teams and mesh and the system pattern in the Academy.
Multi-agent system architecture is the design of a system where several AI agents with separate roles, tools and context work on one job. It covers how work is divided, how agents communicate and share state, which protocols connect them, and how runs are verified, recovered and recorded.
Sequential (a pipeline), concurrent (fan-out and fan-in), group chat (a shared thread, including maker-checker loops), hand-off (one agent passes control to another) and magentic (a manager builds and revises a plan). Most systems combine several.
In a centralised design one orchestrator or manager agent decides who works next and combines results. In a decentralised design agents hand control to each other or exchange messages over a shared bus, with no single agent in charge of the flow.
By returning results to the agent that called them, by handing off the conversation, through a shared thread or shared state, or by publishing messages to a bus. Across vendors, A2A carries agent-to-agent tasks and MCP connects agents to tools.
MCP connects an agent to tools and data: the agent calls a capability. A2A connects an agent to another agent: the client sends a task to a peer that reasons for itself. Google described A2A as complementing MCP when it launched in April 2025.
An agent that plans a task, delegates parts to other agents, and combines what they return. Anthropic’s research system uses a lead agent that spawns parallel sub-agents, then a separate pass that attributes each claim to its source.
Mostly in the architecture, not the models: unclear roles and stopping rules, agents withholding or ignoring information, and weak verification. Lost or duplicated messages and early joins add runtime failures that look like success.
A term popularised by McKinsey’s QuantumBlack for an enterprise architecture in which custom and off-the-shelf agents work together under one set of controls, built on five principles: composability, distributed intelligence, layered decoupling, vendor neutrality and governed autonomy. The Botminds agent mesh is one implementation.
Bring one process and its documents. We’ll show you the agents, the controls and the record, running on your data.