Vibe Coding Discover

RAG

Search Claude Code, Codex, Pi, OpenCode, Github Copilot & Cursor transcripts. Resume sessions. Track tokens.

★ 22429 forksRustMITnicosuave

Memex is a local-first Rust CLI that indexes coding-agent transcripts (Claude Code, Codex, Cursor, OpenCode, Copilot, Pi) and searches them with BM25 plus optional embeddings for hybrid retrieval. It exposes the index through a TUI/web/native apps, an MCP server, and an installable agent skill, and can resume sessions,

Use Cases

Search past Claude Code/Codex/Cursor/OpenCode/Copilot session transcriptsResume a previous coding-agent session in its original toolGive agents source-backed recall of earlier work via MCP toolsHybrid semantic + keyword retrieval over local conversation historyTrack and estimate token usage and cost from local agent logsQuery indexes across multiple machines over SSHBrowse and read sessions in a TUI, web UI, macOS or Qt appSearch saved Claude/Codex memories alongside conversationsImport a conversation into another agent as an experimental transferInstall a shared search skill so coding agents can retrieve prior context

Built With

Language
Rust
Frameworks
tantivy · usearch · fastembed · rmcp · ratatui · crossterm · rusqlite · clap · tokio · onnxruntime · model2vec · tui-markdown · notify · nix

Tags

claude-code · codex · coding-agent-history · hybrid-search · bm25 · embeddings · local-first · cli · tui · mcp-server · agent-skills · session-resume · token-usage · vector-search · multi-machine · rust