LLM Context Management

LLM: Large Language Model

Overview

This field studies how language models and agents can use conversation history, documents, tool outputs, and memory when their working context is limited or grows costly. Common approaches include truncation and summarization, relevance-based retrieval, structured or external memory, and adaptive policies that decide what to retain, restore, or discard; some systems also manage attention or KV-cache state directly. Methods are tested on tasks such as long-horizon search, coding, multi-turn question answering, and tool use. The central tension is reducing tokens, latency, and cost without losing evidence, dependencies, or safety constraints needed for later decisions, and results vary substantially by task and model.

Latest papers

CardsList

251 papers37 papers in the last four weeks, up 48% on the four weeks before. 0.2% of all new papers.

  1. Context Is a Pipeline, Not a Window: Information Attrition in LLM Agent Harnesses

    Oct 26, 2026Yuvraj Sehgal, Mahsa Panahandeh, Naser Ezzati-JivanLLM Context ManagementLLM Agent Harnesses

  2. MarkovSim: an LLM Agent Harness with Bounded Context for Long-Horizon Computational Simulation

    Oct 26, 2026Yeui-Lung Lei, Wen-Bo Chen, Pan ZhangLLM Agent HarnessesLong-Horizon LLM Agents

  3. The Physical Cost of Context: Quality-Constrained Resource Accounting for Coding Agents

    Oct 26, 2026Zhongming Yu, Yitong Ma, Hengjia Yu +4LLM Agent EfficiencyLLM Context Management

  4. CTXAgent - Self-Controlled Context Management of LLM Agents

    Oct 25, 2026Matthias Busch, Marius Tacke, Roland C. Aydin +2LLM Context ManagementContext Compaction for LLM Agents

  5. Cache Engineering for Agents

    Oct 20, 2026Tianyu Fu, Ruoxi Wang, Zihan Min +6KV-Cache ManagementMemory Management for LLM Agents

  6. Editing as Language: Teaching LLM Agents a Grammar for Native Context Editing

    Oct 18, 2026Yunlong Deng, Yan Li, Xing Hu +4LLM Context ManagementLLM Agent Training

  7. MemPrice: Online Memory Allocation via Adaptive Pricing for Long-Horizon Agents

    Oct 18, 2026Yiming Zong, Shiyuan Piao, Jiashuo Jiang +1Memory Management for LLM AgentsLLM Context Management

  8. Reasoning with Context Management and External Memory

    Oct 16, 2026Man-Ling Sung, William Hartmann, Jiangying ZhouLLM Context ManagementEfficient Language Model Reasoning

  9. When to Forget: Risk-Controlled Context Adaptation for Long-Horizon Agents

    Oct 16, 2026Chenle Chen, Yangbo Wei, Zhijie Zheng +6LLM Context ManagementLong-Horizon Agent Tasks

  10. Scaling Discovery Requires Forgetting

    Oct 14, 2026Shangyin Tan, Ben Zhou, Lakshya A Agrawal +8AI Agents for Scientific DiscoveryLLM Agent Memory

  11. Pack Light, CarryOn: Building Object-Oriented Context for Long-Horizon Agents

    Oct 13, 2026Yuchen Lu, Julian McAuley, Lei ZhangLLM Context ManagementLong-Horizon LLM Agents

  12. Encoding Context into LLM Weights: What Makes It Context?

    Oct 13, 2026Yue Wang, Qizhou Wang, Feng Liu +3LLM Context ManagementTest-Time Training

  13. Hashrope: A Persistent Data Structure for Mechanisms of LLM Context Management

    Oct 12, 2026Muntaser Syed, Ameerah Alsulami, Marius SilaghiLLM Context ManagementLLM Inference Acceleration

  14. Curating Always-Loaded Context for LLM Agents: A Capacitated Assortment Model with Censored Feedback

    Oct 7, 2026Zexuan Liu, Yuning Yang, Tiancheng ZhaoLLM Context ManagementLLM Agents

  15. ReFold: Training-Free Reversible Inter-Turn Context Folding for Long-Horizon Agents

    Oct 6, 2026Yupeng Su, Jiayi Tian, Zheng Zhang +1LLM Inference EfficiencyLong-Context Language Model Inference

  16. When Agent Context Goes Stale: Incoherence in Volatile Agent Context

    Oct 4, 2026Yingying Liu, Junzhou Fang, Chenxiong QianLLM Context ManagementLLM Agent Reliability

  17. Periscope: Extending Frozen Language Models Beyond Their Context Window

    Oct 2, 2026Mohamed Eltahir, Anas Obayd, Raed Rashid +5Long-Context Language Model InferenceLong-Context Reasoning in Language Models

  18. Decoupling Memory from Context: Structured Memory for Token-Efficient Test-Time Continual Learning

    Oct 2, 2026Yehya Farhat, Michael Desmond, Anastasios KyrillidisContinual Learning for LLM AgentsContinual Learning for LLMs

  19. The Persona Is Still There, but Who Is Speaking? Latent Identity Reversion in Persistent AI Agents

    Oct 1, 2026David Fraile NavarroPersona ConsistencyPersonality Modeling in Language Models

  20. Beyond Memory: Harnessing Long-Horizon Agents with Explicit Belief States

    Oct 1, 2026Yu Luo, Jiamin Jiang, Yimin Zuo +9Belief Updating in LLMsLong-Horizon LLM Agents

  21. Role-aware Heuristic Episodic Attention for Conversational LLMs

    Oct 1, 2026Wanyang Hong, Zhaoning Zhang, Yi Chen +5Memory-Augmented Language ModelsLong-Context Language Model Inference

  22. Can LLMs Reason Over Long Horizons? An Empirical Evaluation of Context Strategies for Longitudinal Clinical Reasoning

    Sep 30, 2026Taye Akinrele, Noorbakhsh Amiri Golilarz, Subash Neupane +2Long-Context Language Model EvaluationClinical Reasoning