HarnessTax: How Much Does the Harness Matter for Coding Agents?
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
HarnessTax: How Much Does the Harness Matter for Coding Agents?
Unofficial Hacker News client; not affiliated with Y Combinator.
lukax · · focus · HN ↗
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 similar to default tools.
<a href="https://lucumr.pocoo.org/2026/7/4/better-models-worse-tools/" rel="nofollow">https://lucumr.pocoo.org/2026/7/4/better-models-worse-tools/
kouteiheika · · focus · HN ↗
This is true. For example, the other day I was doing some testing with DeepSeek-V4-Flash-0731, and I gave it a tool called "EditFile" with "old_content" argument. It ignored the tool definition and called it with "old_string" instead, presumably because it was trained on a bunch of Claude Code traces.
So either make sure your tools look nothing like the tools in the popular harnesses, or make them similar.
raffael_de · · focus · HN ↗
identical. similar is what you tried and it didn't work.
kouteiheika · · focus · HN ↗
dns_snek · · focus · HN ↗