# deja-vu

> Local memory for coding agents that searches the session logs Claude Code, Codex, Cursor and others already keep on disk

Source: https://talira.ai/catalog/deja-vu-3vgr7vc0
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, MCP server
- Categories: [ai / agents / memory](https://talira.ai/categories/ai/agents/memory)
- Platforms: macos, linux, windows[^2]
- Licence: MIT[^3]
- Pricing: Free[^2]
- Free tier: yes[^2]
- MCP server: yes[^2]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^2]
- Backed by: [Vlad Shulcz](https://talira.ai/orgs/vshulcz.md)
- Extends: [Hermes Agent](https://talira.ai/ecosystems/hermes-agent.md#ext-05e64v1a)

deja-vu (`deja`) indexes the transcripts coding agents already store locally (Claude Code's, Codex's, Cursor's, OpenCode's, Gemini CLI's, Hermes Agent's and those of about 50 other agents) in place, so past sessions are searchable from the first run, history from before it was installed included. It's one Go binary with no LLM calls and no API key: search from the terminal or through its MCP server, recover a task after `/compact`, hand a goal and open work from one agent to another, restore an uncommitted edit an agent overwrote, and trace which session wrote a line. It can also share vetted decisions with a team through a `.deja/memory.jsonl` file committed to the repository.

## Links

- Website: https://vshulcz.github.io/deja-vu/
- GitHub: https://github.com/vshulcz/deja-vu
- Docs: https://vshulcz.github.io/deja-vu/guide/getting-started.html

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/deja-vu>[^1]

## Problems it solves

- search what my coding agent did in past sessions
- my coding agent forgot everything after compacting its context
- hand off work from Claude Code to Codex without re-explaining it

## Features

- Searches the transcripts about 53 coding agents already store, with no capture daemon, LLM calls or API key
- MCP recall and hooks wired into detected agents with deja install --auto
- Recovers tasks, decisions and files after /compact or a context reset
- deja handoff moves a goal, constraints and open work from one agent to another
- deja restore and deja blame recover overwritten uncommitted edits and trace which session wrote a line
- Shares redacted, vetted decisions through .deja/memory.jsonl in the repository
- Terminal search interface and a standalone local HTML explorer; credentials are stripped at index time

## Limitations

- install.sh covers macOS and Linux only; on Windows it installs through Scoop, winget or a release archive.[^2]
- It makes network requests only for updates, sync, version checks and embedding endpoints you configure.[^2]

## Capabilities

- Has a command line tool: plan not known
- Has an MCP server: plan not known

## Trust

Overall: 0.72 out of 1.
Signals: maintenance 1.00, adoption 0.65, momentum 0.78, community 0.81, backing 0.30, extensibility 0.40.

- last commit yesterday
- 1563 commits in the last 90 days
- latest release v0.25.2 yesterday
- 1.7k GitHub stars
- fast-growing: 1.7k stars in 4 months
- 102 contributors
- 411 Homebrew installs in 30 days
- backed by Vlad Shulcz
- has an MCP server for agents

Warnings:

- young project (first commit 4 months ago)

## Alternatives

- [Claude-Mem](https://talira.ai/catalog/claude-mem-y7jngq6x.md): Persistent memory across sessions for Claude Code and other coding agents
- [AgentMemory](https://talira.ai/catalog/agentmemory-0s5p5m0v.md): A local memory server that captures coding agent sessions and lets agents recall decisions and fixes later
- [ai-memory](https://talira.ai/catalog/ai-memory-bn4w404w.md): Long-term memory for AI coding agents, shared across agents, projects and machines
- [Engram](https://talira.ai/catalog/engram-6p0bcdf2.md): Persistent memory for AI coding agents
- [Momentum](https://talira.ai/catalog/momentum-72tkrasd.md): A desktop app with one interface and a local memory layer across coding agents like Codex and Claude Code, so a goal, its context and the next step survive a switch between them.
- [MemPalace](https://talira.ai/catalog/mempalace-5jj32hay.md): Local-first AI memory. Verbatim storage, pluggable backend, 96.6% R@5 raw on LongMemEval, zero API calls.

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 28 Nov 2026)
[^2]: https://github.com/vshulcz/deja-vu#readme (checked 28 Nov 2026)
[^3]: https://github.com/vshulcz/deja-vu/blob/main/LICENSE (checked 28 Nov 2026)
