When five agents share one memory, whose mistake becomes everyone's belief?

Shared memory is how agent teams compound knowledge instead of rediscovering it every run. It is also the mechanism by which one agent's wrong conclusion becomes infrastructure, and one user's private context surfaces in another user's conversation.

Both failures come from memory written without zones.

Three tiers, three sets of rules

  • Private scratch: one agent's working notes and hypotheses. Unvetted by definition, disposable by policy, readable by nobody else.
  • Mission-shared: knowledge for the current task's crew. Visible to that crew, expired when the mission ends.
  • Organisational: durable facts everyone builds on. Write access is a privilege, and entry requires verification.

Promotion is the control that matters

Moving a note from scratch to organisational memory should be an explicit, attributed, verifiable act, because whatever crosses that line becomes load-bearing for every future run.

Copy-paste promotion is how a guess made in March becomes established fact by June: cited confidently, relied upon by three downstream agents, its origin as an unverified hypothesis long forgotten. Nothing in the system records that it was ever provisional.

That is contamination, and it is far harder to detect than leakage because nothing looks wrong: the fact is stated cleanly and is simply not true.

The price of a strict promotion step is slower sharing, so set its bar by what a wrong entry would cost.

The test worth running

For one workflow, list which agent can read and write each piece of state. Then apply a single heuristic and ask whether a human colleague in that role would be allowed to see this.

If a support agent would not have access to the customer's payment history, the support agent's AI probably should not either. Role-based access is a solved problem in your existing systems; the mistake is building a parallel, weaker version of it inside the agent layer.

Four properties for every entry

Every entry should be useful, authorised, attributable and correctable.

Memory missing any one of them is either clutter, a leak, a mystery, or a landmine. The fourth is the one that goes missing when the store has no way to supersede an entry. If a stored fact turns out to be wrong, something has to update it, and the correction has to win at retrieval time rather than sitting alongside the original.

Test the boundary at retrieval

Write an entry as one user, then query as another with a question built to surface it. Nothing should come back. If only a prompt instruction keeps it out, the boundary lasts until the next prompt change. Query as the user the agent serves (on-behalf-of token exchange) and filter inside the retrieval, before ranking.

About this explainer

Format
Explainer
Level
Practitioner
Read
2 min read
Published
Jul 14, 2026

Short mental models: one idea, why it matters, what to do about it.

Checklist · · 29 checks

Security review checklist for an AI feature

What to check before an assistant, RAG app or agent goes in front of real users. Grouped by area, ticked off locally; progress stays in your browser.