lore
Semantic search across your Claude Code and OpenAI Codex CLI conversations. Find anything you've ever discussed -- across all projects, all sessions, any branch, any agent.
Features
Hybrid search (vector + keyword) Combines multilingual-e5-small embeddings with FTS5/BM25 via Reciprocal Rank Fusion. Finds results by meaning and exact terms.
Multi-agent: Claude Code + Codex CLI Indexes both
~/.claude/projects/(Claude Code) and~/.codex/sessions/(OpenAI Codex CLI) in the same DB. Codex sessions are grouped bycwdfromsession_meta, surfaced ascodex-<path>virtual projects so you can search them together or filter to one agent.Fully local, zero API keys Everything runs on your machine. ONNX Runtime for embedding, sqlite-vec for storage. No data leaves your device.
Auto-index on session end A SessionEnd hook automatically indexes all new sessions in the background. No manual triggers needed.
Background indexing Manual index triggers return instantly. Monitor progress while you keep working. Search what's already indexed while the rest catches up.
Opt-out by default All projects are indexed automatically. Exclude the ones you don't want. No registration needed.
Conversation-aware chunking Splits by logical turns (user question + full assistant response chain), not arbitrary token windows. Handles tool-use chains, thinking blocks, and multi-step interactions correctly.
100+ languages Korean, Japanese, Chinese, English, and 90+ more. CJK-aware token estimation for accurate chunking.






