deja-vu logo

deja-vu

Your agents already solved this. deja finds it — memory operations for fifteen coding agents: retroactive search and MCP recall (84.9% R@1 on LongMemEval-S, no LLM), trust scopes, curated notes with tags and lifecycle states, measured impact. One zero-dep binary, fully local.

releasenpm
Website GitHub

What is it?

What it is

Claude Code, Codex, opencode, aider, Gemini CLI, Cursor, Antigravity, Grok Build, Qwen Code, Kimi Code, Cline, Roo Code, OpenClaw, pi and Copilot CLI write every conversation to local files — gigabytes of debugged problems and design decisions you can't search. deja is a zero-dependency binary that turns those histories into a memory layer:

Why it exists

Your agents already solved this. deja finds it — memory operations for fifteen coding agents: retroactive search and MCP recall (84.9% R@1 on LongMemEval-S, no LLM), trust scopes, curated notes with tags and lifecycle states, measured impact. One zero-dep binary, fully local.

Who should use it

Teams building with Go who want an open-source, self-hosted option.

Who should avoid it

Teams that need a fully managed SaaS with enterprise SLAs out of the box.

How it works

A quick walkthrough in plain English

How deja-vu works

Step 1 of 3

You interact with it

Open deja-vu, send a request, or connect it to your stack.

Features

Agent Memory
Ai Memory
Claude
Claude Code
Cli
Codex

Advantages

  • Open source (MIT)
  • Active Go ecosystem
  • Self-hosted deployment options

Disadvantages

  • Requires operational ownership for self-hosted setups
  • Community support varies by project maturity

Installation

native

| Command | What it does |
| --- | --- |
| `deja <query>` | Search all histories. Multi-word = AND, common English filler words are ignored, substrings match (`code` finds `opencode`), and double-quoted phrases require contiguous text; zero-result queries try word forms before close spellings. `--re`, `--harness`, `--project`, `--since 30d`, `--role`, `--json`. |
| `deja ctx <query>` | Compact markdown digest of the best match — pipe it into a prompt. |
| `deja blame <path>` | Find sessions that discussed a file, newest and most specific first. `--json`, `--all`, and the usual filters are supported. |
| `deja share <id>` | Sanitized session digest for a colleague: secrets redacted, tool noise stripped. |
| `deja stats` | Headline counts, totals, per-harness split, top projects, monthly spa

FAQ

What is deja-vu?

deja-vu is an open-source project licensed under MIT.

What language is deja-vu built with?

Primary language: Go.

Is it free to use?

Yes. Licensed under MIT. Check the license for commercial use.

Loading documentation…
View on GitHub

Featured in Videos

YouTube tutorials and walkthroughs for deja-vu

Alternatives

Similar projects ranked by category, topics, and text overlap.

Compare
deja-vu | MushyBook