Code-Graph-RAGMonorepo knowledge graph for AI code queries
PotpieCodebase context graph for AI coding agents
Code-Graph-RAG vs Potpie
How Code-Graph-RAG and Potpie compare on popularity, activity, license and platforms: two open-source AI Assisted Coding projects, both alternatives to Sourcegraph.
At a glance
- Potpie has more GitHub stars (5.8k vs 5.5k).
- Code-Graph-RAG was updated more recently (last commit today, Potpie 1 month ago).
- Code-Graph-RAG uses MIT; Potpie uses Apache-2.0 (both permissive).
Side by side
| Code-Graph-RAG | Potpie | |
|---|---|---|
| GitHub stars | ★ 5,464 | ★ 5,811 |
| Forks | 739 | 698 |
| Last commit | today | 1 month ago |
| Latest version | v0.7.180 | v2.0.1 |
| Repository started | June 2025 | August 2024 |
| License | MIT · permissive | Apache-2.0 · permissive |
| Self-hosted | Desktop/CLI app | Unknown |
| Platforms | CLI, Linux, macOS, Windows | CLI, Web |
| Main language | Python | Python |
| Alternative to | Sourcegraph | Sourcegraph |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.
Code-Graph-RAG
Code-Graph-RAG indexes multi-language repositories into a queryable graph and answers natural-language questions with grounded retrieval. It supports edits, dead-code detection, tracing, and MCP access.
Key features
- Multi-language Tree-sitter indexing
- Natural-language graph queries
- AST-based code edits
- Dead code detection
- Dynamic call tracing
- MCP server integration
Potpie
Potpie indexes repositories and SDLC artifacts into a living context graph so CLI-connected coding agents can answer, plan, debug, and implement with project-specific knowledge.
Key features
- Context graph indexing
- CLI setup wizard
- GitHub and issue tracker links
- Agent harness skill install
- Local graph web UI
- Search and resolve commands