Agents create, edit, validate, and render diagrams as durable state - not throwaway output. Structured operations, immutable revisions, 40+ validation rules, and multiple render targets through the Diagram Scene Protocol (DSP).
zindex architecture
{
"schemaVersion": "0.1",
"scene": {
"id": "payments-arch",
"units": "px"
},
"elements": [
{
"id": "api",
"kind": "node",
"nodeType": "service",
"shape": "roundedRect",
"label": "API Gateway"
},
{
"id": "queue",
"kind": "node",
"nodeType": "queue",
"label": "Job Queue"
},
{
"id": "e1",
"kind": "edge",
"from": { "elementId": "api" },
"to": { "elementId": "queue" },
"router": "orthogonal"
}
]
} Agents declare nodes, edges, and relationships. Layout is computed, not hand-placed.
A Sugiyama-style hierarchical layout pipeline figures out positions, edge routes, and label placement automatically. Agents describe the graph; the engine handles the geometry.
Stable IDs enable incremental updates. Add a node, move an edge - without regenerating the entire diagram.
One canonical scene, multiple outputs: SVG and PNG with 4 render themes (clean, dark, blueprint, sketch).
Same input, same output. Validate → normalize → layout → render. Every step is inspectable.
01
Patch-based updates instead of full regeneration. Agents can modify individual elements while preserving the rest.
02
Consistent output across runs. Failures are explainable. The pipeline is inspectable at every step.
03
Revision history, diffs, stable IDs. Diagrams are versioned artifacts, not ephemeral outputs.
04
Shared infrastructure for multiple agents collaborating on diagrams. Not just a single-shot generator.
05
Purpose-built for architecture, BPMN workflows, ER diagrams, sequence diagrams, org charts, and network topology - not generic vector shapes.
06
17 operation types. 40+ semantic validation rules. Auth, rate limiting, PostgreSQL storage.
agents / LLMs decide what should change
zindex apply changes through DSP protocol
renderers display the result
Zindex is to diagrams what a database is to application state.
The agent-native runtime for creating, updating, validating, and rendering diagrams as durable state.