Agentic Memory: Learning Unified Long-Term and Short-Term Memory Management for Large Language Model Agents
Yi Yu, Liuyi Yao, Yuexiang Xie, Qingquan Tan, Jiaqi Feng, Yaliang Li, Libing Wu
Abstract
Large language model (LLM) agents face fundamental limitations in long-horizon reasoning due to finite context windows, making effective memory management critical. Existing methods typically handle long-term memory (LTM) and short-term memory (STM) as separate components, relying on heuristics or auxiliary controllers, which limits adaptability and end-to-end optimization. In this paper, we propose Agentic Memory (AgeMem), a unified framework that integrates LTM and STM management directly into the agent's policy. AgeMem exposes memory operations as tool-based actions, enabling the LLM agent to autonomously decide what and when to store, retrieve, update, summarize, or discard information. To train such unified behaviors, we propose a three-stage progressive reinforcement learning strategy and design a step-wise GRPO to address sparse and discontinuous rewards induced by memory operations. Experiments on five long-horizon benchmarks demonstrate that AgeMem consistently outperforms strong memory-augmented baselines across multiple LLM backbones, achieving improved task performance, higher-quality long-term memory, and more efficient context usage.
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.
4 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
- EvoCF: Multi-Agent Collaboration via Agentic Memory-Driven Evolutionary Counterfactual Planning cites A-Mem: Agentic Memory for LLM Agents
- EffGen: Enabling Small Language Models as Capable Autonomous Agents cites MemoryBank: Enhancing Large Language Models with Long-Term Memory
- Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions cites A-Mem: Agentic Memory for LLM Agents
- Neuromem: A Granular Decomposition of the Streaming Lifecycle in External Memory for LLMs cites MemoryBank: Enhancing Large Language Models with Long-Term Memory
- Neuromem: A Granular Decomposition of the Streaming Lifecycle in External Memory for LLMs cites Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions
- Neuromem: A Granular Decomposition of the Streaming Lifecycle in External Memory for LLMs 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
Cited by top-tier papers4
- Neuromem: A Granular Decomposition of the Streaming Lifecycle in External Memory for LLMsRuicheng Zhang, Xinyi Li, Tianyi Xu, Shuhao Zhang et al.ICML 2026 · 1 citation
- AdaMEM: Test-Time Adaptive Memory for Language AgentsYunxiang Zhang, Yiheng Li, Ali Payani, Lu WangICML 2026
- EvoCF: Multi-Agent Collaboration via Agentic Memory-Driven Evolutionary Counterfactual PlanningHaotian Chi, Zeyu Feng, Xingrui Yu, Linbo Luo et al.ICML 2026
- EffGen: Enabling Small Language Models as Capable Autonomous AgentsGaurav Srivastava, Aafiya Hussain, Chi Wang, Yingyan (Celine) Lin et al.ICML 2026
Builds on12
- A-Mem: Agentic Memory for LLM AgentsWujiang Xu, Zujie Liang, Kai Mei, Hang Gao et al.NeurIPS 2025 · 1,138 citations
- ALFWorld: Aligning Text and Embodied Environments for Interactive LearningMohit Shridhar, Xingdi Yuan, Marc-Alexandre Côté, Yonatan Bisk et al.ICLR 2021 · 819 citations
- MemoryBank: Enhancing Large Language Models with Long-Term MemoryWanjun Zhong, Lianghong Guo, Qiqi Gao, He Ye et al.AAAI 2024 · 394 citations
- ToolRL: Reward is All Tool Learning NeedsCheng Qian, Emre Can Acikgoz, Qi He, Hongru Wang et al.NeurIPS 2025 · 387 citations
- Evaluating Memory in LLM Agents via Incremental Multi-Turn InteractionsYuanzhe Hu, Yu Wang, Julian McAuleyICLR 2026 · 246 citations
Related papers
- 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
- EMA: An Episodic Memory Agent for Efficient and Selective MemoryHongyi Lan, Jiaqi Song, Zhengjia Zhong, Hui Li et al.ACL Findings 2026
- UMEM: Unified Memory Extraction and Management Framework for Generalizable MemoryYongshi Ye, Hui Jiang, Feihu Jiang, Tian Lan et al.ICML 2026 · 4 citations
- Fine-Mem: Fine-Grained Feedback Alignment for Long-Horizon Memory ManagementWeitao Ma, Xiaocheng Feng, Lei Huang, Xiachong Feng et al.ACL 2026 · 2 citations
- Memory as Action: Autonomous Context Curation for Long-Horizon Agentic TasksYuxiang Zhang, Jiangming Shu, Ye Ma, Xueyuan Lin et al.ACL Findings 2026 · 2 citations
