Diagrams

AI Agent
Bounded access
Individual
Payment
Service
Subscription
Bank
Off-ramp
Merchant
Purchase

The bottleneck in software was never typing the code. It was holding the whole system in your head: seeing it at once, how one small change ripples downstream, where its blast radius ends, and what shares its fate with what.

Agents do the code. The human in the loop thinks in systems.

Thinking before code

A diagram is where I do that thinking. It lets me ask "what if" before the code exists, instead of "why" after it breaks. Most of the value is spent before a single line is written.

Tools I reach for

I sketch every system in Mermaid.js, where a few lines of text become a clean diagram that lives in the repo and ages with the code. When the diagram is the interface itself, a node editor, a workflow builder, anything graph-shaped, I build it in React Flow.

The same shape, everywhere

One picture keeps earning its place across problems that look nothing alike in code. A durable execution that has to survive a crash and pick up where it left off. A state machine deciding what an order is allowed to do next. An AI workflow branching on whatever a model just returned. As diagrams they collapse into the same handful of nodes and edges, and once I can see them I can reason about them. The diagram is the mental model I develop against, not something I make afterwards to look organised.

How can I help

  • Technical diagrams
  • System architecture
  • Data visualization
  • Documentation