AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompare
Submit Tool
Home/
RAG / Knowledge Base/
code-graph-rag
code-graph-rag logo

code-graph-rag

Active·★ 2.3k·MIT·Updated 2026-03-28
★ RAG / Knowledge Base★ Code Assistant

The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs

Code-Graph-RAG is an accurate Retrieval-Augmented Generation (RAG) system designed for multi-language codebases. It uses Tree-sitter to analyze code, build comprehensive knowledge graphs, and allows natural language querying of codebase structure and relationships. The system also includes advanced editing capabilities, enabling users to modify code directly through natural language prompts.

#ai#ast#claude-code#code-analysis#code-understanding#codebase-search#developer-tools#graph-database
$ Install
$ git clone https://github.com/vitali87/code-graph-rag.git && cd code-graph-rag && uv sync --extra treesitter-full && cp .env.example .env && docker-compose up -d
↗ Visit site★ GitHub
01

Features

01Multi-Language Support
02Tree-sitter Parsing
03Knowledge Graph Storage
04Natural Language Querying
05Advanced File Editing
02

Compatibility

C++
C++
Verified via docs
Java
Java
Verified via docs
JavaScript
JavaScript
Verified via docs
Lua
Lua
Verified via docs
Python
Python
Verified via docs
Rust
Rust
Verified via docs
03

Quick start

1
$ git clone https://github.com/vitali87/code-graph-rag.git
2
$ cd code-graph-rag
3
$ uv sync --extra treesitter-full
4
$ cp .env.example .env
5
$ docker-compose up -d
04

Use cases

↳Analyze and ingest multi-language codebases into a knowledge graph.
↳Query codebase structure and relationships using natural language.
↳Receive AI-powered optimization suggestions and perform surgical code edits.
05

Alternatives

mindsdb logo
mindsdb★ 39.2k
Federated Query Engine for AI - The only MCP Server you'll ever need
vs →
Brave Search MCP logo
Brave Search MCP★ 86.5k
Allow your AI Agent to search the real-time internet using Brave Search API. Essential for getting up-to-date information.
vs →
nuclear logo
nuclear★ 17.7k
Streaming music player that finds free music for you
vs →
context-mode logo
context-mode★ 16.0k
Context window optimization for AI coding agents. Sandboxes tool output, 98% reduction. 12 platforms
vs →
Auto-claude-code-research-in-sleep logo
Auto-claude-code-research-in-sleep★ 11.0k
ARIS ⚔️ (Auto-Research-In-Sleep) — Claude Code skills for autonomous ML research: cross-model review loops, idea discovery, and experiment automation via Codex MCP
vs →
agents-best-practices logo
agents-best-practices★ 1.1k
Provider-neutral Agent Skill for Codex, Claude Code, and agentic harness design.
vs →
holaOS logo
holaOS★ 5.4k
The agent environment for long-horizon work, continuity, and self-evolution.
vs →
qveris-agent-toolkit logo
qveris-agent-toolkit★ 229
Open-source toolkit for the QVeris capability routing network: CLI, MCP server, Python SDK, skills, and REST API docs for agents to discover, inspect, call, and audit real-world tools.
vs →
See all alternatives →

Related searches

code-graph-rag AlternativesBest RAG / Knowledge Base Tools 2026Open Source RAG / Knowledge Basecode-graph-rag Tutorialcode-graph-rag Vs Competitorsaiastclaude-code

Comments

Log in to leave a comment
  • P
    Phoenix GarciaMay 10, 2026

    Edits informed by the full code graph are more accurate than context-window-limited edits.

  • A
    Alex WilsonMay 4, 2026

    Graph RAG for monorepos that handles multi-language codebases is the right approach.

  • S
    Spencer GarciaMay 3, 2026

    Good for large monorepos where individual file search misses cross-module context.

  • S
    Sam ClarkApr 12, 2026

    Query and understand complex codebases through the relationship graph, not just text.

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
Stats
GitHub Stars★ 2.3k
Last commit2mo ago
StatusActive
LicenseMIT
CategoryRAG / Knowledge Base
Trend (30d)
+0k↑ 2.0%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
QYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.