# Summary: 2026-07-22_12-11-51Z_PRO_LONG_ProgrammaticMemoryEnablesLong_HorizonReas.md Saved: 2026-07-24 01:48 Source: 2026-07-22_12-11-51Z_PRO_LONG_ProgrammaticMemoryEnablesLong_HorizonReas.md Model: None --- ## Summary PRO‑LONG tackles the persistent difficulty that large language model agents face in long‑horizon reasoning by introducing a programmatic memory framework that stores a complete interaction log and retrieves relevant information on demand. The approach leverages recent advances in coding agents to efficiently search this structured history, thereby reducing token consumption while preserving performance. By doing so, PRO‑LONG closes the gap between out‑of‑the‑box LLM behavior and state‑of‑the‑art continual learning results. ## Key Contributions - Finding 1: PRO‑LONG employs programmatic memory to keep a full, structured interaction log of observations and actions. - Finding 2: The system uses coding agents to query the log efficiently, enabling selective retrieval without loading all tokens into context. - Finding 3: On ARC‑AGI‑3, PRO‑LONG lifts frontier models’ pass@1 by an average of 18 percentage points and reaches up to 76.1% pass@1 while using only 4.2–5.8× fewer tokens than specialized harnesses; with Fable 5 it achieves 97.4% best@2 at a total cost of $1,750. ## Methodology The authors propose a minimal context‑management framework where the LLM continuously appends a structured entry to a programmatic memory store each time an observation or action occurs. When reasoning is required, a lightweight coding agent parses this log and executes queries that extract only the most pertinent entries, discarding unnecessary data. This selective retrieval mechanism mitigates the classic trade‑off between retaining more information and making it hard to access later. ## Results On the full ARC‑AGI‑3 public game set, PRO‑LONG improves over a baseline coding agent by an average of 18.0 percentage points across frontier models, matching or exceeding state‑of‑the‑art specialized harnesses (up to 76.1% pass@1). The token usage is dramatically lower—approximately 4.2–5.8 times fewer tokens than comparable approaches. In the Fable 5 environment, PRO‑LONG reaches 97.4% best@2 at a total cost of $1,750, demonstrating both high accuracy and economic efficiency. ## Significance This work shows that programmatic memory can effectively resolve long‑horizon reasoning challenges for large language models, offering a scalable solution that reduces token consumption and computational expense while maintaining high performance on continual learning benchmarks such as ARC‑AGI‑3. The approach provides a clear path toward more efficient, context‑aware agents without sacrificing capability. ## Related Concepts - Programmatic memory: structured storage of agent state for later retrieval. - Context management tradeoff: retaining more information versus the difficulty of retrieving it. - Continuous learning benchmark ARC‑AGI‑3. - Coding agents for efficient information extraction from logs. - Token efficiency metrics (tokens saved).