Memory as Action: Autonomous Context Curation for Long-Horizon Agentic Tasks
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
Long-context Large Language Models, despite their expanded capacity, require careful working memory management to mitigate attention dilution during long-horizon tasks. Yet existing approaches rely on external mechanisms that lack awareness of the agent's reasoning state, leading to suboptimal decisions. We propose Memory-as-Action (MemAct), a framework that treats working memory management as learnable policy actions. By formulating context management as in-place editing operations (deletion, insertion), MemAct enables joint optimization of information retention and task performance through end-to-end reinforcement learning. To address the computational challenges of dynamic context updates, we introduce Dynamic Context Policy Optimization, which restores training efficiency without compromising reasoning integrity. Experiments show that MemAct-RL-14B matches the accuracy of models 16× larger while reducing average context length by 51%, with learned strategies that adapt to model capabilities and generalize across task complexities.
Key facts. Cited by 66 papers in the map (data through 14 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 24 of its 31 references that are in the map. First posted on arXiv 14 Oct 2025.
Builds on
24 of 31 references.
Closest ancestors · 3
Same direction, newest first
- 2025ReSum: Unlocking Long-Horizon Search Intelligence via Context Summarization16 Sep
- 2025Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learning27 Aug
- 2025MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agents18 Jun
Other references · 21
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,444
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,386
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,141
- 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,075
- 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 916
9 more
- 2025BrowseComp: A Simple Yet Challenging Benchmark for Browsing Agentscited by 647
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
- 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agentcited by 246
- 2025BrowseComp-Plus: A More Fair and Transparent Evaluation Benchmark of Deep-Research Agentcited by 200
- 2024Fact, Fetch, and Reason: A Unified Evaluation of Retrieval-Augmented Generationcited by 162
- 2025Beyond Ten Turns: Unlocking Long-Horizon Agentic Search with Large-Scale Asynchronous RLcited by 150
- 2025A Survey of Context Engineering for Large Language Modelscited by 126
- 2025Scaling LLM Multi-turn RL with End-to-end Summarization-based Context Managementcited by 51
- 2025Hierarchical Document Refinement for Long-context Retrieval-augmented Generationcited by 16
Built on by
Citing papers per year: 2025: 3; 2026: 63.
66 papers.
Sort:
By area:
- 2025Memory in the Age of AI Agentscited by 303
- 2026Agentic Memory: Learning Unified Long-Term and Short-Term Memory Management for Large Language Model Agentscited by 78
- 2026A Survey of Agentic Reasoning for Large Language Models: Towards Recursively Self-Improving and Collective Agentscited by 50
- 2026SkillOS: Learning Skill Curation for Self-Evolving Agentscited by 49
- 2026A Survey of Agent Memory in the Second Half: Towards Self-Evolving and Long-Horizon Agentscited by 44
- 2026Anatomy of Agentic Memory: Taxonomy and Empirical Analysis of Evaluation and System Limitationscited by 21
- 2026From Storage to Experience: A Survey on the Evolution of LLM Agent Memory Mechanismscited by 21
- 2026Governing Evolving Memory in LLM Agents: Risks, Mechanisms, and the Stability and Safety Governed Memory (SSGM) Frameworkcited by 18
- 2026MemMark: State-Evolution Attribution Watermarking for Agent Long-Term Memory Systemscited by 16
- 2026JIT-Agent: Scaling Harness Intelligence via Just-in-Time Harness Evolutioncited by 16
- 2026AtomMem : Learnable Dynamic Agentic Memory with Atomic Memory Operationcited by 15
- 2026Learning Agent-Compatible Context Management for Long-Horizon Taskscited by 15
38 more
- 2026PERMA: Benchmarking Personalized Memory Agents via Event-Driven Preference and Realistic Task Environmentscited by 14
- 2026ContextBudget: Budget-Aware Context Management for Long-Horizon Search Agentscited by 14
- 2025AI Meets Brain: Memory Systems from Cognitive Neuroscience to Autonomous Agentscited by 12
- 2026Remember When It Matters: Proactive Memory Agent for Long-Horizon Agentscited by 11
- 2026Agent-BRACE: Decoupling Beliefs from Actions in Long-Horizon Tasks via Verbalized State Uncertaintycited by 10
- 2026Autonomous Research Agents: A Survey of AI Scientists and the Verification Gapcited by 9
- 2025Beyond Pipelines: A Survey of the Paradigm Shift toward Model-Native Agentic AIcited by 8
- 2026Remember the Decision, Not the Description: A Rate-Distortion Framework for Agent Memorycited by 7
- 2026Memory as a Controlled Process: Learned Adaptive Memory Management for LLM Agentscited by 7
- 2026An Empirical Study of Harness Design for Coding Agentscited by 6
- 2026Aligning Agentic World Models via Knowledgeable Experience Learningcited by 5
- 2026Large Language Model Agents Are Not Always Faithful Self-Evolverscited by 5
- 2026MemQ: Integrating Q-Learning into Self-Evolving Memory Agents over Provenance DAGscited by 5
- 2026AutoMem: Automated Learning of Memory as a Cognitive Skillcited by 5
- 2026Cortex: A Bidirectionally Aligned Embodied Agent Framework for Long-horizon Manipulationcited by 5
- 2026AREX: Towards a Recursively Self-Improving Agent for Deep Researchcited by 5
- 2026See, Remember, Explore: A Benchmark and Baselines for Streaming Spatial Reasoningcited by 4
- 2026MemFactory: Unified Inference & Training Framework for Agent Memorycited by 4
- 2026ClawVM: Harness-Managed Virtual Memory for Stateful Tool-Using LLM Agentscited by 4
- 2026Learning What to Remember: Observability-Safe Memory Retention via Constrained Optimization for Long-Horizon Language Agentscited by 4
- 2026What to Keep, What to Forget: A Rate--Distortion View of Memory Compaction in LLMs and Agentscited by 4
- 2026OneDayAgent: Towards a Long-Horizon Harness for Autonomous Agentscited by 4
- 2026Yunque DeepResearch Technical Reportcited by 3
- 2026Organize then Retrieve: Hierarchical Memory Navigation for Efficient Agentscited by 3
- 2026Diagnosing and Mitigating Context Rot in Long-horizon Searchcited by 3
- 2026LLM Agents Are Latent Context Managers: Eliciting Self-Managed Context via State Proprioceptioncited by 3
- 2026ECHO: Prune To Act, Trace To Learn With Selective Turn Memory In Agentic RLcited by 3
- 2026MemArbiter: Decision-Time Memory Arbitration for Long-Horizon LLM Agentscited by 3
- 2026Evaluate-as-Action: Self-Evaluated Process Rewards for Retrieval-Augmented Agentscited by 2
- 2026Beyond Fluency: Toward Reliable Trajectories in Agentic IRcited by 2
- 2026Learning How and What to Memorize: Cognition-Inspired Two-Stage Optimization for Evolving Memorycited by 2
- 2026ACE: Pluggable Adaptive Context Elasticizer across Agentscited by 2
- 2026CrystalMem: Elastic Memory for Self-Evolving LLM Agents via Knowledge Crystallizationcited by 2
- 2026ContextPilot: Teaching Agents for Proactive Context Management via Fine-grained RLcited by 2
- 2026Cyclical Entropy Eruption: Entropy Dynamics in Agent Reinforcement Learningcited by 1
- 2026ActiveMem: Distributed Active Memory for Long-Horizon LLM Reasoningcited by 1
- 2026Dual-Grained Agent Memory and Shapley Context Attribution for Multimodal Agentic Learnercited by 1
- 2026Self-Programmed Execution for Language-Model Agentscited by 0
50 most cited of 66 All 66 (JSON)
- 2026State Representation Shapes Long-Horizon Agent Learning and Transfer: An Empirical Study11 Oct 2026
- 2026Does an Agent's History Tell You When Compaction Will Hurt? A Modest, Bounded Effect on the TRACE Paired-Replay Corpus6 Oct 2026
- 2026AMBER: Training Long-Horizon Web Agents through Append-Only Memory5 Oct 2026
- 2026Traverse: Learning When to Remember, Reset, and Redirect for Long-Horizon Web Search29 Sep 2026
- 2026ProgressCompass: Embodied Progress Reward Models Are Lost Without the Right Context29 Sep 2026
- 2026Beyond Skill Evolution: Self-Evolving Context Management Policies for Long-Horizon Agent Harnesses28 Sep 2026
- 2026GenMem: Generative Symbolic Memory for Self-Evolving Harness28 Sep 2026
- 2026Coding Agent Memory Post-training: Unlocking the Memory Potential of Pre-trained File Operations for Long-Horizon Tasks via Reinforcement Learning28 Sep 2026
- 2026Downstream-Aware Context Selection for Online In-Context Reinforcement Learning27 Sep 2026
- 2026Dude, Where's My State? Execution Information Requirements for Stateful Agents26 Sep 2026
- 2026DRSR: Learning Set-Level Deletion Risk for Efficient Long-Horizon Agents23 Sep 2026
- 2026An Empirical Study of Harness Design for Coding Agents17 Sep 2026
38 more
- 2026ContextPilot: Teaching Agents for Proactive Context Management via Fine-grained RL28 Aug 2026
- 2026JIT-Agent: Scaling Harness Intelligence via Just-in-Time Harness Evolution26 Aug 2026
- 2026Dual-Grained Agent Memory and Shapley Context Attribution for Multimodal Agentic Learner24 Aug 2026
- 2026DTOC: Dynamic Tool Output Compression for Adaptive Context Management in AI Agents6 Aug 2026
- 2026OneDayAgent: Towards a Long-Horizon Harness for Autonomous Agents4 Aug 2026
- 2026PI-Mem: Pushing Long-Context Reasoning to 3.6M Tokens with Parallel-Iterative Memory4 Aug 2026
- 2026MemArbiter: Decision-Time Memory Arbitration for Long-Horizon LLM Agents3 Aug 2026
- 2026CrystalMem: Elastic Memory for Self-Evolving LLM Agents via Knowledge Crystallization31 Jul 2026
- 2026AREX: Towards a Recursively Self-Improving Agent for Deep Research23 Jul 2026
- 2026Memory as a Controlled Process: Learned Adaptive Memory Management for LLM Agents15 Jul 2026
- 2026Remember When It Matters: Proactive Memory Agent for Long-Horizon Agents9 Jul 2026
- 2026What to Keep, What to Forget: A Rate--Distortion View of Memory Compaction in LLMs and Agents9 Jul 2026
- 2026Cortex: A Bidirectionally Aligned Embodied Agent Framework for Long-horizon Manipulation6 Jul 2026
- 2026AutoMem: Automated Learning of Memory as a Cognitive Skill1 Jul 2026
- 2026ECHO: Prune To Act, Trace To Learn With Selective Turn Memory In Agentic RL30 Jun 2026
- 2026ACE: Pluggable Adaptive Context Elasticizer across Agents30 Jun 2026
- 2026Autonomous Research Agents: A Survey of AI Scientists and the Verification Gap29 Jun 2026
- 2026LLM Agents Are Latent Context Managers: Eliciting Self-Managed Context via State Proprioception29 Jun 2026
- 2026Diagnosing and Mitigating Context Rot in Long-horizon Search29 Jun 2026
- 2026Connect the Dots: Training LLMs for Long-Lifecycle Agents with Cross-Domain Generalization Via Reinforcement Learning18 Jun 2026
- 2026Organize then Retrieve: Hierarchical Memory Navigation for Efficient Agents10 Jun 2026
- 2026Learning What to Remember: Observability-Safe Memory Retention via Constrained Optimization for Long-Horizon Language Agents9 Jun 2026
- 2026ActiveMem: Distributed Active Memory for Long-Horizon LLM Reasoning9 Jun 2026
- 2026Learning Agent-Compatible Context Management for Long-Horizon Tasks29 May 2026
- 2026Cyclical Entropy Eruption: Entropy Dynamics in Agent Reinforcement Learning27 May 2026
- 2026MemMark: State-Evolution Attribution Watermarking for Agent Long-Term Memory Systems24 May 2026
- 2026MARQUIS: A Three-Stage Pipeline for Video Retrieval-Augmented Generation17 May 2026
- 2026Agent-BRACE: Decoupling Beliefs from Actions in Long-Horizon Tasks via Verbalized State Uncertainty12 May 2026
- 2026Remember the Decision, Not the Description: A Rate-Distortion Framework for Agent Memory11 May 2026
- 2026MemQ: Integrating Q-Learning into Self-Evolving Memory Agents over Provenance DAGs8 May 2026
- 2026Self-Programmed Execution for Language-Model Agents7 May 2026
- 2026From Storage to Experience: A Survey on the Evolution of LLM Agent Memory Mechanisms7 May 2026
- 2026SkillOS: Learning Skill Curation for Self-Evolving Agents7 May 2026
- 2026Ghost in the Context: Policy-Carriage Integrity in LLM Agents2 May 2026
- 2026Learning How and What to Memorize: Cognition-Inspired Two-Stage Optimization for Evolving Memory1 May 2026
- 2026ClawVM: Harness-Managed Virtual Memory for Stateful Tool-Using LLM Agents11 Apr 2026
- 2026Beyond Fluency: Toward Reliable Trajectories in Agentic IR5 Apr 2026
- 2026ContextBudget: Budget-Aware Context Management for Long-Horizon Search Agents2 Apr 2026
50 newest of 66 All 66 (JSON)
- 2025Memory in the Age of AI Agentscited by 303
- 2026Agentic Memory: Learning Unified Long-Term and Short-Term Memory Management for Large Language Model Agentscited by 78
- 2026SkillOS: Learning Skill Curation for Self-Evolving Agentscited by 49
- 2026A Survey of Agent Memory in the Second Half: Towards Self-Evolving and Long-Horizon Agentscited by 44
- 2026Anatomy of Agentic Memory: Taxonomy and Empirical Analysis of Evaluation and System Limitationscited by 21
- 2026From Storage to Experience: A Survey on the Evolution of LLM Agent Memory Mechanismscited by 21
- 2026Governing Evolving Memory in LLM Agents: Risks, Mechanisms, and the Stability and Safety Governed Memory (SSGM) Frameworkcited by 18
- 2026MemMark: State-Evolution Attribution Watermarking for Agent Long-Term Memory Systemscited by 16
- 2026JIT-Agent: Scaling Harness Intelligence via Just-in-Time Harness Evolutioncited by 16
- 2026AtomMem : Learnable Dynamic Agentic Memory with Atomic Memory Operationcited by 15
- 2026Learning Agent-Compatible Context Management for Long-Horizon Taskscited by 15
- 2026PERMA: Benchmarking Personalized Memory Agents via Event-Driven Preference and Realistic Task Environmentscited by 14
12 most cited of 44 All 44 (JSON)
- 2026AMBER: Training Long-Horizon Web Agents through Append-Only Memory5 Oct 2026
- 2026Beyond Skill Evolution: Self-Evolving Context Management Policies for Long-Horizon Agent Harnesses28 Sep 2026
- 2026GenMem: Generative Symbolic Memory for Self-Evolving Harness28 Sep 2026
- 2026Coding Agent Memory Post-training: Unlocking the Memory Potential of Pre-trained File Operations for Long-Horizon Tasks via Reinforcement Learning28 Sep 2026
- 2026Downstream-Aware Context Selection for Online In-Context Reinforcement Learning27 Sep 2026
- 2026An Empirical Study of Harness Design for Coding Agents17 Sep 2026
- 2026ContextPilot: Teaching Agents for Proactive Context Management via Fine-grained RL28 Aug 2026
- 2026JIT-Agent: Scaling Harness Intelligence via Just-in-Time Harness Evolution26 Aug 2026
- 2026DTOC: Dynamic Tool Output Compression for Adaptive Context Management in AI Agents6 Aug 2026
- 2026OneDayAgent: Towards a Long-Horizon Harness for Autonomous Agents4 Aug 2026
- 2026MemArbiter: Decision-Time Memory Arbitration for Long-Horizon LLM Agents3 Aug 2026
- 2026CrystalMem: Elastic Memory for Self-Evolving LLM Agents via Knowledge Crystallization31 Jul 2026
12 newest of 44 All 44 (JSON)
- 2026A Survey of Agentic Reasoning for Large Language Models: Towards Recursively Self-Improving and Collective Agentscited by 50
- 2026See, Remember, Explore: A Benchmark and Baselines for Streaming Spatial Reasoningcited by 4
- 2026Learning What to Remember: Observability-Safe Memory Retention via Constrained Optimization for Long-Horizon Language Agentscited by 4
- 2026ActiveMem: Distributed Active Memory for Long-Horizon LLM Reasoningcited by 1
- 2026Dual-Grained Agent Memory and Shapley Context Attribution for Multimodal Agentic Learnercited by 1
- 2026PI-Mem: Pushing Long-Context Reasoning to 3.6M Tokens with Parallel-Iterative Memorycited by 0
- 2026DRSR: Learning Set-Level Deletion Risk for Efficient Long-Horizon Agentscited by 0
- 2026DRSR: Learning Set-Level Deletion Risk for Efficient Long-Horizon Agents23 Sep 2026
- 2026Dual-Grained Agent Memory and Shapley Context Attribution for Multimodal Agentic Learner24 Aug 2026
- 2026PI-Mem: Pushing Long-Context Reasoning to 3.6M Tokens with Parallel-Iterative Memory4 Aug 2026
- 2026Learning What to Remember: Observability-Safe Memory Retention via Constrained Optimization for Long-Horizon Language Agents9 Jun 2026
- 2026ActiveMem: Distributed Active Memory for Long-Horizon LLM Reasoning9 Jun 2026
- 2026See, Remember, Explore: A Benchmark and Baselines for Streaming Spatial Reasoning25 Mar 2026
- 2026A Survey of Agentic Reasoning for Large Language Models: Towards Recursively Self-Improving and Collective Agents18 Jan 2026
- 2026Remember When It Matters: Proactive Memory Agent for Long-Horizon Agentscited by 11
- 2026Remember the Decision, Not the Description: A Rate-Distortion Framework for Agent Memorycited by 7
- 2026AutoMem: Automated Learning of Memory as a Cognitive Skillcited by 5
- 2026Yunque DeepResearch Technical Reportcited by 3
- 2026Diagnosing and Mitigating Context Rot in Long-horizon Searchcited by 3
- 2026Learning How and What to Memorize: Cognition-Inspired Two-Stage Optimization for Evolving Memorycited by 2
- 2026Dude, Where's My State? Execution Information Requirements for Stateful Agentscited by 0
- 2026Traverse: Learning When to Remember, Reset, and Redirect for Long-Horizon Web Searchcited by 0
- 2026Does an Agent's History Tell You When Compaction Will Hurt? A Modest, Bounded Effect on the TRACE Paired-Replay Corpuscited by 0
- 2026State Representation Shapes Long-Horizon Agent Learning and Transfer: An Empirical Studycited by 0
- 2026State Representation Shapes Long-Horizon Agent Learning and Transfer: An Empirical Study11 Oct 2026
- 2026Does an Agent's History Tell You When Compaction Will Hurt? A Modest, Bounded Effect on the TRACE Paired-Replay Corpus6 Oct 2026
- 2026Traverse: Learning When to Remember, Reset, and Redirect for Long-Horizon Web Search29 Sep 2026
- 2026Dude, Where's My State? Execution Information Requirements for Stateful Agents26 Sep 2026
- 2026Remember When It Matters: Proactive Memory Agent for Long-Horizon Agents9 Jul 2026
- 2026AutoMem: Automated Learning of Memory as a Cognitive Skill1 Jul 2026
- 2026Diagnosing and Mitigating Context Rot in Long-horizon Search29 Jun 2026
- 2026Remember the Decision, Not the Description: A Rate-Distortion Framework for Agent Memory11 May 2026
- 2026Learning How and What to Memorize: Cognition-Inspired Two-Stage Optimization for Evolving Memory1 May 2026
- 2026Yunque DeepResearch Technical Report27 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2026Verifiable Memory: Learning Unified Memory Management with Local and Global Verifiers for Large Language Model Agents
- 2026SAM: State-Adaptive Memory for Long-Horizon Reasoning Agent
- 2026Mem-π: Adaptive Memory through Learning When and What to Generate
- 2026PRO-LONG: Programmatic Memory Enables Long-Horizon Reasoning
- 2025MemGen: Weaving Generative Latent Memory for Self-Evolving Agents
- 2026Memory Control Signals Emerge Before Action in Long Horizon Agents
- 2026MemCo: Memory-Centric Collaboration for Generalizing LLM Agents to Unseen Environments
- 2026Mem2ActBench: A Benchmark for Evaluating Long-Term Memory Utilization in Task-Oriented Autonomous Agents