---
title: "Store once, reference many: one memory for a team of agents"
slug: one-memory-for-a-team-of-agents
date: 2026-12-01
author: Semurg
section: thought-leadership
tags: [memory, agents, graph, auth]
summary: Agents that pass context to each other pass copies, and copies drift. One shared memory space stores each decision once; every agent finds the same one, and each agent's token keeps it in its lane.
status: published
constants: []
---
A team of agents splits the work: one plans, one writes the code, one reviews. Each starts every session blank, so the team passes context around: the planner's notes pasted into the coder's prompt, the coder's summary pasted into the reviewer's. Every hand-off is a copy, and copies drift: the reviewer works from last week's plan while the planner has already changed it.

## One memory space, shared

Give the team one memory space instead. What the planner stores, the coder and the reviewer find, each fact with its source and date. A decision is stored once, as one node, and every agent that asks reaches that same node through the names and relationships around it: store once, reference many. When the planner changes the decision, every agent sees the change, and a fact that is forgotten is no longer returned to any of them.

## See what changed since you last looked

An agent that comes back to a task asks what changed. `memory_resume` starts a session with the working state the agent saved and what changed in the space since, each change cited. `memory_changes` lists what was added or forgotten since a given time. The reviewer does not need the planner to tell it what moved.

## Keep each agent in its lane

Sharing does not mean every agent reaches everything. Give each agent its own agent token, limited to reading or writing and to the memory spaces you name: the reviewer can read the team's space without writing to it, and an agent on a side project never sees the team's memory. The node's main token reaches all of its own spaces, so keep it out of agents.

*This post was written with AI assistance. Every result in it is checked against a published release or record before the post goes out.*
