Agentsensus: Consensus-Compressed Shared Memory for Multi-Agent Story Worlds

arXiv:2609.32297 · cs.AI, cs.CL, cs.MA · Submitted 2026-09-26 · Read on arXiv

cs.AI, cs.CL, cs.MA

Submitted: 2026-09-26

Updated: 2026-09-26

Comments: 32 pages, 19 figures, 9 tables. Code: https://github.com/impanyu/agentsensus

License: http://creativecommons.org/licenses/by/4.0/

The gist: A agentic story world is a dynamic system simulating who learned what, when, and from whom -- yet the standard design gives each character a private memory stream.

Terminology

Abstract

A agentic story world is a dynamic system simulating who learned what, when, and from whom -- yet the standard design gives each character a private memory stream. A shared event is therefore stored once per witness, large duplication will be incurred in terms of storage. We present Agentsensus, a story-world simulation framework in which there is an unified long-term memory. Records of the same event merge into one owned by all its witnesses, and semantically relevant memory records are linked. We evaluate on four worlds -- two classical Chinese novels, Hamlet, and a real-world conflict timeline -- run for 40 to 80 rounds against three per-character memory designs under an equal-granularity protocol. Agentsensus writes 22-44% fewer entries than the closest baseline and is the only design whose memory becomes shared (14-28% of records held by more than one character, some by 10) and linked (94-99%), at judged simulation quality indistinguishable or even better than the baselines. An ablation attributes this to the merge itself: disabling it multiplies the store by 3.1x and takes sharing to exactly zero. Sharing also compounds with the horizon rather than saturating early, rising 6% to 9% to 14% as one world is re-run at 10, 20 and 40 rounds.

Sources

Related papers