Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Semantic Search & Call Graphs for AI Agents (100% Local)
| Date | Stars |
|---|---|
| 2026-07-24 | 1791 |
| 2026-07-25 | 1792 |
| 2026-07-28 | 1792 |
| 2026-07-30 | 1792 |
| 2026-07-31 | 1801 |
| 2026-08-06 | 1801 |
Today
— stars today
This week
+9 stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.50%/day
<div align="center">
# grepai
### grep for the AI era
[](https://www.producthunt.com/products/grepai)
[](https://github.com/yoanbernabeu/grepai/stargazers)
[](https://github.com/yoanbernabeu/grepai/releases)
[](https://github.com/yoanbernabeu/grepai/actions/workflows/ci.yml)
[](https://goreportcard.com/report/github.com/yoanbernabeu/grepai)
[](LICENSE)
**Search code by meaning, not just text.**
[Documentation](https://yoanbernabeu.github.io/grepai/) · [Installation](#installation) · [Quick Start](#quick-start)
</div>
---
`grepai` is a privacy-first CLI for semantic code search. It uses vector embeddings to understand code meaning, enabling natural language queries that find relevant code—even when naming conventions vary.
**Drastically reduces AI agent input tokens** by providing relevant context instead of raw search results.
## Features
- **Search by intent** — Ask "authentication logic" and find `handleUserSession`
- **Trace call graphs** — Know who calls a function before you change it
- **100% local** — Your code never leaves your machine
- **Always up-to-date** — File watcher keeps the index fresh automatically
- **AI agent ready** — Works with Claude Code, Cursor, Windsurf out of the box
- **MCP server** — Your AI agent can call grepai directly as a tool
## Installation
**Homebrew (macOS):**
```bash
brew install yoanbernabeu/tap/grepai
```
**Linux/macOS:**
```bash
curl -sSL https://raw.githubusercontent.com/yoanbernabeu/grepai/main/install.sh | sh
```
**Windows (PowerShell):**
```powershell
irm https://raw.githubusercontent.com/yoanbernabeu/grepai/main/install.ps1 | iex
```
Requires an embedding provider — [Ollama](https://ollama.ai) (default), [LM Studio](https://lmstudio.ai), or OpenAI.
**Ollama (recommended):**
```bash
ollama pull nomic-embed-text
```
## Quick Start
```bash
grepai init # Initialize in your project
grepai watch # Start indexing daemon
grepai search "error handling" # Search semantically
grepai trace callers "Login" # Find who calls a function
```
## Shell Completion
grepai supports autocompletion for commands, flags, and dynamic values (workspace names, project names, providers, backends).
**Zsh (add to `~/.zshrc`):**
```bash
eval "$(grepai completion zsh)"
```
**Oh-My-Zsh plugin:**
```bash
mkdir -p ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/grepai
grepai completion zsh > ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/grepai/_grepai
# Then add "grepai" to plugins=(...) in ~/.zshrc
```
**Bash:**
```bash
# Linux
grepai completion bash > /etc/bash_completion.d/grepai
# macOS (requires bash-completion@2)
grepai completion bash > $(brew --prefix)/etc/bash_completion.d/grepai
```
**Fish:**
```bash
grepai completion fish > ~/.config/fish/completions/grepai.fish
```
**PowerShell:**
```powershell
grepai completion powershell | Out-String | Invoke-Expression
```
## What developers say
> *"I just hit my limit and it took 13% of my max5 plan just to read my codebase. I am very, very excited about your new tool."*
> — u/911pleasehold on [r/ClaudeAI](https://www.reddit.com/r/ClaudeAI/comments/1qiv0d3/open_source_i_reduced_claude_code_input_tokens_by/) (280K+ views)
> *"It works great! Takes 5 minutes to install. Crazy!"*
> — [@LesSaleGeek](https://x.com/LesSaleGeek/status/2010335803604611124) on X
> *"The results are incredible!"*
> — [Kenny Nguyen](https://www.linkedin.com/feed/update/urn:li:activity:741945188Excerpt of 4,839 characters
Read on GitHub55
14
10
5
Frank Denis · France
5
3
2
2
2
2
2
1
1
1
1
1
1
1
1
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:b89038e7034ce2f3, topic:vector-search, topic:semantic-search
matched fp:b89038e7034ce2f3, topic:embeddings
matched fp:b89038e7034ce2f3, topic:developer-tools
matched fp:b89038e7034ce2f3, topic:mcp, readme:mcp server