NewsLab
Aug 28 14:53 UTC

Harness Engineering (habitat-thinking.github.io)

123 points|by tomrod||42 comments|Read full story on habitat-thinking.github.io

Comments (42)

42 shown
  1. 1. luciandan||context
    I like how agent review is a deprecation target. explicitly. Se then a harness matures by getting dumber and cheaper, not smarter.
  2. 2. esafak||context
    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.
  3. 3. tomrod||context
    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.

  4. 4. lacoolj||context
    Not saying this is AI-gen but it's very dense and doesn't read like something I could glean info from easily
  5. 5. esafak||context
    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
  6. 6. artur_makly||context
    This looks good - is there a version of it for CODEX? If not i guess it could easily be transformed for it.
  7. 7. upupupandaway||context
    Looks like typical material coming out of consulting companies like ThoughtWorks, designed to obfuscate rather than educate.
  8. 8. Syntaf||context
    I think this article posted to HN last week did a better job explaining things IMO https://earendil.com/posts/what-is-a-harness/
  9. 9. swiftcoder||context
    > Not saying this is AI-gen

    The prose is definitely written by a Claude-like

  10. 10. ricardobeat||context
    ai-literacy-superpowers is a set of plugins for agents, this text is not even meant for human consumption.
  11. 11. iTokio||context
    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.

  12. 12. tomrod||context
    Hear hear! We techies are bad at naming things. "NoSQL" is probably a top contender there.
  13. 13. sroussey||context
    I give you "serverless" which is on someone else's... server.
  14. 14. tomrod||context
    Indeed!
  15. 15. brianjking||context
    It's lies all the way down...or up?
  16. 16. davedx||context
    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...
  17. 17. Supermancho||context
    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.

  18. 18. mawadev||context
    I'm an AI Agent Harness .md File consultant, you can ask me anything
  19. 19. petcat||context
    I put everything in CONTRIBUTING.md, and then put "See: CONTRIBUTING.md" in those vendor-specific files.
  20. 20. sroussey||context
    I just symlink each file to one master
  21. 21. wrinkl3||context
    "Explain the harness" is apparently the new "explain LLMs" genre of slop blogging, I now see articles to this effect on HN daily.
  22. 22. tosh||context
    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)

  23. 23. hedgehog||context
    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.
  24. 24. siavosh||context
    What’s the best current practice if we want to enable agent code review and approval of GitHub PRs but only for specific users?
  25. 25. gwbas1c||context
    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.

  26. 26. gardnr||context
    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

  27. 27. rush86999||context
    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).

  28. 28. gardnr||context
    That looks like a “Deep Research” report generated by an LLM, not a summary.
  29. 29. rush86999||context
    Yeah, it is. Bad wording on my part, but the list is a summary of what's going on so far in agent harnesses.
  30. 30. samuell||context
    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/

  31. 31. issacnitin||context
    This is perfect, here's a tool for harness engineering to be more effective that I just released today https://github.com/issacnitin/RealDiff
  32. 32. hnd9q09qk4||context
    This is oddly reassuring
  33. 33. ChrisArchitect||context
    Related currently:

    The Harness is the Thing

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

  34. 34. ricardobeat||context
    The term harness engineering does not come from Birgitta Boeckeler's article in martinfowler.com. It was first used 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/

  35. 35. yipinwong||context
    The site looks like aislop after skimming through 10 of his docs on the site, and the mistake you pointed out.

    Something feels off, and claims on the site do not seem credible. Def not manually verified. If it was verified, the author did not go deep enough to give credits where it's due.

    The only thing I got out of the site was to see terms I never heard of.

  36. 36. silver92bullet||context
    Honestly it would be helpful for someone to collect a list of these articles and concepts in a single location for engineers to get up to speed on these concepts. I think that is the only advantage of this AI generated website at the moment.
  37. 37. tosh||context
    the one by https://earendil.com/posts/what-is-a-harness/ is also a good read

    and if you want to see what a simple harness implementation looks like you can just dive into the code and ask your favorite agent about it

    https://github.com/smol-env/smol

    https://github.com/earendil-works/pi

  38. 38. gardnr||context
    Interesting: I initially confused smol for https://github.com/huggingface/smolagents
  39. 39. tomrod||context
    What they say about posting the wrong answer on social media is proven true here (though not my intention!). Thanks for the enlightenment!
  40. 40. Nicholas_C||context
    Is Harness Engineering the new Prompt Engineering?
  41. 41. polynomial||context
    Yes it was.
  42. 42. ChaseRensberger||context
    definitely a little bit of shameless self promotion but I write about a lot of common harness concepts in the docs of Wingman (https://wingman.actor) - a client agnostic agent harness I've been working on for a while:

    https://docs.wingman.actor/concepts/sessions/

    I think there is still plenty of innovation to be had in the space. Right now everything is still pretty bundled to the file system where getting skills and things to work inside of like a virtual worker requires simulating a virtual file system (usually). I believe even in the latest opencode v2 versions it still requires that a session be bundled to a working directory, I try to avoid (some of) that in Wingman.