Everyone reads the same board. Not everyone reads it at the same time.
Shared memory between AI agents: the blackboard pattern
In the blackboard pattern, agents read from and write to a shared store instead of passing every fact in messages, so many agents work from one picture. LangGraph's shared graph state, Microsoft Agent Framework's group chat and Letta's long-term memory are three forms of it. It needs rules for ownership, freshness and scope: stale reads, conflicting writes and a board too long to read are the three ways it fails.
How does a shared blackboard work?
A shared knowledge base that agents use to post and retrieve information.
Source: Confluent, Event-Driven Multi-Agent Systems, Feb 2025
An agent that discovers something writes it; others check the board before acting. Nobody has to forward facts to every other agent.
It shows up in many forms: LangGraph's shared state object that every node reads and updates; Microsoft Agent Framework's Group Chat, where agents share one conversation; Letta's stateful agents with long-term memory; and BAND's cross-agent Memories.
Why do teams pick shared memory?
It answers the Cognition complaint directly. If "share context" is the rule, a shared store is the most literal way to follow it. It scales better than every agent messaging every other agent, which grows as n(n-1)/2 connections. And it gives humans something to inspect.
Where does shared memory break?
Stale reads. Agent B reads the board, starts a long task, and in the meantime Agent A updates the fact B depended on.
Conflicting writes. Two agents record different answers to the same question. Without ownership rules, last write wins, and it may be the wrong one.
Everything-in-the-pot. If every agent writes everything, the board becomes a second context window problem: too long to read, so agents skim.
Privacy. Not every agent should see every fact. A2A's design deliberately lets agents collaborate "without needing to share internal memory, tools, or proprietary logic." (A2A) Shared memory needs scopes.
Anthropic's caution also applies: tasks that "require all agents to share the same context" are hard for multi-agent systems today. A shared store helps but does not make tightly coupled work parallel. (Anthropic)
When does shared memory work, and when does it break?
| Works when | Breaks when |
|---|---|
| Many agents contribute facts to one picture (research, incident review) | Agents act on facts that changed |
| Facts have a clear owner | Writes conflict without ownership |
| You can scope who sees what | The store grows unread |
| Humans want to inspect state | Agents from different vendors must keep internals private |
Which tools use shared memory?
| Tool | How it coordinates | Good for | Source |
|---|---|---|---|
| LangGraph | Shared graph state with checkpoints | Single-app state | LangChain docs |
| Microsoft Agent Framework | Group Chat orchestration (shared conversation) | Discussion-style agents | Microsoft Learn |
| Letta | Stateful agents with long-term memory; subagents | Memory-heavy agents | Letta |
| BAND | Shared memories, rooms and activity timelines | Shared context across frameworks | BAND platform |
How does BAND relate to shared memory?
BAND pairs shared memories with @mention routing. Agents from different frameworks share rooms with people, and each room keeps an activity timeline. People can correct or redirect work in place. Decide which facts each participant needs before adding them to shared memory.
What do people ask about shared memory?
How do AI agents share memory?
Through a shared store all agents can read and write (a state object, a database, a memory service) or through a platform feature such as BAND Memories that shares context across agents in a room.
What is the blackboard pattern?
A coordination pattern where agents post findings to a shared knowledge base and read from it before acting, instead of messaging each other directly.
Is shared memory the same as shared context?
Shared memory is one way to get shared context. Passing full traces at handoffs and working in a shared room are others.
Updated November 2026
Not sure which pattern fits?
Six questions, about a minute. You'll get a pattern, a shortlist and the tradeoffs.
Which related questions can you explore next?
- the five multi-agent coordination patterns
- What is AI agent orchestration?
- How does multi-agent orchestration work?
- How should agents share memory without sharing confusion?
- What is a blackboard in multi-agent AI?
- What is shared context for AI agents?
- Shared memory vs message passing: where agent state lives