GitHub repo

vitali87/code-graph-rag

Python Tracked since 2025-06-16 Updated 2026-07-16 View source ↗

#436 of 783 by Stars among GitHub repos

2.3k Stars

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 2.3k 2026-07-16
Forks 385 2026-07-16
Commits 3.0k 2026-07-16
Releases 11 2026-07-16
Watchers 28 2026-07-16
Open issues 25 2026-07-16
Open PRs 0 2026-07-16