Live data from Hacker News

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

harnesstax.github.io

61–70 of 83 posts

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

#61
post #11

My own findings are in line with this research: Having a coding harness is critical but the differences between them are overstated. Personally, I’ve replaced OpenCode with a thin wrapper around Pydantic-AI as the pythonic analogue to Pi-Agent for headless use via Hermes They’d all do the job - I just prefer to compartmentalize for access control. Keeping the harness’ surface area tiny had the added benefit of preser…

One thing I am missing to be able to move out of Claude Code, is the auto mode (and the soft_deny and hard_deny settings that can be tuned), with it's classifier checking the output. It's the killer feature from me personally, often when wanting to troubleshoot for example things like Kubernetes workloads. LLMs are now really good at it, but we doesn't want them to like delete a pod. Other harnesses like Codex have o…

I believe it simply uses Sonnet as a classifier.

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

#62

Earlier quoted context omitted.

> or make them similar. identical. similar is what you tried and it didn't work.

No. You don't need identical. For example, I have extra arguments in my edit file tool that the model can specify, and that works just fine.

Backwards compatible then.

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

#63
post #37

The part of my harness that earns its tokens isn't instructions, it's the bits that take claims out of the model's hands. Two examples from daily use on a small business's systems. Telling it to batch browser calls in the system prompt didn't hold; a hook that denies the seventh consecutive single call did. Telling it to record which machine did a piece of work didn't hold either; having the CLI stamp the hostname di…

[flagged]

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

#64
post #23

We really need better harness benchmarks. It seems there's no reliable source that benchmarks the main harnesses against all open source models. I also wish the discussion around Pi did not always use cost/token count as the metric. It's amazingly token efficient, but how does it stack up again opencode and others if you don't care about token count? My experience is that the harness is mainly polish preventing faile…

[flagged]

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

#65

Does this extend to open models like GLM 5.3? This would mean that simply changing the harness to Pi reduces cost in half?

The provider's middleware also plays a role. I just completed some benchmarks on my bespoke harness and Kilo Code. There's a chart on my LI post here: https://www.linkedin.com/posts/joshheitzman_i-ran-a-fuller-r... In the case of DeepSeek-V4-Flash-0731 on deepinfra.com there was little difference when both used high reasoning. In the case of that same model on together.ai there was a substantial difference between th…

[dead]

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

#67
post #23

We really need better harness benchmarks. It seems there's no reliable source that benchmarks the main harnesses against all open source models. I also wish the discussion around Pi did not always use cost/token count as the metric. It's amazingly token efficient, but how does it stack up again opencode and others if you don't care about token count? My experience is that the harness is mainly polish preventing faile…

I've been thinking about this a lot in the past few weeks - https://www.roderick.dev/writing/2026-08-28-obsessing-harnes...

I don't think yet that a general benchmark will capture what is needed, but a gain/loss of function along with improvement / loss along the ability of that function seems to be a good path forward.

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

#68

Okay but...closed source harnesses change multiple times per week, sometimes per day. And they also tune the inference of the models behind it. You're using different tooling every day. Hard to benchmark.

A benchmark would be a series of prompts + tests that check their results you theoretically run every day

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

#70
post #30

What matters more is that you use the tools that the target model was fine-tuned on. E.g. for editing files with Claude models you should use Edit(file_path, old_string, new_string, replace_all) but with GPT models you should use apply_patch_call(patch) (where patch is a custom patch string with custom grammar). It appears newer models are better at narive harness tool calls and worse at custom tools that look simila…

This is correct. People seem to get the wrong idea about why agentic coding is even a thing in 2026. The naive AI techno optimist which has basically displaced the vast majority of opinions on HN, thinks that the models got "smarter" [0]. No, the training distribution shifted towards training on agentic sessions which made certain forms of agentic coding "in-distribution". We are still witnessing the same underlying…

There's a widespread perception that models are worse for prose and creative writing now. That would track.
Post reply on HN