‹ BackHN Continuity

Thread

Agents don't need memory, they need documentation

364 points · 260 comments · kmeh

  1. Garlef · · focus · HN ↗
    I think they even more so need deterministic feedback:

    I tried an approach based on the following idea recently and it's amazing - Lint rules where the error messages contain an explanation on how to deal with the issue.

    <a href="https:&#x2F;&#x2F;habit-hooks.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;habit-hooks.com&#x2F;

    I&#x27;m using it to foster IOSP (integration operation segregation principle) for example.

    1. jghn · · focus · HN ↗
      The readme reads like AI slop. Why would one believe the tools would prevent AI slop?
      1. Garlef · · focus · HN ↗
        Here&#x27;s a link to a video where the creator explains the idea

        <a href="https:&#x2F;&#x2F;youtu.be&#x2F;6AgndHSkHFI?t=238" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;6AgndHSkHFI?t=238

        (You could of course argue that you don&#x27;t like the direction the rules push the agents in given in the example - some people don&#x27;t prefer small functions everywhere - but that&#x27;s not the point: The lint-hooks work in pushing the agent in the desired direction; If one desires something else they&#x27;d simply need different rules)

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.