zg unifies ripgrep, BM25 and on-device vector search so people and AI agents search code, docs and data without anything leaving the machine.
Yes, zg (zvec-grep) is open source under the Apache-2.0 license.
zg (zvec-grep) is free to use.
Yes, zg (zvec-grep) can be self-hosted (the source is available under the Apache-2.0 license).
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.