Unofficial Hacker News companion — get notified on comment replies, and more.

Self-hosted software development factory (opens external site)

331 points by ingve 2 days ago | kudmitry.com | 188 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (4)

  1. > When an agent learns something valuable that is worth remembering for future sessions, it will write it into the project’s AGENTS.md, as long as it’s short. If it’s longer than a paragraph or two, then it will put a markdown file in docs/. This way all the project knowledge is stored inside the project. How do you define something valuable? Do you just add to the system prompt something prompting the model of along the lines to add “something valuable” that it learn to the agents.md? Or is it something that you find when analyzing output and tell it make note of that? Or something different entirely? > With the advent of AI summarization tools, I believe that not many humans will read this, so I guess my main reason for writing this to try to understand myself what have I done and how it works, but also inspire others who still like to read human generated content, to perhaps experiment. I find that’s why I write anything myself as well these days. To understand my own production and actually get the sense that I learned something. A lot of the time it feels like screaming into the void but at least in doing so I can actually use critical thinking to formulate how to best explain my point. Thanks for writing this by hand, made it a lot more compelling to read.
    Replies (1)
    1. For me the trigger isn't the model deciding something is valuable. It writes a note when I correct it, or when it disproves an assumption it was working from.

      It is important that there is an index of some sort though that is kept up-to-date.

      Replies (1)
      1. How often are such notes valuable long-term and not describing one-off incidents and confusing the model?
        Replies (1)
        1. Some do go stale. Each note has a verified date, and a note that decays gets an expiry date. And I have a counter in there. If something doesn't get used, it gets sweeped again.

          I use the Google OKF format for this.