MemTX: Transactional Belief Commit for Stateful Agent Memory
Xiaoyang Li, Yiqi Wang, Haohui Lu, Zhi Chen, Mo Li, Pingan Song, Mingkai Zheng, Taotao Cai
Abstract
LLM agents increasingly coordinate through persistent shared memory: one agent's write becomes another agent's premise, and eventually a tool call with real side effects. Current agent memory systems treat every accepted write as immediately actionable truth, so a polluted tool result, a stale update, or a teammate's half-finished note can silently drive an irreversible action. We argue that a memory write is not a belief commit. We present MemTX, a transactional belief-commit protocol. Each record carries evidence, permissions, provenance, and validity. Writes are staged inside snapshot-isolated transactions and admitted by a validate-and-commit pipeline, irreversible tool calls are gated on in-flight belief state, and retracting a belief triggers typed cascading repair of its derived records and tool side effects. Two invariants, action-safety gating and cascade-repair completeness, are machine-checked by property-based testing and bounded exhaustive enumeration of 5.5 million protocol states, with zero violations. Across five backbones from three model families, MemTX leads all eight baselines with paired-McNemar significance on four backbones and statistically ties the best baseline on the fifth and strongest, while remaining the only method with zero downstream harm on every backbone. Backbone capability does not substitute for commit discipline.
Create a lesson
Metadata
- Comments
- Preprint
Related papers
Lazy Agents Answer Against Their Own Beliefs: Reinforcement Learning with Verifiable Beliefs Teaches Them to Act on What They Believe
Shared title terminologycs.AIRichmond Sin Jing Xuan, Peilin Feng, Wenbin Wang et al.
Interactive Reward Agent: GUI Task Evaluation via Environment-State Verification
Shared title terminologycs.AIChenrui Shi, Yuwei Wu, Yang Liu et al.
When AI Agents Commit: Cognitive Serializability Across Data, Evidence, Policy, and Authority
Shared title terminologycs.AIJun He, Deying Yu
LazyMem: Retrieve Broadly, Construct Selectively for Efficient Long-Term Agent Memory
Shared title terminologycs.AIJing Yu, Yibo Zhao, Jiaming Zhang et al.
TASK Memory: Beyond Text-Only Memory with Activation Steering and Knowledge Editing against Memory Hallucination
Shared title terminologycs.AIJinkun Zhao, Wenjun Wu
REE: A Scientific Research Entrance Exam for AI Agents
Shared title terminologycs.AIZeqi Zhou, Minghao Liu, Jiarui Liu et al.