Skip to content
Sync AI AgentsTwo curved arrows chasing each other in a closed loop, each tipped with a filled circle.sync ai agents

Pattern 04: shared memory (the blackboard)

Shared memory blackboardA large rounded rectangle labelled shared memory in the center, five coral agents around it with two-way arrows. One arrow is dashed in coral and labelled stale read.stale readshared memoryABCDE
Everyone reads the same board. Not everyone reads it at the same time.

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?

When it works

  • Many agents contribute facts to one picture (research, incident review)
  • Facts have a clear owner
  • You can scope who sees what
  • Humans want to inspect state

When it breaks

  • Agents act on facts that changed
  • Writes conflict without ownership
  • The store grows unread
  • Agents 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
BANDCross-agent Memories plus rooms; three-tier isolation (personal, org, global)Shared context across frameworksBAND platform

What do people ask about shared 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.

A coordination pattern where agents post findings to a shared knowledge base and read from it before acting, instead of messaging each other directly.

Shared memory is one way to get shared context. Passing full traces at handoffs and working in a shared room are others.

Not sure which pattern fits?

Six questions, about a minute. You'll get a pattern, a shortlist and the tradeoffs.

Last reviewed: September 2026