Added Nov 11, 2026
ai-memory
A local tool that gives AI coding agents shared long-term memory, so you can switch agents mid-task without re-explaining.
- Ecosystem
- Agent Skills
- Skill category
- Coding
- Creator / organization
- Fabio Akita(GitHub:akitaonrails)
What it is
ai-memory is published on GitHub by akitaonrails. It is a long-term memory tool for AI coding agents. You can quit Claude Code mid-task, start OpenAI Codex in the same directory, and keep going without re-explaining the architecture, the failed approaches, or the open questions. Memory is stored as ordinary markdown files managed by git, so you can grep them, open them in Obsidian, or edit them by hand. Lifecycle hooks capture sessions automatically, and memory and handoffs are shared across agents. The author says the default path makes zero LLM calls, so capture, search, and handoffs work without an API key. The author also says the codebase is being built collaboratively with Claude Code. The page lists support for Linux, macOS, and Windows through WSL2 (native Windows is experimental), plus a NixOS module and Docker. Many agents are listed, including Claude Code, Codex, Cursor, Gemini CLI, OpenCode, and Kiro CLI; see the project's support matrix for how well each one is supported.
Highlights:
- Memory is plain markdown managed by git: grep it, open it in Obsidian, edit it by hand, or rsync it
- Capture, search, and handoffs make no LLM calls by default and need no API key
- Stop in Claude Code and continue in Codex or another agent in the same directory
- The server binds to loopback only by default
How to use:
First, install it following the project page, for example by running the provided install.sh on Linux or macOS, or install.ps1 in PowerShell on Windows. Then run `ai-memory setup` to connect your agents. Finally, work as usual in Claude Code or Codex, and switch agents in the same directory when you need to.
Who it's for:
Developers who switch between several AI coding agents and do not want to re-explain the project each time.
Before you start:
You need git installed. The install script wires ai-memory into each agent's MCP and hooks configuration. Captured sessions store your prompts, tool calls, and session boundaries, with redaction applied before storage. The Docker quick start has no authentication by default. If you configure an LLM or embedding provider, related content is sent to the external service you choose; the optional dream feature needs an LLM and is off by default. If you use these features, weigh the safety risks yourself. AI Inspiration World is not responsible for any consequences. The page does not state a price. The license is MIT, and the content belongs to the original author.
Based on the project's public documentation. Not tested by AI Inspiration World.