Graphify turned two of our own codebases into a searchable map in 10 seconds or less, with no AI model, no API key and the network switched off. It correctly listed every caller of a function and found an import loop we hadn't noticed. It could not tell us where a value ends up when it passes through data and component props. We'll use it in the first hour of a takeover, not instead of reading the code.
This is week 2 of our AI-tools test series: each week we run one tool on our own code and publish what it actually did. Week 1 was an AI-look checker on a sample landing page.
What is Graphify?
Graphify is an open-source tool (Apache-2.0) that reads a codebase and builds a graph of it: files, functions, components and types as nodes, and imports and calls as links. You then ask it questions such as "what calls this function?" or "how does this page reach that file?" instead of opening files one by one. It's built for AI coding assistants, so they can find their way around a large project without reading everything.
For code, it parses files with tree-sitter on your machine. Docs, PDFs and images are handled differently: those go to an AI model for a summary, which is why we only used code mode.
Why we tested it
Much of our work is taking over apps someone else built, often a codebase with no documentation and a developer who has gone quiet. The first question is always the same: what talks to what? A tool that answers that in minutes instead of a day would change how we quote and plan a takeover. It would also be useless to us if it sent client code to a third party.
How we ran it
- Official package only. The PyPI package is
graphifyy, with two y's. Othergraphifypackages are not from the project. We installed version 0.9.113 into a throwaway Python environment, without registering it in any coding assistant. - Code only.
graphify extract . --code-onlybuilds the graph from source code alone, thengraphify cluster-only .writes a short report. - Network blocked. We ran every command inside a macOS sandbox that denies all network access. Every run finished normally, so the code map needs no connection. We checked the "nothing leaves your machine" claim rather than trusting it.
- Our own code. This website (a Next.js app, 79 code files) and an internal agent system we're building (47 code files). No client code.
What did it get right?
| This website | Internal agent system | |
|---|---|---|
| Time to build the map and report | 10 seconds | 6 seconds |
| Map size | 350 nodes, 1,018 links | 543 nodes, 1,430 links |
| AI tokens used | 0 | 0 |
- Who calls what: accurate. We asked what uses our booking-link button. It listed all six places, with file and line number: the navbar, page hero, closing banner, home page, contact page and blog page. A manual search found the same six. Nothing missing, nothing invented.
- How things connect: useful. Asked for the route from the service page to the function that builds the booking URL, it gave a three-step chain, each step read directly from the code and labelled as such.
- The core pieces: right. On the agent system it named the four most connected parts, which is exactly how the code is built.
- A real finding. It reported that two core files import from each other. We checked by hand: each file uses functions from the other at runtime. Loops like this are the hidden coupling that makes a change in one place break something in another, and they're cheap to fix once you know.
- A sensible default. It skipped a package-manager config file as possibly sensitive, without being asked.
What did it miss?
- Where a value ends up. We asked which page shows our free triage booking link. It returned 151 loosely related nodes, cut short, without the answer. The link travels through a data file and a component prop into one page, and the map records imports and calls, not values passed through objects and props. A text search plus reading two files answered it in a minute.
- Its group names. It clusters the code into groups and names each after one member, so the group holding our booking helper is called "about/page.tsx". The groups are right; the labels aren't helpful.
- Everything that isn't code. In code-only mode it ignores docs, styles and images, which were 166 of the website's 259 files. That's the price of keeping it offline.
Will we use it?
Yes, in the first hour of a takeover. Run offline on a new codebase, it shows the core pieces, the import loops and who calls what before anyone opens a file, which makes the first day of reading faster and the estimate better. It doesn't replace reading the code, and it can't answer "where does this value go?". We'll only run it on client code in code-only mode, offline, and after the client agrees.
If you've inherited an app you can't get your head around, see how we handle app rescue and product engineering, or start with our first-48-hours takeover checklist.
