Context.dev open-sources sgrep, a local Rust semantic code search CLI
Overview
Context.dev has open-sourced sgrep, a Rust command-line tool for semantic search over code and documents.
It uses a roughly 32MB local CPU embedding model and works offline after the first search, according to the source report, which says code and queries never leave the machine.
The author, meng shao, reports benchmark results from SWE-bench Verified run with GPT-6. In that test, sgrep's pipeline mode cut LLM API costs by 21.3% compared with ripgrep and solved 70 of 100 attempts against ripgrep's 68. The author also says sgrep trails another tool's semantic mode on CoSQA snippet retrieval. These are the author's own figures and have not been independently verified.
Written by AI from the articles below · updated Oct 13, 9:38 PM ET
Check the sources:
Article timeline
The articles in this story. Times are ET.
meng shao@shao__mengXContext.dev open-sources sgrep, a local semantic code search CLI in RustAIContext.dev has open-sourced sgrep, a Rust-based local semantic code and document search CLI that uses a roughly 32MB static embedding model and works offline after the first search. On SWE-bench Verified with GPT-6, the author reports that sgrep's pipeline mode cut LLM API costs by 21.3% versus ripgrep and solved 70 of 100 attempts against 68. The author also notes that sgrep trails a semantic mode of another tool on CoSQA snippet retrieval.

Heat trend
Not enough continuous observations to show a trend yet.