AI diagram generator

AI infrastructure diagram generator.

Where things run, what can reach what, and which boundaries the traffic crosses on the way.

Download for macOS
v0.1.33 · .dmg · Apple Silicon & Intel
Signed & notarized by Apple · opens without a Gatekeeper warning
sha256 698955a0187bc039f4c74f5d05a9f10fbb27376a45788a0a241d1326b73873c7
Download for Windows instead
$curl -fsSL https://lucidtrain.com/install.sh | sh

Infrastructure or architecture

An architecture diagram shows logical components and their relationships; an infrastructure diagram shows where those run and how they are connected physically or virtually. Networks, availability zones, clusters and environment boundaries belong here and clutter the other one. Keeping them separate is what stops either becoming unreadable.

How Lucid Train draws one

Describe what you want, or point it at a repository. The agent emits a semantic graph of nodes and edges with no coordinates, and the ELK layout engine computes positions and orthogonal routing. That separation is the reason the output cannot come back with boxes overlapping or arrows crossing through cards, which is the characteristic failure when a language model is asked to place things on a canvas itself. It also means editing is editing the graph: change a component and the layout re-solves rather than drifting out of alignment.

Boundaries are the content

The valuable lines on an infrastructure diagram are the boundaries: public to private, region to region, environment to environment, your network to a third party's. Each one is a place where latency, cost or a security control applies, and a diagram that draws them is answering questions a component diagram cannot.

Read from infrastructure as code

Terraform, CloudFormation, Bicep and Kubernetes manifests all describe this precisely, and none of them require account access to read. That makes an infrastructure diagram cheap to regenerate, which is the only way one stays accurate: hand-drawn infrastructure diagrams are stale within a quarter without exception.

Local, offline, your models

It runs as a desktop application. Against a local Ollama model the whole thing works offline with no API key and no telemetry, which is the practical difference from every browser-based diagram tool: your architecture never leaves the machine.

What an infrastructure diagram carries

ElementWhy it is there
VPC or virtual networkThe outer boundary
Subnets, public and privateWhat is reachable from outside
Availability zones or regionsFailure domains
Compute instances, clusters, nodesWhere workloads run
Load balancersEntry points and their scope
Storage and volumesWhat persists and where
Security groups and firewall rulesWhat can reach what
VPN, peering, private linksConnections to other networks
Environment boundaryThe dev, staging and production split

Try it

shell
$ Read the Terraform here and draw the infrastructure: networks and subnets, what is public, the compute and storage, and every boundary crossing.
FAQ

Questions

How is this different from a network diagram?

A network diagram is about addressing, routing and topology in detail. An infrastructure diagram is broader and shallower: where things run and roughly how they connect. If you need subnet CIDRs and route tables, you want the network diagram.

Does it need cloud access?

No, it reads files.

Can it show several environments at once?

Yes, as sections, and it is worth doing occasionally: putting staging and production side by side is the fastest way to find the differences nobody intended.

Does it draw security groups?

As annotations rather than as a full connectivity matrix. Drawing every rule as an edge produces something unreadable, and the rules are better reviewed as code.

Related