A-Mem: Agentic Memory for LLM Agents
Wujiang Xu, Zujie Liang, Kai Mei, Hang Gao, Juntao Tan, Yongfeng Zhang
Abstract
While large language model (LLM) agents can effectively use external tools for complex real-world tasks, they require memory systems to leverage historical experiences. Current memory systems enable basic storage and retrieval but lack sophisticated memory organization, despite recent attempts to incorporate graph databases. Moreover, these systems'fixed operations and structures limit their adaptability across diverse tasks. To address this limitation, this paper proposes a novel agentic memory system for LLM agents that can dynamically organize memories in an agentic way. Following the basic principles of the Zettelkasten method, we designed our memory system to create interconnected knowledge networks through dynamic indexing and linking. When a new memory is added, we generate a comprehensive note containing multiple structured attributes, including contextual descriptions, keywords, and tags. The system then analyzes historical memories to identify relevant connections, establishing links where meaningful similarities exist. Additionally, this process enables memory evolution - as new memories are integrated, they can trigger updates to the contextual representations and attributes of existing historical memories, allowing the memory network to continuously refine its understanding. Our approach combines the structured organization principles of Zettelkasten with the flexibility of agent-driven decision making, allowing for more adaptive and context-aware memory management. Empirical experiments on six foundation models show superior improvement against existing SOTA baselines. The source code for evaluating performance is available at https://github.com/WujiangXu/A-mem, while the source code of the agentic memory system is available at https://github.com/WujiangXu/A-mem-sys.
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.
95 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
- MemoryBank: Enhancing Large Language Models with Long-Term Memory cites Beyond Goldfish Memory: Long-Term Open-Domain Conversation
- Beyond Goldfish Memory: Long-Term Open-Domain Conversation cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Improving Language Models by Retrieving from Trillions of Tokens cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memory cites MemoryBank: Enhancing Large Language Models with Long-Term Memory
- ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memory cites MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agents
- ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memory cites Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions
- Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions cites MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agents
- Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions cites Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection
- Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models cites Improving Language Models by Retrieving from Trillions of Tokens
- Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models cites Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection
- Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- 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 Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions
- LightMem: Lightweight and Efficient Memory-Augmented Generation cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
Cited by top-tier papers95
- Agentic Context Engineering: Evolving Contexts for Self-Improving Language ModelsQizheng Zhang, Changran Hu, Shubhangi Upasani, Boyuan Ma et al.ICLR 2026 · 374 citations
- Evaluating Memory in LLM Agents via Incremental Multi-Turn InteractionsYuanzhe Hu, Yu Wang, Julian McAuleyICLR 2026 · 246 citations
- ReasoningBank: Scaling Agent Self-Evolving with Reasoning MemorySiru Ouyang, Jun Yan, I-Hung Hsu, Yanfei Chen et al.ICLR 2026 · 244 citations
- MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon AgentsZijian Zhou, Ao Qu, Zhaoxuan Wu, Sunghwan Kim et al.ICLR 2026 · 223 citations
- LightMem: Lightweight and Efficient Memory-Augmented GenerationJizhan Fang, Xinle Deng, Haoming Xu, Ziyan Jiang et al.ICLR 2026 · 162 citations
Builds on16
- Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
- Self-RAG: Learning to Retrieve, Generate, and Critique through Self-ReflectionAkari Asai, Zeqiu Wu, Yizhong Wang, Avirup Sil et al.ICLR 2024 · 1,798 citations
- Improving Language Models by Retrieving from Trillions of TokensSebastian Borgeaud, Arthur Mensch, Jordan Hoffmann, Trevor Cai et al.ICML 2022 · 1,629 citations
- MemoryBank: Enhancing Large Language Models with Long-Term MemoryWanjun Zhong, Lianghong Guo, Qiqi Gao, He Ye et al.AAAI 2024 · 394 citations
- Beyond Goldfish Memory: Long-Term Open-Domain ConversationJing Xu, Arthur Szlam, Jason WestonACL 2022 · 329 citations
Related papers
- 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
- GraphMind: LLMs as Dynamic Knowledge Builders for Sequential Decision-MakingSunguk Shin, Hayeong Lee, JunHo Seo, Jinho Lee et al.ACL Findings 2026
- G-Memory: Tracing Hierarchical Memory for Multi-Agent SystemsGuibin Zhang, Muxin Fu, Kun Wang, Frank Wan et al.NeurIPS 2025 · 108 citations
- AMA: Adaptive Memory via Multi-Agent CollaborationWeiquan Huang, Zixuan Wang, Hehai Lin, Sudong Wang et al.ACL Findings 2026
- Remember Me, Refine Me: A Dynamic Procedural Memory Framework for Experience-Driven Agent EvolutionZouying Cao, Jiaji Deng, Li Yu, Weikang Zhou et al.ACL Findings 2026 · 2 citations
