Back

Multi-Agent Systems: What They Are, Where They Fail and How Agents Share Memory (2026)

Explainer · · Published November 2026 · 7 min read

By Ashwin Gopinath, CEO

TL;DR

A multi-agent system is a set of AI agents that each handle part of a job and pass work or information between them. The common shapes are a supervisor that hands work to specialists, a pipeline of agents and peers that hand off to each other. Multi-agent systems suit work that splits into independent parts, and they cost more tokens than one agent. Agents share memory in three ways: messages, a shared state object and a shared memory layer that every agent reads. Sentra is that shared layer for company facts: one current, permissioned memory that people and agents read from.

What is a multi-agent system?

A multi-agent system is two or more AI agents that divide a goal, each with its own instructions, tools and context, and pass work or results between them. An AI agent is a model that can plan and take actions through tools. A multi-agent system puts several of them on one job, so each agent holds a smaller task and a shorter context.

A research task is the usual example. One agent plans the question, three agents each search a different source at the same time, and a final agent writes the answer.

What are the common shapes of a multi-agent system?

Most multi-agent systems take one of three shapes: a supervisor with specialists, a pipeline, or peers that hand off.

ShapeHow it worksGood for
Supervisor and specialistsA lead agent plans the job, gives each part to a specialist agent and combines the resultsResearch and analysis where parts can run at the same time
PipelineAgents run in a fixed order, and each one's output is the next one's inputRepeatable processes such as draft, review, publish
Peer handoffThe agent holding the conversation passes control to another agent better suited to the next stepSupport and triage, where the right specialist depends on the request

The frameworks use their own names for these shapes. Anthropic describes its research system as an orchestrator-worker pattern in which a lead agent coordinates subagents that run in parallel (anthropic.com). CrewAI offers a sequential process and a hierarchical process with a manager agent that plans, delegates and validates (docs.crewai.com). In the OpenAI Agents SDK, a handoff lets one agent delegate to another, and by default the new agent takes over the conversation with its history (openai.github.io).

When is one agent enough?

One agent is enough when the job fits in a single context window, the steps depend on each other and nothing can run in parallel. Start with one agent and good context, and add agents when you can name the reason.

  • Use one agent when each step needs the full picture from the step before, as in most coding and writing tasks.
  • Use several agents when parts of the job are independent and can run at the same time.
  • Use several agents when the job needs more reading than one context window holds.
  • Use several agents when the work crosses teams or vendors, and each side runs its own agent.

Anthropic's engineering team reports the same line from practice. Multi-agent systems did well on valuable tasks with heavy parallel work. They were a weak match where every agent must share the same context or the parts have many dependencies (anthropic.com).

Where do multi-agent systems fail?

Multi-agent systems fail most often at the joins between agents: what each agent knows, what gets passed on and what gets done twice.

  • Different or stale facts. Each agent builds its own picture from the sources it was connected to. One agent works from last month's plan and another from this week's, and both answer with confidence.
  • Repeated work. Two agents read the same documents or run the same search because neither can see what the other already did.
  • Lost handoffs. The receiving agent sees only what the sender put in the message. A constraint or a decision that was left out is gone.
  • Token cost. Every agent carries its own context and makes its own tool calls. Anthropic found its multi-agent systems used about 15 times more tokens than chats, against about 4 times for single agents (anthropic.com).

Three of these four come back to memory. Agents that read the same current facts repeat less, lose less at the handoff and contradict each other less.

How do agents in a multi-agent system share memory?

Agents share memory in three ways: they pass messages, they read and write a shared state object, or they all read a shared memory layer that outlives the run. Most production systems use all three, each for a different kind of information.

MethodWhat it holdsHow long it lastsWho can read it
Shared memory layerDurable facts: people, accounts, decisions, commitments, with source and timeAcross runs, applications and vendorsEvery permitted agent and person
Shared state or scratchpadThe plan, intermediate results and notes for one jobOne run, or one application if it is savedAgents inside that application
Message passingWhatever the sending agent chose to includeThe length of the handoffThe receiving agent

Message passing

Message passing means one agent sends its output, or the conversation so far, to the next agent. It is the simplest method. Its limit is that the receiver knows only what the sender wrote down.

A shared scratchpad or state object

A shared state object is one structure that every agent in a run reads and updates. In LangGraph, state is the shared data that nodes read and update, and each node returns its changes to it (docs.langchain.com). In CrewAI, the agents in a crew share the crew's memory by default (docs.crewai.com). This works well inside one application. Agents built on another platform cannot see it.

A shared memory layer

A shared memory layer is a store outside any single agent that every agent queries before it acts. It holds facts that stay true after the run ends: who owns an account, what was decided, what was promised and when that changed. Because it sits outside the frameworks, a support agent on one platform and a coding agent on another get the same answer. Our comparison of memory MCP servers for multi-agent systems covers the options.

Which protocols and frameworks do multi-agent systems use?

Multi-agent systems use two open protocols, MCP and A2A, and usually one framework that runs the agents. The Model Context Protocol, created by Anthropic, is "an open-source standard for connecting AI applications to external systems" such as data sources and tools (modelcontextprotocol.io). The Agent2Agent protocol, announced by Google and now under the Linux Foundation, carries tasks between agents. The A2A project sums up the split: "MCP connects an agent to tools, APIs, and data. A2A connects it to other agents. Use both." (a2a-protocol.org).

Neither protocol defines a shared memory, so memory is usually served to agents as an MCP server. Our guide to MCP vs A2A goes through both in detail.

The frameworks named above, LangGraph, CrewAI and the OpenAI Agents SDK, are the common choices for building the agents. AutoGen is Microsoft's framework for agentic AI. Its repository is now archived, and Microsoft recommends Microsoft Agent Framework for new projects (github.com).

A framework decides which agent runs each step. What every agent knows about the company is a separate question, covered in agent orchestration vs shared memory.

Company memory: where Sentra fits

Sentra is the shared memory that a company's agents and people read from. It reads the tools where work happens: Slack, email, meetings, docs, GitHub, Linear, Jira and the CRM. It turns what was said and decided into facts that carry their source and time, and it keeps them current. An agent that asks about a customer gets this week's answer, with the thread or meeting behind it.

AI agents such as Claude, ChatGPT, Cursor and Claude Code query that memory over MCP and REST. People ask the same memory in Slack or the Sentra app. The supervisor, the specialists and the person who reviews their work all start from one set of facts.

Source permissions carry through. Each person and each agent sees only what that person can already open in the source tool. Sentra is SOC 2 Type II and ISO 27001 certified and runs in cloud, isolated VPC or on-prem.

Sentra also acts first. It finds what is going wrong, such as a stalled decision or a slipped commitment, works out who should act and tells them. A named person approves before it reaches anyone else. It prepares meeting briefs too. Our guide to ambient agents explains this way of working.

To see your agents and your team work from one company memory, book a demo.

FAQ

What is a multi-agent system?

A multi-agent system is two or more AI agents that divide a goal, each with its own instructions, tools and context, and pass work or results between them.

How do agents share memory in a multi-agent system?

In three ways. They pass messages, they read and write a shared state object inside one framework, or they query a shared memory layer that every agent can reach. Sentra is a shared memory layer for company facts, served over MCP and REST.

When should you use a multi-agent system?

Use one when the work splits into independent parts, needs more reading than one context window holds, or crosses teams and vendors. For tightly linked steps, one agent is usually enough.

Why do multi-agent systems fail?

Mostly at the joins. Agents work from different or stale facts, repeat each other's work, lose details at the handoff and use many more tokens than one agent would.

What is the difference between MCP and A2A in a multi-agent system?

MCP connects an agent to tools and data. A2A connects an agent to other agents so it can hand over a task. Most multi-agent systems that cross vendors use both.

Which frameworks are used to build multi-agent systems?

Common choices are LangGraph, CrewAI and the OpenAI Agents SDK. Microsoft's AutoGen is archived, and Microsoft points new projects to Microsoft Agent Framework.