Introduction

Lineout is a collaborative editor for cloud architecture and UML diagrams, with AWS cost estimates and a plain JSON format you can generate, version and render from code.

Start here#

To…Read
Draw your first diagramQuick start
Connect Claude Code or claude.aiConnecting Claude
Connect another AI assistantMCP server
Write or generate diagrams as JSONDiagram format
Render diagrams in CI or for a READMECommand line
Convert a Mermaid diagramMermaid diagrams
Estimate what an architecture costs on AWSCost estimates
Keep a page in sync with a file in a repoSynced pages

Diagrams as code#

A page is a list of nodes and the arrows between them:

{
  "nodes": [
    {
      "id": "api",
      "icon": "Amazon-API-Gateway",
      "position": { "x": 0, "y": 0 },
      "label": "API"
    },
    {
      "id": "fn",
      "icon": "AWS-Lambda",
      "position": { "x": 192, "y": 0 },
      "label": "Orders handler"
    }
  ],
  "arrows": [
    {
      "id": "a1",
      "start": { "nodeId": "api", "side": "right", "offset": 0 },
      "end": { "nodeId": "fn", "side": "left", "offset": 0 }
    }
  ]
}

Paste it onto a canvas, drop it on a project to import it, or render it locally:

uv tool install "lineout-cli[jpg]"
lineout arch.json -o arch.svg

All topics#