vshulcz/deja-vu
Search your past AI coding sessions — Claude Code, Codex, Cursor and 17 more. Indexes the session history they already wrote to disk, including months from before you installed it, and recalls it in any of them. No LLM, no embeddings, one local Go binary.
What it solves
Coding agents often lack long-term memory, causing them to re-solve the same bugs or forget decisions made in previous sessions. deja-vu provides a unified memory layer that indexes the local history of multiple coding agents (such as Claude Code, Cursor, and Codex), allowing any agent to recall previous solutions, commands, and decisions across different sessions and tools.
How it works
The project creates a local inverted index of agent session files (JSONL and SQLite stores). It parses these logs, redacts sensitive credentials like API keys and tokens, and stores them in a cache. It then integrates with agents via the Model Context Protocol (MCP), providing tools like recall and blame that agents can call to retrieve relevant historical context. It also supports optional semantic search using local or remote embedding endpoints (e.g., Ollama or OpenAI).
Who it’s for
Developers who use multiple AI coding assistants and want their agents to have a persistent, cross-agent memory of their project's history and technical decisions.
Highlights
- Cross-Agent Recall: A solution found in one agent is accessible to any other supported agent.
- Retroactive Indexing: Indexes existing history from before the tool was installed.
- Action-Point Recall: Can trigger recall automatically before an agent edits a file or runs a command via hooks.
- Privacy-First: All indexing and search are local; credentials are automatically redacted during indexing.
- Broad Support: Compatible with over 20 coding agent harnesses, including Claude Code, Cursor, and Zed.
- High Performance: Millisecond lookups over gigabytes of history with a small index footprint.
Related
- Project
- Project
- Project
- Project
- Project