Picture an engineer who joins a team on Monday and is asked to find out how a failed payment ends up as an alert in the on-call channel. The repository has four thousand files. There is a README, an architecture diagram that was accurate two years ago, and an AI coding assistant. She types the question into the assistant. It starts searching: a grep for payment, a grep for retry, a few dozen files opened, some of them irrelevant, and a long answer assembled from whatever fitted into the context window. The answer is plausible. She cannot tell whether it is complete.
Now picture the same repository after someone has run one command that produced a map of it: every function, class, config block and document as a node, every call, import and reference as an edge, and the nodes grouped into the subsystems they naturally form. The assistant is told to consult the map first. Instead of reading forty files, it asks for the path between the payment handler and the alerting module and gets back a short chain of hops, each one tagged with whether it was read directly from source or inferred.
That second picture is the idea behind Graphify, an open-source tool that appeared in April 2026 and became one of the fastest-growing developer projects of the year. This guide takes you from zero to hero with it. It starts with the plain idea of a knowledge graph, moves through installing and using Graphify, then real examples and hands-on labs, then the market story, the companies adopting it, the alternatives and the honest limits, and ends with a mastery path that takes you to leading a team rollout with data.
It is written for working engineers, including DevOps and platform engineers, who use AI assistants on real repositories and want a clear-eyed view rather than a launch announcement.
A note on method. Everything below comes from the project’s own repository and documentation, independent reviews, news coverage, adopter blog posts and comparison pages, all listed in the References. I could not install and run Graphify in the environment this guide was written in, so I have not produced any output myself. The worked examples are published by the project, by independent reviewers or by adopters, and each is attributed. Every diagram that shows made-up names says illustrative in its caption. Numbers move quickly for this project (it ships almost daily), so every figure carries its date.
Contents
Level 0: Zero (understand)
- Part 1: What Graphify is, and which Graphify you mean
- Part 2: The problem it attacks
- Part 3: How it works
Level 1: Beginner (do)
- Part 4: Install and build your first graph
- Part 5: Query the graph and wire it into your assistant
- Part 6: Keep the graph fresh
Level 2: Practitioner (apply)
Level 3: Pro (judge)
- Part 9: How it emerged in the market
- Part 10: Who is adopting it
- Part 11: Alternatives and how to choose
- Part 12: Honest limits and what the evidence says
Level 4: Hero (lead)
- Part 13: The mastery path and a team rollout
- Part 14: When to use it and when to skip it
- Part 15: What to watch next
Reference
Level 0: Zero (understand)
The goal of this level is simple: by the end of Part 3 you should be able to explain to a colleague what Graphify does, why it exists and what happens inside it, without having installed anything.
Part 1: What Graphify is, and which Graphify you mean
Graphify is a Python command-line tool that doubles as an agent skill: a package of instructions that an AI coding assistant can invoke. You point it at a folder, and it produces a knowledge graph of what is inside: code, documentation, SQL schemas, configuration files, PDFs, images, and even audio and video. You then query the graph instead of making the assistant read files one by one.
In practice the experience is a single command typed inside your assistant, /graphify ., after a one-time install. The assistant runs the build, and three files appear in a folder called graphify-out/.
| File | What it is |
|---|---|
graph.html |
An interactive picture of the graph. Click nodes, filter, search. |
GRAPH_REPORT.md |
A readable summary: the most connected concepts, surprising connections, and suggested questions. |
graph.json |
The full graph as data. This is what gets queried later, without re-reading your files. |
A knowledge graph in one paragraph
A graph stores things (nodes) and the typed relationships between them (edges). For code, the nodes are functions, classes, modules, tables and config blocks. The edges are calls, imports, inherits and similar. The value is that a relationship is stored, not guessed each time. “What calls this?” and “how does A reach B?” become lookups and walks along edges rather than searches through text.
Real world. Think of a city’s metro map. It leaves out almost everything about the city, but it tells you exactly how to get from one station to another and where to change lines. A code knowledge graph is a metro map of your system: it ignores most of the text and keeps the connections.
Which Graphify?
The name is crowded, and that matters when you search for it or install it.
- The tool in this guide is the open-source project from Graphify Labs, a company in Y Combinator’s Summer 2026 batch. Its package on PyPI is
graphifyywith two y’s; the command you type isgraphify. The project says othergraphify*packages on PyPI are not affiliated with it. - There is a separate, unrelated product at getgraphify.com that turns a Notion workspace into an interactive graph of notes.
- There is also a fan-made website, graaph.org, which says on its own page that it is independently operated and not affiliated with Graphify Labs.
If your goal is to give an AI coding assistant a map of a repository, you want the first one. Install only from the official repository’s instructions and treat look-alike packages with the same suspicion you would any typosquat.
Part 2: The problem it attacks
Anyone who has used an AI assistant on a large repository has met the same three frustrations.
1. Every session starts from zero. The assistant has no persistent understanding of your project’s structure. Each new task begins with exploration: list the directory, grep for keywords, open files, follow imports. That exploration costs tokens (and so money and time) before any real work happens, and the assistant’s picture of the system is rebuilt every time.
2. Search finds text, not structure. Grep is excellent at finding a string. It is poor at answering “which services eventually depend on this table?” because that answer is a chain of relationships spread across many files. Each hop is another search, and the assistant has to decide when it has seen enough.
3. Similarity is not a dependency. Vector search, the retrieval method behind most “chat with your docs” systems, finds passages that read like your question. That is different from finding code that calls the function you are asking about. A comment that mentions retries and a function that performs retries can look equally similar to the query.
A graph addresses the second and third problems directly and the first indirectly. The structure is computed once and stored, so the assistant can ask a targeted question, then read only the few files the answer points to.
| Approach | Good at | Weak at |
|---|---|---|
| grep / file search | Exact strings, names, error messages | Relationships; multi-hop questions |
| Vector RAG | “Passages that sound like this” | Proving that A depends on B |
| Code knowledge graph (Graphify) | Paths, dependencies, subsystem maps, cross-layer questions | Can be stale, incomplete or noisy; still needs checking against source |
| Architecture docs | Intent and decisions | Drift; they age the day they are written |
An independent buyer review of Graphify makes the sensible recommendation that follows: use the graph to narrow the question, verify against the source, and keep tests and human decisions as the final acceptance layer. The graph is a map, not the territory.
Real world. An SRE on call at 3 AM does not want “ten pages that mention the payments service”. She wants “these four services sit between the alert and the database, and this is the one that changed yesterday”. That is a graph question.
Part 3: How it works
The project describes a multi-stage pipeline. The stage names below follow its documentation and independent write-ups; internals change between releases, so treat this as the shape rather than a specification.
Stage 1: Detect
Graphify walks the folder, works out what each file is, and skips what you have told it to skip through .gitignore and .graphifyignore.
Stage 2: Extract, and why code is handled differently from documents
This is the design decision that shapes the tool’s cost and privacy profile.
Code is parsed with tree-sitter, a parser library that turns source into an abstract syntax tree (AST). That step is deterministic: the same file always yields the same structure, it needs no language model, and it runs on your machine. The project states that a code-only corpus needs no API key.
Everything else (Markdown design notes, PDFs, screenshots, video) goes through a semantic pass using your assistant’s model or an API backend you configure, such as a local Ollama model, an OpenAI-compatible server, AWS Bedrock or Azure OpenAI. Audio and video are transcribed locally first. So “local-first” is accurate for code and only partly accurate for a mixed folder. The independent review is blunt on this point: documents, PDFs and images do leave the machine for whatever provider you use, and you should map exactly which providers receive what.
Stage 3: Resolve edges, with honesty labels
Cross-file relationships are resolved: calls, imports, inherits, mixes_in and others. Every relationship carries a provenance label.
- EXTRACTED: the relationship is explicit in the source (a function call you can point to).
- INFERRED: the tool resolved it by reasoning (for example a call through an interface).
- AMBIGUOUS: the tool could not decide, and says so.
A graph that quietly mixes certain and guessed edges is dangerous. One that labels them lets you decide how much to trust each path.
Stage 4: Cluster into communities, and find god nodes
Graphify runs the Leiden algorithm, a community-detection method, to split the graph into clusters of densely connected nodes. In a healthy codebase these resemble subsystems: routing, authentication, billing. The report also highlights god nodes, nodes with unusually many connections.
Real world. In most services the god node is something like a shared configuration object, a base model class or an event bus. It is the best place to start reading a new codebase, and it is also where accidental coupling hides: if everything depends on it, every change to it is risky.
Stage 5 and 6: Report, then query
The build writes the three files from Part 1. After that, you query graph.json through the CLI or an MCP server (Part 5) instead of re-reading files.
What else it indexes
Beyond ordinary source files, the repository documents support for SQL schemas, Terraform and other configuration, live PostgreSQL schema introspection, Rust Cargo workspaces, Google Workspace exports, and rationale comments (for example # WHY: notes and ADR or RFC citations, which become nodes linked to the code they explain). Language coverage has grown with each release; third-party pages from different months quote anywhere from about 19 to about 40 languages, which mostly reflects when each page was written. Check the current repository for the list that matters to you.
Level 0 checkpoint. You can now explain: a graph stores relationships; Graphify builds one from code locally and from documents with a model; every edge says how sure it is; communities and god nodes summarise the structure.
Level 1: Beginner (do)
This level is hands-on. By the end you will have a graph of a real repository, know the three query commands, have your assistant actually using the graph, and know how to keep it fresh.
Part 4: Install and build your first graph
The commands below come from the project’s README as of October 2026. Platforms and flags change often, so treat the README as the authority.
Step 1: install the CLI. The project recommends uv, with pipx or pip as alternatives. Remember the double y.
uv tool install graphifyy # or: pipx install graphifyy
If graphify: command not found appears, the tool’s bin directory (usually ~/.local/bin) is probably not on your PATH. On Windows with WSL2, install inside the Linux environment so the tool and your repository share one filesystem.
Step 2: register the skill with your assistant.
graphify install # Claude Code (auto-detected)
graphify install --platform codex # other assistants use --platform
graphify install --project # install into this repository only
The README lists more than twenty assistants, including Claude Code, Cursor, Codex, Gemini CLI, GitHub Copilot, Aider, Kiro, Trae and Google Antigravity, each with its own install command and its own always-on instruction file (for example AGENTS.md or a Cursor rules file).
Step 3: build the graph. Open your assistant in the repository and type:
/graphify .
Codex uses $graphify . instead of the slash. In PowerShell a leading slash is treated as a path, so use graphify .. For a code-only corpus you can run extraction headless, which is also how you would run it in CI:
graphify extract . --code-only
Step 4: read before you query. Open GRAPH_REPORT.md, then explore graph.html. Read the god nodes and the suggested questions and ask yourself whether they match your mental model of the system. If they do not, that gap is the first useful thing the tool has told you.
Real world. A good first repository is one you know well but did not write alone, for example a service your team has owned for a year. You will recognise wrong answers, and you will probably learn one or two things about coupling you had not noticed.
Part 5: Query the graph and wire it into your assistant
Three commands cover most day-to-day use:
graphify query "how does a failed payment reach alerting?" # scoped subgraph for a question
graphify path PaymentHandler AlertDispatcher # shortest path between two concepts
graphify explain "PaymentHandler" # node details: source, community, connections
explainreturns where a node lives, which community it belongs to and how many connections it has.pathreturns the chain of hops between two nodes.queryreturns a scoped slice of the graph relevant to a plain-language question, so the assistant reads a small subgraph rather than the repository.
The project’s own showcase does exactly this on the open-source FastAPI codebase: a path query between FastAPI and ModelField traced hop by hop, and an explain call on APIRouter that reports its source location in routing.py, its community and a degree of 47 (Part 7 has more).
Making the assistant actually use it
Building a graph helps nothing if the assistant ignores it. Graphify has three levels of insistence, and a fourth arrangement for teams.
- Nudge (default). The install writes guidance into the assistant’s instruction file telling it a graph exists and to read
GRAPH_REPORT.mdbefore searching raw files. For Claude Code it also adds a pre-tool hook. - Strict mode (Claude Code).
graphify install --project --strictblocks the first raw source read of a session and redirects it to the graph, then reverts to the nudge. The README says it fires at most once per session so it cannot trap the assistant. - MCP server. The graph can be exposed over the Model Context Protocol, so agents call it as a tool instead of reading text:
python -m graphify.serve graphify-out/graph.json
The documented tools include query_graph, get_node, get_neighbors and shortest_path, with list_prs, get_pr_impact and triage_prs for pull-request work. The default transport is stdio on your machine. An HTTP transport lets a team share one server; the README advises an API key and a deliberately chosen host when exposing it. Treat that server as an internal service: an API key alone is thin protection for something that holds a map of your systems.
Beyond one repository. graphify merge-graphs combines graphs, a global command manages a cross-project graph, and the graphify prs dashboard uses communities to triage pull requests and flag conflicts. These matter once you move from “my repository” to “our twelve services”.
Part 6: Keep the graph fresh
A stale graph is worse than none: the assistant navigates last month’s map with confidence. Every way the code changes needs a matching way for the graph to catch up.
graphify hook install # post-commit and post-checkout hooks (AST-only rebuild) + merge driver for graph.json
graphify update . # incremental rebuild of changed files
The hooks rebuild the code portion on commit at no API cost. The README notes that after a git pull you still need to run graphify update . yourself (or add a git alias). In CI, graphify extract . --code-only produces a fresh graph you can publish as a build artifact or commit.
Committing graphify-out/ speeds up team adoption because everyone gets the same map, but it is a governance decision: it can produce large diffs, and the files are derived from your code, so protect them like source.
Level 1 checkpoint. You can install, build, read the report, run query, path and explain, make the assistant use the graph, and keep it fresh.
Level 2: Practitioner (apply)
Now the question changes from “how do I use it?” to “what does it actually do on real code, and how do I test it on mine?”
Part 7: Real examples
These examples come from published material. None is output I generated.
Example 1: The FastAPI demo (project README)
The README’s showcase is Graphify run on the open-source FastAPI codebase. It shows a path query between FastAPI and ModelField with the answer traced hop by hop across the graph, and an explain call on APIRouter that reports its source (routing.py, around line 2210), its community and a degree of 47, meaning 47 connections. The point is the shape of the interaction: a question about structure answered in a few lines, with every claim attached to a location you can open.
Example 2: A mid-sized TypeScript app (independent review)
Developer Kevin Kinnett tried Graphify on one of his own projects: a personal finance dashboard with a React front end, a Node/Express back end and PostgreSQL. The build took a few minutes and produced 369 nodes, 505 edges and 57 communities. He found it useful for spotting central files, natural clusters and possible duplication. He also reported problems: his GRAPH_REPORT.md came out blank, which undercut the workflow because the assistant is directed to read it; the hook added friction without adding orientation; and over a week of real bug-fixing he never felt pulled back to the graph, because grep and imports were cheaper at that size. His verdict: glad he tried it, not ready to rely on it, and likely more useful on larger codebases, for onboarding and for architecture review.
This may be the most useful example in the guide, because it is honest about the break-even point. A graph pays for itself when exploration is expensive, not when you already know where everything is.
Example 3: Incidents as a graph (Rootly AI Labs)
The most interesting real-world use is not about code at all. Rootly, an incident-management company, built and published a Graphify plugin that pulls incidents, alerts, teams and the service catalog from the Rootly API and builds an explorable graph.
pip install "graphifyy[rootly]"
graphify rootly --days 30
Rootly’s post lists the kinds of questions it is meant to help with: what happened the last time a service went down, what this quarter’s SEV1s have in common, the likely blast radius when an alert fires, and which services fail together. The post presents these as possibilities, not measured results.
Real world. For a DevOps or SRE team this is the clearest preview of where the idea goes next: the same graph thinking applied to operational data, so that a postmortem can start from “these are the five incidents connected to this service” rather than a search through tickets.
Example 4: ERPNext cross-tool questions (project benchmark)
On a small set of six questions about the ERPNext codebase that cross tool and layer boundaries, the project reports key-fact coverage rising from 70.8% with a grep-and-read baseline to 82.0% with Graphify. The harness was the project’s own, and six questions is a very small sample. Read it as “the direction is plausible”, not as a productivity result. Part 12 charts this alongside the other published numbers.
Example 5: A measured two-week pilot (independent buyer review)
A services firm that reviewed Graphify in October 2026 proposed a pilot design worth borrowing whatever tool you evaluate. Part 13 turns it into a day-by-day plan. The review covers only the open-source CLI, and its author sells AI enablement services, so read it with that in mind.
Example 6 (illustrative): an infrastructure repository
This one is a scenario, not a run. Imagine a platform repository with Terraform modules, Helm charts, a Jenkinsfile, Kubernetes manifests, runbooks in Markdown and a database schema. The questions engineers ask of such a repository are relationship questions:
- “Which Helm releases consume the output of the VPC module?”
- “If I rename this secret, what breaks, and which runbook mentions it?”
- “Which pipeline stage deploys the service that writes to this table?”
Because the project documents support for Terraform, configuration, SQL schemas and Markdown, these are the questions a graph is designed to make cheap. Whether it answers your repository well depends on how complete parsing is for your particular tools, which is exactly what the labs below test.
Part 8: Hands-on labs
Each lab is short, produces evidence, and maps to a rung of the mastery ladder in Part 13. Keep a simple notes file with your results; it becomes the data for your pilot later.
Lab 1: The ten-question calibration
- Pick a repository you know well.
- Write ten questions you can answer from memory, at least half of them multi-hop (“how does X reach Y?”).
- Build the graph and answer each with
query,pathorexplain. - Score each answer: right, partly right, wrong. For every wrong answer, note whether the path used INFERRED or AMBIGUOUS edges.
What you learn: how far you can trust the graph for your languages and frameworks.
Lab 2: The clean corpus
- Write a
.graphifyignorethat excludes generated code, vendored dependencies, build output, lock files, fixtures and anything sensitive. - Rebuild. Compare node count and the god-node list before and after.
- Decide, folder by folder, whether documents should go to a model at all. Rebuild once with
--code-only.
What you learn: a small, relevant graph beats a big noisy one, and you now know exactly what leaves your machine.
Lab 3: With and without
- Pick two real tasks from your backlog of similar difficulty.
- Do one with the graph wired in (nudge or strict mode) and one without.
- Record time to a correct answer, files opened and, if your assistant shows it, tokens used.
What you learn: which kinds of task benefit, so you stop paying the overhead on those that do not.
Lab 4: The stale-graph trap
- Build a graph, then rename a function used in three places and commit without hooks.
- Ask a
pathquestion that crosses the renamed function. Note the answer. - Install hooks, make another change, and ask again.
What you learn: what staleness looks like in practice, and why freshness is an operational responsibility, not a nice-to-have.
Lab 5: The MCP round trip
- Start
python -m graphify.serve graphify-out/graph.jsonlocally. - Connect your assistant to it and ask a question that needs
shortest_path. - Compare the assistant’s answer with your own
graphify pathoutput.
What you learn: how an agent consumes the graph as tools, the step before any team-shared server.
Level 3: Pro (judge)
A professional does not just use a tool; they can place it in its market, judge the evidence, and argue for or against it. This level is about judgment.
Part 9: How it emerged in the market
A timeline
| When (2026) | What happened |
|---|---|
| Early April | Andrej Karpathy describes a workflow in which an LLM compiles a folder of raw research into an interlinked wiki, and says he wants a tool that can query across such material without reading every file. Sources date his posts between 1 and 4 April. |
| Within days | Graphify appears on GitHub, written by Safi Shamsi, reportedly over a single weekend. One write-up says it passed 22,000 stars in under ten days. |
| June | Version 0.8.x ships almost daily. A mid-June analysis counts 68.9K stars, 98 contributors and 136 releases. |
| July | About 88K stars by mid-July. Graphify Labs joins Y Combinator’s Summer 2026 batch. Enterprise features enter early access. |
| September | InfoQ covers the project as a way to give coding agents structured context. |
| October | An independent review examines release 0.9.94. The repository page shows roughly 124K stars. The founder’s YC profile claims 116K+ stars and 6.5M+ PyPI downloads in about five months. |
Star counts are an attention signal, not a quality signal, and the figures come from different sources on different dates. The direction is not in doubt: this was one of the fastest-rising developer tools of 2026.
Why it spread so fast
- A pain every AI-assisted developer had. Re-exploring a repository each session shows up directly in the token bill.
- A famous prompt. Karpathy’s description of using LLMs on knowledge, not just code, gave the idea a credible sponsor at the moment it was needed.
- Zero-friction distribution. It installs as a skill into the assistant you already use, across more than twenty of them, instead of asking you to adopt a new tool.
- Local-first code parsing. Deterministic, no API key, nothing leaving the machine for code. That removed the first objection most security teams raise.
The business behind the open-source tool
Graphify Labs offers the engine free and is building a commercial layer. Its public material describes an enterprise product that runs inside the customer’s perimeter (on-premise or self-hosted in the customer’s own cloud) and adds:
- Graph-aware pull-request review, including changes that span several repositories.
- Merge-gate verification: a formal-verification step that tries to prove a change behaves like the old code, or hands back the input that breaks it as a runnable test.
- Team-shared graphs, an engineering digest report, and connectors for Jira, Linear and Sentry.
These are described as early access, alongside a “Teams” plan with startup discounts and a free six-month offer for YC companies. The founder’s stated thesis, reported by IBTimes UK, is that when AI writes code and another AI reviews it, the bar for critical software has to move from review to verification.
Part 10: Who is adopting it
“Who uses it?” is the question every evaluator asks, and the honest answer depends on how strong the evidence is. The figure sorts what is public into four bands.
Band 1: public, first-hand evidence. These organisations published something themselves.
- Rootly AI Labs (incident management and SRE) built and open-sourced the Rootly plugin for Graphify described in Part 7, so teams can explore incidents, alerts, teams and services as a graph.
- HKUST KnowComp (a university knowledge-computing research lab) published DeepRefine, an agent skill and accompanying paper that refines Graphify knowledge graphs.
- MemVerge: engineer Steve Scargall wrote on his blog about pairing Graphify with MemMachine and reported a 79× token reduction on a codebase of about 496K tokens, with no vector database. That is one engineer’s measurement, not a company-wide rollout.
Band 2: listed by Graphify, with no detail. Graphify’s customers page lists Superagent (YC W24, a security layer for AI-native developers) but does not describe what it does with Graphify.
Band 3: claimed, not independently verified. In an IBTimes UK profile, the founder said engineers at Shopify, Datadog and JP Morgan have used the open-source project in production. I found no statement from those companies, so treat this as the founder’s claim.
Band 4: individuals and teams writing about it. Graphify maintains an “in the wild” list of more than forty articles. Among them: a React Native tech lead on how the graph stopped his team burning through Cursor’s context window; a mobile development team using persistent graphs with Codex to find files and resume work across sessions; and an AWS Builder Center walkthrough reporting 40 to 70% fewer tokens with Kiro. Several authors in the same list are openly sceptical, including one piece examining the “70× cheaper” claims and another describing how hard it was to measure the impact at all.
How to read this. Graphify is widely tried and has a handful of public, first-hand builders. Large-company production use is claimed but not shown. That is normal for a seven-month-old open-source tool, and it is why a pilot with your own data matters more than any logo.
Real world. If you are presenting Graphify to your manager, quote band 1 as fact, band 3 as “the founder says”, and do not stack them together into “used by Shopify and Datadog”. The difference matters when someone checks.
Part 11: Alternatives and how to choose
Graphify sits in a space that filled up within months. Several rivals published their own “N× fewer tokens” benchmarks in the same window, which is the first reason to be wary of comparing headline multiples. The useful way to think about alternatives is by approach first, then by tool.
Family 1: Code knowledge graphs, local, served over MCP
The closest rivals. They build a graph of code only, on your machine, and serve it to agents as tools.
- CodeGraph (MIT). A TypeScript engine with an embedded graph store that indexes the repository and stays in sync as code changes. Comparison pages call it the closest code-only swap for Graphify. Still pre-1.0 according to one comparison.
- code-review-graph (MIT). A Python MCP server that builds a tree-sitter graph aimed at change impact and review, with incremental updates. Its README claims large per-question token reductions; an independent harness run by a competing vendor measured no significant difference in long sessions, which illustrates how much these numbers depend on the test.
- GitNexus (PolyForm Noncommercial). A zero-server engine that builds the graph locally through a CLI or in the browser, with MCP tools and Claude Code hooks. Commercial use needs a paid tier, which is the main thing to check before adopting it at work.
- tokensave (MIT). A Rust MCP server with a semantic code graph, described in its README as covering 50+ languages and 80+ MCP tools.
- codebase-memory-mcp. A code-graph MCP server backed by an arXiv preprint.
Family 2: Language-server navigation
- Serena (MIT with GPL components). Instead of building its own graph, it drives real language servers (LSP) and exposes their symbol-level understanding as MCP tools. That gives compiler-grade precision for finding references and doing safe project-wide renames in large typed codebases. It does not do community clustering or multimodal input.
Family 3: Context packing
- Repomix (MIT). Flattens a repository into one LLM-ready file, with tree-sitter compression. Simple and fast for small repositories, but the model must infer relationships from flat text, which reintroduces the problem graphs solve.
Family 4: Local vector or hybrid search
- grepai (MIT). Natural-language code search with local embeddings. Good for “find code like this”, unable to trace call chains or blast radius.
- claude-context by Zilliz (MIT). Hybrid keyword and vector search over code; needs an embedding API key and a Milvus or Zilliz endpoint.
Family 5: Enterprise platforms
- Sourcegraph (commercial). Organisation-wide code search across every repository, cloud or self-hosted, with its AI products moving toward code-graph-plus-agentic retrieval. Pays off at organisational scale.
- Greptile (YC-backed, commercial). Builds a graph of the whole repository to power AI pull-request reviews. Indexes on its own servers by default unless self-hosted.
- Augment Context Engine (commercial). A cross-repository context layer offered as an MCP server, with a hosted index.
Family 6: Document graphs and agent memory
- Microsoft GraphRAG. The 2024 research lineage that builds knowledge graphs over document collections using an LLM. Graphify’s document pass inherits some of its cost and non-determinism; its code pass does not.
- mem0 and supermemory. Agent-memory systems; they appear as comparison points in Graphify’s own benchmarks (Part 12).
Where Graphify sits
Most rivals focus on code alone. Graphify’s distinctive bet is a single local graph for code and the documents, schemas and media around it. Each rival wins on one axis instead: CodeGraph on staying in sync, Serena on precision, Repomix on simplicity, Sourcegraph on organisational scale, Greptile on review.
How to choose
| If your bottleneck is… | Start with |
|---|---|
| Orientation in a large or unfamiliar repo, including docs and schemas | Graphify |
| A code-only graph that stays in sync automatically | CodeGraph or code-review-graph |
| Precise refactoring and references in a big typed codebase | Serena |
| Getting a small repo into one prompt quickly | Repomix |
| “Find code that looks like this” | grepai or claude-context |
| Search and context across hundreds of repos and engineers | Sourcegraph or Augment |
| AI review on every pull request | Greptile, or Graphify’s enterprise review layer |
These tools are not mutually exclusive. One published setup combines Graphify with code-review-graph to keep context current, and pairing a graph with plain grep is the normal, sensible default.
Part 12: Honest limits and what the evidence says
A responsible guide to a hot tool spends real time here.
The published benchmarks
Read the chart carefully:
- On retrieval (did the right item appear in the top ten?), Graphify’s reported recall@10 of 0.497 is far ahead of the two memory systems it compares against.
- On end-to-end answer accuracy, Graphify reports 45.3%, behind supermemory’s 49.7% in the same table.
- On the one code-intelligence test, coverage rises from 70.8% to 82.0%, on six questions.
- On a 50-question LongMemEval-S subset, the project reports 76%, tied with dense RAG.
All of these come from the project’s own harness. The independent reviewer’s conclusion fits: they justify a pilot, not an ROI forecast.
The 70Ă— claims
You will see claims of 70× and 71.5× fewer tokens per query. Some are individual measurements by users on their own codebases (Graphify’s customers page cites one at 71.5× and the MemVerge engineer’s at 79×). I found no common corpus or method behind the headline figure, and independent coverage describes token reductions as substantial without giving a number. Token savings on exploration are real when exploration was the expensive part; they say nothing about whether the work got done faster or better.
Experience is mixed, and size-dependent
Reviewers agree the idea is promising for orientation, onboarding and architecture review. Others find grep or brute-force navigation still faster on mid-sized repositories. One analysis puts the practical threshold at roughly 500+ files.
Other limits worth knowing
- Staleness. If the graph lags the code, the assistant is confidently navigating a map of last month. Hooks and
updatereduce this; they do not remove the need to verify. One practitioner’s write-up is titled “The Graph That Lied for Three Weeks”. - Partial parsing and noise. Inferred and ambiguous edges exist for a reason. Parser coverage varies by language and construct; the project’s release notes show continuing work on Terraform attributes, Rust generics, Kotlin receivers and C++ calls.
- “Local-first” has an asterisk. Code parsing is local; documents, PDFs and images go to a model provider unless you use
--code-only. - Security surface. A shared HTTP MCP server holds a structural map of your systems. One walkthrough showed a database connection string with credentials inline; use your secrets manager instead.
- Licensing and pace. Package metadata declares Apache-2.0 while the repository also carries an MIT licence file, and third-party pages say different things. Confirm the terms with your own legal process. The project releases very frequently; pin versions and retest upgrades.
- It does not replace thinking. A graph tells you what connects to what. It does not tell you why, whether it is correct, or whether it should change.
Level 4: Hero (lead)
A hero is not the person who knows the most commands. It is the person who can tell their team, with data, where the tool helps, where it does not, and how to run it safely.
Part 13: The mastery path and a team rollout
The five rungs
L1: Build and read (week 1). Install, build a graph on a repository you know, and read the report critically. Do Lab 1. Skill gained: calibrated trust for your stack.
L2: Control the corpus (weeks 2 to 3). Write a .graphifyignore, decide which folders may go to a model, and try --code-only. Do Lab 2. Skill gained: a clean, small, relevant graph and a clear data map.
L3: Make the assistant use it (weeks 3 to 4). Start with the nudge; move to strict mode only if you see the assistant ignoring the graph. Learn the difference between reading the report (orientation) and calling the graph (targeted questions). Do Lab 3. Skill gained: knowing which tasks benefit.
L4: Fresh and shared (month 2). Install hooks, add graphify update . to your post-pull routine, add a CI job, and decide whether graphify-out/ is a build artifact or committed. Decide who owns the graph. Do Labs 4 and 5. Skill gained: running the graph as part of the engineering system.
L5: Pilot and decide (months 2 to 3). Run the pilot below and write the decision down. Skill gained: the hero skill: a defensible answer.
The two-week pilot
- Pick one costly workflow: onboarding, impact analysis or cross-layer change planning.
- Write about twenty real questions with known, source-backed answers, mixing easy and hard relationship questions.
- Record the baseline without the graph: time, correctness, files opened, tokens and reviewer effort.
- Pin and fence: pin the version, define excluded paths, and document which inputs go to which model.
- Run with the graph: same people, same questions, same measures.
- Decide against exit criteria written before you started. Scale only if accuracy and median completion time improve without security or maintenance regressions.
Rolling it out to a team
- Name an owner. The open question in the field is whether a shared graph is a service you maintain or an artifact you regenerate. Pick one deliberately and give it an owner.
- Standardise the install. Use
graphify install --projectso the instruction files live in the repository and every assistant gets the same guidance. - Automate freshness. Hooks for developers, a CI job for the main branch, a schedule for the semantic (document) rebuild.
- Protect the outputs.
graphify-out/and any MCP server are derived from your code; give them the same access controls. - Measure quarterly. Re-run a few pilot questions each quarter. If the numbers drift, find out whether the graph, the code or the team changed.
Habits that separate good users from frustrated ones
- Verify the last hop. Use the graph to find the file and line, then open the source before acting.
- Read edge labels. An answer built on EXTRACTED edges deserves more trust than one built on INFERRED edges.
- Re-run when structure changes, not only when lines change: new services, renamed modules, moved packages.
- Pair it with plain search. Grep for strings, the graph for relationships.
- Keep the report honest. A blank or oddly shaped
GRAPH_REPORT.mdis a build problem to fix, not something to work around.
A self-check
| I can… | Level |
|---|---|
| Explain the difference between grep, vector RAG and a graph | Zero |
| Explain EXTRACTED, INFERRED and AMBIGUOUS edges and act on them | Zero |
| Build a graph and read the report | Beginner |
Use query, path and explain and say what each returns |
Beginner |
| Keep the graph fresh with hooks or CI | Beginner |
Write a sensible .graphifyignore and state what leaves my machine |
Practitioner |
| Show with data which tasks benefit and which do not | Practitioner |
| Place Graphify among its alternatives and choose for a given bottleneck | Pro |
| Separate verified adopters from claims | Pro |
| Run a pilot, read the results fairly, and lead a rollout or a “no” | Hero |
Part 14: When to use it and when to skip it
| Situation | Verdict |
|---|---|
| Large monorepo, or several connected repositories | Pilot. This is where exploration is most expensive. |
| Frequent onboarding, takeovers, acquisitions or due diligence | Pilot. A map of an unfamiliar system is the core value. |
| Cross-layer change planning (code, schema, infrastructure, docs) | Pilot, especially with multimodal inputs. |
| Incident and operational data you want to explore structurally | Try the Rootly-style approach, if your platform has a plugin. |
| Small, familiar service with good documentation | Skip for now. Grep is cheaper; reviewers found the same. |
| You expect the graph to guarantee correctness | Do not deploy. It orients; it does not prove. |
| Regulated code with no approved semantic provider | Code-only pilot, or wait. |
Part 15: What to watch next
Four questions will decide whether this category matures or consolidates.
- Independent benchmarks. Whether third-party tests on real repositories replace first-party numbers and vendor-run comparisons.
- Built-in graphs. Whether assistants build equivalent graph features into their own indexing, which would narrow the case for a separate tool.
- Verification. Whether the enterprise layer proves that “verify, don’t just review” is a workable standard for AI-written code, or stays a niche for critical software.
- Beyond code. Whether the Rootly pattern spreads: graphs over incidents, tickets, runbooks and infrastructure, joined to the code graph.
For an engineer, the practical advice is the same whichever way these go: learn the idea (structure beats similarity for relationship questions), keep your evaluation honest, and treat any specific tool as replaceable.
Glossary
| Term | Meaning |
|---|---|
| Knowledge graph | A set of nodes (things) joined by typed edges (relationships), stored so it can be traversed. |
| Node | One item in the graph: a function, class, module, table, config block, document section or concept. |
| Edge | A relationship between two nodes, such as calls, imports, inherits or mixes_in. |
| AST (abstract syntax tree) | A tree describing the grammatical structure of source code, produced by a parser. |
| tree-sitter | The parser library Graphify uses to build ASTs locally for many languages. |
| EXTRACTED / INFERRED / AMBIGUOUS | Provenance labels on edges: read directly from source, resolved by reasoning, or undecided. |
| Community | A cluster of densely connected nodes found by the Leiden algorithm; usually resembles a subsystem. |
| God node | A node with unusually many connections; often a central abstraction or a coupling hotspot. |
| Degree | The number of connections a node has. |
| Skill | A packaged set of instructions an AI assistant can invoke, such as /graphify. |
| MCP (Model Context Protocol) | A standard way for agents to call external tools; Graphify can serve its graph this way. |
| RAG | Retrieval-augmented generation: fetching passages relevant to a question and giving them to a model. |
| GraphRAG | RAG over a knowledge graph, usually one built from documents by a language model. |
| Strict mode | A Claude Code setting that redirects the first raw file read of a session to the graph. |
.graphifyignore |
A file listing paths to leave out of the graph, in the style of .gitignore. |
| Merge driver | A git component that resolves merges of graph.json when branches change it. |
| Formal verification | In Graphify Labs’ enterprise product, a check that tries to prove a change behaves like the old code or produce a failing input. |
One-minute recap
| Question | Short answer |
|---|---|
| What is it? | An open-source CLI and assistant skill that turns code, docs and media into a queryable knowledge graph. |
| Who made it? | Safi Shamsi and Graphify Labs, a Y Combinator Summer 2026 company. |
| How does it work? | tree-sitter parses code locally; a model reads documents and media; edges are labelled extracted, inferred or ambiguous; Leiden clustering groups subsystems; output is HTML, Markdown and JSON. |
| How do I start? | uv tool install graphifyy, graphify install, then /graphify . in your assistant. Query with query, path, explain, or over MCP. |
| How do I keep it right? | graphify hook install, graphify update . after pulls, a CI job, and verify the last hop. |
| Why did it take off? | A real cost pain, a Karpathy-shaped idea at the right moment, install-as-a-skill across 20+ assistants, and local code parsing. |
| Who is adopting it? | Public builders include Rootly AI Labs and HKUST KnowComp; large-company production use is claimed by the founder, not shown. |
| What are the alternatives? | CodeGraph, code-review-graph, GitNexus, Serena, Repomix, grepai, Sourcegraph, Greptile, Augment, GraphRAG. Choose by bottleneck. |
| What is the evidence? | Promising but mostly first-party. Strong retrieval, middling answer accuracy, mixed daily-use reviews. |
| Who should try it? | Teams with large or many repositories and frequent onboarding, through a measured pilot. |
| Who should skip it? | Small, well-known services where grep already works. |
References and further reading
Facts and figures were checked against the sources below in October 2026. This project changes almost daily, so confirm versions, platform support and licence terms on the official pages before relying on them.
Official
- Graphify Labs, Graphify repository and README: install commands, outputs, CLI reference, MCP tools, benchmarks and privacy notes.
- Graphify Labs, GitHub organisation page: free versus enterprise feature split.
- Graphify, Customers: the public adopters list with evidence links.
- Graphify, In the wild: the list of independent articles and reviews.
- Y Combinator, Graphify Labs company page: founder, batch, enterprise description and the company’s own adoption figures.
Adopters and hands-on accounts
- Rootly, Turning your incident data into a knowledge graph (April 2026, updated July 2026) and the Rootly Graphify importer.
- HKUST KnowComp, DeepRefine skill.
- Steve Scargall, Graphify and MemMachine: 79Ă— token reduction, zero vector database (May 2026).
- Kevin Kinnett, Graphify Review: I Tried It on My Codebase With Claude Code.
- vikrantnegi on DEV Community, How Graphify stopped my team from burning through Cursor’s context window.
Independent reviews and coverage
- InfoQ, Graphify: Unifying Codebase Context to Streamline Agentic Software Engineering (September 2026).
- Wavect, Graphify Review 2026: Is a Codebase Knowledge Graph Worth It? (reviewed 22 October 2026). The author sells AI enablement services.
- Augment Code, Graphify Ships v0.8.41 (June 2026).
- andrew.ooo, Graphify review: 88K-star YC S26 code knowledge graph (July 2026).
- IBTimes UK, From AI-Written Code to Verifiable Software: Safi Shamsi’s Next Engineering Problem.
Context and alternatives
- Implicator, Karpathy’s LLM Wiki got 16 million views: the April 2026 pattern that preceded Graphify.
- Tokenade, Graphify alternatives: 6 tools compared (October 2026). Written by a competing vendor.
- Knolli, 10 Best Graphify Alternatives for AI Codebase Context in 2026 (June 2026). Written by a competing vendor.
- Towards AI, Beyond the 71x benchmark: knowledge graphs for coding agents compared (member-only).
- Microsoft Research, From Local to Global: A Graph RAG Approach to Query-Focused Summarization: the GraphRAG paper.
Not affiliated with the tool in this guide
- getgraphify.com (a Notion-to-graph product) and graaph.org (a fan-made site that says it is not affiliated with Graphify Labs).