Multi-agent shared memory has a convergence problem that nobody wanted to admit: replicas can agree perfectly and still agree on broken code. A 2025 preprint called CodeCRDT put concurrent coding agents on a Yjs CRDT over WebSockets. Across 600 trials with six coding tasks on Claude Sonnet 4.5, every replica converged and no character-level merge failed. Yet 5 to 10 percent of those converged runs produced code that didn’t work.
The failures were mundane: duplicate declarations, mismatched types and incompatible edits in one file. Parallel runs also inflated code volume by 82 to 189 percent and cut automated quality scores by 7.7 percent.
Four questions hiding inside one
When teams ask for multi-agent shared memory, they usually mean four different things at once. Do replicas hold the same records? Does the system notice that two claims clash? Which claim is true or still active? And may the agent act, abstain or escalate given what it knows?
CRDTs answer only the first. The newest research stops treating agreement as the finish line and asks what the memory layer should do when two writers disagree.
Merging code by symbol instead of by character
One fix is to change what gets merged. Chorus, a July 2026 technical report from MingLLM and Loom Research, parses files with tree-sitter and applies per-symbol edits that commute, so order doesn’t matter. In the vendor’s demonstrations, six writers editing one file converge to identical bytes in any merge order, and structural collisions that can’t be resolved fail closed instead of leaving broken syntax. The report has no full benchmark tables, so treat the claims with care.
Chorus still can’t see across files. If one agent changes a function signature while another updates callers elsewhere, the trees merge cleanly and the build fails. Chorus sends merged trees through a test-gated queue for that reason. Semantic validity lives outside the merge operator.
Keep the conflict or settle it on write
Facts and task state have no compiler to check them, and two summer 2026 papers take opposite sides.
StateFuse, from researchers at the University of Hong Kong, keeps clashing claims in an immutable operation log as explicit conflict objects. Resolution happens only when someone reads, through a projection that can’t rewrite history. On a 282-question conflict slice of MemoryAgentBench, it tied simpler baselines at 97.5 percent answer accuracy. The gain showed up elsewhere. In a controlled agent loop, visible ambiguity let the agent abstain, while baselines that collapsed conflicts early fell to 60 percent success with 40 percent confident wrong actions. Under last-write-wins, one agent’s deployment approval can overwrite another’s cancellation, and the system ships.
LatticeMind, accepted at EMNLP 2026, pays the cost up front. It stores typed items with validity, contestation and precedence status, runs cheap symbolic checks for cycles and resource violations, and calls an LLM reconciler only for real semantic contradictions. On a label-blind ConflictBank it reached roughly 97 percent accuracy against 52 to 63 percent for single-agent inference, voting, debate and judge baselines. Removing either the checker or the reconciler cost 12 to 14 points. It beat naive merging on 3 of 4 planning tasks, and it still fails when upstream extraction drops the wrong fact.
The tradeoff is clear. StateFuse refuses to bake a possibly wrong judgment into shared history. LatticeMind spares every reader from re-arguing the same dispute.
Provenance matters to both. In the Mine or Yours preprint, two copies of Qwen3-4B or Llama-3.1-8B with different private rules shared KV caches. The receiver found the partner’s facts every time, but claimed the partner’s private rule as its own about half the time, even when the text named the owner. A third approach, Chronos, branches several databases and filesystems together, runs up to 16.7 times faster on tree-search workloads, and promotes one winner. It guarantees atomicity, not truth.
When the store creates the contradiction
Sometimes no agent disagrees with anyone. A recall that spans a graph index, a vector store and a document store can catch an update halfway through, pairing an assertion from revision N+1 with source text from revision N.
A study on Cognee ran 600 runs at about 20 recalls per second. Default incremental updates produced 199 conflicting responses out of 12,010 recalls under spaced writes and 284 out of 12,010 under bursts. A read/write lock or optimistic epoch validation brought that to zero across 24,020 recalls. The price was tail latency: under bursty updates, epoch validation trimmed update p95 by 109 ms but added 290 ms to recall p95 compared with the lock. On Hindsight, a shared snapshot fixed all 10 controlled pairs and raised recall p95 from 19 ms to 29 ms. Before blaming a model for a hallucinated contradiction, check what snapshots it was given.
Retractions and stale derived values
Two more gaps remain. The Knowing the Store preprint tested whether models can tell, from a summary of a store, that it holds a canceled plan, a retracted claim or an expired credential. On a 148-question benchmark, none of five LLMs reliably beat plain cosine similarity on short attribute lists. If the store discards retraction status, no prompt restores it.
MemShift tested what happens after a change is spotted: a moved meeting, a deleted email. Models often failed to recompute the derived schedule or summary in plain text. Generating executable programs over typed records closed most of the gap. Detection helps only as far as repair allows.
What to build and what comes next
The practical advice for multi-agent shared memory is short. Don’t hide disagreements behind last-write-wins. Put a snapshot boundary around recall. Record whether each item is active, superseded or retracted. Then choose: preserve and project when a wrong early merge could trigger an unsafe action, or reconcile on write when you’re aggregating credibility claims and can commit a status.
Neither helps after an agent has already acted, crashed mid-call or spent budget on an ambiguous delegation. Recovery is the next problem teams have to solve.
Source: Christopher Meiklejohn