zg unifies ripgrep, BM25, and vector search behind one local-first interface
AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.
Why it matters
Developers and AI agents can now search one indexed workspace three ways, exact, keyword-ranked, semantic, instead of maintaining ripgrep, BM25 and vector store setups separately.
zg (short for zvec-grep) is a free search tool that combines three ways of searching into one program: matching exact words, ranking results by relevance, and finding similar meanings. Normally people install separate tools for each. It runs on your own computer, and the article notes it requires Node.js 22 or newer.
zg is an open-source search layer that merges ripgrep-style text matching, BM25 relevance ranking, and vector search behind one command, cutting the number of search tool calls an AI agent must make, and therefore tokens and API cost. It runs locally by default, sending nothing off-machine unless permitted, which matters for teams handling sensitive code. It is free on GitHub; no commercial pricing or adoption figures are given.
zg (zvec-grep) unifies three retrieval modes, ripgrep exact/regex matching, BM25 ranking, and vector similarity search, over a single workspace index built on zvec. It is TypeScript on Node.js 22+, with an independent Rust implementation in the rust/ directory, and ships a CLI plus an agent integration returning ranked, source-linked results. It preserves source locations across code, documents and structured data; no benchmark numbers are provided.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
datasette-charts 0.5a0
Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.