‹ BackHN Continuity

Thread

Agents don't need memory, they need documentation

363 points · 259 comments · kmeh

  1. bushido · · focus · HN ↗
    Something I started doing recently was writing out principles instead of memories.

    Essentially patterns the agents need to always think in. I also implemented a versioning system to the principles that need to be quoted in any comments which are there in the code. That way, when my principles evolve, so does the code.

    I did package it up in a way that I can share it with friends [0]. System still evolving, but the last two-ish months that I've used it has served me really, really well, And it's been even better with the latest models.

    I've had surprisingly good adherence from agents on this technique.

    [0] <a href="https:&#x2F;&#x2F;principledriven.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;principledriven.dev&#x2F;

    1. locknitpicker · · focus · HN ↗
      &gt; Something I started doing recently was writing out principles instead of memories.

      It seems you tried to reinvent instruction files. What do you think is the difference between your approach and standard tools such as instruction files, AGENTS.md, and even skills?

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.