Why we are building it
It started with Mermaid diagrams
At work, keeping AI-written code from turning into slop meant drawing the architecture by hand all day and checking agent output against it. The code passed its tests, but it drifted from the design, a call here and a dependency there, until the diagram and the code described two different programs.
Files are the wrong unit
A codebase is a graph: functions call functions, handlers write to tables. When a person wrote every line, they carried that graph in their head. When an agent writes the lines, nobody does, and a diff only says which text changed, not what changed in the system.
What it is
HTTP entry points. Routes requests to the domain packages; no business logic lives here.
Sessions and identity: who is making this request, and are they allowed to.
Turns a cart into a paid order.
Payments, through Stripe.
Order storage and history.
What the code talks to outside itself: services and tables, found from the calls that reach them.
So we keep the graph, and check every change against it
Graphide reads a repository into a graph of what the code does: every function, what starts it, what it reads and writes, which services it calls. A pull request is a change to that graph, so its review can say what changed, which of your rules it broke and where it reaches. The same graph tells CI which tests a change can reach, so it runs those and gives the same verdict in a fraction of the wait.
Every fact says how we know it
A model’s guess is not a fact. Each fact is marked guessed, from the code, seen in tests, seen in production or broken, and a broken rule comes with a proof that replays. Where we cannot verify the code, we say so.
Where this is going
Within a few years a codebase will change too fast for anyone to understand by reading it. People will work from a model of it instead, with proof of what each change does. We are building that model and the checks that run on it.
Where we are
We sell two things today: Graphide CI, which runs your CI on our runners, and Graphide review, an evidence-backed check on every pull request. We work closely with every team using them. If your agents are waiting on CI, or the diff is where you lose the plot, write to us: hello@graphide.com.

