hraness

saved

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

by Melissa Z. Pan, Shuo Yang, Negar Arabzadeh, Wei-Lin Chiang, Ion Stoica and Matei ZahariaHarnessTax

Hraness cites a source capture. The source author remains the source.

gist

Sky Lab's HarnessTax evaluates 21 model–harness pairs (seven models × Claude Code, Codex CLI, and Pi) on SWE-bench Lite and Terminal-Bench 2.0. Harness choice barely moves success rates but can swing cost up to about 5×; minimal open-source Pi is competitive; and in nine of twelve Anthropic/OpenAI comparisons an alternative harness beats the provider's own.

ideas

  • Harness tax is mostly cost. Same model, similar success, up to ~5× token cost across harnesses; average success deltas stay within about ±2–5% on the two benches.
  • Pi's four tools reach the frontier. Read, write, edit, and bash suffice for Pareto-competitive cost and success versus Claude Code and Codex CLI.
  • Own-harness is not best. Across six Anthropic and OpenAI models on both benches, an alternative harness wins highest observed success in nine of twelve comparisons.
  • First-call context seeds the tax. Claude Code's mean initial context is over 10× Pi's via longer instructions and larger tool schemas, before later turns accumulate.
  • Measure models across harnesses. Default agent packaging hides cost; evaluations should hold the model fixed and report cost plus success across common harnesses.

quotes

The same model can achieve similar success rates at up to 5x costs.

Melissa Z. Pan et al., stating the cost swing under similar success.

Pi reaches the Pareto frontier on both benchmarks by providing just four tools: read, write, edit, and bash

Melissa Z. Pan et al., summarizing Pi's minimal tool surface.

an alternative harness achieves the highest observed success rate in nine of twelve comparisons

Melissa Z. Pan et al., on Anthropic and OpenAI models outside their own harnesses.

Claude Code’s mean initial context is over 10× Pi’s, with longer instructions and larger tool schemas.

Melissa Z. Pan et al., explaining where first-call harness tax begins.