Give coding agents git-native persistent memory
A tool that stores persistent memory for AI coding agents in git so context carries across sessions.
Done with a custom-built or unnamed agent
- What they did
- You build a Go binary, then run a bootstrap command on a project. It creates a knowledge/ folder of Markdown files with YAML frontmatter, an agent skill, and an AGENTS.md. Agents reach the memory through the CLI or an MCP server over stdio, which works with Claude Code, Cursor and Codex. The convention tells agents to search before writing and to load only the index pages they need.
- How it went
- The README claims search under 300µs, about 4ms to validate 50+ concepts, and an 80% token reduction. Those figures come from the project's own benchmarks and comparison table, and the README doesn't show independent results.
- Worth knowing
- The repo is new, with one commit and 3 stars. The 80% token claim comes from a benchmark you can rerun with make benchmark against a local LLM.
Try it yourself with Claude Code
Set up persistent memory for coding agents in this repository by storing notes in a [folder name, e.g. .agent-memory] directory tracked in git. Create a simple format for recording decisions, conventions, and open tasks, and add instructions so future sessions read it first and update it at the end. Show me the files you plan to commit before you commit anything.
Discussion on HN · Sep 5, 2026
Five of these in your inbox every morning
The best things people got an AI agent to do, each with the prompt to try it.
More like this
- Claude
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
- Custom agent
Catch cloud outage risks before they happen
An autonomous ReAct agent that queries real data to stop cloud outages before they occur, built for the Sanity Challenge.
Hand narrow code changes to Devin for pull requests
A team used Devin for a month on small fixes like chart formatting and API edge cases, with tests and PRs; a complex full-stack task went poorly.
Migrate toolchain, architecture and site design with Claude Code
A developer had Claude Code switch a monorepo to oxlint/oxfmt, restructure the architecture and redesign a site, validating in a loop; the redesign took days instead of weeks.
Build and deploy a Game of Life simulation site
In a vendor launch demo, Devin built an interactive Game of Life website, added requested features step by step, and deployed it to Netlify.
Resolve a Slack-reported issue with a coding agent
A Codex agent resolved an issue passed to it in about 40 minutes, and an ops agent verified the fix back in Slack.