‹ BackHN Continuity

Thread

Agents don't need memory, they need documentation

364 points · 260 comments · kmeh

  1. kaydub · · focus · HN ↗
    You don't need documentation or the 3rd party memory systems. The code IS the documentation.

    All this stuff is LLM rube goldberg machines. It just pollutes context.

    I barely use AGENTS.md/CLAUDE.md these days. And where they remain, it's super basic high level stuff.

    I'm honestly still kicking myself in the ass on many projects where I did something similar to this. I kept tons of markdown docs and decision docs. Now those things are just causing problems because they got stale. Even after having sessions of reconciling documentation, the LLM just gets confused.

    1. jjfoooo4 · · focus · HN ↗
      What about big projects, where much of the code is not written yet?
      1. kaydub · · focus · HN ↗
        I did say a high-level CLAUDE/AGENTS.md is fine.

        Make a high level .md, let it rip, iterate. You can give specifics in your original prompt.

        I don't need to document the framework or the libraries etc. Pre-code, I tell it in the prompt one time. After it inits the project it's in the code.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.