• Picks
  • Discover
  • Alternatives
  • About

© 2026 Willet

  • Newsletter
  • About
  • FAQ
  • Terms
  • Privacy & Cookies
Join the Discord (opens in a new tab)
Vitali Avagyan avatar

Code-Graph-RAG

Maps a codebase into a knowledge graph to query and edit in plain English

  • Developer tools
  • Agent frameworks and tools
  • AI coding agents
View on GitHub
Website

What it is

Code-Graph-RAG parses repositories in many languages with Tree-sitter, stores functions, classes, modules and their relationships in a graph (embedded SQLite by default, or Memgraph and Neo4j), and turns natural-language questions into Cypher queries. Its CLI agent can retrieve source, patch code with diff previews, find dead code, and merge runtime traces into the graph. It also runs as an MCP server. Developers working in large mixed-language monorepos use it to navigate and change code with answers grounded in the actual structure.

Images

Facts

Stars
5,269 GitHub stars.
5,269

Forks
701
Commits
10,418
Contributors
67
Language
Python
License
MIT
Last commit
Oct 20, 2026
On GitHub since
June 2025
First release
February 2026
Platforms
macOS, Windows, Linux, CLI
Self-hostable
No
Alternative to
Sourcegraph Cody
Author
Vitali Avagyan
Tags
  • static-analysis
  • mcp-server
  • semantic-search
  • rag
  • knowledge-graph
  • code-intelligence

Last synced from GitHub on Oct 20, 2026

The 10 best overlooked open-source projects, every Monday.

Share and more

Comments

No comments yet. Start the conversation.

Similar projects

  • Tirth Kanani avatar

    code-review-graph

    Local code graph that feeds AI coding assistants only the relevant files

    32.3k
  • Graphify Labs avatar

    Graphify

    Codebase-to-knowledge-graph skill for AI coding assistants

    130k
  • EgonexAI avatar

    Understand Anything

    Agent plugin that maps a codebase into an explorable knowledge graph

    87.2k
  • Martin Vogel avatar

    codebase-memory-mcp

    Local MCP server that indexes code into a queryable knowledge graph

    47k

What people are saying

Updated Oct 21, 2026
  • Hacker NewsGraph-Code: A Graph-Based RAG System for Python CodebasesJun 19, 2025 · 4 points · 1 comment (opens Hacker News in a new tab)
  • Hacker NewsGraph-Code: A Graph-Based RAG System for Any CodebasesAug 29, 2025 · 3 points · 0 comments (opens Hacker News in a new tab)
  • Bluesky“Most coding agents search for similar code. Code-Graph-RAG maps actual dependencies using Tree-sitter and Memgraph. That means asking which functions call…”Oct 19, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“It parses multi-language codebases to let you query, understand, and edit code using structured context. Plain vector search over code chunks, but mapping…”Sep 6, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“stop letting your agent grep a monorepo and hope. code graph rag builds a knowledge graph of your codebase so agents query real structure, not string matches…”Aug 15, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“vitali87/code-graph-rag: The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs…”Aug 13, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“GitHub - vitali87/code-graph-rag: The ultimate RAG for your monorepo. Query, understand, and edi...”Aug 10, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“code-graph-rag Code-Graph-RAG builds knowledge graphs from multi-language codebases and enables AI-powered querying and editing. It uses Tree-sitter to parse…”Mar 22, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“Code-Graph project ->”Jan 29, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)