MemTX: Transactional Belief Commit for Stateful Agent Memory
Xiaoyang LiYiqi WangHLHaohui LuZCZhi ChenMo LiPingan SongMZMingkai Zheng
Taotao Cai Xiaoyang Li
Yiqi Wang
HLHaohui Lu
ZCZhi Chen
Mo Li
Pingan Song
MZMingkai Zheng

Taotao Cai
+8
LLM agents using persistent shared memory risk irreversible actions from unverified writes. MemTX introduces a transactional belief-commit protocol where writes are staged in snapshot-isolated transactions, validated before commit, and gated before tool calls. Retracting a belief triggers typed cascading repair of derived records and side effects. Property-based testing and bounded exhaustive enumeration of 5.5 million states confirmed two invariants—action-safety gating and cascade-repair completeness—with zero violations. Across five backbones, MemTX surpasses eight baselines, achieving paired-McNemar significance on four backbones and tying the strongest on the fifth, while producing zero downstream harm on every backbone.

arXiv ·
· July 27, 2026