mlsanityData to 14 Oct 2026

Learning Agent-Compatible Context Management for Long-Horizon Tasks

arXiv 2605.30785 ↗First posted 29 May 2026cs.AIcited by 15

On the map: LLM agents and tool use → Agent memory systems

Abstract (arXiv)

LLM agents increasingly face long-horizon tasks such as web search and deep research in real-world applications, where accumulated context can cause long-context degradation and reasoning failures. Prior work mitigates this through context management with agent-side context control or fixed strategies such as summarization, which require training the agent itself for adaptation - making it impractical for closed-source agents and ignoring that different agents may require different strategies. We introduce Adaptive Context Management (AdaCoM), which trains an external LLM to manage the context of a frozen agent through flexible modification actions and end-to-end reinforcement learning. Across diverse agents on web search and deep research benchmarks, AdaCoM substantially improves performance by preserving task constraints and progress while pruning stale content. The learned strategies reveal a Fidelity-Reliability Trade-off: agents with higher vanilla ReAct performance benefit from higher-fidelity context preservation, whereas lower-performing agents require more aggressive compression to stay within a reliable reasoning regime. Transfer experiments show that AdaCoM generalizes most effectively across agents with similar capability (measured by vanilla ReAct performance), suggesting a practical path toward reusable context managers for agent systems.

Key facts. Cited by 15 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 14 of its 21 references that are in the map. First posted on arXiv 29 May 2026.

Builds on

14 of 21 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025Memory in the Age of AI Agents15 Dec
  2. 2025Memory as Action: Autonomous Context Curation for Long-Horizon Agentic Tasks14 Oct
  3. 2025Scaling Long-Horizon LLM Agent via Context-Folding13 Oct
  4. 2025A-MEM: Agentic Memory for LLM Agents17 Feb

Other references · 10

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  3. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  4. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  5. 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 841
  6. 2025BrowseComp: A Simple Yet Challenging Benchmark for Browsing Agentscited by 647
  7. 2025DeepResearch Bench: A Comprehensive Benchmark for Deep Research Agentscited by 248
  8. 2025BrowseComp-Plus: A More Fair and Transparent Evaluation Benchmark of Deep-Research Agentcited by 200
  9. 2025MCP-Bench: Benchmarking Tool-Using LLM Agents with Complex Real-World Tasks via MCP Serverscited by 109
  10. 2025IterResearch: Rethinking Long-Horizon Agents with Interaction Scalingcited by 23

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 15.

15 papers.

Sort:

By area:

  1. 2026CompactionRL: Reinforcement Learning with Context Compaction for Long-Horizon Agentscited by 14
  2. 2026Feedback That Backfires: Why Small Language Model Agents Repeat the Call They Just Watched Failcited by 4
  3. 2026LLM Agents Are Latent Context Managers: Eliciting Self-Managed Context via State Proprioceptioncited by 3
  4. 2026Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligencecited by 3
  5. 2026TRACER: Per-Tool Context Retention for LLM Agents via Consequence-Attributed Reinforcement Learningcited by 1
  6. 2026Question's Gambit: The First Move Matters in Agentic Deep Searchcited by 1
  7. 2026Connect the Dots: Training LLMs for Long-Lifecycle Agents with Cross-Domain Generalization Via Reinforcement Learningcited by 0
  8. 2026Coding Agent Memory Post-training: Unlocking the Memory Potential of Pre-trained File Operations for Long-Horizon Tasks via Reinforcement Learningcited by 0
  9. 2026Beyond Skill Evolution: Self-Evolving Context Management Policies for Long-Horizon Agent Harnessescited by 0
  10. 2026LongCat-DeepResearch Technical Reportcited by 0
  11. 2026StateTape: Action-Conditioned Evidence Lifecycle Modeling for Long-Horizon Coding Agentscited by 0
  12. 2026ProgressCompass: Embodied Progress Reward Models Are Lost Without the Right Contextcited by 0
3 more
  1. 2026Agent-Controlled Forgetting for Tool-Using Agents: Reversible Context Curation in Practicecited by 0
  2. 2026Glasseek: A Transparent Recipe for Training and Trustworthy Evaluation of DeepSearch Agentscited by 0
  3. 2026Pack Light, CarryOn: Building Object-Oriented Context for Long-Horizon Agentscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026ACM: Agentic Context Management for Long Horizon Tasks
  2. 2026ContextBudget: Budget-Aware Context Management for Long-Horizon Search Agents
  3. 2026Unified Context Evolution for LLM Agents
  4. 2026ContextPilot: Teaching Agents for Proactive Context Management via Fine-grained RL
  5. 2025AutoContext: Instance-Level Context Learning for LLM Agents
  6. 2026ACE: Pluggable Adaptive Context Elasticizer across Agents
  7. 2026Escaping the Context Bottleneck: Active Context Curation for LLM Agents via Reinforcement Learning
  8. 2026LongSeeker: Elastic Context Orchestration for Long-Horizon Search Agents