Discover
Codebase context engines
Pack a repo into model context: AST graphs, token budgets, and prompt-ready dumps. The Catch for each, not a ranking.
6 tools · Stars / Runtime / License chips · the Catch, not a ranking
- CodeGraphMIT local AST code knowledge graph for coding agents★ 74.4kMulti-platform · RustOSS/MIT
Index cost and residual context occupancy are real. Not a hosted SaaS brain. Distinct from Repomix/Gitingest (pack text) and Aider (edit loop).
- RepomixMIT pack entire repo into one AI-friendly file★ 28.9kNode.jsOSS/MIT
Still a dump - huge monorepos blow context. Distinct from CodeGraph and Gitingest.
- GitingestMIT turn any GitHub URL into prompt-ready ingest★ 15.9kPython · Multi-platformOSS/MIT
Public-URL convenience, not a private monorepo indexer. Distinct from Repomix local pack and CodeGraph graph.
- files-to-promptApache-2.0 concatenate a directory into one LLM prompt★ 2.8kPythonApache-2.0
Quiet since early 2025 - still useful, not a product. Distinct from Repomix and Gitingest.
- ast-grepMIT structural AST search and rewrite (sg)★ 16.3kRust · Multi-platformOSS/MIT
Vs Semgrep (SAST/SCA product with Free Edition caps) and ripgrep (text search): ast-grep is the *structural AST CLI/codemod*, not a hosted AppSec platform and not byte/regex grep. You author AST patterns; text-only hunts still belong to rg. Slug is `ast-grep` (binary often `sg`).
- DifftasticMIT structural/AST diff that understands syntax★ 26kRust · Multi-platformOSS/MIT
Vs delta (syntax-highlight *pager* for git diffs): difftastic is a *structural AST diff*, not a pretty pager over unified diff. Unsupported or huge files fall back to line-oriented. Language coverage is wide but not infinite — unknown formats lose the AST trick.