LibreAI / Développement / zvec-grep
// devtools · zvec-ai/zvec-grep

zvec-grep

zvec-grep est un projet de développement open source, créé par zvec-ai (zvec-ai/zvec-grep sur GitHub). Il compte 3 994 étoiles sur GitHub et 235 forks, il est publié sous la licence Apache-2.0 et a été mis à jour pour la dernière fois sur GitHub le 8 octobre 2026.

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

★ 4,0 k étoiles⑂ 235 forksApache-2.0mis à jour oct. 2026
▦ visuel — le README de ce projet ne contient aucune capture intégrable,
voici donc un emplacement réservé. Le guide ci-dessous est complet malgré tout.
// détails du projet

Détails du projet

Étoiles GitHub
3 994
Forks
235
Licence
Apache-2.0
Dernière mise à jour sur GitHub
8 octobre 2026
Catégorie
Développement
Type de fiche
Guide d'installation complet
// fonctionnement

Comment ça marche

  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.

// fonctionnalités

Pourquoi on l'adore

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
// lancez-le

Lancez-le vous-même

  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
// cas d'usage

Ce que vous pouvez créer

Advertisement
// faq

Questions fréquentes

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"`.

// continuez l'exploration

Outils similaires

Développement

probe

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

★ 722 étoilesApache-2.0
Voir le guide →
Développement

semble

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

★ 6,2 k étoilesMIT
Voir le guide →
Développement

cocoindex-code

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

★ 2,8 k étoilesApache-2.0
Voir le guide →
Développement

treg

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

★ 4,8 k étoilesNOASSERTION
Voir le guide →
Développement

ygrep

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

★ 60 étoilesMIT
Voir le guide →
Développement

rtk

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

★ 82,7 k étoilesApache-2.0
Voir le guide →
// alternatives

Alternatives en Développement

Les autres projets de la catégorie Développement avec le plus d'étoiles du catalogue LibreAI — la sélection réaliste d'alternatives si zvec-grep ne vous convient pas.

// plus en devtools

Plus en Développement

Projets de la catégorie Développement proches dans le catalogue, les plus proches en étoiles de zvec-grep — continuez à explorer de part et d'autre.

Obtenir zvec-grep

Gratuit et ouvert : récupérez le code source, mettez une étoile au dépôt et commencez à créer.