Track agent memory in git for coding work
Store project context in git so a coding agent can reuse decisions and notes across sessions.
- 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.
Related agent uses
Record terminal sessions to verify TUI changes
Let an agent capture and replay a terminal run so it can inspect the result and catch visual or state bugs in a TUI.
Have the agent interview you before it writes code
A developer uses an agent to clear up vague requirements, handle small implementation choices, and keep them learning while the code is being built.
Break one goal into a sequenced coding plan
Ordewell turns a single objective into a step-by-step task list for coding agents, with dependencies, review, and parallel runs.
Review a feature and pass the findings to an engineer
One developer had an agent inspect a feature for problems, then handed the issue list to an engineer whose agent fixed most of them.
Profile and tune a CUDA kernel with an agent
They used a LangGraph agent to test CUDA kernel tweaks, verify results, and profile candidates with Nsight.
Build your own daily-use apps with an agent
A developer used coding agents to make personalized replacements for core tools, then waited a week before deciding whether each change should stick.