Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. An Empirical Study of Harness Design for Coding Agents(arxiv.org ↗)
    15comments
  2. I Vibed a Proof of Conway's Conjecture(overreacted.io ↗)
    12comments
  3. Bend 2 and the Vibe-Coding Trap(liampwll.com ↗)
    176comments
  4. I don't like passkeys(hawksley.dev ↗)
    298comments
  5. OpenJev(openjev.com ↗)
    182comments
  6. The Shadows Lurking in the Equations – Underwater Islands(gods.art ↗)
    3comments
  7. Subnormal floating-point numbers are expensive on Intel processors(lemire.me ↗)
    34comments
  8. Jemalloc 5.4.0(github.com/jemalloc ↗)
    61comments
  9. Warren Buffett Steps Down as Berkshire Chairman, Names Son to Replace Him(nytimes.com ↗)
    104comments
  10. The scourge of x86 emulation(fex-emu.com ↗)
    57comments
  11. Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint(prismml.com ↗)
    168comments
  12. Cekura (YC F24) Is Hiring(ycombinator.com ↗)
    discuss
  13. Microsoft exec called AI scraping 'the largest theft of labor in human history'(techcrunch.com ↗)
    477comments
  14. Astra for Law(openai.com ↗)
    644comments
  15. NATS publishes preliminary report on technical incident of 8 September(nats.aero ↗)
    2comments
  16. Bend – A language that blocks AI mistakes via proof, on CPU and GPU(bend-lang.com ↗)
    272comments
  17. Second Circuit Allows Government to Search Electronic Devices at the Border(knightcolumbia.org ↗)
    6comments
  18. Hister: A private search engine for the pages you visit and the files you keep(github.com/asciimoo ↗)
    178comments
  19. Replacing Pull Requests with Delta(zed.dev ↗)
    49comments
  20. Qwen 3.8 Omni Flash(qwen.ai ↗)
    101comments
  21. C++26: Trivial infinite loops are no longer undefined behaviour(sandordargo.com ↗)
    1comments
  22. Wax motor(wikipedia.org ↗)
    89comments
  23. ZCode, the GLM coding agent, silently uploads your Git history(tokenstead.ai ↗)
    47comments
  24. Rabbit Hole: Minimum L-seams(fractalkitty.com ↗)
    discuss
  25. When the fractional part of a float fixes your shader(crocidb.com ↗)
    13comments
  26. Fujitsu launches made-in-Japan next-generation CPU FUJITSU-MONAKA(global.fujitsu ↗)
    242comments
  27. Pre-Greek: The lost language hidden within Ancient Greek(linguisticdiscovery.com ↗)
    57comments
  28. How to Write with an LLM(sockpuppet.org ↗)
    168comments
  29. Show HN: Navier-Stokes Visualized as 1kB i386 demos(juandecos.github.io ↗)
    4comments
  30. New wild cat species discovered – with only one known living member(bbc.com ↗)
    4comments

An Empirical Study of Harness Design for Coding Agents

97 pointsby 2h agoarxiv.org
15 comments
1h agoHN ↗

Haven't gone through full PDF as its very detailed, few things have resonated with me so far.

Basically if a Car A is performing better (be it speed, milage or in general sense) than Car B, then it is not necessarily because its engine. It could be because of better tires, better gearbox, lighter body, better usability of features, etc.

You can implement an AI feature (like AI for BI) in different ways even with the same model - via ReAct-loop, or plan-and-execute, or hybrid. You can make it stateless, stateful, RAG-based, etc. depending upon whether you want to prioritize result accuracy or depth of analysis. You can use LLM to generate either intent (requires lesser reasoning) or the queries itself (requires much more capable model).

Your harness can adapt to the underlying model's native capabilities, or can make up for its absence, e.g. query generation in above example requires your model to have MOE capabilities but intent generation wouldn't.

1h agoHN ↗

The conclusions:

Planning improves success at additional cost for weaker models but mainly reduces cost, with small decreases in success rate, for stronger models.

Predefined tools raise success rates for models with weak bash control, whereas bash-only yields higher success at lower cost for bash-capable models, most clearly on shell-centric task types.

context management extends execution trajectories without substantially altering agent behavior and is most beneficial under tight context budgets

planning sustains the trajectories of models that abandon tasks too early and trims repeated verification in models that verify too long

structured tools support models with limited shell proficiency, while bash-only enables capable models to combine multiple code modifications in a single tool call

Seems fairly intuitive to me, based on feeling. But also fairly kind of obvious; bash-only tooling has higher success for bash-capable models, compared to using predefined tools for models that aren't good at bash? Yeah... They all seem a bit "duh" to me. The final piece of the conclusion is agreeable regardless of how they arrived at it though:

Harness design is thus a conditional systems problem in which each component should be selected for the target model, task type, and resource budget rather than adopted as a default.

I think lots of people treat the harness/model/prompts combo as interchangeable, but in my experience the quality and efficiently depends heavily on the combo of the harness/model, and using the harness + model made by the same lab, has vastly better experience compared to more "general purpose" (for the lack of a better term) harnesses. Most likely because they use their own traces when training future model iterations.

35m agoHN ↗

It might be 'duh' but it means we need a formal list of what each model is good at, and to pick or change harnesses to closer fit the model. Like an llm recipe book. Not just for remote models, but also local ones where how you run the model is critical too.

34m agoHN ↗

"Everybody knows foul air causes sickness."

"Duh, of course Mars has canals."

Testing the "obvious", "duh" things is incredibly valuable science. It provides a more solid foundation on which to build because it reduces the assumption space.

10m agoHN ↗

using the harness + model made by the same lab, has vastly better experience compared to more "general purpose" (for the lack of a better term) harnesses

not really, there was a recent benchmark with claude and codex and it showed no difference in ability with a harness like pi agent compared to their native harnesses, pi was in fact cheaper per task.

1m agoHN ↗

bash-only tooling has higher success for bash-capable models, compared to using predefined tools for models that aren't good at bash?

No. The conclusion is that:

bash-capable models + bash-only tools > bash-capable models + predefined tools

In other words, MCP was just a bunch of bullshit that maybe helped a little bit until the models got good at bash, and now it's basically useless.

57m agoHN ↗

Todo/task-tracking tools (TaskCreate/Get/Update/List, TodoWrite) are no longer available on Opus 4.8, Sonnet 5, Fable 5, Mythos 5, and newer models; set CLAUDE_CODE_ENABLE_TODO_TOOLS=1 to bring them back"

Anthropic appears to agree frontier models don't need in-session planning tools.

https://github.com/anthropics/claude-code/issues/80487

44m agoHN ↗

This is done on Nemotron models + mistral, so its not very relevant to the current frontier of cheap chinese models + big models from Claude/GPT. Big miss not having qwen or deepseek in this research.

27m agoHN ↗

The focus of the study was the different harness approaches and how they scale across model sizes. The fact that they used any particular set of models is irrelevant.

21m agoHN ↗

Agree. Harnesses are effective because they interact with the underlying model effectively. If the latest models were fundamentally different, excluding them would be a miss. But I don’t think they are, at least not in ways that would affect these observations.

16m agoHN ↗

I think the confounding issue is that by now, millions of sessions of Claude Code and Codex are now in the training set for these models. So they have been trained to work the way these harnesses are configured, and at least in the case of Claude Code the harness itself is greatly stripped down because the model has absorbed it.

3m agoHN ↗

I'm going to cherry pick one example where newer models are noticeably improving at least in my experience.

What is a noticeable improvement with something that struggles to read a message longer than 200 characters without missing information in the middle, may be a 0.000000001% improvement with a model that... almost never misses info in the first place.

7m agoHN ↗

I'm not totally convinced that models are fungible, the claudes/gpts/Gemini all have pretty individual feels when you're working with them. I wouldn't be surprised if the approaches don't scale or even work the same in a poly model setup