Search arXiv⌕ Search

arXiv · 2612.05657

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Melissa Z. Pan, Shuo Yang, Negar Arabzadeh, Wei-Lin Chiang, Ion Stoica, Matei Zaharia. 2026-12-03. HarnessTax: How Much Does the Harness Matter for Coding Agents?. https://searcharxiv.org/abs/2612.05657

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

LEMMA-RCA: A Large Multi-modal Multi-domain Dataset for Root Cause Analysis

Root cause analysis (RCA) is crucial for enhancing the reliability and performance of complex systems. However, progress in this field has been hindered by the lack of large-scale, open-source datasets tailored for RCA. To bridge this gap, we introduce LEMMA-RCA, a large dataset designed for diverse RCA tasks across multiple domains and modalities. LEMMA-RCA features various real-world fault scenarios from Information Technology (IT) and Operational Technology (OT) systems, including microservices, water distribution, and water treatment systems, with hundreds of system entities involved. We evaluate the performance of six baseline methods on LEMMA-RCA across various settings, including offline and online models, as well as single and multi-modal settings. Our study demonstrates the utility of LEMMA-RCA in facilitating fair evaluation and promoting the development of more robust RCA techniques. The dataset is publicly available at https://lemma-rca.github.io/, with archival metadata and access instructions deposited under DOI: https://doi.org/10.5281/zenodo.20516735.

cs.AI↗

Graph-to-Vision: Benchmarking Multi-Graph Visual Reasoning with Vision-Language Models

Recent advances in Vision-Language Models (VLMs) have shown promising capabilities in interpreting visualized graph data, offering a perspective on graph-structured reasoning that complements traditional Graph Neural Networks (GNNs) by dispensing with explicit graph construction. However, existing studies focus primarily on single-graph reasoning, leaving the critical challenge of multi-graph visual reasoning (MGVR) underexplored. In this work, we introduce the first comprehensive benchmark designed to evaluate and enhance the MGVR abilities of VLMs. Our benchmark covers four common graph types - knowledge graphs, flowcharts, mind maps, and route maps - and supports both homogeneous and heterogeneous graph groupings with tasks of increasing complexity. We evaluate several state-of-the-art VLMs under a multi-dimensional scoring framework that assesses graph parsing, reasoning consistency, and instruction-following accuracy. Additionally, we fine-tune multiple open-source models and observe improvements in 17 of the 18 model-dimension combinations, confirming the effectiveness of our dataset. This work provides a principled step toward advancing MGVR and reveals new opportunities for cross-modal graph intelligence.

cs.AI↗

Executable Epistemology: The Structured Cognitive Loop as an Architecture of Intentional Understanding (Extended Version)

Large language models exhibit intelligence without genuine epistemic understanding, revealing a philosophical gap: the absence of epistemic architecture. This paper introduces the Structured Cognitive Loop (SCL) as an executable epistemological framework. Rather than asking what intelligence is, SCL asks under what structural conditions cognition emerges. Drawing on process philosophy, enactive cognition, extended mind theory, and cognitive phenomenology, we reconceive intelligence as a performed process: a continuous loop of cognition, control, action, and memory governed by explicit normative regulation. SCL operationalizes philosophical claims as computationally interpretable structures ("executable epistemology"), shows that functional separation yields more coherent and traceable behavior than monolithic prompt-based agents, and redefines intelligence as the capacity to reconstruct one's own epistemic state. This extended version carries the framework from understanding to accountability. We show that SCL implements three structurally distinct paths of justified acceptance - Memory Fact (causal tool observation), Contextual Human-in-the-Loop (authoritative human judgment), and Pool-Gated Retrieval (threshold-governed evidential selection) - unified by a Grounding Principle that fixes the evidential basis of each reasoning episode at turn onset. Their analysis yields a tripartite framework of Epistemic Horizon, Warrant, and Commitment, which we argue is a general condition: any epistemic input can be incorporated into an accountable artificial agent if and only if these three conditions can be structurally specified. We conclude that the intelligence appropriate for accountable agents is normative rather than descriptive: a matter not of what an agent can produce, but of what it is entitled to produce.

cs.AI↗