Home / Companies / Portkey / Blog / Post Details
Content Deep Dive

The Harness Tax: The Dead Weight Inside Your Coding Agent

Blog post from Portkey

Post Details
Company
Date Published
Author
Siddharth Sambharia
Word Count
861
Company Posts That Month
21
Language
English
Hacker News Points
-
Post removed?
No
Summary

Harnesses, which are essential for even the best coding models, add significant overhead that affects the efficiency of coding agents during tasks. A study comparing different agents like Pi, OpenAI Codex, and Claude Code reveals substantial disparities in harness overhead, with Claude Code sending approximately 27,000 input tokens per request compared to Pi's 2,600. This overhead, termed the "Harness Tax," involves system prompts, tool definitions, and conversation history, which consume valuable context window space and can impede the model's ability to focus on the actual task. As models evolve and improve, the assumptions encoded within harnesses quickly become outdated, suggesting the need for leaner harnesses that leverage the model's inherent capabilities. While complex work may justify the deep tooling of agents like Claude Code, the study highlights the importance of measuring and understanding harness overhead to optimize performance and resource utilization.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
OpenClaw 3 624 65 39 -4%
Harness engineering 1 164 111 62 +6%
Observability 1 4,496 812 176 +40%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.