# zg (zvec-grep)

> Updated 2026-09-02 · type: tool · category: ai-infrastructure · status: active · rev 1

A local-first search tool for people and AI agents that combines ripgrep, BM25, and on-device vector search across code, docs, and data — indexing and search…

- Open source: yes (Apache-2.0)
- Self-hostable: yes
- Pricing model: free
- Best for: Developers and AI agents (via MCP) searching local workspaces with combined regex, keyword, and semantic search.
- Last verified: 2026-09-04

- **Canonical:** https://gtmstacker.com/registry/tool/zvec-grep/
- **Source:** [github · zvec-ai/zvec-grep](https://github.com/zvec-ai/zvec-grep)
- **Tags:** ai-infrastructure, search, retrieval, local-first, cli
- **Repository:** https://github.com/zvec-ai/zvec-grep

## Is zg (zvec-grep) open source?

Yes — Apache-2.0-licensed.

## How much does zg (zvec-grep) cost?

It is free to use.

## Can I self-host zg (zvec-grep)?

Yes — it can be self-hosted.


---

A local-first search tool for people and AI agents that combines ripgrep, BM25, and on-device vector search across code, docs, and data — indexing and search stay on the machine. Auto-configures agents (Claude Code, Codex, OpenCode) and reports fewer tool-calls/tokens on SWE-QA-Bench.

## Provenance

- Apache-2.0 independently verified (1.6k★). macOS/Linux/Windows, Node 22+.
- Surfaced via the GTM Stacker X/Twitter signal reports (Aug–Sep 2026); license independently WebFetch-verified 2026-09-03.
