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 Zvec Open-Sources zg, a Local Semantic Search Tool for Agents(2 posts)→
More from coding & agent
- Non-coder runs hundreds of thousands of AI-written lines on a phone via zero-trust Termux workflow — amadale · 2026-09-03
- Multi-agent debugging pain: per-agent logs can't show which output changed the next agent's decision — mageblex · 2026-09-03
- PR adds ready-made JS and Python computer-use environments to OpenAI's CUA sample app — ChrisGPT · 2026-09-03
- 2-hour vibe-coded local agentic browser clones Opera Neon's $19/month features with MCP — comperr · 2026-09-03
- ComfyUI plugin caches MiniMax H3 conditioning to disk: 1.12s cache hits, 14GB RAM saved — Any_Fee5299 · 2026-09-03
- Open-source coding agent Pi hits 100,000 GitHub stars, v2 teased — gklambauer · 2026-09-03