#4747th of 404 in Coding agents and AI editors

code-graph-rag

CLI that indexes a codebase into a graph for natural-language queries and edits

Stars
5.5k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 35 weeks+3,245
25 Mar 2026: 2,208 stars1 Apr 2026: 2,241 stars8 Apr 2026: 2,241 stars15 Apr 2026: 2,241 stars22 Apr 2026: 2,241 stars29 Apr 2026: 2,241 stars6 May 2026: 2,241 stars13 May 2026: 2,241 stars20 May 2026: 2,241 stars27 May 2026: 2,241 stars3 Jun 2026: 2,241 stars10 Jun 2026: 2,241 stars17 Jun 2026: 2,241 stars24 Jun 2026: 2,241 stars1 Jul 2026: 2,248 stars8 Jul 2026: 2,267 stars15 Jul 2026: 2,289 stars22 Jul 2026: 2,313 stars29 Jul 2026: 2,336 stars5 Aug 2026: 2,499 stars12 Aug 2026: 4,073 stars19 Aug 2026: 4,643 stars26 Aug 2026: 4,781 stars2 Sept 2026: 4,882 stars9 Sept 2026: 5,074 stars16 Sept 2026: 5,111 stars23 Sept 2026: 5,144 stars30 Sept 2026: 5,169 stars7 Oct 2026: 5,220 stars14 Oct 2026: 5,246 stars21 Oct 2026: 5,271 stars28 Oct 2026: 5,289 stars4 Nov 2026: 5,306 stars11 Nov 2026: 5,351 stars18 Nov 2026: 5,394 stars25 Nov 2026: 5,453 stars

2,208 on 25 Mar 20265,453 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Code-Graph-RAG parses a multi-language repository with Tree-sitter into a knowledge graph stored in an embedded SQLite file by default. The `cgr` CLI turns natural-language questions into Cypher queries, retrieves source, applies AST-based edits with diff preview, and finds dead code. It also runs as an MCP server, and can merge runtime call traces into the graph.

Who it is for: Engineers who want graph-grounded Q&A and edits over large or polyglot repos

Strengths

  • Embedded SQLite graph by default, so no database server is needed
  • Fully supports 14 languages under one graph schema, including mixed-language monorepos
  • Compiler frontends and runtime traces (`cgr trace`) add facts static parsing misses
  • Exposes the graph to Claude Code and other clients through an MCP server

Weaknesses

  • PyPI releases ship only every 50th version, so installs lag the newest git tag
  • Native extension limits installs to CPython 3.12+ on Linux, macOS and Windows x64
  • Ruby, Kotlin, Swift and others get only structural support via ast-grep
  • `--clean` deletes every project in the shared graph, not just the current repo

What it needs

  • Docker
  • Needs Python 3.12+, ripgrep, Memgraph (optional), Neo4j (optional), Qdrant (optional, with Memgraph stack)

What changed

  1. v0.7.1 ↗ (opens in a new tab)BreakingSecurity fix

    “With CGR_VECTOR_STORE_BACKEND=qdrant and neither QDRANT_URL nor QDRANT_DB_PATH set, the Qdrant of the cgr daemon up stack now takes the embeddings only of a graph that lives in the stack's own Memgra…”

    “Security Fix: Addressed a potential issue with parameter defaults.”

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in Coding agents and AI editors

See all 404
Also in Coding agents and AI editors
RankProjectScore
#45cindyDesktop and mobile AI agent client that runs Claude Code, Codex and Pi10.8k starsApache-2.086 out of 100
#46gh-awGitHub CLI extension that compiles Markdown agent workflows into Actions5.7k starsMIT86 out of 100
#48openinterpreterTerminal coding agent, a Codex fork tuned for low-cost models69k stars+394 (+0.6%) in 30 daysApache-2.085 out of 100
#49gitbutlerGit client with stacked and parallel branches, as a desktop GUI and CLI22.1k stars+205 (+0.9%) in 30 dayscustom license85 out of 100
#50openevolveEvolutionary coding agent that mutates programs with LLMs against your scoring function7.9k starsApache-2.085 out of 100