A fast step off the critical path is wasted effort
Tuning usually goes to whichever step is easiest to see, not the chain that's actually setting the total time. Reading the graph is what tells the two apart.
A multi-step agent run usually gets built as one script, even when it's really a set of nodes and edges. Graph Engineering does for a workflow's shape what Loop Engineering does for whether it should exist at all: sees every one, prices what the shape costs, optimises what's already there, and recommends the graph you should be running instead.
Share of each workflow's steps that don't actually have to wait
The same four moves Loop Engineering applies to whether a run is worth having, applied here to how it's wired.
A workflow's steps are usually documented as a sequence, but a sequence isn't a dependency — and nothing today tells you which edges are real and which are just the order it was written in.
What Tetriz does here
What state each step actually passed to the next, read from the run itself rather than the workflow's original design.
A step that never reads what came before it is free to move, whatever position it was written in.
| Workflow | Steps | Real edges |
|---|---|---|
| Spec-to-PR draft | 9 | 5 |
| Nightly test repair | 6 | 4 |
| Dependency upgrade | 5 | 5 |
A workflow shaped as one long chain pays for it twice — once in the wait between steps, once in whatever gets redundantly repeated — and nothing today prices the shape separately from the steps themselves.
What Tetriz does here
What the wiring is costing, apart from what any single step costs to run.
So a workflow that's expensive because of its shape is a different fix from one that's expensive because of its model tier.
| Workflow | Cost from shape | Share of total |
|---|---|---|
| Spec-to-PR draft | $1.42 | 31% |
| Nightly test repair | $0.18 | 14% |
| Dependency upgrade | $0.09 | 5% |
Every step held in a queue behind one it doesn't depend on is wall-clock time nobody chose to spend, and the chain that's actually setting the total is rarely the step anyone is looking at.
What Tetriz does here
Steps with no edge between them run at the same time instead of taking turns.
The one chain of edges that determines total run time — so effort goes to the chain that moves it, not the step that's easiest to see.
The bigger fix for a slow or expensive workflow is usually not a faster step, it's a different shape — fewer steps, a different split across nodes — and that redesign is the part nobody has time to sit down and propose.
What Tetriz does here
A restructure that fixed the same bottleneck in one workflow becomes a proposal for every workflow shaped like it.
An admin accepts or edits each proposed shape, same as any other recommendation Tetriz makes.
| Workflow | Current shape | Recommended |
|---|---|---|
| Spec-to-PR draft | 9 steps, 1 chain | 3 branches + 1 gate |
| Nightly test repair | 6 steps, 1 chain | 2 branches |
Three reasons the bigger win is in the graph, not in any one step of it.
Tuning usually goes to whichever step is easiest to see, not the chain that's actually setting the total time. Reading the graph is what tells the two apart.
A script written top to bottom looks sequential by default. The dependency is the exception, not the rule — most of what looks like an edge is just the order someone typed it in.
Speeding up the steps in a bad shape only ever gets you a faster version of the same bad shape. The larger gains sit in fewer steps or a different split across them — a redesign, not a tweak.
Loop Engineering is whether a run is worth having at all, and what it costs. Graph Engineering is the shape of one run once you've decided to have it — what that shape costs, which steps can happen at once, and what shape you should run instead.
Drawn from restructures that fixed the same bottleneck elsewhere in your org. A shape is only proposed if a workflow wired like it already improved somewhere you run it.
No. The graph and its cost are read from how a workflow already runs. A recommended restructure is a proposal, not a rebuild forced on you.
One step reading state that an earlier step actually produced. Everything else is sequencing left over from the order the workflow was written in — and that's usually the part free to move.
It names what could run in parallel, what that would save, and what shape would capture more of it. Whether to wire it up is your call.