๐Ÿ—„๏ธ Anthropic์ด ์žŠ์–ด๋„ Memex๋Š” ๊ธฐ์–ตํ•ฉ๋‹ˆ๋‹ค

Your AI session history
survives Anthropic's silent migrations.

Claude Code rewrites its session storage every few months without announcement and auto-updates silently delete the old files (#41591 ยท #54907 ยท #48782). Memex reads both the legacy ~/.claude/transcripts/ and modern ~/.claude/projects/ paths, indexes them into a local Qdrant you own, and gives you a snapshot button.

Vannevar Bush imagined the original Memex in 1945 โ€” a personal knowledge machine built on associative trails, not search boxes. Eighty years later this is its desktop reincarnation โ€” wrapped in a non-chatbot UI powered by six Qdrant primitives.

Works as an MCP server โ€” connect any AI agent (Claude Code, Codex, Cursor) to your local memex
# one-time wiring โ€” any MCP-aware AI agent can now call Memex tools
claude mcp add memex /path/to/memex/src-tauri/target/release/memex mcp

# or let Memex print the exact line for your machine
memex install-mcp --run

9 tools exposed: find_similar_sessions ยท find_similar_error ยท predict_next_action ยท mix_similar_sessions ยท get_session_summary ยท get_session_turn ยท list_recent_sessions ยท analyze_corpus_topology ยท snapshot_export. All stay 100 % local โ€” no telemetry, no LLM call inside the server.

Time Machine layered card stack ๐ŸชŸ Time Machine stack
3D Topology galaxy with cluster labels ๐ŸŒŒ Topology galaxy
Replay engine โ€” turn-by-turn animation โฏ Replay engine

Why this isn't a chatbot

Qdrant Vector Space Day 2026's prompt is unusually direct:

"Think Outside the Bot." Forget the classical RAG chatbot. Reimagine vector search beyond conversational interfaces โ€” multi-modal apps, intelligent recommendations, advanced vector search. โ€” Qdrant VSD 2026 hackathon prompt
The obvious RAG-chatbot version of this What Memex does instead
A text box asking "what session am I looking for?" A 3D Time Machine card deck showing every past session โ€” โ†‘โ†“/wheel to time-travel.
Embed + retrieve + LLM-summarize a session. Replay the session turn-by-turn with Bash terminals, Edit diffs, Read snippets โ€” exactly as you saw them live.
"Have I seen this error before?" โ†’ RAG โ†’ LLM โ†’ text answer. A banner slides in with the past session whose error named-vector neighborhood matches โ€” zero LLM calls.
"What's the shape of my work?" โ†’ LLM writes a paragraph. 3D topology galaxy from Qdrant's Distance Matrix API, with auto-labeled clusters and cross-project bridge edges.
"What should I do next?" โ†’ LLM completion + tool-use. Predict next-action โ€” embed the active session, find similar past sessions in Qdrant, surface what past-you did from a comparable position. No LLM.

6Qdrant primitives, six surfaces

Each surface in Memex maps to a different Qdrant primitive โ€” together they cover named vectors โ†’ matrix sampling โ†’ discovery โ†’ payload filtering โ†’ snapshots โ†’ recommendation. None of these are the "embed-and-summarize" loop of classical RAG.

๐ŸชŸ

Time Machine stack

payload-only scroll ยท no vectors

Boot the app and every past session appears as a 3D layered card deck. Arrow keys time-travel. No search box. Ever.

๐ŸŒŒ

Topology galaxy

Distance Matrix API ยท search_matrix_pairs

WebGL scene of your corpus. Force-directed cluster auto-labels ("code + shell ยท Bashร—1350 Editร—1032"). Yellow bridges = ideas that jumped between projects.

๐Ÿงช

Mix & Match

Discovery API ยท ContextInputPair

Drop sessions as positives + negatives. Qdrant returns sessions near the positives and far from the negatives. Recommendation, not retrieval.

๐Ÿ””

Proactive recall

error named-vector + has_errors filter

While you work in another Claude Code session, Memex watches for fresh tool errors. Match a past resolution? A banner slides in with the link.

NEW
๐Ÿ”ฎ

Predict next-action

content vector + neighbor pivot walk

Embed your last few turns, find K similar past sessions, locate the pivot turn, walk forward โ€” surface what past-you did next. Ranked by frequency ร— similarity.

โฏ

Replay engine

payload source_path ยท on-demand re-parse

Turn-by-turn animation of any past session with Bash terminals, Edit -/+ diffs, Read snippets. โฎ โฏ โญ controls, 1ร—/2ร—/4ร—/8ร—.

๐Ÿ”

Lens slider

5 named vectors per point ยท parallel query

The "advanced vector search" axis โ€” intentionally last. Five named vectors (content, tool, path, error, code), weighted by sliders. Per-vector contribution chips on every hit.

๐Ÿ“ฆ

Snapshot

Qdrant HTTP snapshot API

One portable file holding your entire indexed memory. Export, archive, share, restore on another machine.

๐Ÿ”ฎ What past-you did next

The killer surface for a hackathon themed "intelligent recommendations". Click any session โ€” Memex queries the corpus for similar past sessions, finds the conversational pivot in each one, walks horizon turns forward, and aggregates the tool calls.

  • Zero LLM โ€” pure vector neighbors + tool-call frequency.
  • Cards rank by frequency ร— similarity.
  • Each pick links back to the exact source-turn-index โ€” click to Replay it.
  • Mines your own engineering history as ground truth.
1
๐Ÿ–ฅ Bash ยท 67% ยท sim 65%
cargo build --release
โ— project-redesign ยท turn #486 โ†’
2
โœ๏ธ Edit ยท 33% ยท sim 64%
src-tauri/Cargo.toml
โ— project-tool-a ยท turn #312 โ†’

Architecture

One desktop binary. One local Qdrant. Zero network calls after install. Your ~/.claude/projects/**/*.jsonl never leaves the machine.

~/.claude/projects/ โ”€โ”€[ walkdir + serde_json ]โ”€โ”€โ–ถ parser.rs โ”‚ โ–ผ 5 string extracts โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ indexer.rs โ”‚ โ”‚ fastembed BGE-small โ”‚ โ”‚ qdrant-client 1.18 โ”‚ โ”‚ predict_next_actions() โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ gRPC / HTTP โ–ผ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ local Qdrant 1.18 โ”‚ โ”‚ 5 named vectors ร— point โ”‚ โ”‚ payload-indexed metadata โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ†‘ Tauri 2 webview โ”€โ”€โ–ถ vanilla JS UI โ†‘ commands.rs โ”€โ”€ thin IPC wrappers

Install

macOS 11+ (Apple Silicon recommended). Tested on macOS 26.5 / arm64. Linux + Windows builds are roadmap items.

1

Clone & install JS deps

gh repo clone sgwannabe/memex ~/memex
cd ~/memex
npm install
2

Start Qdrant locally

# Binary (arm64 macOS):
mkdir -p .qdrant && curl -sL \
  https://github.com/qdrant/qdrant/releases/download/v1.18.0/qdrant-aarch64-apple-darwin.tar.gz \
  | tar xz -C .qdrant
./.qdrant/qdrant &
3

Index ~/.claude/projects

cargo build --release --manifest-path src-tauri/Cargo.toml
./src-tauri/target/release/memex scan --index
# ~130 MB BGE-small ONNX downloads on first run, cached.
4

Launch the app

npm run tauri build
open src-tauri/target/release/bundle/macos/Memex.app