arXiv(opens in a new tab)cs.AIJun 2026Cited by 8 papers on PaperVantage

Manuscript Offprint

arXiv:2606.24535

Governed Shared Memory for Multi-Agent LLM Systems

Yanki Margalit, Nurit Cohen-Inger, Erni Avram, Ran Taig, Oded Margalit

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

AI memory systems are increasingly moving beyond isolated chatbot histories toward shared state used by fleets of cooperating agents. In this setting, memory is not only a retrieval problem: it becomes a governed distributed-systems problem involving scoped access, temporal correctness, provenance, synchronization, and policy-controlled propagation. We introduce a systems architecture for governed shared memory in multi-agent LLM environments. The architecture formalizes the fleet-memory problem, identifies four failure modes—unauthorized leakage, stale propagation, contradiction persistence, and provenance collapse—and defines primitives for scoped retrieval, temporal supersession, provenance tracking, and policy-governed memory propagation.

We instantiate these primitives in MemClaw, a production multi-tenant memory service, and evaluate them using ArgusFleet, a reproducible harness that exercises the live REST API along four governance dimensions. Our evaluation is a measurement of one production service rather than a comparison against baselines, and its negative results are central to the contribution. Provenance is the cleanest positive result: all 50 depth-four derivation chains reconstruct with correct writer identity at sub-second per-hop latency. Propagation is correct where measured, with high intra-fleet visibility and no observed cross-fleet leakage; tight per-fact polling shows that under strong write mode, write-to-visible latency is effectively one search round-trip rather than the tens-of-seconds delay suggested by a naive batched probe schedule.

The live evaluation also surfaces two production-relevant architectural issues. First, scope enforcement was initially asymmetric across API paths: tenant isolation held, but sub-tenant scope was not enforced on direct GET-by-id for agent-scoped credentials; the gap was disclosed and remediated during the study. Second, contradiction supersession works when conflicting writes are admitted, but a synchronous near-duplicate gate can reject contradictory writes before the asynchronous contradiction detector observes them. These findings support the central claim that long-context retrieval alone is insufficient for production multi-agent memory: governed shared memory requires explicit systems-level abstractions, and live evaluation is necessary to expose the enforcement and pipeline-ordering failures that design-only treatments miss.

1 Introduction

Figure

Figure 1: System overview. A fleet of cooperating agents writes to and reads from governed shared memory through MemClaw’s REST API. MemClaw exposes four governance dimensions—scope, time, provenance, and propagation—corresponding to who may read a memory, which version is current, where a memory came from, and how it moves across agent boundaries. ArgusFleet probes the same API surface with one experiment per dimension: leakage probes scope enforcement, contradiction probes temporal supersession, provenance walks derivation chains, and propagation measures authorized visibility and cross-fleet leakage. Stale propagation is evaluated jointly through contradiction supersession, where outdated rows are marked non-active, and propagation latency, where newly written facts are polled until visible to authorized readers.

Large-language-model systems are rapidly evolving from isolated assistants into fleets of interacting agents. Enterprise copilots, workflow orchestrators, customer-support systems, research agents, and automation pipelines increasingly rely on persistent memory to coordinate behavior across tasks and time. Most existing memory systems, however, were designed around a single-agent abstraction — one user, one conversation, one retrieval stream, one context window — and this assumption breaks under fleet-scale deployments.

When multiple agents interact through shared memory, new correctness and governance requirements emerge that are absent from the single-agent setting. The system must answer who is allowed to retrieve which memory, how conflicting facts are resolved when two agents disagree, how knowledge propagates safely across agent boundaries, whether each retrieved memory can be traced back to its writer, and how stale memories are invalidated when the underlying state changes. These are not retrieval-quality questions. They are distributed-systems and database-consistency questions in retrieval clothing.

Current AI memory systems largely optimize for properties inherited from the single-agent world: retrieval relevance, conversational recall, long-context compression, and semantic similarity. Production multi-agent deployments require an additional layer on top: scoped visibility, policy enforcement, temporal correctness, synchronization semantics, and provenance guarantees. We argue that AI memory is therefore evolving from a context-window problem into a governed distributed-memory problem, and that this transition warrants the same systems-level attention historically devoted to databases, event-sourcing, and synchronization infrastructure.

This paper introduces a systems architecture for governed shared memory under that framing and presents MemClaw as a reference implementation deployed at fleet scale. We also introduce ArgusFleet, an evaluation harness that lets the resulting primitives be measured empirically against a live production service.

References (18)