ai-memory
Fabio Akita's open-source long-term memory layer for coding agents: one Rust binary that keeps plain-markdown project memory and typed handoffs shared across 20+ harnesses such as Claude Code, Codex, Cursor and Gemini CLI, so you can switch agents, machines or teammates without re-explaining the project.
Updated
✨ Try AgentScout's free AI image generator →Good for: writing code, coding in the terminal, memory for agents
Use cases
About ai-memory
ai-memory is listed in our memory & RAG category and is aimed at builders. Fabio Akita's open-source long-term memory layer for coding agents: one Rust binary that keeps plain-markdown project memory and typed handoffs shared across 20+ harnesses such as Claude Code, Codex, Cursor and Gemini CLI, so you can switch agents, machines or teammates without re-explaining the project. Pricing, as the maker states it: Free and open source (MIT); you pay only for the coding agents and models you already use. Maturity: Mature. We last checked the official link on 2026-10-20.
What is ai-memory?
ai-memory, by Fabio Akita, is a long-term memory layer for AI coding agents. Coding agents each keep their own notes on one machine; ai-memory gives more than twenty harnesses (Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Devin, Kiro and others) one shared memory, stored as plain markdown.
Quit Claude Code mid-task, start Codex in the same directory, and the next agent picks up a typed handoff saying where you left off, what failed and what is still open. Starting agents through ai-memory run can also carry a private local view of the previous session, and a small cross-project profile of your habits follows you into new repositories. It ships as one binary for Linux, macOS and Windows.
Sources: the official README and our directory listing, checked 2026-10-20. Official site: aimemory.sh.
Who is ai-memory for?
Developers who switch between coding agents, machines or teammates and are tired of re-explaining the project.
ai-memory at a glance
- Open source: Yes (MIT License)
- GitHub: akitaonrails/ai-memory · 11,877 stars · 844 forks (as of Oct 20, 2026)
Key features
- Shared memory across 20+ coding agents
- Typed handoffs between agents
- Plain markdown storage, one binary
- Cross-project profile of your habits
- Optional shared server for teams
ai-memory FAQ
What is ai-memory?
ai-memory, by Fabio Akita, is a long-term memory layer for AI coding agents. Coding agents each keep their own notes on one machine; ai-memory gives more than twenty harnesses (Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Devin, Kiro and others) one shared memory, stored as plain markdown.
Who is ai-memory for?
Developers who switch between coding agents, machines or teammates and are tired of re-explaining the project.
Is ai-memory free?
ai-memory's pricing, as the maker states it: Free and open source (MIT); you pay only for the coding agents and models you already use. Check the official site for current plans.
Is ai-memory open source?
Yes. ai-memory is released under the MIT License, according to its GitHub repository.
What are alternatives to ai-memory?
Similar tools include Cognee, memU, LongMemory, Second Brain, Mnemosyne and Graphicle.
ai-memory ratings and reviews
ai-memory alternatives
Other memory & RAG tools in our directory. See all memory & RAG tools →
Cognee
Open-source memory platform that builds knowledge graphs so agents keep long-term memory.
memU
Lightweight memory system that gives Codex, Claude Code, Cursor and other agents a shared memory across sessions and devices and distills reusable skills.
LongMemory
Local-first memory engine for agents that keeps durable, time-aware memories in SQLite and serves them to Claude, Copilot, Codex and others over MCP, CLI or HTTP.
Second Brain
A free, open-source shared memory that runs in your own Cloudflare account, so Claude, ChatGPT, Cursor and other MCP clients can recall the same projects, preferences and decisions.
Mnemosyne
Zero-cloud, SQLite-backed memory layer for Hermes, Claude Code, Cursor, Codex and custom agents with a single Python dependency.
Graphicle
Graphicle, from KarLex AI, is a single local Rust program that gives Claude Code, Cursor, Codex and other MCP agents a code graph and memory, returning excerpts with file and line references from your code, docs and past sessions, with no account or telemetry.
Related lists
🏆 Ranked in: Claude-Mem alternatives
🔁 Listed in: Claude-Mem alternatives
🧭 Task guides: Agent frameworks and SDKs for terminal coding · Memory tools for coding agents
Badge for makers
Built ai-memory? Add this badge to your README or site. It links back to this page. About badges