LongMemOS paper describes deterministic agent memory that skips LLM calls when writing
A Rust-based memory system for enterprise AI agents persists conversation data without invoking language models or embeddings at write time, according to a new arXiv paper.
In plain words
AI agents that work over long periods need to remember facts and preferences across many sessions. LongMemOS is a tool that stores those memories in a fixed, encrypted log on the local machine without asking a large language model to process each entry, which the authors say avoids per-turn inference costs. Its accuracy was measured on public benchmarks, with mixed results across tests.
What was announced
The paper, published on arXiv, argues that existing agent memory pipelines often call LLMs and dense embeddings when writing, which the authors say adds per-turn inference costs, endpoint coupling, and provenance loss. LongMemOS instead writes incoming turns to an encrypted, append-only local store split at 32 KiB UTF-8 boundaries, using server-assigned monotonic sequence numbers, SHA-256 verification, and an embedded lightweight graph index. Conflict tracking and retrieval are decoupled from writes through explicit supersedes chains and optional asynchronous consolidation.
Using one frozen binary, the authors report results across five public benchmarks in six sets totalling 10,957 evaluations: 95.40% on LongMemEval-S, 92.40% on LongMemEval-M, 92.86% on LoCoMo Cat 1-4 (with Cat 5 at 65.02%), 71.22% pass on BEAM 1M/10M subsets, 75.92% mean on PersonaMem-v2 128k, and 75.92% micro-avg on MemoryAgentBench. The frozen binary reportedly starts cold in 167 ms with roughly 75 MB typical memory use and no write-time model fees; separate v2.1 tests measured faster cold starts on Linux/WSL2 and Windows. The team released a sanitized audit kit, offline verifier, UAMP v0.2.0 spec, and failure diagnostics.
What it does not show
- All results come from the paper's own abstract and self-reported benchmarks; no independent evaluation is cited.
- The source is an abstract excerpt, so full methodology, threat model, and comparison baselines are not visible.
- Benchmark scores vary widely across categories (for example LoCoMo Cat 5 at 65.02% versus Cat 1-4 at 92.86%), and the abstract does not explain the causes.
For security and IT teams
- Scope
- The system is described as a single-executable Rust program with a zero-LLM, zero-learned-embedding write path, storing data locally in an encrypted append-only store rather than calling external model endpoints at write time.
Sources
Source-support review completed 4 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 4 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.