AIFeed

HarnessTax: How Much Does the Harness Matter for Coding Agents?

Summary

arXiv:2612.05657v1 Announce Type: new Abstract: Every coding agent runs a model inside a $\mathit{harness}$, yet we lack a principled understanding of what the harness adds and which of its components matter. We present the first systematic study of how production coding-agent harnesses and their individual components affect cost and success rate, and examine where the harness adds cost and when it changes what a model can solve. We evaluate eight models in three production harnesses (Claude Code, Codex, Pi) on four benchmarks: SWE-bench Lite, Terminal-Bench 2.0 and 4.0, and Terminal-Bench Science 0.1. For a fixed model, the harness has little effect on success rate but a much larger effect on cost, which we call the harness tax. With Claude Fable 5 on Terminal-Bench 4.0, for example, Claude Code costs $2.1\times$ as much as Pi, with no statistically detectable gap in success rate. Pi, with only four tools, is on the cost-success Pareto frontier on every benchmark. Models also perform…

Original text(via arXiv cs.AI)

Computer Science > Artificial Intelligence

Title:HarnessTax: How Much Does the Harness Matter for Coding Agents?

Abstract:Every coding agent runs a model inside a $\mathit{harness}$, yet we lack a principled understanding of what the harness adds and which of its components matter. We present the first systematic study of how production coding-agent harnesses and their individual components affect cost and success rate, and examine where the harness adds cost and when it changes what a model can solve. We evaluate eight models in three production harnesses (Claude Code, Codex, Pi) on four benchmarks: SWE-bench Lite, Terminal-Bench 2.0 and 4.0, and Terminal-Bench Science 0.1. For a fixed model, the harness has little effect on success rate but a much larger effect on cost, which we call the harness tax. With Claude Fable 5 on Terminal-Bench 4.0, for example, Claude Code costs $2.1\times$ as much as Pi, with no statistically detectable gap in success rate. Pi, with only four tools, is on the cost-success Pareto frontier on every benchmark. Models also perform competitively outside their provider's harness, often at a lower cost. Much of the extra cost comes from the system prompt, tool definitions, and accumulated context that the harness re-sends with every model call, including definitions of tools the model never calls. Success rates rarely differ significantly across harnesses. When they do, part of the gap comes from system-level features such as handling large image inputs. We also modify five components one at a time to isolate the effects of harness design choices. Enabling subagents in Codex, for instance, increases the cost by $3.0\times$ on Terminal-Bench 2.0 without improving the success rate. HarnessTax is a step toward understanding how each harness component affects cost and success rate, and we hope it guides future research on what matters in a coding-agent harness.
Subjects:Artificial Intelligence (cs.AI) ; Machine Learning (cs.LG); Software Engineering (cs.SE)
Cite as:arXiv:2612.05657 [cs.AI]
(or arXiv:2612.05657v1 [cs.AI] for this version)
https://doi.org/10.48550/arXiv.2612.05657 arXiv-issued DOI via DataCite (pending registration)

Submission history

Access Paper:

  • HTML (experimental)

Additional Features

  • Audio Summary

Current browse context:

References & Citations

  • Google Scholar
  • Semantic Scholar

BibTeX formatted citation

Bookmark

Bibliographic and Citation Tools

Code, Data and Media Associated with this Article

Demos

Recommenders and Search Tools

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by arXiv cs.AI
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗