aiagent.club
中文
GitHub repo

vitali87/code-graph-rag

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

#319 of 803 by Stars among GitHub repos

5.1k 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 5.1k 2026-09-12
Forks 673 2026-09-12
Commits 6.9k 2026-09-12
Releases 24 2026-09-12
Watchers 41 2026-09-12
Open issues 83 2026-09-12
Open PRs 12 2026-09-12