LLM-FIRST ARCHITECTURE DIAGRAMSOPEN SOURCE / v0.3.1

A little opinionated.
A lot clearer.

Architecture diagrams as code for AI coding agents. Let an LLM write reviewable source, then refine the result on your own machine.

npm install -g create-dumb-diagrams
Node.js 24+ No account neededQuick start ↗
my-system / zsh
CAPTURED FROM THE CLI · EXAMPLE PATH

Create a project, then open it with your coding agent to draft a .dgm file.

Your cloud. Your call.

  • AWS
  • Azure
  • Google Cloud
  • Cloud agnostic
01 / FROM REQUEST TO DIAGRAM

Describe the system.
See how it becomes a diagram.

Write a normal technical request. The agent interprets the architecture, produces reviewable .dgm code, and Dumb Diagrams renders the result.

A visitor resolves the site through DNS and loads it from a CDN backed by the bucket that stores the website files.

HUMAN PROMPT ENGINE INTERPRETATION .DGM CODE RESULT
TRY THIS WITH YOUR AGENT
Create a simple AWS static website delivery diagram. Show a website visitor, DNS, a content delivery service, and the bucket that stores the website files.
RESULT
Full size ↗
A visitor resolves the site through DNS and loads it from a CDN backed by the bucket that stores the website files.
AWS static website delivery
A visitor resolves the site through DNS and loads it from a CDN backed by the bucket that stores the website files.
Turn a plain-English request into a clear, reviewable diagram. Follow the architecture brief, inspect the final .dgm source, then open it in Studio to refine and ship it.
02 / LESS GUESSWORK, MORE ENGINE

Describe the architecture.
Let the engine place it.

Give the model the architecture rather than a canvas full of coordinates. The engine handles placement and connector routes, producing a repeatable first render that you can adjust.

Inside the engine
01 / DETERMINISTIC ROUTING

The same setup produces a repeatable render.

The document, engine and catalog versions, and saved view determine the output. Routes are scored for obstacles, crossings, bends, and distance, with A* search when simple paths are blocked. Dense cases can still need review; warnings flag where the result may need attention.

02 / YOUR FINAL SAY

You can still adjust the result.

Move a service, choose a port, or draw a manual route in Studio. Your positions and visual overrides stay in the .dgm file, so the next render preserves your decisions.

03 / PRIVATE BY DESIGN

Your diagrams. Yours alone.

Local Studio saves files on your device, and the browser editor keeps work in browser storage. We commit that Dumb Diagrams servers will never receive or store your diagrams, including in the planned in-browser Studio. Read the privacy details.

04 / LLM-FIRST, TOKEN-CONSCIOUS

Use tokens for the architecture.

Ask an agent to write compact source instead of issuing repeated shape-by-shape MCP tool calls. Letting the engine handle layout can reduce token use and make lighter models practical. Savings depend on the model, context, and workflow.

03 / PRACTICAL QUESTIONS

What to expect.

A few things to know before you start.

Why use an AI agent to create architecture diagrams?

Describe your system in ordinary language and let a coding agent draft its readable .dgm source. Dumb Diagrams validates the file and handles layout and routing, so the agent can focus on your architecture instead of placing every box and arrow by hand. Review the changes in Git, then refine the result in Studio. You can still write the source yourself, and no AI model is built in. See how the workflow works.

Do I need a coding agent?

Yes, in practice. We recommend using a coding agent. You can write .dgm by hand, but an agent is the practical way to create and revise diagrams. Use any capable model, including open-source models; most of our testing so far uses lower-cost frontier models from the GPT and Claude families. Run dumbdiagrams init where you want the project, then give the agent the generated AGENTS.md and .dumbdiagrams/ instructions. Refine the result in Studio.

Where do my diagrams live, and are they sent anywhere?

Your diagrams stay on your device. Local Studio opens and saves portable .dgm files on your machine; the standalone editor keeps work in browser storage until you download it. We commit that Dumb Diagrams servers will never receive or store your diagrams. The same promise applies to the planned in-browser Studio: diagram processing stays on your device. If you choose to share diagram context with an outside coding agent, that provider’s own settings and terms apply. Read about Studio. See our privacy commitment.

Can I use it for clouds other than AWS?

Yes. AWS was the starting point, and the catalog now includes Azure, Google Cloud, and cloud-agnostic assets too. Support for those may be less polished than the AWS workflow. If something you need for your provider is missing, contributions are welcome: see CONTRIBUTING.md.

How is this different from a whiteboard?

You describe the services, boundaries, and connections, and Dumb Diagrams lays them out for you. You can then refine the result. The engine applies layout, icon alignment, and routing rules to turn that source into a diagram. Complex layouts and crowded routes can still need review. An agent may give you a different draft each time; rendering the same .dgm source is repeatable when you use matching engine and catalog versions and keep the saved layout the same. The layout rules mostly follow AWS architecture guidance, with a few design choices of our own. It’s built for architecture diagrams, so it won’t cover general illustration, track your live infrastructure, or give you a hosted workspace for editing together.

Is it free and open source?

Yes. Dumb Diagrams is released under AGPL-3.0-only. The provider icons come with their own terms; see the project license and icon notices. We want to build responsible, privacy-respecting software, and welcome contributions to the code, documentation, tests, and issue discussions. Find out how to contribute.

START WITH ONE DIAGRAM

Put the architecture
on the page.

Create your first diagram