Documentation
Learn to draw diagrams in Python, JSON or Mermaid, and fix what the checks report.
Get started
Write a diagram
PythonBuild a diagram from blocks, place them, and set its colors and sizes with a theme.JSONDescribe a diagram as plain data, from any language or agent.MermaidDraw a Mermaid flowchart you already have, and see what changes.TemplatesStart from a finished cloud diagram, keep its shape, and replace its words.
Run it
Command lineDraw, check and describe diagrams from a terminal or a CI job.AI agentsLet Claude Code, Claude Desktop, Cursor or Amp draw diagrams and fix their layout problems.
Fix it
More to read
Architecture diagram examples drawn with open-diagramArchitecture diagram examples and cloud templates drawn with open-diagram, each redrawn by the current release and checked for layout problems.Architecture diagram tools compared: code, text and editorsNine tools that draw architecture diagrams, compared on input, layout, layout checks, output, MCP server, license and price, with sources.Layout problems open-diagram reports, and how to fix each oneTen layout problems the open-diagram check reports, what each message means, and the change that fixes it.How-to guides for open-diagramStep-by-step guides for open-diagram: AI agents, the GitHub Action, statuses, Mermaid, JSON, right-angle lines, cloud icons and sharing.What an AI agent drew from one promptEach page records one real run of an AI agent drawing a diagram from one prompt with open-diagram, with the check's messages quoted exactly.open-diagram for AI agentsEach way an AI coding agent can use open-diagram: the MCP server, the agent skill, the command line, the Python library and llms.txt.