Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Nvidia announces native GPU programming in Rust(nvidia.com ↗)
    137comments
  2. Training a 4B model to produce 81% faster query plans than Postgres(rohanbansal.com ↗)
    86comments
  3. Xiaomi Mimo 2.6 live post-training dashboard(xiaomi.com ↗)
    75comments
  4. Breaking the 1.58-bit Barrier for Ternary LLMs(arxiv.org ↗)
    20comments
  5. Backups Aren't Simple(filipovski.net ↗)
    47comments
  6. Small programming tricks(will-keleher.com ↗)
    187comments
  7. Developing provably correct Rust code with Verus(amazon.science ↗)
    2comments
  8. The engineering behind the US Strategic Petroleum Reserve(johnjwang.com ↗)
    45comments
  9. OpenSpec – A lightweight and configurable AI spec framework(openspec.dev ↗)
    32comments
  10. The Return of Sail Power: Cargo Ships Are Turning Back to the Wind(gcaptain.com ↗)
    5comments
  11. DeepSeek-v4.1 Flash: Pushing the Limits of KV Cache Compression(zartbot.github.io ↗)
    discuss
  12. Performance Improvements in .NET 11(devblogs.microsoft.com/dotnet ↗)
    38comments
  13. Reversing Factorio's RNG(gegell.github.io ↗)
    20comments
  14. HarnessTax: How Much Does the Harness Matter for Coding Agents?(harnesstax.github.io ↗)
    16comments
  15. Japan's book scene is moving from bookstores to libraries(untranslatedjp.substack.com ↗)
    49comments
  16. Show HN: An e-ink frame that hears birds and draws them as 1800s illustrations(github.com/arnegiacomo ↗)
    240comments
  17. AWS says it can't restore some data from mideast facilities struck by Iran(wsj.com ↗)
    226comments
  18. Part-human part-mouse brain developed in science breakthrough(bbc.com ↗)
    discuss
  19. Australia says it could follow Canada in forging deeper ties with EU(independent.co.uk ↗)
    117comments
  20. Anecdotally, programmers dislike "reduce"(evanhahn.com ↗)
    169comments
  21. Mapsnap: Automated Georeferencing for Historic Sanborn Insurance Maps(danvk.org ↗)
    discuss
  22. Reverse-engineered Jev-like model(github.com/vinnylarouge ↗)
    13comments
  23. Pangram – AI detector for text and images(pangram.com ↗)
    discuss
  24. Dream-RSI: Recursive Self-Improvement through Evolving Worlds(arxiv.org ↗)
    49comments
  25. Anatomy of a Texture(agentlien.github.io ↗)
    14comments
  26. Why Does the Universe Expand?(cosmicave.org ↗)
    23comments
  27. The DeepMind Institute(deepmind.com ↗)
    47comments
  28. Accurate Models of AMD Matrix Cores(arxiv.org ↗)
    8comments
  29. Hackers Got Inside a Flock Camera(wired.com ↗)
    224comments
  30. Training Text-to-Image Models 3.6× Faster(linum.ai ↗)
    8comments

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

50 pointsby 4h agoharnesstax.github.io
16 comments
2h agoHN ↗

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

56m agoHN ↗

I've found the experience of using Pi with local models feels a lot snappier than both OpenCode or Claude Code.

51m agoHN ↗

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 the two (high reasoning for both again). When using together.ai with Kilo Code the LLM was having a lot of trouble making successful edits. In some cases that meant a lot tries at using the tools and in others it worked around by running scripts. Meanwhile it used the tools from my harness just fine. I've specifically tried to make my tools easy for all of the open weight LLMs to use correctly. That was inspired by getting some errors from Kilo Code at the beginning of the year telling me that the model was having trouble and I should use a smarter model.

2h agoHN ↗

Much of the extra weight of Claude Code and Codex harness are (ostensibly?) for security and alignment purposes. Whether they are effective is an open question, but leaving those dimensions out and calling it a tax is disingenuous, just turning insecurity into a negative externality.

"Why pay the waste disposal tax? Dumping into the ocean is free!"

Pi actively omits any sort of guardrails and sandboxing in the name of speed and simplicity, so it is not shocking that it is faster and simpler.

Doubling the cost of something in the name of vague security is standard operating procedure for big enterprises, maybe even quite cheap.

56m agoHN ↗

It's not hard to sandbox Pi without adding anything substantial to the actual size of the system prompt, which is what HarnessTax is mostly measuring. Wrapping it in nono.sh costs approximately zero tokens.

(I do think Pi should ship with more than zero builtin sandboxing though)

46m agoHN ↗

You can sandbox with tool hooks, at least in antigravity, I think a lot of other harnesses support similar features. Sandboxing via the prompt is just dangerous and unreliable.

17m agoHN ↗

I have a couple hundred line TUI that just clones an LXD container and I get all my repos and infra isolated in 5s with pi having isolation to that container. Swap between any instance. Port forward to host all automatic.

Funny to me how stuff is described these days. Seems like some people lack the full understanding of all these different systems and really overcomplicate their harness setups or use super bloated all in one tooling.

2h agoHN ↗

The term "harness" here is being overloaded for the term "agent", which is worrying. Putting that aside, there are many factors that matter. The "harness" context, the execution pattern (parallel vs sequential), the ability to delegate to other models, etc.

Optimal harnesses use concurrent execution + subagents and are not stuck on one model. Cost and performance are impacted GREATLY by these tactics, regardless of the native agent context (instruction). This kind of single-harness analysis is shallow and misleading, although the finding that "Provider-specific optimization does not guarantee the best pairing" is probably correct, depending on how you measure.

It is a starting point.

1h agoHN ↗

claude code feels mildly shitty to use in the way that every other vibe-coded-project-got-out-of-hand project does, which is like, not that bad, but it's fucking ridiculous for a 2 trillion dollar company's main companion product

1h agoHN ↗

As the model gets smarter, you need to tell it less

1h agoHN ↗

As the black box gets bigger, you need to stop expressing yourself even more.

9m agoHN ↗

Perhaps, but then the value of each thing you tell it goes to.

56m agoHN ↗

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 preserving my understanding and being able to adapt it to my preferred workflow effortlessly

47m agoHN ↗

Claude Code/Codex charge the user for their extremely bloated one-size-fits-all system prompts (including safety instructions and other stuff users dont want).

In my experience if you're using OpenAI/Claude models and paying API costs, almost every other harness beats Claude Code/Codex in cost.

46m agoHN ↗

Say I'm using Claude Code or GPT Codex's harnesses but also sending some queries to the respective Anthropic and OpenAI models via OpenRouter.

Do harnesses and therefore sending the queries directly to the LLM providers have caching and other benefits that OpenRouter does not provide? Would I get any of those benefits if I simply proxied any requests to the major providers' harnesses through OpenRouter? Or only if the requests go straight from the harness to the provider's API?

43m agoHN ↗

If this is mostly because of the size of the system prompt, then perhaps in long horizon tasks the "tax" will be less obvious.