Disclosure: This post contains affiliate links for Miro. If you sign up through them, I may earn a commission at no extra cost to you. All opinions are my own.

The problem: your agent writes code faster than you can picture it
AI coding agents made building software cheap. They did not make understanding it cheap.
Here is my version of that problem. I sell guest posts and link insertions on EntreResource, and Claude handles most of the order process for me: answering rate questions, checking payment, chasing missing order details, publishing, and sending the client their live link. It was built one rule at a time. It works, but the whole thing lived in instructions and automations, not in a picture I could look at.
Ask an agent to “explain the architecture” and you get 600 words of prose. What you need is a picture you can point at, argue with, and hand back.
That is the gap Miro’s new Mermaid feature fills. You get a diagram generated from the code, on a board where you can edit it, and your agent can read your changes back.
What Structured Diagrams with Mermaid is
Mermaid is a plain-text syntax for diagrams. You write A --> B and get two boxes and an arrow. Because it is text, it lives in your repo, shows up in pull requests, and is something every AI model already writes fluently.
Structured Diagrams with Mermaid brings that into Miro. Paste Mermaid onto a board, or have an agent send it, and Miro draws it with real Miro shapes instead of a flat image.
Three things make it different from a Mermaid previewer:
- The code stays attached. Mermaid remains the source of truth. Edit the picture and the code updates. Edit the code and the picture redraws.
- Agents can work on it. Through Miro’s MCP server, Claude Code, Cursor, Codex, or any MCP client can create a diagram, read it, and update it in place.
- It sits on a shared board. Teammates comment and co-edit in real time, next to the requirements, research, and roadmap the diagram is about.
It uses standard Mermaid, not a cut-down dialect, so code you already have should paste straight in. It replaces Miro’s old Marketplace Mermaid app, which could not round-trip back to code.
What works today, by diagram type
Flowcharts are the only type you can edit by clicking. Everything else you change in code or through an agent. That is the single most important thing to know before you start.
| Diagram type | How Miro draws it | Edit by clicking | Edit in code or by agent |
|---|---|---|---|
| Flowchart | Native Miro shapes | Yes | Yes |
| Sequence | Native Miro shapes | Not yet | Yes |
| Class | Native Miro shapes | Not yet | Yes |
| ER (database schema) | Native Miro shapes | Not yet | Yes |
| Others, such as Gantt and C4 | Mermaid image (SVG) | No | Yes |
Three ways to get a diagram onto a board
1. Paste it. Copy Mermaid from your editor, a README, or an AI chat and paste it onto a Miro board. It renders as a diagram. This is the 10-second test I would start with.
2. Use the Diagram format. In the Creation bar choose Formats and Flows, then Diagram, and place it on the board. Open it in focus mode, choose Build with code, then pick a Mermaid template or paste your own into the code panel.
3. Let your agent do it. Connect Claude Code or Cursor to the Miro MCP server, then ask for a diagram and include the board URL. On Enterprise plans an admin has to enable Miro MCP first.
To edit, open the diagram in focus mode. That is where the code panel and click-editing live. You can add or remove shapes and connectors and flip the layout between top-down and left-to-right.
The round trip with an AI agent
The loop is: the agent generates the diagram from your code, you fix it on the board, and the agent reads your fixes back.
- Generate. In Claude Code, with Miro MCP connected: “Read this repo and create a Mermaid flowchart of the order flow on this board: [board URL].”
- Review. Open the board. Mark what is wrong, color what is risky, and let anyone on the team leave comments on the diagram.
- Refine. For flowcharts, fix it by clicking in focus mode. For anything else, edit the code panel or tell the agent what to change.
- Hand it back. Copy the link to the diagram, paste it into your agent, and ask for the change. The diagram redraws in place, and the agent can add a legend showing what it added, removed, or changed.
- Commit it. Have the agent read the final diagram and write the Mermaid into your README or docs folder, so the documentation ships with the code.
E[Send receipt and confirmation].Here is what a small order flow looks like in Mermaid. Paste this onto a board to try it:
flowchart TD
A[Customer submits order form] --> B{Payment succeeded?}
B -- No --> C[Show error and keep draft]
B -- Yes --> D[Create order record]
D --> E[Send receipt and confirmation]
D --> F{Content attached?}
F -- Yes --> G[Queue for editorial review]
F -- No --> H[Request content from customer]
H --> G
G --> I[Publish and send live URL]
What happened when I tried it on my own business
I connected Miro to Claude and asked it to diagram my guest post order flow on a board. One note on setup: I ran this from the Claude app with Miro connected, not from Claude Code in a terminal, so I was mapping a business process and not a repository. About three minutes later I had a 16-step flowchart, from an email landing in my partners inbox to the client getting their live link.
It got the main path right: the rates reply, payment before anything gets published, reminder emails when order details are missing, the split between guest posts and link insertions, and the points where it stops and texts me for a decision.
What it missed was a whole class of client. A couple of my agency clients run their own publisher portals and pay on their end, so they skip the upfront payment step entirely. I spotted the gap as soon as I looked at the board, asked for the fix in one sentence, and about a minute later the diagram had a new branch. It splits those orders off at the top and rejoins the main path at the live URL check.
Here is that flow as Mermaid, with a few labels generalized for public viewing:
flowchart TD
n1([Email arrives at partners inbox])
p1{Client with their own portal?}
p2[No upfront payment, they pay on their end]
p3[Get the article from their portal]
p4[Publish as written]
n2{Asking for rates?}
n3[Send standard rates email]
n4{Paid up front?}
n5[Reply that payment comes first]
n6{Order details received?}
n7[Reminder emails at 2h and 24h]
n8{Guest post or link insertion?}
n9{Content passes checks?}
n10[Publish the guest post]
n11{Target post editable?}
n12[Insert link in existing post]
n13[Text me for a decision]
n14[Verify live URL]
n15[Mark order complete in dashboard]
p5{Portal order?}
p6([Submit live URL in their portal])
n16([Email client the live link])
n1 --> p1
p1 -->|Yes| p2
p2 --> p3
p3 --> p4
p4 --> n14
p1 -->|No| n2
n2 -->|Yes| n3
n2 -->|No| n4
n3 --> n4
n4 -->|No| n5
n5 --> n4
n4 -->|Yes| n6
n6 -->|No| n7
n7 --> n6
n6 -->|Yes| n8
n8 -->|Guest post| n9
n8 -->|Link insertion| n11
n9 -->|Yes| n10
n9 -->|No| n13
n11 -->|Yes| n12
n11 -->|No| n13
n10 --> n14
n12 --> n14
n14 --> n15
n15 --> p5
p5 -->|Yes| p6
p5 -->|No| n16
Where this earns its keep
- Onboarding to code you did not write. That includes code your agent wrote last month. Ask for a flowchart of one feature before you touch it.
- Database schemas. An ER diagram generated from your actual tables beats one drawn from memory.
- API and webhook flows. Sequence diagrams show who calls whom, in what order. This is where most integration bugs hide.
- Reviewing a plan before the agent builds it. Have the agent diagram what it intends to do. Fixing a box is cheaper than reverting a commit.
- Explaining a system to non-engineers. A product manager or client can comment on a board without reading a line of Mermaid.
The one I tested was a variation on the last two: mapping a business process and checking it by eye. The first diagram of my order flow left out the clients who use their own portals, and I caught that at a glance on the board. A gap is easier to see in a picture than in a page of rules.
The limits, stated plainly
This is a beta, and these are the constraints that will actually affect you:
- Click-editing is flowcharts only. Sequence, class, and ER diagrams are native shapes you change through code or an agent.
- Editing happens in focus mode. There is no split view on the canvas with code on one side.
- No drag-and-drop for shapes yet. You add shapes with the plus button on an existing shape, or by copy and paste.
- Layout is automatic. Miro arranges the diagram. You cannot nudge one box somewhere Mermaid would not put it.
- Free-form is a one-way door. You can convert a diagram to free-form to move things anywhere, but it stops syncing with the code and agents can no longer edit it. Use the “create copy” option so the Mermaid version survives.
- Visual edits are limited to what Mermaid can express. If the syntax cannot describe it, you cannot draw it.
None of these are dealbreakers for the agent workflow, because the agent edits code and code has no such limits. They matter most if you planned to hand-draw everything.
My one real gripe is bigger than Miro. Models like Claude are getting close to drawing diagrams like this on their own, with no third-party tool in the middle. What Miro still has is specialization and an installed base. A lot of people already know the layout and have built whole ecosystems of boards inside it, so putting the diagram where the rest of the work already lives is a nice connection.
What it costs, and whether to bother
Nothing extra. It is available to all users on the Free, Starter, Business, Enterprise, and Education plans, and Miro says it will stay free on every plan after the beta ends.
My take: if you only ever need to preview a Mermaid snippet by yourself, a previewer is enough. The reason to use Miro is the loop. Your agent draws the system, people who do not read code correct it, and the correction flows back into the codebase as text.
For me the test was simple: would it show me something I had missed? It did, on the first diagram. That is the workflow I would recommend trying: have the agent draw the thing, look for what is wrong, and tell it to fix it.
The fastest way to judge it is to paste the flowchart above onto a board and open focus mode. It takes about a minute.
Try Mermaid diagrams in Miro or read Miro’s step-by-step setup guide.

