Skip to content
sync ai agents

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 whenBreaks when
Many agents contribute facts to one picture (research, incident review)Agents act on facts that changed
Facts have a clear ownerWrites conflict without ownership
You can scope who sees whatThe store grows unread
Humans want to inspect stateAgents from different vendors must keep internals private

Which tools use shared memory?

ToolHow it coordinatesGood forSource
LangGraphShared graph state with checkpointsSingle-app stateLangChain docs
Microsoft Agent FrameworkGroup Chat orchestration (shared conversation)Discussion-style agentsMicrosoft Learn
LettaStateful agents with long-term memory; subagentsMemory-heavy agentsLetta
BANDShared memories, rooms and activity timelinesShared context across frameworksBAND 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.

Try BAND free