// devtools · zvec-ai/zvec-grep

zvec-grep

zvec-grep — проект с открытым исходным кодом из категории «Инструменты разработчика» от zvec-ai (zvec-ai/zvec-grep на GitHub). У него 3 994 звезды на GitHub и 235 форков, он распространяется по лицензии Apache-2.0 и последний раз обновлялся на GitHub 8 октября 2026.

zvec-grep (zg): one local CLI unifying ripgrep-style exact search, BM25, and semantic vector search

★ 4,0 тыс. звёзд⑂ 235 форковApache-2.0обновлено окт. 2026
▦ визуал — в README этого проекта нет встраиваемого скриншота,
поэтому здесь заглушка. Руководство ниже в любом случае полное.
// факты о проекте

Факты о проекте

Репозиторий
zvec-ai/zvec-grep
Звёзды GitHub
3 994
Форки
235
Лицензия
Apache-2.0
Последнее обновление на GitHub
8 октября 2026
Тип страницы
Полное руководство по установке
// как это работает

Как это работает

  1. Pick your corpus

    Choose the codebase or document set you want searchable by meaning, not just by string.

  2. Install zg

    Install the CLI globally from npm (Node.js 22+).

  3. Build the index

    Run zg index with a local embedding model to create the .zvec-grep/ index.

  4. Ask in natural language

    Query with --human for readable, cited results, or wire zg into your agent via its installer/MCP tools.

// возможности

Почему его любят

Three search modes in one tool

Exact (ripgrep-style), BM25, and vector/semantic search behind a single interface.

Code, docs, and data

Symbol-aware code search plus document and structured-data search.

Cited results

Ranked answers link back to source files and lines.

Local-first indexing

Indexes live in .zvec-grep/; local embedding models keep data on your machine by default.

Agent integration

One-command installs into agent tools (for example OpenCode) and MCP tool exposure.

Fast repeat queries

Index once, then query repeatedly without re-embedding the corpus.

Advertisement
// запустите сами

Запустите сами

  1. Clone the repository

    Clone the project and enter its directory (CLI users can install from npm instead).

    git clone https://github.com/zvec-ai/zvec-grep.git
    cd zvec-grep
  2. Install the CLI

    Install zg globally from npm (Node.js 22+ required).

    npm install -g @zvec/zvec-grep
  3. Index and query

    Build an index with a local embedding model, then ask a question.

    zg index --embedding local/potion-retrieval-32m
    zg query --human "where is authentication handled?" --limit 3
// сценарии использования

Что можно создать

Advertisement
// вопросы и ответы

Вопросы и ответы

Who maintains zvec-grep?

zvec-ai develops zvec-grep (the zvec vector-search project team).

Is zvec-grep free?

Yes, Apache-2.0 licensed and local-first.

Does it need a paid API key?

No — local embedding models are supported and are the default posture; remote embeddings are used only with your permission.

How does it compare to ripgrep alone?

ripgrep finds exact strings. zg keeps that, adds BM25 ranking and semantic vector search, and returns ranked results with citations — at the cost of building an index first.

How do I get started?

Run `npm install -g @zvec/zvec-grep`, `zg index` in your project, then `zg query --human "your question"`.

// продолжить изучение

Похожие инструменты

Инструменты разработчика

probe

Semantic code search for AI — ripgrep speed with tree-sitter AST parsing.

★ 722 звездыApache-2.0
Смотреть руководство →
Инструменты разработчика

semble

Fast, accurate semantic code search for agents — about 99% fewer tokens than grep plus read.

★ 6,2 тыс. звёздMIT
Смотреть руководство →
Инструменты разработчика

cocoindex-code

Lightweight AST-based semantic code search CLI (ccc) that makes coding agents faster and cheaper

★ 2,8 тыс. звёздApache-2.0
Смотреть руководство →
Инструменты разработчика

treg

An OpenRouter-style registry for agent tools: one token, thousands of priced endpoints, your own keys too

★ 4,8 тыс. звёздNOASSERTION
Смотреть руководство →
Инструменты разработчика

ygrep

Fast, local, indexed code search built for AI assistants.

★ 60 звёздMIT
Смотреть руководство →
Инструменты разработчика

rtk

CLI proxy that cuts LLM token consumption 60-90% on common dev commands — one Rust binary

★ 82,7 тыс. звёздApache-2.0
Смотреть руководство →
// альтернативы

Альтернативы: Инструменты разработчика

Другие проекты из категории «Инструменты разработчика» с наибольшим числом звёзд в каталоге LibreAI — реалистичный список альтернатив, если zvec-grep вам не подходит.

// ещё в категории devtools

Больше проектов: Инструменты разработчика

Соседние проекты из категории «Инструменты разработчика» в каталоге, ближайшие по числу звёзд к zvec-grep — продолжайте изучать полку по обе стороны от него.

Получить zvec-grep

Бесплатно и открыто — забирайте исходный код, ставьте звезду репозиторию и начинайте создавать.