Memory OS of AI Agent
Abstract
Large Language Models (LLMs) face a crucial challenge from fixed context windows and inadequate memory management, leading to a severe shortage of long-term memory capabilities and limited personalization in the interactive experience with AI agents. To overcome this challenge, we innovatively propose a Memory Operating System, i.e., Memo-ryOS, to achieve comprehensive and efficient memory management for AI agents. Inspired by the memory management principles in operating systems, MemoryOS designs a hierarchical storage architecture and consists of four key modules: Memory Storage, Updating, Retrieval, and Generation. Specifically, the architecture comprises three levels of storage units: short-term memory, mid-term memory, and long-term personal memory. Key operations within MemoryOS include dynamic updates between storage units: short-term to mid-term updates follow a dialogue-chain-based FIFO principle, while mid-term to long-term updates use a segmented page organization strategy. Extensive experiments on the LoCoMo benchmark show an average improvement of 49.11% on F1 and 46.18% on BLEU-1 over the baselines on GPT-4o-mini, showing contextual coherence and personalized memory retention in long conversations. The implementation code is open-sourced at https:// github.com/BAI-LAB/MemoryOS .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
27 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learning cites MemoryBank: Enhancing Large Language Models with Long-Term Memory
- Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learning cites Evaluating Very Long-Term Conversational Memory of LLM Agents
- Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learning cites A-Mem: Agentic Memory for LLM Agents
- Evaluating Very Long-Term Conversational Memory of LLM Agents cites MemoryBank: Enhancing Large Language Models with Long-Term Memory
- Evaluating Very Long-Term Conversational Memory of LLM Agents cites Generative Agents: Interactive Simulacra of Human Behavior
- Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions cites Evaluating Very Long-Term Conversational Memory of LLM Agents
- Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions cites A-Mem: Agentic Memory for LLM Agents
- LightMem: Lightweight and Efficient Memory-Augmented Generation cites MemoryBank: Enhancing Large Language Models with Long-Term Memory
- LightMem: Lightweight and Efficient Memory-Augmented Generation cites Generative Agents: Interactive Simulacra of Human Behavior
- LightMem: Lightweight and Efficient Memory-Augmented Generation cites Evaluating Very Long-Term Conversational Memory of LLM Agents
- LightMem: Lightweight and Efficient Memory-Augmented Generation cites Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions
- LightMem: Lightweight and Efficient Memory-Augmented Generation cites A-Mem: Agentic Memory for LLM Agents
- SimpleMem: Efficient Lifelong Memory for LLM Agents cites MemoryBank: Enhancing Large Language Models with Long-Term Memory
- SimpleMem: Efficient Lifelong Memory for LLM Agents cites Evaluating Very Long-Term Conversational Memory of LLM Agents
- SimpleMem: Efficient Lifelong Memory for LLM Agents cites A-Mem: Agentic Memory for LLM Agents
- Seeing, Listening, Remembering, and Reasoning: A Multimodal Agent with Long-Term Memory cites MemoryBank: Enhancing Large Language Models with Long-Term Memory
- Seeing, Listening, Remembering, and Reasoning: A Multimodal Agent with Long-Term Memory cites A-Mem: Agentic Memory for LLM Agents
- A-Mem: Agentic Memory for LLM Agents cites MemoryBank: Enhancing Large Language Models with Long-Term Memory
- A-Mem: Agentic Memory for LLM Agents cites Evaluating Very Long-Term Conversational Memory of LLM Agents
Cited by top-tier papers27
- Evaluating Memory in LLM Agents via Incremental Multi-Turn InteractionsYuanzhe Hu, Yu Wang, Julian McAuleyICLR 2026 · 246 citations
- LightMem: Lightweight and Efficient Memory-Augmented GenerationJizhan Fang, Xinle Deng, Haoming Xu, Ziyan Jiang et al.ICLR 2026 · 162 citations
- Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement LearningSikuan Yan, Xiufeng Yang, Zuchao Huang, Ercong Nie et al.ACL 2026 · 140 citations
- SimpleMem: Efficient Lifelong Memory for LLM AgentsJiaqi Liu, Yaofeng Su, Peng Xia, Siwei Han et al.ICML 2026 · 112 citations
- Seeing, Listening, Remembering, and Reasoning: A Multimodal Agent with Long-Term MemoryLin Long, Yichen He, Wentao Ye, Yiyuan Pan et al.ICLR 2026 · 90 citations
Builds on5
- Generative Agents: Interactive Simulacra of Human BehaviorJoon Sung Park, Joseph C. O'Brien, Carrie Jun Cai, Meredith Ringel Morris et al.UIST 2023 · 1,882 citations
- A-Mem: Agentic Memory for LLM AgentsWujiang Xu, Zujie Liang, Kai Mei, Hang Gao et al.NeurIPS 2025 · 1,138 citations
- MemoryBank: Enhancing Large Language Models with Long-Term MemoryWanjun Zhong, Lianghong Guo, Qiqi Gao, He Ye et al.AAAI 2024 · 394 citations
- Evaluating Very Long-Term Conversational Memory of LLM AgentsAdyasha Maharana, Dong-Ho Lee, Sergey Tulyakov, Mohit Bansal et al.ACL 2024 · 30 citations
- From 1, 000, 000 Users to Every User: Scaling Up Personalized Preference for User-level AlignmentJia-Nan Li, Jian Guan, Songhao Wu, Wei Wu et al.ACL 2026
Related papers
- MemORAI: Memory Organization and Retrieval via Adaptive Graph Intelligence for LLM Conversational AgentsHung Pham Van, Nguyen Manh Hieu, Khang Pham Tran Tuan, Nam Le Hai et al.ACL Findings 2026
- Lightweight LLM Agent Memory with Small Language ModelsJiaquan Zhang, Chaoning Zhang, Shuxu Chen, Zhenzhen Huang et al.ACL 2026 · 4 citations
- Beyond Dialogue Time: Temporal Semantic Memory for Personalized LLM AgentsMiao Su, Yucan Guo, Zhongni Hou, Long Bai et al.ACL Findings 2026
- EverMemOS: A Self-Organizing Memory Operating System for Structured Long-Horizon ReasoningChuanrui Hu, Xingze Gao, Zuyi Zhou, Dannong Xu et al.ACL 2026 · 26 citations
- Agentic Memory: Learning Unified Long-Term and Short-Term Memory Management for Large Language Model AgentsYi Yu, Liuyi Yao, Yuexiang Xie, Qingquan Tan et al.ACL 2026 · 40 citations
