29 diagram kinds, one language

A diagram language built for AI agents: your agent writes a few lines, Plotwork draws the picture.

The source of a checkout flow is typed in a code window: a storefront, a checkout API, an orders database and payments. Beside it the engine draws the picture part by part.

Every picture is drawn by the engine from its source.

A few lines, never coordinates

Your agent names the parts. The engine places, routes and sizes everything.

How a diagram starts (opens in a new tab)

Your agent reads it back

Every picture carries a summary and an outline, so an agent can check what it drew.

Editing existing diagrams (opens in a new tab)

Move from Mermaid without a rewrite

convert_mermaid turns a Mermaid diagram into Plotwork source, with hints to improve it.

Migrating from Mermaid (opens in a new tab)

One call draws any kind

Your agent calls draw_diagram. Nothing is drawn until the source is valid.

Errors as data
Every mistake comes back with its code, line, column and a hint.
Nothing stored
Source is worked on in memory and not kept unless published.
Hosted or local
Hosted with an API key or sign-in, or local with neither.
Connect an agent over MCP (opens in a new tab)
MCPdraw_diagram
Request{ "source":  "flow \"Checkout\" direction=down   node web client \"Storefront\"   node api service \"Checkout API\"   web -> api : \"places order\"   api -> db : \"writes\"" }Response{ "valid": false, "errors": [{  "code": "E131", "line": 5, "column": 8,  "message": "Unknown node \"db\"",  "hint": "Declare it first with: node db service \"Label\"" }] }

Works withClaude CodeCursorVS CodeCodexWindsurfGemini CLIand any MCP client

What a review will ask

Answers for platform and security teams.

Input
  • Plain text, up to 50,000 characters a diagram
Output
  • SVG for light and dark, with a summary as alternative text
Identity
  • Single sign-on with OpenID Connect
  • Single sign-on with SAML
  • SCIM provisioning of members and groups
Audit
  • Audit log export
  • Audit events and drift sent to Datadog, Dynatrace, Splunk, Microsoft Sentinel or a webhook
Data
  • Diagram source is not stored unless you publish it
Deployment
  • Hosted, or self-hosted with no outbound request

Connect your agent to Plotwork

Add the MCP server to any MCP client and ask for a diagram.