Track agent memory in git for coding work

Store project context in git so a coding agent can reuse decisions and notes across sessions.

Done with Custom agent· Intermediate

What they did
They created a small Go program and used it to initialize a project with persistent memory. The bootstrap step wrote out a knowledge/ tree of Markdown pages with YAML headers, along with an agent skill file and an AGENTS.md guide. The agent can consult that memory through a CLI or an MCP server over stdio, and the setup is meant to fit Claude Code, Cursor, and Codex. Its rules tell the agent to check existing material before adding anything new and to open only the index pages required for the task.
How it went
According to the README, searches come back in under 300µs, validating 50+ concepts takes around 4ms, and token use falls by 80%. Those results are based on the project’s own benchmark numbers and comparison table, not outside testing. The repository itself is very early, with just one commit and 3 stars.
Tips
If you try this pattern, keep the memory structure simple and make the “read first, write later” rule explicit. Treat the performance claims as self-reported unless you rerun the benchmark yourself with make benchmark on a local LLM.

Try it yourself with Claude Code

Create a git-backed memory system for [project name] inside [folder name]. Use Markdown files with YAML frontmatter to record decisions, conventions, and open tasks, and add the instructions needed so future coding-agent sessions read the right index pages before they write anything new. After you draft the files, stop and show me the exact changes you plan to make; do not commit, delete, or submit anything until I approve the file list and contents. Then carry out the setup for [agent/tool] and keep the memory updated at the end of each session.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.