ai-memory is a single self-hosted server that gives AI coding agents shared, git-backed, human-editable long-term memory with cross-agent handoffs. By default it operates with zero LLM calls and no API key.
Project overview
It solves a concrete pain—agent memory notes stuck on one machine, owned by one agent, and invisible when you switch tools or teammates—with one self-contained Rust binary serving 20+ coding agent harnesses from the same memory store, without requiring any LLM API key.
Project type
MCP · AI Agent · AI Coding
Use cases
Coding & Development · Automation
Deployment
Refer to project documentation
License
MIT
Best for
Developers and AI engineers who use multiple coding agent harnesses or machines and want a shared, git-backed, human-editable memory for a repository's ongoing work.
Teams or individuals who want coding-agent memory without depending on an LLM API key or paid model service.
Key capabilities
Twenty-plus coding agent harnesses feed one shared memory, and the next agent in the same directory picks up a real handoff of where you left off, what failed, and what is still open.
Starting the server with the --enable-web flag serves a read-only browser view of the wiki and a JSON API under /api/v1.
Limitations and risks
The web UI is a read-only browser view of the wiki; editing is not available through it.
Getting started
Run the container or install the binary, use the install-mcp command for your agent CLI (two idempotent commands to wire agent hooks/MCP), then ask 'where did we leave off?' in your next session. The quick-start loopback default has no auth, minimizing initial configuration.
Evidence and sources
README: Long-term memory for AI coding agents. Quit Claude Code mid-task,
README: the notes live on one machine, belong to one agent, and vanish from view the moment you switch tools — or teammates.
README: Twenty-plus harnesses — Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Grok, Devin, Kimi, Kiro, and more — feed one shared memory.
README: the default path uses **zero LLM calls**: capture, search, and handoffs all work with no API key at all.
README: The source of truth is a git-backed wiki of ordinary `.md` files: `grep` it, open it in Obsidian, edit it by hand, `rsync` it.