What it does
Code-Graph-RAG reads every file in a software project and records its functions, classes and how they connect, in a knowledge graph (a map of things and their links).
You can then ask questions in plain language and get answers based on the real structure of the code. It can also fetch code by name or purpose, edit code with a preview of the changes, and find code that's never used.
It supports many programming languages, including Python, TypeScript, Rust, Go, Java and C++.
Who it's for
Developers working on large or unfamiliar codebases.
Can I use it without coding?
Developers only. It's a command-line tool for programmers. New to this? Start here.
Can I run it?
- Computer
- An ordinary computer is fine
- API key
- Not needed
Try it
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?
Before you install
- Only download from the official GitHub page. Copies with similar names exist for many popular projects.
- License (MIT): Very permissive: free to use, change and share, including for business.
- More on staying safe