LLM Agent Memory
LLM: Large Language Model
Overview
LLM agent memory studies how systems preserve useful facts, user preferences, task state, and reusable procedures beyond the current context window, so they can act consistently across sessions and long workflows. Common approaches include summarizing or retaining raw episodes, structured temporal or graph stores, retrieval-augmented memory, hierarchical episodic and procedural tiers, and learned policies for writing, consolidation, selection, and forgetting. Work is tested on long-horizon dialogue and personalization benchmarks such as LoCoMo and LongMemEval, as well as coding, web, tool-use, and embodied tasks; newer evaluations probe multi-turn learning, changing facts, and whether agents actually use retrieved evidence. The central tension is that compression and selective retrieval save tokens but can discard evidence or introduce stale, conflicting, biased, or poisoned memories, while larger stores and elaborate retrieval add cost and raise privacy and governance concerns.
Latest papers
376 papers71 papers in the last four weeks, up 51% on the four weeks before. 0.4% of all new papers.
Diagnosing Retrieval vs. Utilization Bottlenecks in LLM Agent Memory
NextMem: Towards Latent Factual Memory for LLM-based Agents
Structurally Aligned Subtask-Level Memory for Software Engineering Agents
ActionEngine: From Reactive to Programmatic Web Agents via State Machine Memory
OpenSage: Self-programming Agent Generation Engine
MemoryArena: Benchmarking Agent Memory in Interdependent Multi-Session Agentic Tasks
Agent Memory Below the Prompt: Persistent Q4 KV Cache for Multi-Agent LLM Inference on Edge Devices
Evaluating Memory Structure in LLM Agents
Toward Efficient Agents: Memory, Tool learning, and Planning
Beyond Dialogue Time: Temporal Semantic Memory for Personalized LLM Agents
LLMs Can't Play Hangman: On the Necessity of a Private Working Memory for Language Agents
Beyond Static Summarization: Proactive Memory Extraction for LLM Agents
CaveAgent: Transforming LLMs into Stateful Runtime Operators
LLM-as-Text-Generator'' to LLM-as-Runtime-Operator.'' CaveAgent introduces a dual-stream architecture that inverts the conventional paradigm: rather than treating the LLM's text context as the primary workspace with tools as auxiliary, CaveAgent elevates the persistent Python runtime as the central locus of state, with a lightweight semantic stream serving as its orchestrator. Beyond leveraging code generation to resolve interdependent sub-tasks (e.g., loops, conditionals) in a single step, CaveAgent introduces Stateful Runtime Management: it injects, manipulates, and retrieves complex Python objects (e.g., DataFrames, database connections) that persist across turns, unlike existing code-based approaches that remain text-bound. CaveAgent further provides a runtime-integrated skill management system that extends the Agent Skills open standard, enabling ecosystem interoperability through executable skill injections. This persistence mechanism serves as a high-fidelity external memory that reduces context drift in multi-turn interactions and preserves processed data for downstream applications without information loss. Evaluations show consistent improvement across challenging benchmarks, enabling CaveAgent to handle data scales that cause context overflow in both JSON-based and code-based agents. The accessible runtime state further provides programmatically verifiable feedback, enabling automated evaluation and reward signal generation without human annotation and establishing a structural foundation for future research in Reinforcement Learning with Verifiable Rewards (RLVR).