I kept running into the same problem with AI coding agents. The agents were getting better, but every new session still felt like starting from zero. I would explain the repo again. Then my preferences again. Then the decisions we already made. Then why we avoided some shortcut. Then the source material I wanted the agent to use. After doing that enough times, I started thinking less about "better prompts" and more about memory. Not memory as a magic model feature. Not memory hidden inside some hosted black box. I wanted something boring and inspectable: raw sources on disk compiled Markdown wiki agent tools that query the wiki Enter fullscreen mode Exit fullscreen mode That became Link . Link is a local-first Markdown wiki and MCP server for agent memory. The goal is simple: keep useful context outside the chat window, but still make it visible, editable, source-backed, and owned by the user. This is one approach. It is not the only correct architecture for agent memory.…