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
- MCP Platform NitroStack Wins Product Hunt Product of the Day, Focuses on Retention — EstablishmentFun4373 · 2026-10-21
- CodeRabbit Ships 5,000 PRs a Week With a Tiny Team, Hires by Strategy-Game Hours — omojumiller · 2026-10-21
- LukeW maps the five UI problems every AI-native company faces with agents — LukeW · 2026-10-21
- Claude Code over ADB guts a bloatware-laden Android TV, freeing ~90% more RAM — edwinarbus · 2026-10-21
- Developer uses Claude to fix his adware-slowed Xiaomi TV, releases tool for any Android TV — edwinarbus · 2026-10-21
- Open-weights Ornith-1.5-122B debuts with 84.5% SWE-bench Verified, runs on a single DGX card — _akhaliq · 2026-10-21