Local retrieval for coding agents
Search the code.
Recover the context.
sgrep searches codebases by intent and retrieves decisions, fixes, and context from Claude Code, Codex, Cursor, OpenCode, and Pi sessions.
brew tap XiaoConstantine/tap
brew install sgrep
sgrep setupCode search
Semantic, hybrid, and ColBERT retrieval with explicit speed and quality profiles.
02Conversation search
Search, inspect, export, and resume work across five coding-agent histories.
03Agent integration
Install the shared skill and teach agents when to use semantic, structural, or exact search.
04Local architecture
Understand indexing, embeddings, adaptive vector storage, lexical fusion, and reranking.