Agent Memory Daily Review · 2026-07-29
Agentic Memory: Learning Unified Long-Term and Short-Term Memory Management for Large Language Model Agents
In one sentence: AgeMem integrates long- and short-term memory management into the agent's policy, using three-stage progressive reinforcement learning to learn when and what to store, delete, and compress. Memory becomes part of the model's behavior rather than an external system wrapped around it.
| Item | Link |
|---|---|
| Conference page | aclanthology.org/2026.acl-long.981 |
| Conference PDF | 2026.acl-long.981.pdf |
| arXiv | arxiv.org/abs/2601.01885 (v2, 2026-04-30) |
| DOI | 10.18653/v1/2026.acl-long.981 |
| Code / data | Neither the main paper nor appendix provides a public repository URL; implementation uses AgentScope + Trinity-RFT |
| Framework dependencies | AgentScope · Trinity-RFT |
Authors: Yi Yu, Liuyi Yao, Yuexiang Xie, Qingquan Tan, Jiaqi Feng, Yaliang Li, Libing Wu | Affiliations: School of Cyber Science and Engineering, Wuhan University; Alibaba Group
| # | Work | Venue / status | The paper | Code |
|---|---|---|---|---|
| R1 | MemGPT Towards LLMs as Operating Systems |
arXiv 2023-10 Predecessor of Letta |
2310.08560 | letta-ai/letta research.memgpt.ai |
| R2 | A-MEM Agentic Memory for LLM Agents |
NeurIPS 2025 | 2502.12110 NeurIPS proceedings |
agiresearch/A-mem A-mem-sys |
| R3 | Mem0 Production-Ready AI Agents with Scalable Long-Term Memory |
arXiv 2025-04 De facto industry standard |
2504.19413 | mem0ai/mem0 LOCOMO evaluation set |
| R4 | Memory-R1 Manage and Utilize Memories via RL |
arXiv 2025-08 v5 → 2026-01 |
2508.19828 | yansikuan/memory-r1 |
| R5 | MemAct Memory as Action: Autonomous Context Curation |
ACL 2026 Findings pp. 19149–19164 |
2026.findings-acl.956 2510.12635 |
ADaM-BJTU/MemAct |
Common benchmarks: ALFWorld · SciWorld · BabyAI · PDDL (AgentBoard) · HotpotQA · LOCOMO · LongMemEval · MSC
Limited context windows constrain long-horizon reasoning in language-model agents, making memory management essential. Existing approaches usually treat long-term memory (LTM) and short-term memory (STM) as separate components governed by heuristics or additional controllers, limiting adaptability and end-to-end optimization. The paper introduces AgeMem, a unified framework embedding LTM and STM management directly into the agent policy. Memory operations are exposed as tool-like actions so agents decide when and what to store, retrieve, update, summarize, or discard. To train this unified behavior, the authors propose three-stage progressive reinforcement learning and design step-wise GRPO to address sparse, discontinuous rewards from memory operations. Across five long-horizon benchmarks and multiple backbones, AgeMem consistently outperforms strong memory-augmented baselines, improving task performance, long-term memory quality, and context utilization.
AgeMem follows a clear three-part argument: identify fragmentation, explain why patches cannot resolve it, and propose unification within a policy.
Short-term memory—primarily retrieval augmentation and context compression—relies on predefined schedules or heuristics. These can both overlook infrequent but critical details and introduce unnecessary noise. Long-term approaches fall into two categories, each with weaknesses: Trigger-based systems perform fixed operations at preset times and are rigid; Agent-based systems rely on handcrafted rules or extra expert models, limiting adaptability and increasing complexity.
LTM and STM are typically separate, loosely coupled modules, producing fragmented memory construction and suboptimal long-horizon reasoning. Deciding whether to preserve information in a long-term store and whether to compress it out of the current context are fundamentally the same information-value judgment at two timescales. Independent heuristics inevitably risk irreversible loss, such as discarding short-term information before saving it long term.
At time t , the state is defined as s_t = (C_t, M_t, T): C_t is the short-term context, a message list; M_t is the long-term store, with content, embedding, and metadata per entry; T is the task specification, comprising query q, contextual information I_q, and expected answer A_q).
The paper's central abstraction is: LTM and STM operations share one tool table and are invoked by one policy.
| Tool | Scope | Semantics |
|---|---|---|
ADD | LTM writing | Insert an entry into persistent storage: content + embedding + metadata |
UPDATE | LTM writing | Using memory_id , modify an existing entry's content and timestamp |
DELETE | LTM writing | Delete outdated entries to prevent stale knowledge accumulating |
RETRIEVE | STM reading | Retrieve top-k memories by cosine similarity and inject them into context |
SUMMARY | STM control | Compress a conversation span with an LLM, supporting all or the most recent N turns |
FILTER | STM control | Remove redundant messages whose semantic similarity exceeds threshold θ_f(default 0.6) |
Notice the direction of FILTER : it deletes messages with excessively high similarity, suppressing repetition rather than removing supposedly irrelevant content. This conservatively protects critical low-frequency information.
Each trajectory τ = (τ⁽¹⁾, τ⁽²⁾, τ⁽³⁾) has total length T = T₁+T₂+T₃. Between stages, context resets combined with long-term memory retention are the key curriculum mechanism.
| Stage | Activity | Key mechanism |
|---|---|---|
| ① LTM construction | Encounter contextual information during casual conversation, I_q, identify salient details, and write them with ADD/UPDATE/DELETE into M_t | Intermediate rewards are zero; M_t is carried forward |
| ② STM control under distraction | Receive irrelevant distractor messages generated by DISTRACTORGEN and proactively clean context with FILTER / SUMMARY | C_t is reset to prevent information leakage, while M_t is retained, forcing genuine retrieval |
| ③ Integrated reasoning | Receive the actual query q and coordinate retrieval, context management, and answer generation | Terminal reward R(τ) is issued at the trajectory's end |
| Component | Composition | Purpose |
|---|---|---|
R_task | LLM-judge score S_judge(A_pred, A_q) ∈ [0,1]; penalty if no answer | Task completion |
R_contextEqual weights α=1/3 | R_compression = max(0, 1 − T_used/T_max) | Token efficiency |
R_preventive = 1[tool invoked before overflow] | Rewards changing course before hitting the limit, making context management proactive rather than remedial | |
R_preservation = 1_preserve | Task-critical tokens must be retained | |
R_memoryEqual weights β=1/3 | R_storage = N_high_quality / max(1, N_total) | Proportion of high-quality stored entries |
R_maintenance = 1[update or delete executed] | Encourages active maintenance instead of append-only accumulation | |
R_relevance = S_LLM(R, q) | Semantic relevance of retrieved results to the query | |
P_penalty | Exceeding turn limit: −1; context overflow: −0.5 | Hard constraints |
The terminal advantage is broadcast uniformly to all preceding timesteps for long-horizon credit assignment, allowing final outcomes to supervise every intermediate memory decision across all three stages. The tradeoff is explicit: broadcasting sacrifices step-level credit-assignment precision for trainability under extremely sparse rewards.
Five long-horizon benchmarks cover embodied tasks, science, symbolic planning, navigation, and multihop QA: ALFWorld (household tasks), SciWorld (interactive scientific experiments), PDDL (symbolic planning), BabyAI (compositional grid-navigation instructions), and HotpotQA (Wikipedia multihop questions).
Backbone: Qwen2.5-7B-Instruct, Qwen3-4B-Instruct | Baseline: LangMem, A-Mem, Mem0, Mem0ᵍ, AgeMem-noRL, No-Memory
Metric: success rate SR on ALFWorld/SciWorld/BabyAI, progress rate PR on PDDL, and LLM-as-a-Judge on HotpotQA; memory quality MQ (0–1); average prompt tokens and tool calls.
Five-benchmark average: AgeMem versus memory-augmented baselines
Average performance across five benchmarks on two backbones; higher is better. Values from Table 2.
| Method | ALFWorld | SciWorld | PDDL | BabyAI | HotpotQA | Average |
|---|---|---|---|---|---|---|
| No-Memory | 27.16 | 13.80 | 10.15 | 50.80 | 38.36 | 28.05 |
| LangMem | 38.27 | 28.29 | 15.85 | 51.34 | 37.43 | 34.23 |
| A-Mem | 34.68 | 28.06 | 18.39 | 58.82 | 43.95 | 36.78 |
| Mem0 | 37.49 | 26.99 | 13.96 | 60.58 | 46.66 | 37.14 |
| Mem0ᵍ | 35.34 | 30.50 | 14.86 | 58.78 | 42.06 | 36.31 |
| AgeMem | 41.07 | 35.55 | 17.31 | 61.42 | 54.44 | 41.96 |
| Method | ALFWorld | SciWorld | PDDL | BabyAI | HotpotQA | Average |
|---|---|---|---|---|---|---|
| No-Memory | 38.51 | 47.89 | 30.14 | 55.83 | 47.48 | 43.97 |
| LangMem | 40.89 | 50.42 | 28.42 | 53.80 | 42.70 | 43.25 |
| A-Mem | 34.31 | 50.14 | 34.41 | 61.35 | 48.48 | 45.74 |
| Mem0 | 41.17 | 51.38 | 31.72 | 60.05 | 39.16 | 44.70 |
| Mem0ᵍ | 36.69 | 47.76 | 29.61 | 57.59 | 38.12 | 41.95 |
| AgeMem | 48.97 | 59.48 | 35.07 | 72.56 | 55.49 | 54.31 |
On Qwen2.5-7B, AgeMem improves 49.59% over No-Memory and exceeds strongest baseline Mem0 by 4.82 pp. On Qwen3-4B, relative improvement is 23.52%, exceeding strongest baseline A-Mem by 8.57 pp. RL training itself contributes 8.53 pp / 8.72 pp.
| Tool | Before RL | After RL | Interpretation |
|---|---|---|---|
ADD | 0.92 | 1.64 | More proactive storage |
UPDATE | 0.00 | 0.13 | The untrained LLM never proactively maintains memory and only accumulates entries |
DELETE | 0.00 | 0.08 | |
RETRIEVE | 2.31 | 1.95 ↓ | Better storage reduces repeated remedial retrieval |
SUMMARY | 1.08 | 0.82 ↓ | Less after-the-fact compression |
FILTER | 0.02 | 0.31 ↑ | Proactive context control |
This table is the paper's most convincing qualitative evidence: UPDATE/DELETE before training, is exactly zero and becomes active after training; meanwhile, RETRIEVE decreases. This marks a shift from reactive to proactive memory behavior.
| Benchmark | Base | +LTM | +LTM/RL | +LTM/STM/RL |
|---|---|---|---|---|
| ALFWorld | 27.16 | 37.73 | 38.88 | 41.07 |
| SciWorld | 13.80 | 27.98 | 32.49 | 35.55 |
| HotpotQA | 38.36 | 45.76 | 52.04 | 54.44 |
Reward ablation(HotpotQA · Qwen2.5-7B): Answer-Only yields J=0.509 / MQ=0.479 / 2,078 tokens / 3.93 calls; All-Returns yields J=0.544 / MQ=0.533 / 2,117 tokens / 4.92 calls. Full rewards converge faster and improve memory quality at a modest token cost.
FILTER threshold sensitivity: θ_f ∈ [0.4, 0.8] is stable within this range, with 0.5 best (J=0.551); 0.4 overfilters and 0.7 is too permissive. The method is relatively insensitive to this hyperparameter.
UPDATE/DELETE from zero to nonzero directly supports this claim.ADD The paper does not analyze whether the rise from 0.92 to 1.64 consists entirely of useful storage.Charles Packer, Sarah Wooders, Kevin Lin, Vivian Fang, Shishir G. Patil, Ion Stoica, Joseph E. Gonzalez (UC Berkeley)
Problem addressed: systematically introduces the operating-system analogy of virtual-memory hierarchies to LLMs: paging exchanges information between main context (RAM) and external storage (disk), initiated through model function calls, while interrupts let the agent resume tasks after memory operations. It establishes that LLMs can manage their own memory, originating the memory-as-tools paradigm.
Remaining problems: memory policies are entirely driven by prompt engineering. Paging times and storage choices are specified in system prompts. Policies cannot improve from experience, are sensitive to wording, and largely fail on small models without GPT-4-level instruction following. MemGPT also focuses on overflowing context rather than independently asking what deserves long-term retention.
AgeMem's response: retains tool-based memory actions but moves decisions from prompts into trainable policy parameters. Its gains on open 4B/7B models arise because memory behavior no longer relies solely on innate instruction following.
Wujiang Xu, Zujie Liang, Kai Mei, Hang Gao, Juntao Tan, Yongfeng Zhang (Rutgers and collaborators)
Problem addressed: most post-MemGPT systems use flat entry collections with semantic retrieval but no relationships among memories. A-MEM introduces Zettelkasten principles: new memories become structured notes with context descriptions, keywords, and tags; the system automatically identifies existing-memory Link and supports memory evolution, where new entries trigger updates to old ones. Storage becomes a self-organizing knowledge network, exceeding contemporary SOTA across six foundation models.
Remaining problems: link creation and evolution remain LLM-prompt-driven without an optimization objective, so the system cannot know whether its links help downstream tasks. Incorrect updates can also cascade through the network, a risk later demonstrated as error propagation by ACL 2026's How Memory Management Impacts LLM Agents . A-MEM manages only long-term memory, leaving short-term context to external RAG.
AgeMem's response: uses A-MEM as a main baseline and beats it overall (45.74→54.31 on Qwen3-4B). Task rewards replace prompting heuristics, giving maintenance behavior a correctness signal. However, AgeMem loses to A-MEM on PDDL, suggesting explicit links retain advantages on highly structured tasks that AgeMem's flat representation lacks. These technical strands remain uncombined.
Prateek Chhikara, Dev Khant, Saket Aryan, Taranjeet Singh, Deshraj Yadav (Mem0 team)
Problem addressed: moves memory from research prototypes toward production readiness. A memory-centric extract–update pipeline dynamically extracts and retrieves conversational information, with graph variant Mem0ᵍ. It beats six baseline families on LOCOMO; relative to full context, engineering gains include 91% lower p95 latency and over 90% token-cost savings, alongside a 26% relative improvement over the OpenAI approach. It is currently a de facto open-source memory-layer standard in industry.
Remaining problems: each extract–update threshold and rule is manually tuned, requiring retuning across domains. More fundamentally, extraction optimizes the proxy objective of correctly extracting information rather than helping the agent complete tasks. These objectives need not align. Separate extraction/update LLM calls also create AgeMem's C3 cost.
AgeMem's response: outperforms Mem0 and Mem0ᵍ on both backbones, folds extraction decisions into the main policy, and replaces proxy objectives with task rewards. However, Mem0's LOCOMO conversational setting differs from AgeMem's agentic tasks; AgeMem does not validate conversational memory, precisely the concern in its second acknowledged limitation.
Sikuan Yan, Xiufeng Yang, Zuchao Huang, Ercong Nie, Zifeng Ding, and colleagues (LMU Munich / TU Darmstadt / Edinburgh; Hinrich Schütze, Volker Tresp)
Problem addressed: First introduces RL to memory management, using two specialized agents: Memory Manager, which chooses ADD/UPDATE/DELETE/NOOP, and Answer Agent, which distills retrieved memories before answering. PPO and GRPO train them using downstream QA correctness. Particularly striking data efficiency comes from only 152 training QA pairs, outperforming strong baselines and generalizing across LoCoMo, MSC, LongMemEval, and 3B–14B scales.
Remaining problems: The two-agent architecture is exactly the separation AgeMem aims to remove. Memory Manager and Answer Agent are optimized independently. The manager does not directly know the answerer's needs, and the answerer cannot directly alter storage decisions; rewards couple them indirectly. Memory-R1 also covers only LTM writing and does not address short-term context management such as compression, filtering, or overflow, while maintaining two parameter sets.
AgeMem's response: Memory-R1 is AgeMem's most direct predecessor and target for unification. One policy handles management and solving, with STM tools in the same action space. Unfortunately, AgeMem does not empirically compare against Memory-R1, leaving superiority over two-agent designs unproven.
Yuxiang Zhang, Jiangming Shu, Ye Ma, Xueyuan Lin, Shangxi Wu, Jitao Sang (ADaM Lab, Beijing Jiaotong University)
Problem addressed: complements Memory-R1 by formalizing short-term context management as learnable policy actions. Even larger-context LLMs need careful working-memory management to mitigate attention dilution in long tasks. MemAct proactively curates context with RL-trained deletion and insertion, enabling substantially smaller models to achieve competitive accuracy while reducing context length by roughly half.
Remaining problems: MemAct only inserts and deletes within context, with no persistent external memory store. Deleted information is permanently lost and cannot be recovered in later sessions. This may suit single long tasks but undermines persistent interaction, and leaves cross-task retention unresolved.
AgeMem's response: FILTER with SUMMARY serve MemAct's role, but AgeMem's context cleanup and LTM ADD share one action space. Its policy can learn to save information long term before deleting it from context, whereas MemAct can only delete or retain. This is an architectural benefit of unification. Nevertheless, MemAct's roughly halved context far exceeds AgeMem's 3–5% savings, so AgeMem does not dominate specialized methods on efficiency.
The underlying trajectory is one of progressive internalization: decisions move from prompts to code rules to trained auxiliary models and finally into the agent's own policy. Each step reduces human priors and increases learning from experience. AgeMem is the current endpoint of this path, while its fixed tools and flat representation suggest what to internalize next.
LINK/MERGE tools—is a natural next step, but enlarges the action space and complicates credit assignment.| Work | Link | Summary |
|---|---|---|
| Supersede: Diagnosing and Training the Memory-Update Gap | 2606.27472 | Introduces the supersession gap: frontier models lose 15 pp accuracy under bounded memory |
| Agent-Memory-Paper-List (accompanying survey Memory in the Age of AI Agents) | GitHub | An active paper-tracking repository for the field |
| ICLR 2026 Workshop MemAgents | Official website | First major-conference workshop dedicated to agent memory |
| MAGMA: Multi-Graph based Agentic Memory Architecture | 2601.03236 | Multigraph memory architecture |
| EverMemOS: Self-Organizing Memory Operating System | 2601.02163 | Self-organizing memory operating system |
| MemRL: Self-Evolving Agents via Runtime RL on Episodic Memory | 2601.03192 | Runtime RL + episodic memory |
| How Memory Management Impacts LLM Agents | ACL 2026 | Empirical studies of experience-following and error propagation |