#1010th of 30 in RAG and search

zvec-grep

Local CLI combining ripgrep, BM25 and vector search over code and documents

Releases and problems feed (RSS)

Stars
4.4k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Rust
Stars, last 19 weeks+4,365
9 Jul 2026: 3 stars16 Jul 2026: 4 stars23 Jul 2026: 4 stars30 Jul 2026: 5 stars6 Aug 2026: 7 stars13 Aug 2026: 8 stars20 Aug 2026: 9 stars27 Aug 2026: 19 stars3 Sept 2026: 2,265 stars10 Sept 2026: 3,342 stars17 Sept 2026: 3,547 stars24 Sept 2026: 3,732 stars1 Oct 2026: 3,832 stars8 Oct 2026: 3,975 stars15 Oct 2026: 4,073 stars22 Oct 2026: 4,138 stars29 Oct 2026: 4,191 stars5 Nov 2026: 4,226 stars12 Nov 2026: 4,309 stars19 Nov 2026: 4,368 stars

3 on 9 Jul 20264,368 on 19 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

zg indexes a project into a .zvec-grep/ directory and searches it with exact text or regex, BM25 full-text, and vector retrieval, using the zvec engine. It can be run from the terminal or installed as a search tool for agents such as OpenCode (`zg --install --target opencode`). Results are ranked and linked to source locations; code is indexed with symbols and signatures, prose as sections and chunks.

Who it is for: Developers wanting local semantic and keyword repo search, by hand or via agents

Strengths

  • Hybrid, FTS and vector queries in one CLI, with repeatable flags for multiple queries
  • Local embedding model option (local/potion-retrieval-32m); files and indexes stay on the machine
  • Same index serves terminal use and agent integration on macOS, Linux and Windows
  • Benchmarks with paired A/B runs and reproduction docs are published in the repo

Weaknesses

  • Agent benefit varies by model and run, per the README's own caveat
  • Remote embeddings send data off-machine when enabled
  • Index lives in .zvec-grep/ per project and must be built before searching
  • Agent integration documented only for OpenCode in the README

What it needs

  • Rust, local/potion-retrieval-32m, Qwen3.7 Text Embedding
  • Needs Node.js/npm for install, zvec

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in RAG and search

See all 30
Also in RAG and search
RankProjectScore
1xerjElasticsearch-compatible search server that auto-indexes folders for coding agents Live demo ↗ (opens in a new tab)19.2k stars+7,933 (+71%) in 30 daysApache-2.088 out of 100
2sonicLightweight schema-less search index that returns object IDs, written in Rust Live demo ↗ (opens in a new tab)21.4k starsMPL-2.083 out of 100
3manticoresearchC++ search database with full-text, vector and hybrid search over SQL and HTTP Live demo ↗ (opens in a new tab)12.1k starsGPL-3.083 out of 100
#4xbergRust document extraction engine with OCR, tables and 15 language bindings Live demo ↗ (opens in a new tab)9.6k stars+188 (+2.0%) in 30 daysMIT82 out of 100
#5azure-search-openai-demoRAG chat app over your documents using Azure OpenAI and Azure AI Search7.8k starsMIT79 out of 100