graphifyy under the Apache-2.0 license.
Without a map, coding agents rediscover how a codebase fits together by re-reading files. Open-source Graphify parses the code once, records every function, class, import, and call as a node or an edge, and lets the agent ask the graph instead: what calls this, how two parts connect, and what a change could break. Edges it can’t bind to exactly one definition are marked AMBIGUOUS instead of guessed.
Use open-source Graphify when:
- Your code can’t leave your machine, or you want to run everything offline.
- You want the graph as files (
graph.json,graph.html,GRAPH_REPORT.md) that you can commit, diff, and export. - You want to script or extend the pipeline yourself.
Where is Graphify on GitHub?
Open-source Graphify is on GitHub at Graphify-Labs/graphify. The package is published on PyPI asgraphifyy under the Apache-2.0 license.
How it works
1
Detect
graphify/detect.py walks the folder, honours .gitignore and .graphifyignore, and sorts files into code, documents, papers, images, and video.2
Extract
Code is parsed locally with tree-sitter grammars, so the structural graph is deterministic and needs no API key. Documents and media can optionally go through an LLM for semantic extraction.
3
Resolve
Calls, imports, and inheritance are bound across files by per-language resolvers. Edges that can’t be bound to exactly one definition are marked
AMBIGUOUS instead of guessed.4
Cluster and report
Leiden community detection groups related nodes. Graphify then writes the graph, an interactive HTML view, and a Markdown report of hubs, communities, and suggested questions.
EXTRACTED (read from the source), INFERRED (derived by a resolver or an LLM), or AMBIGUOUS (several possible targets). See How Graphify works for the full pipeline.
What you get
Three ways to use it
Graphify CLI and Graphify
Both build the same kind of graph. The difference is who runs it.Is the package graphify or graphifyy?
Is the package graphify or graphifyy?
The PyPI package is
graphifyy, with two y’s. The command it installs is graphify, plus graphify-mcp for the MCP server.Does Graphify CLI need an LLM?
Does Graphify CLI need an LLM?
No, not for code. Code extraction, resolution, clustering, and queries all run locally. An LLM is only used for documents, papers, images, video transcripts, and community names. Add
--code-only to skip it entirely.Does it use embeddings or a vector database?
Does it use embeddings or a vector database?
No. Queries traverse the graph (breadth-first or depth-first) from nodes that match your question, then trim the result to a token budget.
Which Python versions are supported?
Which Python versions are supported?
Python 3.11.5 or later.
What’s next
Quickstart
Install the skill and map a repository from your agent.
MCP server quickstart
Serve the graph to any MCP client over stdio or HTTP.
Start free with Graphify
We build and host the graph for you, keep it current on every push, and add Memory, the Wiki and pull request reviews on top.