Alibaba Zvec team open-sources zg, a local-first search tool for AI agents
solyarisoftware · x · 2026-09-03
Alibaba's Zvec team open-sourced zg (zvec-grep), a local-first CLI/MCP search tool for developers and AI agents, already at 1.2k GitHub stars.
- The problem: ripgrep is fast for exact matches, but agent tasks are usually natural-language intents (e.g. "restore topic preferences" maps to hydratePreferences), forcing agents into repeated keyword guesses and context bloat.
- Design: semantic search, BM25, hybrid (RRF fusion) and rg exact match in one entry point, covering open exploration through relevance convergence to precise verification; structure-aware extraction splits code symbols and doc sections into addressable units with compact ranked previews.
- Local-first: embedding and indexing run entirely on-device with 11 built-in local embedding models, defaulting to a 16M-param static model (32 MiB, no GPU); a 3,457-file Django repo indexes in under 30s on an M4 Pro.
- Zero-config setup: zg install auto-detects Codex, Claude Code, Cursor and OpenCode to configure MCP; supports macOS/Linux/Windows with embedded storage.
Related event: Alibaba's Qwen team open-sources local-first search tool zvec-grep(3 posts)→
More from coding & agent
- Salesforce research: buyer agents concede too easily, images boost persuasion ~17% — msrivastav13 · 2026-12-05
- Grok Build launches agent-driven post-quantum cryptography migration after NSA advisory, with $1,000 credits — ns123abc · 2026-12-05
- Seroter's reading list: post-quantum prep, agent harnesses, and life after 99% AI code — rseroter · 2026-12-05
- WSDM Cup 2027 Offers $10k to Build Autonomous Community Notes Agents — sanmikoyejo · 2026-12-05
- Trying Copilot Studio MCP for agent cloning and Power Automate sync: janky but workable — koltregaskes · 2026-12-05
- xAI launches Grok Bot: autonomous AI teammates that live in Slack and Teams — Baconbrix · 2026-12-05