Papers
arxiv:2612.04831

LongMemOS: Zero-LLM-Write Deterministic Long-Term Memory for Enterprise AI Agents

Published on Dec 3
Authors:

Abstract

LongMemOS is a deterministic Rust memory operating system for enterprise AI agents that avoids LLM and learned-embedding inference at write time while maintaining long-horizon memory through encrypted append-only storage, graph indexing, and conflict tracking.

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.

Community

Sign up or log in to comment

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2612.04831 in a model README.md to link it from this page.

Datasets citing this paper 1

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2612.04831 in a Space README.md to link it from this page.

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.