ai-memory
Git-versioned long-term memory for AI coding agents
Source repositoryOverview
Every new session, your coding agent starts from zero — the decisions, dead ends and context from yesterday's work are simply gone.
ai-memory gives your agents a long-term memory that survives sessions. It automatically captures sessions and distills them into a Git-versioned Markdown project wiki, so context can be shared and picked up again instead of rebuilt.
What it does
- Automatic session capture for AI coding agent CLIs
- Distillation into a project wiki written in Markdown
- Git versioning, so memory has history like the code itself
- Typed handoffs over MCP, so tasks continue cleanly between agents
How it runs
The system is self-hosted and built for AI coding agent CLIs. Because the wiki is Markdown under Git, different agents and different machines can share the same context and continue each other's tasks.
Who it's for
Developers who switch between agents or machines and are tired of re-explaining the project — anyone who wants a handoff to carry the context, not just the code.