XNews

Alibaba Zvec open-sources zg, a local-first search tool for AI agents

Alibaba Zvec open-sources zg, a local-first search tool for AI agents

Zvec released zg, a CLI/MCP tool that combines semantic, BM25, hybrid, and ripgrep search into a single local-first interface. It addresses the gap between rigid keyword search and natural language intents, reducing agent tool calls and token usage. Official benchmarks show 50% fewer tool calls, 50% less input tokens, and +1.5 judge score on SWE-QA-Bench. It uses a local embedding model (potion-code-16m-v2, 32 MiB) and indexes 3,457 files in under 30s on an M4 Pro.

Source posts