Mid-Harness: Scaling Actions Between Model and Harness for Terminal Agents
Summary
Mid-Harness introduces a method for terminal agents that samples and verifies candidate actions at the model-harness boundary before execution, boosting TerminalBench-Lite Pass@1 from 50.00% to 68.03% with a GPT-5.6 Solverifier and showing action scaling is an efficient test-time compute target alongside trajectory scaling.
View Cached Full Text
Cached at: 10/01/26, 08:23 AM
Paper page - Mid-Harness: Scaling Actions Between Model and Harness for Terminal Agents
Source: https://huggingface.co/papers/2609.39982 Authors:
,
,
,
,
,
,
,
,
,
Abstract
Terminalagentsactthroughstochasticmodelgenerations,yettheabilitytogenerateausefulactiondoesnotensureitsreliableexecution.Apoorcommand(e.g.,wrongpackageinstall)canchangetheenvironmentinwaysthathindersubsequentprogress,evenwhenthemodelcouldgenerateabetteralternative.Weinvestigatewhetherallocatingtest-timecomputeatthemodel-harnessboundarycanimproveactionreliabilityandtrajectorysuccess,andwhatmakesthisallocationeffective.Tostudythesequestions,weintroduceMid-Harness,whichsamplesandverifiescandidateactionsbeforeforwardingoneforexecution,whilekeepingthegeneratorandharnessunchanged.WithaTMAX-9Bgenerator,moreactionsamplingyieldslittlebenefitunderweakverification,whereasacapableverifiercanexploitusefulalternativesfromthesamegenerator.OnTerminalBench-Lite,[email protected]%forthebaseagentto68.03%with8sampledactions.WhenthesameTMAX-9Bmodelservesastheverifier,pairwiseverificationperformsbestamongtheevaluatedverificationmechanisms.DistillingresponsesfromthestrongerverifierintoTMAX-9BfurtherimprovesPass@1,whileleavingtheactiongeneratorunchanged.WithTMAX-9BonTerminalBench-Lite,combiningactionandtrajectoryscalingreacheshighersuccessatlowerestimatedtokencostthangeneratingmoretrajectoriesalone.Mid-Harnessalsoimprovesperformanceacrossadditionalmodels,benchmarks,andharnesses.Thesefindingsidentifyactionscalingasapromisingtargetfortest-timecomputescalinginterminalagents.
View arXiv pageView PDFProject pageAdd to collection
Get this paper in your agent:
hf papers read 2609\.39982
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2609.39982 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2609.39982 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2609.39982 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
Self-Harness: Harnesses That Improve Themselves
Self-Harness introduces a new paradigm where LLM-based agents iteratively improve their own operating harness by mining model-specific weaknesses, proposing harness modifications, and validating them through regression testing, achieving substantial performance gains on Terminal-Bench-2.0 across multiple base models.
Harness Self-Evolution for Long-Horizon Terminal Agents
The paper presents RiseHarness, a framework from Tencent and multiple universities that iteratively improves agent harnesses for long-horizon terminal tasks while keeping model weights fixed, analyzing successful and failed runs to progressively integrate better execution mechanisms.
PhoneHarness: Harnessing Phone-Use Agents through Mixed GUI, CLI, and Tool Actions
PhoneHarness is a mixed-action benchmark and execution framework that evaluates phone-use agents on verifiable mobile workflows, achieving a 75% pass rate and outperforming existing approaches by 12.9 percentage points through deterministic action routing and auditable execution traces.
Dynamic Harness Search: Building Multi-Agent Systems Per-Query via Prediction
The paper introduces SHIFT, a framework that builds multi-agent harnesses per-query using a learned local LLM architect and value function combined with Monte Carlo tree search, achieving ~80% mean accuracy across 9,193 tasks and outperforming 17 baselines while reducing execution token costs by 32% in its cheaper mode.
Self-Evolving Harness on Multiple Tasks with the Agent as Its Own Optimizer
提出一种自进化 agent harness 框架:同一冻结模型先作为 solver 解题、再作为 proposer 直接编辑自己的 harness 代码,在多任务上进化后于分布外基准上显著超越 Codex(提升 12.64 分)并达成匹配表现。