StackMap
Subscribe

zvec-grep alternatives

Curated alternatives to zvec-grep — and why you'd switch.

cocoindex-code

AST-based semantic code search for coding agents: pipx install, zero config, local embeddings out of the box — a CLI/skill/MCP that cuts agent context ~70% vs grepping. Built on CocoIndex.

Why switchBoth give coding agents local semantic search with zero-config embeddings. cocoindex-code is AST-aware and code-only; zg is text-level across code, documents and data, and pairs the vector hit with grep to verify.
Full comparison →
tgrep

Microsoft's trigram-indexed grep: a client/server index narrows each regex to candidate files. Powers search in GitHub Copilot CLI; ships MCP tools and hooks for Codex and pi. Rust.

Why switchBoth put an index behind grep for humans and agents. zvec-grep adds BM25 and vector search for meaning; tgrep stays pure regex with a trigram index and a warm server for raw speed.
Full comparison →
tokensave

Code-intelligence MCP server for coding agents — a pre-indexed semantic graph (libSQL + FTS5) they query instead of grepping: symbols, callers, impact radius in one call. 100% local, 50+ languages.

Why switchBoth exist so the agent stops re-reading files. tokensave serves a pre-indexed semantic graph over MCP; zg serves ranked search from a CLI. Graph queries vs search queries over the same workspace.
Full comparison →
jevgrep

Find code by asking what it does: `jg` uses the Jev decision model to judge folders, files and declarations, returning relevant files plus verbatim excerpts for coding agents. CLI + skill.

Why switchBoth are grep-shaped CLIs that search a codebase by meaning; zvec-grep is local BM25 + vectors after an index pass, jevgrep a hosted decision model walking the tree per question.
Full comparison →