vitali87/code-graph-rag
#325 of 807 by Stars among GitHub repos
The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs
About
An accurate Retrieval-Augmented Generation (RAG) system that analyzes multi-language codebases using Tree-sitter, builds comprehensive knowledge graphs, and enables natural language querying of codebase structure and relationships as well as editing capabilities.
cgr is published to PyPI and can be installed system-wide so it works from any target repo without activating a project virtualenv. Install with the treesitter-full (all languages) and semantic (vector search) extras:
For a Python-only install, omit the extras. For local development from a clone, use uv tool install --editable "/path/to/code-graph-rag[treesitter-full,semantic]".
After install, cgr is on PATH. From any…
Excerpted from github.com/vitali87/code-graph-rag
Latest metrics
| Stars | 5.2k | 2026-10-10 |
|---|---|---|
| Forks | 699 | 2026-10-10 |
| Commits | 9.1k | 2026-10-10 |
| Releases | 27 | 2026-10-10 |
| Watchers | 38 | 2026-10-10 |
| Open issues | 475 | 2026-10-10 |
| Open PRs | 264 | 2026-10-10 |