HarnessTax, a UC Berkeley Sky Lab and Arena study, finds swapping a coding agent's harness changes cost by up to 5x while success rate barely moves.
UC Berkeley's Sky Lab and Arena published HarnessTax on 16 September 2026, a study that runs seven language models through three coding agent harnesses, Claude Code 2.1.224, Codex CLI 0.146.0 and Pi 0.85.1, on the same 30 tasks each from SWE-bench Lite and Terminal-Bench 2.0. The authors are Melissa Z. Pan, Shuo Yang, Negar Arabzadeh, Wei-Lin Chiang, Ion Stoica and Matei Zaharia. The paper reached 216 points and 87 comments on Hacker News.
HarnessTax is a UC Berkeley Sky Lab and Arena study showing that a coding agent's harness, the program that manages its tools, prompts and turn loop, changes cost far more than it changes task success. Claude Fable 5 solved 97.8% of SWE-bench Lite attempts in Claude Code and 96.7% in Pi, but Claude Code cost $1.33 per attempt against $0.67 in Pi.
Someone wiring a coding agent into a pipeline is choosing a harness as much as a model, and HarnessTax puts a number on that choice. Claude Code ships 23 tools by default, and every one of those tool schemas rides along in the first call and every call after it, billed as a cache write when the prompt is cold and a cache read otherwise. A team running short, well-defined tasks such as a bug fix with an existing test suite pays for tool definitions it may never call, while a long session that needs subagents, hooks or MCP connections, none of which HarnessTax measured, may need exactly that scaffolding to finish the job. The same accounting applies to MCP servers: connecting several while using one adds its own schema weight to that same first call, on top of what the study measured for the harness alone.
The study covers two public benchmarks the models may have already seen in training, short tasks capped at 100 turns and averaging about 15, and direct-API pricing that does not apply on a Claude Pro or Max subscription, where the constraint is a weekly usage window rather than a per-call bill. It is also self-published without peer review, with API access sponsored by Arena and Anthropic credits provided by the Laude Institute. The authors argue the fix is not picking Pi over Claude Code by default but testing a harness against a workload before adopting it, and they close by saying a harness should adapt to the task automatically rather than leave the choice to the user by hand.
HarnessTax is a study published on 16 September 2026 by UC Berkeley's Sky Lab and Arena that measures how much a coding agent's harness, as opposed to its underlying model, affects cost and task success. It ran seven models through Claude Code, Codex CLI and Pi on SWE-bench Lite and Terminal-Bench 2.0.
Not on the tasks HarnessTax tested. Claude Fable 5 solved 97.8% of SWE-bench Lite attempts in Claude Code against 96.7% in the four-tool Pi harness, a gap inside the study's confidence interval, while Claude Code cost about twice as much per attempt.
Pi is a minimal, open-source, MIT-licensed coding agent harness that ships with four tools: read, write, edit and bash. HarnessTax found it reached the Pareto frontier of cost against success on both benchmarks it tested.
Source: HarnessTax
Discussion: Hacker News
Developers comparing coding agents and their harnesses before wiring one into a pipeline can browse the options in the coding category on AI Agents Listing.
One email a week. New agents, MCP servers and skills, and what is actually getting traction.
Claude Code will read AGENTS.md when a project has no CLAUDE.md, adopting the open convention that Codex, Cursor and other coding agents already read.
Ordewell is a new open-source CLI, TUI and VS Code extension that turns one goal into an editable, multi-agent plan for coding agents.
Pion is Andon Labs' platform for agents that run entire businesses autonomously, from vending machines to software companies, now open via waitlist.