mlsanityData to 7 Oct 2026

PRO-LONG: Programmatic Memory Enables Long-Horizon Reasoning

arXiv 2607.20064 ↗First posted 22 Jul 2026cs.AIcited by 9

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 1 more
Abstract (arXiv)

Long-horizon tasks require sustained perception, reasoning, and exploration, and are a persistent challenge for large language model (LLM) agents. This gap is reflected in their limited performance on continual learning benchmarks such as ARC-AGI-3, especially when models are evaluated out of the box. Various agent harnesses have been proposed to close this gap, and each commits to a strategy for handling long sequences of observations, i.e., what information to save from the environment and how to load it into model context, a choice we argue is particularly consequential. Existing methods for context management face a significant tradeoff, as preserving more information makes retrieving relevant details less tractable. We propose PRO-LONG, a minimal context management framework built around programmatic memory for LLM agents in long-horizon, exploratory settings. PRO-LONG addresses the tradeoff by keeping a complete, structured interaction log and capitalizing on recent progress in coding agents to search this history efficiently. On the full ARC-AGI-3 public game set, PRO-LONG improves over a base coding agent by an average of 18.0 percentage points across frontier models, and matches or exceeds state-of-the-art specialized harnesses (up to 76.1% pass@1) while using 4.2-5.8x fewer tokens. With Fable 5, PRO-LONG achieves 97.4% best@2 at a total cost of 1,750. Relevant code and logs are available at https://github.com/alexisfox7/PRO-LONG.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 22 of its 30 references that are in the map. First posted on arXiv 22 Jul 2026.

Builds on

22 of 30 references.

Closest ancestors · 1

Same direction, newest first

  1. 2025ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memory29 Sep

Other references · 21

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  2. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
  3. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  4. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
  5. 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 871
  6. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 722
  7. 2024A Survey on the Memory Mechanism of Large Language Model based Agentscited by 622
  8. 2026SkillRL: Evolving Agents via Recursive Skill-Augmented Reinforcement Learningcited by 252
  9. 2025ARC-AGI-2: A New Challenge for Frontier AI Reasoning Systemscited by 171
  10. 2025Hierarchical Reasoning Modelcited by 167
  11. 2019On the Measure of Intelligencecited by 129
  12. 2025A Survey of Context Engineering for Large Language Modelscited by 120
9 more
  1. 2025From Human Memory to AI Memory: A Survey on Memory Mechanisms in the Era of LLMscited by 119
  2. 2025Recursive Language Modelscited by 94
  3. 2025Less is More: Recursive Reasoning with Tiny Networkscited by 38
  4. 2025Self-Improving Language Models for Evolutionary Program Synthesis: A Case Study on ARC-AGIcited by 34
  5. 2026ARC-AGI-3: A New Challenge for Frontier Agentic Intelligencecited by 29
  6. 2025ArcMemo: Abstract Reasoning Composition with Lifelong LLM Memorycited by 22
  7. 2026Executable World Models for ARC-AGI-3 in the Era of Coding Agentscited by 12
  8. 2026Coding Agents are Effective Long-Context Processorscited by 11
  9. 2025ARC-AGI Without Pretrainingcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 9.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026SAM: State-Adaptive Memory for Long-Horizon Reasoning Agent
  2. 2026Beyond Memory: Harnessing Long-Horizon Agents with Explicit Belief States
  3. 2026AMA-Bench: Evaluating Long-Horizon Memory for Agentic Applications
  4. 2026ContextWeaver: Selective and Dependency-Structured Memory Construction for LLM Agents
  5. 2026The Horizon Gap: Planning, Memory, Execution, Training, and Evaluation for Long-Horizon LLM Agents
  6. 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions
  7. 2026Memory for Autonomous LLM Agents:Mechanisms, Evaluation, and Emerging Frontiers
  8. 2026MemWeaver: Weaving Hybrid Memories for Traceable Long-Horizon Agentic Reasoning