SSemanticGrep

Cohere-powered retrieval

Search code.
Find intent.

An end-to-end retrieval pipeline for source code. Embed, retrieve, and rerank the signals that matter.

Pipeline

GitHub ingestion / Cohere Embed / Pinecone / Cohere Rerank

01 / Ingest

Index a repository

Fast mode prioritizes production source and indexes up to 2,000 high-signal chunks.

02 / Retrieve

Search by meaning

20 candidates / 5 reranked results

Search uses the existing Pinecone index for this GitHub repository, if available.

Try

03 / Rank

Results will appear here

Search an already indexed repository or start a new fast index above.
Awaiting query
Embedding query
Pinecone retrieval
Cohere Rerank
Command A

Demo mode

Try the retrieval pipeline

Curated Stagehand questions designed to make retrieval and reranking behavior visible.

Evaluation set

Measure the rerank lift

Five curated Stagehand implementation queries. Vector-only and Rerank both begin with the same Pinecone top-20 candidates.

Repository workspace

Choose a codebase

Start with the Stagehand showcase, reopen an indexed namespace, or index any public GitHub repository.

Indexed repositories

Your indexed repositories will appear here.