Harness Engineering

(Habitat-Thinking.github.io)

78 points | by tomrod 1 hour ago

16 comments

  • ricardobeat 32 minutes ago
    It's funny how consultants will try to co-opt terms.

    No, the term does not come from Birgitta Boeckeler's article in martinfowler.com. It was coined by Mitchel Hashimoto months earlier in his 'My AI adoption journey' blog post [1], and immediately picked up by OpenAI [2] a week later.

    Also worth noting that this text is not only entirely AI generated, but meant for other agents to read, not us humans.

    [1] https://mitchellh.com/writing/my-ai-adoption-journey

    [2] https://openai.com/index/harness-engineering/

  • gardnr 1 hour ago
    Here’s the original article this one is based on: https://martinfowler.com/articles/harness-engineering.html

    And here is the original author on a podcast talking about it: https://open.spotify.com/episode/4FxEdjXldNhoh67KYVmbDu

    • rush86999 40 minutes ago
      Here's a better summary: https://github.com/rush86999/atom/blob/main/docs/architectur...

      I also have a self-evolving architecture on it, but you have to be careful, especially if you're using multiple models (still WIP).

      • gardnr 34 minutes ago
        That looks like a “Deep Research” report generated by an LLM, not a summary.
        • rush86999 28 minutes ago
          Yeah, it is. Bad wording on my part, but the list is a summary of what's going on so far in agent harnesses.
  • davedx 1 hour ago
    This part seems relevant - they make explicit the difference between their HARNESS.md document and AGENTS.md. It's actually interesting: https://habitat-thinking.github.io/ai-literacy-superpowers/p...
    • Supermancho 53 minutes ago
      The Agent/harness has no meaningful distinction. The backing model(s) can only read through a harness. Call it an agent, call it a tool, call it a library. They are all harnesses if they are backed by a model.

      Broadly speaking,

      - Copilot only reads AGENTS.md

      - Codex reads AGENTS and CONTEXT

      - Claude reads CLAUDE

      This ai-literacy is noise, muddling the definitions and suggesting yet-another-md-file.

      • petcat 35 minutes ago
        I put everything in CONTRIBUTING.md, and then put "See: CONTRIBUTING.md" in those vendor-specific files.
        • sroussey 5 minutes ago
          I just symlink each file to one master
      • mawadev 44 minutes ago
        I'm an AI Agent Harness .md File consultant, you can ask me anything
  • tosh 1 hour ago
    it lists 'Garbage Collection' as one of the 3 components of a harness

    I don't know any harness that solves 'Garbage Collection' in the way described here

    (most harnesses accelerate context pollution and code base drift via instructions they embed into system prompts, tool descriptions and skills)

    • hedgehog 50 minutes ago
      I think most people that use LLM coding tools enough independently derive most of the stuff in the article. For example my approach to garbage collection is to sample paths within the project and chunks of file content, then assemble context (similarity search results, git blame) for the agent to use to assess cruftiness and if found schedule cleanup.
  • lacoolj 1 hour ago
    Not saying this is AI-gen but it's very dense and doesn't read like something I could glean info from easily
    • Syntaf 1 hour ago
      I think this article posted to HN last week did a better job explaining things IMO https://earendil.com/posts/what-is-a-harness/
    • swiftcoder 1 hour ago
      > Not saying this is AI-gen

      The prose is definitely written by a Claude-like

    • ricardobeat 29 minutes ago
      ai-literacy-superpowers is a set of plugins for agents, this text is not even meant for human consumption.
    • esafak 1 hour ago
      It is pretty obvious that Claude wrote it. No human writes README that long, and it's one of the contributors: https://github.com/Habitat-Thinking/ai-literacy-superpowers
      • artur_makly 58 minutes ago
        This looks good - is there a version of it for CODEX? If not i guess it could easily be transformed for it.
    • upupupandaway 1 hour ago
      Looks like typical material coming out of consulting companies like ThoughtWorks, designed to obfuscate rather than educate.
  • iTokio 1 hour ago
    It’s fascinating to live through a the emergence of a new technology and to see people trying to make sense of it as they go.

    I personally think that a lot of the words used around AI, harness, SKILLS, agents, RAG.. are make up words or close to it, words that do not have profound semantics, even though people are trying to, often after the fact, make sense of them.

    It’s just popular words that are different enough that people like to use them to claim a new knowledge, or to market a product.

    But we could use AI tooling instead of harness in the abstract, and it would be better to use more precise terms for more concrete use cases, agent loop, CLI, IDE..

    It was a fun game at a time where papers were competing for attention, but now that it has become a proven technology, I hope we can find more precise and meaningful words.

    • tomrod 1 hour ago
      Hear hear! We techies are bad at naming things. "NoSQL" is probably a top contender there.
      • sroussey 4 minutes ago
        I give you "serverless" which is on someone else's... server.
    • ricardobeat 32 minutes ago
      This is actually AI trying to make sense of it. No people involved.
  • samuell 55 minutes ago
    I also stumbled upon this site, which on a first glance looks really thorough. Interested to hear if folks have comments on it though:

    https://walkinglabs.github.io/learn-harness-engineering/en/

  • Nicholas_C 19 minutes ago
    Is Harness Engineering the new Prompt Engineering?
  • luciandan 1 hour ago
    I like how agent review is a deprecation target. explicitly. Se then a harness matures by getting dumber and cheaper, not smarter.
  • siavosh 1 hour ago
    What’s the best current practice if we want to enable agent code review and approval of GitHub PRs but only for specific users?
    • gwbas1c 5 minutes ago
      Maybe code owners? I'm not sure if it'll do exactly what you want; but you can say that "such and such" files must be edited, or reviewed, by specific users.

      Then, if someone opens a PR who isn't one of those people listed, it requires them to be a reviewer.

      We use it for .editorconfig; specifically, we don't want a newcomer to come in, not like a style rule, and slip in a change.

  • issacnitin 54 minutes ago
    This is perfect, here's a tool for harness engineering to be more effective that I just released today https://github.com/issacnitin/RealDiff
  • hnd9q09qk4 50 minutes ago
    This is oddly reassuring
  • ChrisArchitect 45 minutes ago
    Related currently:

    The Harness is the Thing

    https://news.ycombinator.com/item?id=49452346

  • esafak 1 hour ago
    What even is this "AI Literacy framework"? When I see such overengineering I look at what the author has done. In this case, I find the author runs a consultancy on engineering "Habitats for Humans and AI" (https://www.russmiles.com/), listing a bunch of books he did not write (the author names are conveniently cropped out). This doesn't even belong on LinkedIn.
    • tomrod 1 hour ago
      I'm not the author -- but I am currently fortunate to be sitting in a workshop he is teaching on the topic and figured HN might like (especially since he gives a lot of his content out for free/OSS).

      As someone who does loads of AI-driven dev and governance, I'm finding there are a lot of great nuggets here. Between him (chaos engineering) and Kent Beck (extreme programming) I'n a kid in the candy store and wanted to share.

  • wrinkl3 1 hour ago
    "Explain the harness" is apparently the new "explain LLMs" genre of slop blogging, I now see articles to this effect on HN daily.
  • tickerlayer 1 hour ago
    [dead]