FIELD NOTE / 2026.10.025 MIN READ / 5 SOURCES

Shared Memory in Agent Teams: What Everyone Should Know vs What Roles Should Keep Separate

Shared memory helps agent teams coordinate, but indiscriminate sharing creates context pollution, privacy leakage, and role confusion; teams need scoped common and private memory.

Shared memory should contain coordination facts, not every thought

Anthropic’s context-engineering guidance treats context as a finite resource that should contain the highest-value information for the next step. [1] In a multi-agent team, that argues against copying the full conversation into every worker. Shared memory should hold coordination-critical facts such as the current objective, constraints, decisions, pending dependencies, and verified outputs. For a production team, that means the architecture should expose a concrete contract rather than relying on the model to infer organizational etiquette. The more agents involved, the more valuable explicit boundaries become because small ambiguities multiply across messages, retries, and handoffs.

Context is a scarce resource

A useful role definition names the job, required evidence, allowed tools, authority boundary, and return contract. That turns a social metaphor into an operational interface and gives evaluators something concrete to test.

Role-specific memory protects focus and least privilege

Anthropic’s multi-agent research system uses separate subagent contexts because independence reduces path dependence and lets workers focus on their own searches. [2] This is a form of role-specific memory. A security reviewer may need policy details that a copy editor does not. A planner may need milestone state that a retrieval worker does not. Separation can improve both privacy and reasoning focus. This also affects the motivational experience. Users gain confidence when progress has visible ownership and when the system can explain why a specialist was involved. Hidden delegation may be technically elegant but still feel erratic if the interface cannot connect each action back to the user’s chosen goal.

Long-running teams need durable state outside transient context

Generative Agents uses stored experiences, reflection, and retrieval to support behavior over time. [3] The important architectural lesson is that durable memory is an active subsystem rather than an accidental byproduct of the prompt. Agent teams need explicit storage, retrieval, summarization, and forgetting policies if they are expected to operate across long horizons. A useful implementation pattern is to record the decision as structured state: what was delegated, why this role was selected, what evidence it returned, and whether the result was accepted. That record supports debugging, evaluation, and later correction without requiring access to private chain-of-thought.

Private memory can be a feature

Independence is valuable only when the branches can actually contribute different information. If every worker inherits identical context and instructions, the system may multiply tokens without multiplying perspective.

Memory retrieval should be selective and task-relevant

OpenAI’s multi-agent architecture gives subagents their own contexts and coordination primitives rather than assuming one giant shared transcript. [4] Teams should exploit that separation. Shared state can contain task status and artifacts, while detailed working notes remain local unless another role actually needs them. This limits context pollution and reduces accidental instruction leakage between specialists. The important boundary is between helpful specialization and organizational theater. Adding another agent should reduce uncertainty, isolate risk, or increase coverage. If it only adds another voice without a distinct responsibility, the system is paying coordination cost without buying capability.

Governance applies to what agents can remember about users and each other

NIST’s AI RMF emphasizes governance, documentation, privacy, accountability, and monitoring across system components. [5] Shared memory raises all of those concerns. Teams need to know who can write a memory, who can read it, how long it persists, whether users can correct it, and which source supports it. Memory without ownership becomes a hidden authority layer. Evaluation should therefore include failure cases where agents disagree, return late, repeat work, or provide incomplete evidence. A team architecture is robust when the coordinator handles those cases predictably rather than assuming every worker will always return a perfect answer.

Provenance beats anonymous facts

The product should treat uncertainty as state. A worker can return complete, blocked, partial, disputed, or needs-review rather than forcing every interaction into a success/failure binary that hides coordination problems.

Common knowledge needs provenance and versioning

Common memory should preserve provenance and versioning. “The customer prefers option A” is weaker than “the user explicitly selected option A at 14:03 after reviewing alternatives.” When a fact changes, the system should replace or supersede it rather than append contradictory statements indefinitely. Agents need a way to tell current state from historical residue. For gamified AI, progress indicators should reflect durable task state rather than internal activity. Spawning three workers is not three units of progress. A milestone is earned when a verified dependency is resolved, an artifact is accepted, or the user’s objective measurably advances.

Conflicting memories require reconciliation rules

Conflicts are inevitable. One worker may report that a dependency is complete while another reports a failed verification. The memory layer should not silently choose the latest string. It needs reconciliation rules based on evidence quality, source authority, timestamps, and task ownership. Conflicted facts can remain marked unresolved until the responsible role or human settles them. Designers should also protect reversibility. When a coordination decision can be changed cheaply, the system can explore. When it changes external state or user commitments, ownership, approval, and rollback need to be explicit before the action occurs.

Conflict needs a resolver

The final system should preserve one accountable path back to the user’s objective. Internal agents can be replaced, rerouted, or upgraded, but the product must still explain what is happening in terms the user can understand and control.

Design memory as a layered team resource

A practical memory architecture has layers: shared mission state, shared verified artifacts, scoped role memory, ephemeral scratch space, and user-controlled long-term preferences. Each layer should have a purpose, access rule, retention policy, and correction path. Teams coordinate better when everyone knows the facts they truly need, while specialized roles are protected from irrelevant or sensitive context. This keeps the architecture aligned with human agency: the team may be complex internally, but the user should retain a clear view of the objective, meaningful choices, and the consequences of agent actions. Multi-agent sophistication is valuable only when it makes that relationship stronger rather than more opaque.

RESEARCH / PROVENANCE

Works Cited

5 SOURCES
  1. 01
  2. 02
  3. 03
  4. 04
  5. 05

CodeHistory is a living archive. Citations document the evidence used for this edition; later evidence may refine the account.

Contribute / Corrections

Improve the record.

Use this moderated submission form to suggest a correction, provide a source, challenge a priority claim or identify a missing contributor. Submissions are treated as research leads, not automatically published comments.