This is the most advanced piece of your AI's knowledge — the graph, one of the three parts of the brain you just saw. You've already given your AI memory, you're already saving to GitHub, you already know when to use a RAG and what a brain is. But there's a point where similarity search falls short: when your project gets SO big that the AI no longer understands how everything connects — what depends on what, what breaks if you touch one piece. That's when it starts reading files blind, burning extra tokens, repeating mistakes, and breaking things that used to work. Graphify solves that at the root: it turns your entire project —code, database schemas, documents, papers, even images and videos— into a knowledge graph that the AI queries with a single question. It's open-source, free, and today it's a "skill" you install with one command. And heads up: it's not just for programmers — here you'll see several scenarios for different kinds of users.
The need shows up when your project stops being "a pile of things to search" and becomes "a network of connected things." Signs: you ask the AI for a change and it breaks something at the opposite end of the project; you ask it "what happens if I change this?" and it doesn't know; or you have so much information that neither memory nor RAG gives the AI the full picture of how everything fits together.
All three give your AI knowledge, but they solve different things. This is the difference almost nobody explains clearly:
Graphify is a free, open-source tool that takes an entire folder —your code, your database schemas, your documents, papers, even images and videos— and turns it into a knowledge graph: a map where every thing is a point and every connection is a line. Instead of reading 50 files blind, the AI asks the map "how does X connect to Y?" and gets the answer in a single query.
Today Graphify works as a "skill" (just like the ones in the 5 office skills resource): you install it once and your AI assistant —Claude Code, Cursor, Codex, Gemini CLI and more— uses it whenever it needs to. And it's multi-modal: it doesn't just understand code, it also handles SQL, scripts, documents, papers and more.
Graphify — turns any folder (code, SQL schemas, scripts, documents, papers, images, videos) into a queryable knowledge graph, for AI assistants (Claude Code, Codex, Cursor, Gemini CLI and more). Open-source, maintained by Safi Shamsi.
Graphify isn't just for people who code. Anyone with a pile of connected information benefits. Here are four different scenarios:
Graphify installs with a single command. You need Python on your computer. (Heads up: the package is called graphifyy, with a double "y".)
pip install graphifyy && graphify install
pipx install graphifyy (it handles everything on its own). On Windows, if graphify isn't recognized after installing, pipx install graphifyy also fixes it. And the easiest route: if you use a coding agent, hand it the prompt below and let it deal with the installation.Once installed, Graphify is a skill you invoke with /graphify. You build the graph of your folder once, and then you ask it questions in natural language. Here's what a real query looks like:
/graphify query "what connects the login to the users database?"
If you'd rather not touch the terminal, let your coding agent do it all. Copy it and paste it in:
I want to use Graphify (https://github.com/safishamsi/graphify) to turn this project into a knowledge graph you can query. Guide me and do it yourself where you can, in plain language. 1. Check whether it's installed; if not, install it (pip install graphifyy && graphify install, or pipx install graphifyy if pip fails). 2. Build the graph over the root of this project for me. 3. Explain what it generated (the visual graph, the queryable file and the report) in simple words. 4. Run a test query to confirm it works, for example how two key parts of my project connect. 5. If there's anything only I can do, tell me with exact steps.
This is the one that really saves you headaches. Before asking the AI for an important change, have it query the graph first:
Before making this change: [describe the change you want], query the Graphify knowledge graph to understand the impact. 1. Ask the graph which parts of the project depend on what I'm about to touch. 2. Tell me what could break and what to check after the change. 3. Only then propose the change, taking those connections into account. 4. When we're done and it works, remind me to save the progress to GitHub. The idea is to not break anything that's connected underneath.
Join 4,200+ builders. No credit card. Build your first app with AI in minutes.