Skip to content
Trending storyDeveloping

Context.dev open-sources sgrep, a local Rust semantic code search CLI

1 article1 sourcesince Oct 13Last article 2h ago ·

Overview

AISummary of 1 article

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.

Oct 13
  1. meng shaoX
    Context.dev open-sources sgrep, a local semantic code search CLI in Rust

    AIContext.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.

    Image from @shao__meng's post

Heat trend

Not enough continuous observations to show a trend yet.