|
1 | 1 | # Deja Vu |
2 | 2 |
|
3 | | -**A cue-first memory protocol for AI agents** |
| 3 | +**Stop AI agents from forgetting project context without adding a database, vector store, or memory service.** |
4 | 4 |
|
5 | | -Deja Vu is a lightweight memory protocol built around one loop: |
| 5 | +Deja Vu is an AI agent memory protocol for teams that want durable project context in ordinary repo files. |
| 6 | + |
| 7 | +Most agent memory tools start by storing more text. Deja Vu starts by asking a cheaper question: does this task feel familiar enough to justify loading memory at all? |
| 8 | + |
| 9 | +```text |
| 10 | +before: agent reads too much, forgets why decisions were made, or carries noisy transcript history |
| 11 | +after: agent scans tiny cues, loads only relevant memory, and writes back durable project knowledge |
| 12 | +``` |
| 13 | + |
| 14 | +The core loop is intentionally small: |
6 | 15 |
|
7 | 16 | ```text |
8 | 17 | task cue -> familiarity score -> minimal recall -> durable writeback |
9 | 18 | ``` |
10 | 19 |
|
11 | | -The protocol is packaged as three project-local assets: |
| 20 | +It is packaged as three project-local assets: |
12 | 21 |
|
13 | 22 | - rules |
14 | 23 | - workflow |
15 | 24 | - tiny memory files |
16 | 25 |
|
17 | | -The goal is not to give every agent a heavy runtime. The goal is to give any agent a repeatable discipline for spending almost no tokens until the task proves that deeper memory is useful. |
| 26 | +No server. No hidden state. No required npm package. The base protocol works with Markdown and JSONL files that live beside the code. |
| 27 | + |
| 28 | +Use Deja Vu when you want: |
18 | 29 |
|
19 | | -The current patch line also emphasizes memory quality control: compact cue linting, gist-first summaries, and boundary-aware chunks keep recall routes small instead of merely adding more stored text. |
| 30 | +- project memory that survives a new chat or agent session |
| 31 | +- low-token recall before planning, coding, or answering |
| 32 | +- durable decisions, preferences, open loops, and architecture intent in plain files |
| 33 | +- an optional TypeScript semantic engine only when the project outgrows the file-first protocol |
20 | 34 |
|
21 | 35 | ## What Deja Vu Is |
22 | 36 |
|
|
0 commit comments