
What happened
zg (zvec-grep) combines ripgrep, BM25 keyword ranking and vector-based semantic search into one local index you can query from the CLI or hand to an AI agent, installed via npm on Node.js 22 or later.
Why it matters
A single index means agents and people search the same files, and the tool's own benchmarks on pylint, matplotlib and django report savings in input tokens, tool calls and wall-clock time, with answer quality improving notably on pylint.
Summaries like this, every morning.
The tool's pitch rests on a split that has become familiar in agent work: the same corpus has to be readable by a person typing a question and by a model that would otherwise burn tokens reading and re-reading files. zg's answer is to build one index that supports keyword matching, ripgrep-style exact and regex checks, and semantic ranking, then let either caller query it. The benchmark graphs shown for pylint, matplotlib and django point in the same direction — fewer input tokens, fewer tool calls, less wall-clock time, and answer quality that improved markedly on pylint and slightly on the other libraries.
The walkthrough suggests how it behaves in practice. Indexing two public-domain texts and asking a riddle-like question about unseen marks returned three ranked blocks from the Sherlock Holmes file, tagged as matched by both keyword and vector search, with line ranges and a "fresh" status. The same question routed through OpenCode produced a specific answer naming the story and the animal, with line-number citations.
On privacy, the design keeps files, indexes and local models on the user's machine and only reaches a remote embedding model with permission, which may matter to teams weighing whether search indexes can leave a laptop. Whether the token and time savings hold at repository scale is not shown in the benchmarks presented.
Pick your industry and the AI tools you use, and get news related to your work every day.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
Block unveiled Dessa, which it says is the first AI model trained entirely on human speech with no text data…

AI Nexus CEO Nishito published Structured Data Editor, a free VS Code extension that opens Markdown, CSV/TSV a…

A free 4-week curriculum has been published for engineers with no C# experience to build a minimal WinForms ap…

At Anthropic's "Machines of Loving Grace" exhibition and DevelopersIO 2026 TOKYO, Claude and Claude Code power…

A FitLog developer replaced repeated prompt warnings with a harness — a 48-line CLAUDE.md "map" linking six do…

Across five tasks and 18 Ollama calls, Muse Glimmer 30B's 352-character log and Qwen3 30B-A3B's 3,040-characte…
