// devtools · yoanbernabeu/grepai

grepai

grepai est un projet de développement open source, créé par yoanbernabeu (yoanbernabeu/grepai sur GitHub). Il compte 1 902 étoiles sur GitHub et 161 forks, il est publié sous la licence MIT et a été mis à jour pour la dernière fois sur GitHub le 21 septembre 2026.

grepai: semantic code search and call graphs for AI agents, running 100% locally on your machine.

★ 1,9 k étoiles⑂ 161 forksMITmis à jour sept. 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
1 902
Forks
161
Licence
MIT
Dernière mise à jour sur GitHub
21 septembre 2026
Catégorie
Développement
Type de fiche
Guide d'installation complet
Site officiel
Official site
// fonctionnement

Comment ça marche

  1. Clarify your goal

    Decide which embedding provider to use; a local Ollama model keeps everything on your machine.

  2. Get the project

    Install grepai with Homebrew or the install script, and pull the embedding model if you use Ollama.

  3. Install and configure

    Initialise grepai in your project and start the watch daemon to build and maintain the index.

  4. Run your first task

    Search semantically in plain language and trace callers before changing a function; optionally connect it to your agent as an MCP tool.

// fonctionnalités

Pourquoi on l'adore

Search by intent

Natural-language queries find conceptually related code even when names differ, for example finding session handling when you search for authentication logic.

Call graph tracing

Trace who calls a function before changing it, reducing breakage from blind edits.

100% local operation

With local embedding providers, your code never leaves your machine, suiting private and regulated codebases.

Always-fresh index

A file watcher keeps the index up to date automatically as you edit.

Agent-ready and MCP server

Designed to feed coding agents relevant context instead of raw grep output, and exposes itself as an MCP tool agents can call directly.

Shell completion

Generated completions for zsh, bash, fish, and PowerShell cover commands, flags, and dynamic values like workspace and provider names.

Advertisement
// lancez-le

Lancez-le vous-même

  1. Clone the project (optional)

    Most users install the released binary instead of building from source.

    git clone https://github.com/yoanbernabeu/grepai.git
    cd grepai
  2. Install and prepare embeddings

    Install via Homebrew (or the README's install script) and pull the default embedding model.

    brew install yoanbernabeu/tap/grepai
    ollama pull nomic-embed-text
  3. Initialise, index, and search

    Run these inside your project.

    grepai init
    grepai watch
    grepai search "error handling"
// cas d'usage

Ce que vous pouvez créer

Advertisement
// faq

Questions fréquentes

Who maintains it?

It is created and maintained by Yoan Bernabeu.

Is it free to use?

Yes, grepai is MIT-licensed and free. With Ollama or LM Studio embeddings there is no per-query cost at all.

Does it need a paid API key?

No paid key is required: Ollama is the recommended default and runs locally. OpenAI embeddings are an optional alternative that would use your key.

How does it compare to a well-known alternative?

ripgrep matches exact text and regex; grepai matches meaning through embeddings and adds call-graph tracing, at the cost of maintaining a local index.

How do I get started?

Install it, run ollama pull nomic-embed-text, then grepai init and grepai watch in your project, and search in plain language.

// continuez l'exploration

Outils similaires

Développement

SocratiCode

Enterprise-grade codebase intelligence for AI agents — hybrid semantic search over 40M+ LOC, locally.

★ 3,3 k étoilesAGPL-3.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

probe

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

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

accessibility-agents

Eleven AI agents that enforce WCAG 2.2 AA accessibility in your code.

★ 420 étoilesMIT
Voir le guide →
Développement

ygrep

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

★ 60 étoilesMIT
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 grepai 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 grepai — continuez à explorer de part et d'autre.

Obtenir grepai

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