aiagent.club
中文
GitHub repo

vitali87/code-graph-rag

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

#331 of 813 by Stars among GitHub repos

5.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 5.3k 2026-10-26
Forks 704 2026-10-26
Commits 10.8k 2026-10-26
Releases 35 2026-10-26
Watchers 33 2026-10-26
Open issues 371 2026-10-26
Open PRs 176 2026-10-26