mlsanityData to 7 Oct 2026

Tracing the Thoughts of a Coding Agent Playing ARC-AGI-3: Lessons for Continual Learning

arXiv 2610.11450 ↗First posted 8 Oct 2026cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

We study how a coding agent learns across a sequence of abstract reasoning tasks. The agent runs on a frozen foundation model inside a fixed harness and acts by writing and running Python and shell scripts. It retains no state across turns other than its written artifacts, so every thought it forms, carries, corrects or abandons leaves a trace, where a thought is any belief, rule or plan committed to a file. We let the agent play ARC-AGI-3, a set of interactive reasoning games that provide no instructions. Each game is a sequence of levels, and a strategy that clears one level can fail on the next, so every new level is in effect a new task. The agent records what it learns as Python scripts and text notes, while the harness keeps a complete log of every action and observation. Our contribution is a measurement protocol that traces each thought through these files, from the task where it forms to the task where it is corrected or abandoned, applied to seven evaluation runs with three backbones from two model families. Scripts written for one task are almost never called again in a later task (33 of 630 references cross a task boundary), because most scripts embed the state of the current level. Instead, the agent rewrites its knowledge into new scripts, keeping the general rules and dropping the level-specific details, and abandons 74% of the scripts it wrote before a boundary. The notes, which only the model reads, are never revised: the agent appends without removing earlier claims, and the contradictions that accumulate are settled against the log. Because the log preserves everything, the agent forgets selectively, not catastrophically. The most costly error is a hard-coded value carried into a task where it no longer holds. These findings come from the files the agent wrote, without access to the model, and constitute a white-box analysis of how a coding agent continually learns.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 19 of its 24 references that are in the map. First posted on arXiv 8 Oct 2026.

Builds on

19 of 24 references.

References · 19

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  2. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
  3. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
  4. 2018Continual Lifelong Learning with Neural Networks: A Reviewcited by 1,313
  5. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
  6. 2017Memory Aware Synapses: Learning what (not) to forgetcited by 1,094
  7. 2023A Comprehensive Survey of Continual Learning: Theory, Method and Applicationcited by 860
  8. 2019Gradient based sample selection for online continual learningcited by 568
  9. 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 449
  10. 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 329
  11. 2018Task-Free Continual Learningcited by 219
  12. 2019On the Measure of Intelligencecited by 129
7 more
  1. 2019A continual learning survey: Defying forgetting in classification taskscited by 118
  2. 2026Adapting the Interface, Not the Model: Runtime Harness Adaptation for Deterministic LLM Agentscited by 22
  3. 2026Evo-Harness: Context-to-Harness Skill Compilation for Self-Evolving Agentscited by 12
  4. 2026Continual Learning Bench: Evaluating Frontier AI Systems in Real-World Stateful Environmentscited by 11
  5. 2026PRO-LONG: Programmatic Memory Enables Long-Horizon Reasoningcited by 9
  6. 2026WikiSkill: Compiling Agent Experience into Persistent Knowledge for Skill Evolutioncited by 7
  7. 2026The Last Harness You'll Ever Buildcited by 5

Built on by

Not cited yet.