← Back to Paper Radar

StateM: Reaching 95.3% Raw Accuracy, or a \$15 Frontier Run, on Terminal-Bench 2.1 via Harness Scaling

Ziheng Qin, Yaxin Lu, Zhangyang Atlas Wang, Kai Wang
2026

Reading guide · Based on pages from the original PDF

The authors argue that improving the external execution harness can lift agent benchmark scores by model-generation-sized margins without changing weights. They implement this as StateM, a YAML/CLI state-machine runtime with phase-local context, checked transitions, and versioned practices drawn from past failures.

Why read this

This is useful for practitioners building long-horizon coding or terminal agents who want to know whether runtime control, rather than a stronger model, is the cheaper lever.

What the authors found

  • On Terminal-Bench 2.1 (89 tasks × 5 trials), the authors report that GPT-5.5 xhigh with their developed profile reaches 92.1%, against an 83.1% public GPT-5.5 Codex reference. They note this reference is model-matched but is not a rerun, agent-version-matched A/B control. PDF page 11
  • The frozen GPT-5.5 profile applied to GPT-5.6 Sol xhigh records 424/445 (95.28%) raw, against an 84.9% reference. This is a raw, pre-adjudication public submission. The score falls to 94.38% if four acknowledged rewarded trajectories are excluded, and to 93.26% if all nine flagged trajectories are zeroed. The same frozen profile raises GPT-5.6 Luna from 76.7% to 85.4%. PDF page 4
  • Exact transfer fails for DeepSeek-V4-Flash, which moves from 82.7% to 82.0%. After about $37 of adaptation, it reaches 88.09% on the full suite under standard timeouts. The final evaluation cost $15.20 and total spend was $52.22. The cited $574.68 GPT submission scored 83.37% raw; the 88.8% Sol max figure comes from a different evaluation. PDF page 14

Main limitation

The authors state that the Terminal-Bench numbers reflect the runtime combined with an evolved, benchmark-adapted runbook. They do not isolate the effect of the state-machine abstraction. Task-level gains are associations with active controls, not ablations. PDF page 7

Where to start

PDF page 15 · Check the held-out BusinessBench results. The frozen gains are small (+0.55 macro, +1.34 micro), and two families regress, which tests how general the method is beyond Terminal-Bench.

Abstract

Long-horizon agents can fail even when their underlying models can solve the constituent steps. They may lose track of mutable state, fail to reactivate lessons from earlier executions, skip known procedures, or stop prematurely. We bet on harness scaling to improve the execution system around an agent without changing its model weights. We introduce StateM, an agent-native runtime that organizes execution around durable states, phase-local context, checked transitions, recoverable runbooks, and versioned procedural practices that agents and users can inspect together. On Terminal-Bench 2.1, StateM raises GPT-5.5 xhigh to 92.1\%, versus 83.1\% reference and GPT-5.6 Sol Ultra at 91.9\%. The runbook transfers unchanged to GPT-5.6. With GPT-5.6 Sol xhigh, StateM reaches 95.3\% raw accuracy across 445 trials and succeeds on all 89 tasks at least once. The frozen profile raises GPT-5.6 Luna from 76.7 to 85.4\%, above the 84.9\% Sol xhigh reference. Using the same runtime, runbook structure, and golden rules, less than \$38 of adaptation raises DeepSeek-V4 Flash from 82.7 to 88.1\% under standard timeouts and to 89.1\% on an 88-task common core. Extending only the remaining latency-sensitive task matches the reported 88.8\% GPT-5.6 Sol max result. Final-score API usage is about \$15 versus \$574.68 for the GPT reference; total DeepSeek expenditure is \$52.22. On BusinessBench, family-specific runbooks built on development sets yield held-out gains of 0.55 macro and 1.34 micro points; two mechanism-matched families improve by 10.04 points. Concrete rules generalize when tasks share execution structure, while the control methodology applies broadly. StateM turns selected postmortem findings into persistent, executable preconditions and practices, making learned controls explicit and enforceable through stateful controls. Code at github.com/henryqin1997/statem.

Generated automatically from PDF pages on 2026-11-28.