LongMemOS: Zero-LLM-Write Deterministic Long-Term Memory for Enterprise AI Agents
Abstract
Long-horizon enterprise AI agents must preserve evolving facts, implicit preferences, and policy revisions across extended multi-session histories. Existing agent memory pipelines often invoke LLMs and dense embeddings at write time to extract facts or rewrite summaries, adding per-turn inference costs, endpoint coupling, and provenance loss. We present LongMemOS, a single-executable Rust deterministic memory operating system with a zero-LLM, zero-learned-embedding write path. Incoming turns are persisted offline in an encrypted, append-only local store split at 32 KiB UTF-8 boundaries, with server-assigned monotonic sequence numbers, SHA-256 verification, and an embedded lightweight graph index. Conflict tracking and multi-path retrieval are decoupled from writes via explicit supersedes chains and optional asynchronous consolidation. Using one frozen binary (SHA-256: 6fe5dc92...), we evaluate five public benchmarks across six sets (10,957 evaluations): 95.40% on LongMemEval-S (477/500), 92.40% on LongMemEval-M (462/500), 92.86% on LoCoMo Cat 1-4 (Cat 5: 65.02%), 71.22% pass on BEAM 1M/10M subsets (641/900; mean 65.24%), 75.92% mean (80.36% pass, 65.42% >= 0.9) on PersonaMem-v2 128k (5,000 items), and 75.92% micro-avg (66.96% four-cap pooled; 64.75% paper-grouped R@10; 63.64% R@5; 91.00% CR-SH; 10.00% CR-MH) on MemoryAgentBench (2,071 items). Frozen 6fe5dc92 reports 167 ms cold start, ~75 MB typical RSS, and ~195 MB peak on BEAM-10M (USD 0 write-time model fee); separate v2.1 tests measure 40.3 ms (Linux/WSL2) and 59.3 ms (Windows) cold starts. We release the 10,957-record sanitized audit kit, offline verifier, UAMP v0.2.0 spec, and failure diagnostics.
Create a lesson
Metadata
- Comments
- 10 pages, 4 figures. Also archived on Zenodo (DOI: 10.5281/zenodo.24623205). Public audit kit (10,957 evaluations): https://github.com/LongmemOS/longmemos-benchmarks
Related papers
GameStation: Benchmarking Multimodal Agents on Long-Horizon Modern Games
Shared title terminologycs.AIXiaoran Shang, Zhenyu Wu, Zonglin Li et al.
Agent Memory Scaling Laws for Verified Trainium Kernel Generation
Shared title terminologycs.AISimran Kaur, Evan Becker, Benjamin Bowman et al.
STEM: Active Abductive Reasoning for Long-Horizon Sparse State Evolution via Spatio-Temporal Episodic Memory
Shared title terminologycs.AIHan Wu, Hongyu Chen, Hongyan Zhang
Who's Asking? A Role-Conditioned Benchmark for Operational Reasoning in Enterprise Agents
Shared title terminologycs.AITrishala Jayesh Ahalpara, Jesica Bauer
Zero-Shot and Few-Shot Detection of Parkinson's Disease from Hand-Drawn Wave and Spiral Patterns Using CLIP
Shared title terminologycs.AIMd Ismiel Hossen Abir, Nayeema Ferdous, AKM Bahalul Haque et al.
PandaProbe: Agents That Learn from Mistakes by Revising Their Own Rules
Shared title terminologycs.AISina Tayebati