Make

Write a few lines. Python, JSON or Mermaid.

1

Write it

Name the boxes and the lines between them. open-diagram places and draws them.

from open_diagram import Diagram, Panel

d = Diagram("How a search request is answered")
app = d.add(Panel("Web app", ["Search box", "Filters"]))
api = d.right_of(app, Panel("Search API", ["Checks access"]))
d.link(app, api)
d.save("search")
How a search request is answeredHow a search request is answered States shown: Live. Solid lines: data flows today. Blocks, left to right: - Web app: Search box; Filters - Search API: Checks access Lines: - Web app -> Search APIHow a search request is answeredLiveData flows todayWeb appSearch boxFiltersSearch APIChecks access
Plain-words description
How a search request is answered
States shown: Live. Solid lines: data flows today.

Blocks, left to right:
- Web app: Search box; Filters
- Search API: Checks access
Lines:
- Web app -> Search API
2

Your agent

Give your coding agent the tools to draw a diagram and check it.

MCP server

For Claude Code, Cursor and other apps that use MCP.

Skill

For Claude Code and Codex.

GitHub Action

Checks every diagram in a pull request.

- uses: lukendeasy/open-diagram@v0.6.0
  with:
    files: docs/diagrams/*.json
    mode: check
3

Try it

Click a box to rename it, drag it to move it, or edit the text. It all runs in your browser.