Diagrams
that think.
An IR-first diagram platform. Prompt an architecture, watch agents compose it against a canonical schema, and ship the same document as SVG, PNG, or PDF — deterministic, versioned, and hashable.
Prompt.
Describe the system in natural language. A three-tier checkout, a Kafka fan-out, a rate-limiter with Redis. The agent drafts an initial topology from a canonical schema.
Draft.
Every node, edge, and group is a typed primitive. The agent iterates by issuing commands against the same IR you would. Undo and redo apply to its changes too.
Ship.
The same document compiles to SVG, PNG, and PDF — deterministic, byte-exact, hashable. Render in CI, ship to a CDN, or fork to a new variant.
Zod-validated.
Migration-safe.
The renderer never sees React Flow state. The database never sees a stringified SVG. Every artifact round-trips through the canonical IR — validated, versioned, hashable.
{
"document": {
"schemaVersion": "1.0",
"theme": "editorial-dark",
"nodes": [
{ "id": "gw", "type": "api_gateway" },
{ "id": "ord", "type": "service" },
{ "id": "pg", "type": "database" }
],
"edges": [
{ "source": "gw", "target": "ord" },
{ "source": "ord", "target": "pg" }
]
}
}Start compiling.
Open the editor, save your first canonical DiagramDocument, then call the same payload against the render API.