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)Features //
Docs //
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.
Each picture is the engine drawing that kind.
29 kinds shown
Your agent names the parts. The engine places, routes and sizes everything.
How a diagram starts (opens in a new tab)Every picture carries a summary and an outline, so an agent can check what it drew.
Editing existing diagrams (opens in a new tab)convert_mermaid turns a Mermaid diagram into Plotwork source, with hints to improve it.
Migrating from Mermaid (opens in a new tab)Your agent calls draw_diagram. Nothing is drawn until the source is valid.
draw_diagramRequest{ "source":"flow \"Checkout\" direction=downnode 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
Answers for platform and security teams.
Add the MCP server to any MCP client and ask for a diagram.