arXiv · 2612.05288
Perdura: The Model Decides, the Runtime Keeps State
Abstract
Language-model agents work inside a harness, the loop that builds the model's context and executes its actions. As models grow stronger, how much should the harness still do? Today it keeps a transcript, a record of what happened, and leaves the model to work out at every step what holds now. We argue for a division of labor: the model decides, and the harness keeps the state of the task. The division holds for any task when actions are code, as in CodeAct: the state they create is the state of a running program. Perdura is a CodeAct harness whose runtime keeps this state and shows the model a projection of it. Against four widely used harnesses, Perdura lies on the score-cost Pareto frontier in seven of eight model-benchmark settings. Without its state mechanisms, a strong model holds its score within run-to-run variation at 11-38% higher cost, and a runtime killed mid-task resumes from its stored state.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Haoyu Wang, Zhen Wang, Zhiyu Yang, Hanqing Wang, Kaichen Huang, Shuo Wang, Bo An. 2026-12-03. Perdura: The Model Decides, the Runtime Keeps State. https://searcharxiv.org/abs/2612.05288
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.