d-wwei/agent-recall
Persistent memory for AI coding agents — across tools, sessions, and projects. Works with Claude Code, Cursor, Codex CLI, Gemini CLI, and OpenCode.
Platform-specific configuration:
{
"mcpServers": {
"agent-recall": {
"command": "npx",
"args": [
"-y",
"agent-recall"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
Persistent memory for AI coding agents — across tools, sessions, and projects.
Agent Recall captures your work, remembers who you are, and picks up where you left off. It works with Claude Code, Cursor, Codex CLI, Gemini CLI, and OpenCode — all sharing the same memory.
---
AI coding agents forget everything between sessions. Agent Recall fixes that.
It runs a lightweight background service that:
All platforms share the same SQLite database. Set up your persona in Claude Code, and Cursor sees it too. Observations from Codex appear in Gemini's context. Archives and promotions work everywhere.
| Platform | Status | Hook System | Context Injection | |----------|--------|-------------|-------------------| | Claude Code | ✅ Full | Plugin hooks | JSON additionalContext | | Cursor | ✅ Full | Shell hooks | .cursor/rules/ file | | Codex CLI | ✅ Full | hooks.json | AGENTS.md + additionalContext | | Gemini CLI | ✅ Full | hooks.json | JSON systemMessage | | OpenCode | ✅ Full | TS plugin | system.transform hook |
# Clone and build
git clone https://github.com/d-wwei/agent-recall.git
cd agent-recall && npm install && npm run build
# Install for all detected platforms
bash scripts/install.sh
# Or install for a specific platform
npm run sync-marketplace # Claude Code
npm run cursor:install # Cursor
bash scripts/codex-install.sh # Codex CLI
bash scripts/gemini-install.sh # Gemini CLI
bash scripts/opencode-install.sh Loading reviews...