mlsanityData to 24 Nov 2026

Folio: Recoverable Multi-Resolution Context Folding for Long-Horizon Language Agents

arXiv 2611.16627 ↗Submitted 12 Nov 2026cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Long-horizon language agents accumulate tool results and replies until the history no longer fits the context window. Current agents shrink this history by having a model summarize it, so each compaction rereads and rewrites the history it replaces, and cache-aware triggers decide when to compact while taking the size of the result as given. We present Folio, a context manager that records, folds, and recovers history through one set of handles. While the agent runs, Folio records three linked levels: a short turn note the model writes as part of its ordinary reply (L1), an event manifest of every call written by the runtime (L2), and the captured source records (L3). Because these views already exist, the runtime folds the context programmatically, selecting coarser views for older turns. The fold prints the handles that index L2 and L3, so recovery tools that read bounded pages, compute over full text in files, and keep findings in a persistent dossier reach the evidence the agent needs with little added input. The fold trigger prices an explicit landing point that includes the retained budget. On 75 LOCA-bench tasks with DeepSeek-V4-Pro behind every system, Folio solves 66 tasks against 54 for the same runtime with model-written compaction and 49-59 for Claude Code, Codex, and SoL-Pi, in about half their working time, at 2.4 times lower cost than that runtime; each fold takes a median of 0.6 seconds.

Key facts. Cited by 1 paper in the map (data through 24 Nov 2026). Builds on 12 of its 23 references that are in the map. Submitted 12 Nov 2026.

Builds on

12 of 23 references.

References · 12

  1. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
  2. 2025Scaling Long-Horizon LLM Agent via Context-Foldingcited by 180
  3. 2025ACON: Optimizing Context Compression for Long-horizon LLM Agentscited by 171
  4. 2025AgentFold: Long-Horizon Web Agents with Proactive Context Managementcited by 120
  5. 2025The Complexity Trap: Simple Observation Masking Is as Efficient as LLM Summarization for Agent Context Managementcited by 73
  6. 2026Don't Break the Cache: An Evaluation of Prompt Caching for Long-Horizon Agentic Taskscited by 24
  7. 2026LOCA-bench: Benchmarking Language Agents Under Controllable and Extreme Context Growthcited by 19
  8. 2026SAM: State-Adaptive Memory for Long-Horizon Reasoning Agentcited by 12
  9. 2026Token Reduction Is Not Cost Reductioncited by 9
  10. 2026What Does Context Compression Cost an Agent? Interaction Costs Unrevealed by Task-Completion Metricscited by 5
  11. 2026When Can Agents Forget Their Reasoning? ICLR for Long-Horizon Agent Context Compressioncited by 5
  12. 2026Contextual Memory Virtualisation: DAG-Based State Management and Structurally Lossless Trimming for LLM Agentscited by 1

Built on by

Cited by year (2026 to 24 Nov)

Citing papers per year: 2026: 1.

1 paper.