Search iThub

Search tools, categories and collections. Type at least two characters.

Explore all tools
↑ ↓ to explore resultsEnter to open · Esc to close

zvec-grep

Local-first workspace search combining semantic retrieval, ranked keywords, and exact matching.

Visit website Save

zvec-grep searches code, documents, and structured data through a local CLI and AI agent integrations. It combines ripgrep, BM25, and vector search, returning ranked passages with source locations.

Pricing
Open source
Deployment
Self-hosted
Platforms
Windows, macOS, Linux
4,273stars261forks
1views
Updated

What is zvec-grep?

zvec-grep, also called zg, is a workspace search tool for developers and AI agents. Powered by zvec, it combines ripgrep exact matching, BM25 lexical ranking, and vector search in a shared interface. It preserves source locations and useful document structure, with code retrieval informed by symbols, signatures, and breadcrumbs.

The tool installs through npm and runs on macOS, Linux, and Windows. Its CLI and supported agents use the same indexed workspace. Files, indexes, and local embedding models remain on the machine by default; remote embedding services receive data only with permission. An interactive installer configures search tools for supported agent clients.

Inside the application

zvec-grep screenshots

Explore the interface. Open a screenshot to view it at full size.

zvec-grep screenshot 1
zvec-grep screenshot 1

Source: official zvec-grep project page.

Key capabilities

  • Hybrid retrieval Combines semantic search and ranked lexical retrieval, with exact text and regular expression matching available for verification.
  • Multi-format indexing Searches source code, documents, and structured data while retaining useful structure and source locations.
  • Evidence previews Returns ranked passages with source references and supports detailed previews and line-numbered exact matches.
  • Shared workspace access Makes the same indexed content available through the terminal and supported AI agents, including MCP-based search.
  • Local embeddings Supports local embedding models and keeps indexes under the indexed project root, with remote embeddings requiring permission.
Advertisements

Where zvec-grep fits

zvec-grep fits repository exploration when the relevant file or identifier is not known in advance. Developers and coding agents can use it to investigate architecture, trace data flow across modules, or locate supporting passages in local document collections. Exact matching provides a way to check identifiers after semantic discovery narrows the search.

Before deployment, teams should check retrieval quality on their own workspace, local model resource requirements, and the configuration of their chosen agent client. They should also review permission settings before enabling remote embeddings. Agent-driven results depend on whether and how the model chooses to use the search tools.

Install

npm install -g @zvec/zvec-grep --allow-scripts=@zvec/zvec-grep

Reviews of zvec-grep

No reviews yet

Be the first to share your experience with zvec-grep.

Loading review form…

Alternatives to zvec-grep

Compare zvec-grep with these tools →