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.
Cli allows AST search, ~40-50% economy tokens. Claude/Codex/Cursor searches (suitable for any AI agent that can use Bash)
| Date | Stars |
|---|---|
| 2026-07-31 | 526 |
| 2026-08-06 | 532 |
Today
+6 stars today
This week
— stars this week
This month
— stars this month
Momentum
84.0
growth rate 0.00%/day
# ast-index v3.50.0 Structural, AST-aware code navigation CLI for large, multi-language repositories. It builds a local SQLite index of symbols, references, imports, modules, dependencies, and inheritance so humans and agents can move through code by exact structure instead of grep-style text matches. https://t.me/defendend_ai_dev ## What It Gives You - Navigate classes, functions, files, imports, usages, callers, implementations, inheritance, modules, and dependency paths. - Start broad with `explore`, then jump to exact definitions with `symbol`, `class`, `outline`, and `refs`. - Keep the index current with `ast-index update` after the first `rebuild`. - Give coding agents compact, parseable context instead of raw file dumps. - Save ~40-50% of agent tokens on large repositories by returning structural slices of code instead of whole files. **Languages:** Kotlin, Java, Swift, Objective-C, TypeScript, JavaScript, Vue, Svelte, CSS, SCSS, Less, Rust, Zig, C#, Python, Go, C, C++, Scala, PHP, Ruby, Perl, Dart, Protocol Buffers, WSDL, XSD, BSL (1C:Enterprise), Lua, Bash, Elixir, SQL, R, Matlab, Groovy, Common Lisp, GDScript. Project type is auto-detected. ## How To ```bash # Install brew tap defendend/ast-index brew install ast-index # Build an index once per project cd /path/to/project ast-index rebuild # Ask code questions ast-index explore "payment flow" ast-index search ViewModel ast-index class BaseFragment ast-index usages Repository ast-index implementations Presenter ast-index deps app ``` Use `ast-index update` after edits or branch switches. In monorepos with nested project markers, add `--walk-up` or `AST_INDEX_WALK_UP=1` to reuse the root index. **Guides:** [User guide](USER_GUIDE.md) for everyday workflow; [Command setup guide](docs/setup-guide.md) for install/options/examples. ## Performance Benchmarks on large Android project (~29k files, ~300k symbols): | Command | ast-index | grep | Speedup | |---------|-----------|------|---------| | imports | 0.3ms | 90ms | **260x** | | dependents | 2ms | 100ms | **100x** | | deps | 3ms | 90ms | **90x** | | class | 1ms | 90ms | **90x** | | search | 11ms | 280ms | **14x** | | usages | 8ms | 90ms | **12x** | ## Installation ### Homebrew (macOS/Linux) ```bash brew tap defendend/ast-index brew install ast-index ``` ### Winget (Windows) ```shell winget install --id defendend.ast-index ``` ### Migration from kotlin-index If you have the old `kotlin-index` installed: ```bash brew uninstall kotlin-index brew untap defendend/kotlin-index brew tap defendend/ast-index brew install ast-index ``` ### From source ```bash git clone https://github.com/defendend/Claude-ast-index-search.git cd Claude-ast-index-search cargo build --release # Binary: target/release/ast-index (~44 MB) ``` ### Troubleshooting: Syntax errors on install If `brew install ast-index` fails with merge conflict errors (`<<<<<<< HEAD`), reset your local tap: ```bash cd /opt/homebrew/Library/Taps/defendend/homebrew-ast-index git fetch origin git reset --hard origin/main brew install ast-index ``` ## Monorepo Workflow If your repo has subdirectories with their own VCS markers (git submodules, subtrees, nested `Cargo.toml` / `settings.gradle`), read-commands normally stop at the nearest marker — they won't reuse a parent-level index even if one exists. Pass `--walk-up`, or set `AST_INDEX_WALK_UP=1`, to tell the lookup to prefer any existing parent DB over nested markers: ```bash # once, in the root cd /monorepo && ast-index rebuild # later, from any subproject — reuse the root index AST_INDEX_WALK_UP=1 ast-index search ViewModel # or per-call: ast-index --walk-up search ViewModel ``` This is opt-in by design: silently preferring a far-away parent DB could surface a stale or misconfigured index from an earlier accidental `rebuild` higher up. With the flag you explicitly say "trust the parent". ## AI Agent Integration ### Claude Code Plugin ```bash # Option 1: via marketplace claude plugin
Excerpt of 17,672 characters
Read on GitHub304
32
18
6
Peter Gagarinov · United Kingdom
1
1
1
1
1
1
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:462a6b3582caff1b, desc:ai agent