Turn Your Code into a Queryable Knowledge Graph

AI coding assistant that maps your entire project into a knowledge graph you can query instead of grepping through files. Understand complex codebases in seconds.

91.9k
Stars
8,953
Forks
313
Contributors
Graphify Interactive Graph

Powerful Features for Code Understanding

Everything you need to understand and navigate complex codebases

🔍

Query Instead of Grep

Ask questions in natural language and get precise answers about your codebase without reading files.

📊

Interactive Graph Visualization

Explore your code as an interactive graph. Click nodes, filter, and search to understand relationships.

🔗

Cross-File Links

Automatically resolved imports, calls, and inheritance across your entire codebase via tree-sitter AST.

🏷️

Community Detection

Automatically identify clusters of related code and get meaningful labels for each subsystem.

🔒

Local & Private

Code parsing happens locally with no LLM calls. Your code never leaves your machine.

🌐

Multiple AI Assistants

Works with Claude Code, Cursor, Codex, Gemini CLI, GitHub Copilot, and 15+ more platforms.

How Graphify Works

Transform your codebase into a queryable knowledge graph in three simple steps

1

Install & Register

Install the CLI and register the skill with your AI assistant. Takes just 30 seconds.

2

Build the Graph

Run `/graphify .` to parse your code, docs, and media into a comprehensive knowledge graph.

3

Query & Explore

Use natural language queries, path tracing, and explanations to understand your codebase instantly.

See It in Action

Watch how Graphify helps you navigate complex codebases

Graphify Path Query Demo
$ graphify explain "APIRouter"
Node: APIRouter
Source: routing.py L2210
Community: 2
Degree: 47


Connections (47):
--> RequestValidationError [uses] [INFERRED]
--> Dependant [uses] [INFERRED]
--> .get() [method] [EXTRACTED]
<-- __init__.py [imports] [EXTRACTED]
...

Get Started in 30 Seconds

Install Graphify and transform how you understand code

# Install the CLI
uv tool install graphifyy # or pipx install graphifyy

# Register with your AI assistant
graphify install

# Build your knowledge graph
/graphify .

# You get three files:
# ├── graph.html Interactive visualization
# ├── GRAPH_REPORT.md Key insights & connections
# └── graph.json Full graph data

Join Our Community

Connect with thousands of developers using Graphify