← News

Models & toolsSources: arXiv · 4 Dec 2026

Perdura paper proposes harnesses that keep task state for code-running agents

The arXiv paper argues a code-execution harness should maintain program state itself, showing the model only a projection, and reports Pareto-frontier results against four existing harnesses.

In plain words

Agents built on language models run inside a harness, the software loop that feeds the model context and carries out its actions. The Perdura authors argue the harness should track the state of the task, like a running program's state, instead of just keeping a transcript. Their system, Perdura, does this for code-based actions and reports strong score-versus-cost results.

What was announced

In a paper posted on arXiv, the Perdura authors argue that as language models grow stronger, the harness around them should take on more responsibility. Rather than only keeping a transcript and leaving the model to work out what holds at each step, they propose a division of labor: the model decides, while the harness maintains the state of the task. They say this division applies to any task where actions are code, as in CodeAct, because the state such actions create is the state of a running program.

Perdura is a CodeAct harness whose runtime keeps that state and shows the model a projection of it. The paper reports that, against four widely used harnesses, Perdura sits on the score-cost Pareto frontier in seven of eight model-benchmark settings. The authors also state that without its state mechanisms, a strong model holds its score within run-to-run variation at 11-38% higher cost, and that a runtime killed mid-task can resume from its stored state. These figures come from the paper's abstract alone, so the underlying benchmarks and settings are not described in the available excerpt.

What it does not show

  • The evidence is limited to the paper's abstract; the full methodology, benchmarks and results are not available for verification.
  • The reported comparisons and cost figures are the authors' own claims and have not been independently confirmed.

Sources

Source-support review completed 4 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 4 Dec 2026

New to the subject? AI from the Ground Up starts from the beginning.