Context.dev open-sources sgrep, a Rust local semantic code search CLI
The interesting bet is static embeddings — averaging pre-trained token vectors with no transformer forward pass — paired with lexical BM25 to correct semantic misses, which is what keeps the model at 32MB yet competitive for agent retrieval. Developers building coding agents or RAG pipelines over private codebases can drop it in as a cheaper, privacy-preserving retriever that reduces API spend by over 21% on SWE-bench Verified. It sits between ripgrep for exact matches and cloud semantic search tools like mgrep that require syncing source code.