Trend

Executable harnesses now determine agent cost, reliability, and test-time gains

Day · 2026-07-09 · Software Intelligence

Agent performance is increasingly determined by the executable control layer around the model. TTHE improves fixed large language models (LLMs) by editing their harnesses from unlabeled traces, while Long-Horizon-Terminal-Bench shows how quickly current agents break down during sustained terminal work. Repository-wide checks complete the picture: useful agents need adaptive control, dense evaluation, and structural verification.

Adaptive agent harnesses

The harness is becoming an optimization target. TTHE branches and edits executable control programs using runtime errors, tool outputs, public tests, and other unlabeled traces. With DeepSeek-V4-Flash, it raised BIRD accuracy from 12.0% to 50.0% and SWE-bench Verified from 20.0% to 35.0%. The gains are transductive, and imperfect proxy signals can still cause selection errors.

Automated harness adaptation also changes deployment economics. Across 21 task-model pairs, optimized harnesses improved 16 and closed the small language model (SLM) gap on seven. The best SLM agent reached 89.7% of frontier-LLM performance at 4% of the cost. A separate enterprise study encoded source, routing, output, and trace requirements in code; all 270 model-boundary runs passed those contracts, while a bolt-on guardrail reduced measured utility.

Long-horizon terminal evaluation

Long-Horizon-Terminal-Bench measures sustained execution with 46 containerized tasks and dense subtask rewards. Runs averaged 9.9 million tokens, 231 episodes, and 85.3 minutes. The strongest tested model solved seven tasks at the 0.95 reward threshold. Across all models, the mean pass rate was 4.3%, and timeouts caused 79% of unresolved runs.

Dense grading exposes useful distinctions within failure. Of 690 runs, 433 earned partial reward, including 180 at or above 0.5. Seventy-three runs were near completion, compared with 30 full passes. This gives developers evidence about progress, stalling, and verification failures that final-state scoring hides.

Repository context and structural coherence

Repository-level coding requires context that matches the procedure being implemented. ProjAgent retrieves functions with similar computational steps even when vocabulary and application domains differ, then uses compiler and static-analysis feedback for repair. It reports 41.14% Pass@1 on REPOCOD, though the available evidence does not quantify its margin over retrieval baselines.

Generation also needs repository-wide invariants after code is written. The Patchwork Problem models imports, calls, dependencies, configuration, schemas, resources, control flow, and routing as coordinated graphs. Its study covers 336 generations and validates the failure categories on 43 real-world AI-generated repositories. The paper does not report precision, recall, or a numerical failure rate in the available excerpt, so its strongest supported contribution is the verifier’s scope and taxonomy.

NewerRobot policy gains now depend on memory, targeted adaptation, and harder dexterity testsOlderCoding agents need safer inputs, guarded tools, and repeatable production paths