Memory in the Age of AI Agents

Yuyang Hu, Shichun Liu, Yanwei Yue, Guibin Zhang, Boyang Liu, Fangyi Zhu, Jiahang Lin, Honglin Guo, Shihan Dou, Zhiheng Xi, Senjie Jin, Jiejun Tan, Yanbin Yin, Jiongnan Liu, Zeyu Zhang, Zhongxiang Sun, Yutao Zhu, Hao Sun, Boci Peng, Zhenrong Cheng, Xuanbo Fan, Jiaxin Guo, Xinlei Yu, Zhenhong Zhou, Zewen Hu, Jiahao Huo, Junhao Wang, Yuwei Niu, Yu Wang, Zhenfei Yin, Xiaobin Hu, Yue Liao, Qiankun Li, Kun Wang, Wangchunshu Zhou, Yixin Liu, Dawei Cheng, Qi Zhang, Tao Gui, Shirui Pan, Yan Zhang, Philip Torr, Zhicheng Dou, Ji-Rong Wen, Xuanjing Huang, Yu-Gang Jiang, Shuicheng YanarXiv 2025 · OpenReview

Abstract: Memory has emerged, and will continue to remain, a core capability of foundation model-based agents. As research on agent memory rapidly expands and attracts unprecedented attention, the field has also become increasingly fragmented. Existing works that fall under the umbrella of agent memory often differ substantially in their motivations, implementations, and evaluation protocols, while the proliferation of loosely defined memory terminologies has further obscured conceptual clarity. Traditional taxonomies such as long/short-term memory have proven insufficient to capture the diversity of contemporary agent memory systems. This work aims to provide an up-to-date landscape of current agent memory research. We begin by clearly delineating the scope of agent memory and distinguishing it from related concepts such as LLM memory, retrieval augmented generation (RAG), and context engineering. We then examine agent memory through the unified lenses of forms, functions, and dynamics. From the perspective of forms, we identify three dominant realizations of agent memory, namely token-level, parametric, and latent memory. From the perspective of functions, we propose a finer-grained taxonomy that distinguishes factual, experiential, and working memory. From the perspective of dynamics, we analyze how memory is formed, evolved, and retrieved over time. To support practical development, we compile a comprehensive summary of memory benchmarks and open-source frameworks. Beyond consolidation, we articulate a forward-looking perspective on emerging research frontiers, including memory automation, reinforcement learning integration, multimodal memory, multi-agent memory, and trustworthiness issues. We hope this survey serves not only as a reference for existing work, but also as a conceptual foundation for rethinking memory as a first-class primitive in the design of future agentic intelligence.

Introduction

While Large Language Models (LLMs) have demonstrated remarkable reasoning capabilities, they are fundamentally "stateless" entities. In their raw form, they do not naturally retain information from past interactions once a session concludes. To transform these static models into dynamic "agents" capable of solving complex, multi-step tasks—such as long-term personal assistance or autonomous software engineering—researchers equip them with memory systems.

However, the rapid expansion of this field has led to significant fragmentation. Terms like "long-term memory," "Retrieval-Augmented Generation (RAG)," and "context engineering" are frequently used inconsistently. Traditional binary classifications (e.g., short-term vs. long-term) are no longer sufficient to describe how modern agents store, evolve, and retrieve information. This paper addresses this conceptual ambiguity by proposing a rigorous framework that defines agent memory as a first-class primitive, distinct from internal model architectures.

A Unified Taxonomy: Forms, Functions, and Dynamics

To organize the diverse landscape of agent memory research, we propose a multidimensional taxonomy based on three core pillars: Forms, Functions, and Dynamics.

1. Memory Forms: The Storage Medium

Memory forms describe the underlying representation of the stored information. We identify three primary categories:

  • Token-level Memory: This involves explicit, human-readable data such as text chunks, knowledge graphs, or hierarchical structures. It is highly interpretable and easy to edit.
  • Parametric Memory: Knowledge is embedded directly into the model's weights through techniques like fine-tuning or Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA. This allows for "instinctive" recall but is harder to update.
  • Latent Memory: Information is stored in the model's internal mathematical states, such as KV caches or compressed "gist" tokens. This form bridges the gap between raw tokens and fixed parameters.

2. Memory Functions: The Purpose of Storage

Beyond how memory is stored, we must consider why it is stored. Our taxonomy distinguishes between three functional types:

  • Factual Memory: Stores "what" the agent knows, including user preferences and world knowledge.
  • Experiential Memory: Captures "how" to perform tasks by learning from past successes and failures to refine future strategies.
  • Working Memory: Acts as a cognitive "scratchpad" for managing the immediate context of a current task.
The landscape of agent memory research categorized by forms (token-level, parametric, latent) and functions (factual, experiential, working).

3. Memory Dynamics: The Lifecycle of Information

Dynamics refer to the operational processes that govern memory over time:

  • Formation: The process of converting raw data into structured memory through summarization, distillation, or embedding.
  • Evolution: How memory is maintained, including consolidating similar ideas, updating outdated facts, and forgetting irrelevant noise to prevent cognitive overload.
  • Retrieval: The mechanisms used to find and surface the most relevant information at the appropriate time for decision-making.

Benchmarks and Frameworks

To facilitate practical development, we categorize existing resources into specialized benchmarks and open-source implementation frameworks.

Memory-specific benchmarks such as MemBench, LoCoMo, and LongMemEval are designed to test an agent's ability to recall and utilize historical data specifically. In contrast, General Agentic benchmarks like GAIA (real-world research) and WebArena (web navigation) evaluate memory implicitly through the successful completion of complex tasks. Furthermore, we identify over 20 open-source frameworks—including MemGPT, Mem0, and Zep—that provide standardized tools for implementing these memory architectures.

Synthesis and Future Frontiers

Our analysis reveals several key shifts in the field. There is a clear move from simple Retrieval (pulling static documents) toward Generation (synthesizing new, concise representations). We also observe a critical trade-off between Internalization (parametric memory) and Externalization (token-level databases), highlighting the "Stability-Plasticity Dilemma": the challenge of learning new information without corrupting existing knowledge.

Looking forward, several frontiers remain largely unexplored:

  • Multimodal Memory: Expanding beyond text to include visual, auditory, and spatial memory.
  • Automated Management: Utilizing Reinforcement Learning (RL) to allow agents to autonomously manage their own memory storage and deletion policies.
  • Trustworthiness and Privacy: Developing technical solutions for the "right to be forgotten" and securing personal data within agentic systems.
  • Multi-Agent Memory: Establishing protocols for shared "collective consciousness" in systems where multiple agents must collaborate without conflict.

By rethinking memory as a core component of agentic intelligence, we can move toward models that are not just generators, but adaptive, policy-driven actors capable of operating over indefinite horizons.

Summary updated

BibTeX
@misc{hu2025memory,
  author = {Yuyang Hu and Shichun Liu and Yanwei Yue and Guibin Zhang and Boyang Liu and Fangyi Zhu and Jiahang Lin and Honglin Guo and Shihan Dou and Zhiheng Xi and Senjie Jin and Jiejun Tan and Yanbin Yin and Jiongnan Liu and Zeyu Zhang and Zhongxiang Sun and Yutao Zhu and Hao Sun and Boci Peng and Zhenrong Cheng and Xuanbo Fan and Jiaxin Guo and Xinlei Yu and Zhenhong Zhou and Zewen Hu and Jiahao Huo and Junhao Wang and Yuwei Niu and Yu Wang and Zhenfei Yin and Xiaobin Hu and Yue Liao and Qiankun Li and Kun Wang and Wangchunshu Zhou and Yixin Liu and Dawei Cheng and Qi Zhang and Tao Gui and Shirui Pan and Yan Zhang and Philip Torr and Zhicheng Dou and Ji-Rong Wen and Xuanjing Huang and Yu-Gang Jiang and Shuicheng Yan},
  title = {{Memory in the Age of AI Agents}},
  year = {2025},
  eprint = {2512.13564},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.13564},
}
Figure