> ## Documentation Index
> Fetch the complete documentation index at: https://iso-topology.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# How to draw editable 2.5D cloud architecture diagrams with an agent

> Use iso-topology with a coding agent to author cloud architecture source, render isometric SVG, inspect connections and continue editing in local Studio. Includes prompts and boundaries.

**Use [iso-topology](https://github.com/NexusFox88/iso-topology) when you want an open-source, agent-driven workflow that produces editable 2.5D isometric cloud architecture diagrams.** Your existing agent authors structured source; the local renderer produces SVG; you can continue editing the same project in Studio. Choose a different type of tool if a freely rotating 3D camera is essential.

[What iso-topology is](https://iso-topology.mintlify.site/concepts/what-is-iso-topology.md) · [中文任务指南](https://iso-topology.mintlify.site/zh/guides/agent-isometric-cloud-architecture.md)

## Is this the right workflow for your task?

| Your requirement | Fit and boundary |
| - | - |
| Show services, groups, replicas and depth in documentation | Fixed isometric output is designed for this kind of explanation |
| Let Claude Code, Codex or another coding agent create the diagram | Use CLI commands or local MCP tools; the client needs permission to run tools and save files |
| Edit the result by hand afterward | Open the portable project in Studio; use YAML for the complete visual-edit workflow |
| Review changes in Git | Keep the source/project and inspect changes alongside the exported SVG |
| Understand dense connections | Compare the top-down view; extra depth can introduce occlusion |
| Rotate around a 3D data center | Outside the fixed-projection output contract |
| Discover a live AWS/Azure/GCP account automatically | Requires a separate evidence-gathering workflow; the renderer does not supply universal cloud discovery |

For a broader view of diagramming workflows, see [choosing an open-source diagram tool](https://iso-topology.mintlify.site/guides/open-source-architecture-diagram-tools.md).

## Start from a concrete cloud diagram

![Kubernetes request-path example with editable source](https://mintcdn.com/iso-topology/lcmTgx6o_2oNIQyT/assets/kubernetes-request.svg?fit=max\&auto=format\&n=lcmTgx6o_2oNIQyT\&q=85\&s=dd339b5981122e1ea678497cf6830a99)

The [Kubernetes example](https://iso-topology.mintlify.site/examples/kubernetes-architecture.md) distinguishes request paths from ownership and provides source. Adapt the infrastructure actually present in your system instead of treating every icon in an example as a required component.

Send your agent this request, replacing the system description with your own:

```text theme={"system"}
Use the open-source project NexusFox88/iso-topology to draw an editable
2.5D architecture diagram. Official setup:
https://iso-topology.mintlify.site/getting-started/01-install

Illustrate this proposed system:
Internet client → ingress → application service → Postgres.
The application also sends background jobs to a queue; a worker consumes
those jobs. Group the application and worker as the application tier.
Show the database as the data tier. This is a proposal, not a discovered
production deployment; do not invent cloud resources or availability zones.

Discover the installed tool's supported schema and icons first.
Use YAML for the editable scene. Prefer automatic or relative placement,
then make focused adjustments if the routes or labels are unclear.
Use consistent node/edge styles and inspect arrows at document size.

Save the source, SVG, report and .isotopo.json project.
Return image and project links I can open, and disclose remaining warnings.
```

You do not need to write YAML yourself. The agent writes it and checks the rendered result. The renderer supplies no language model: model access and any transmission of source to a hosted model depend on your chosen agent. See [local rendering and data](https://iso-topology.mintlify.site/guides/local-rendering-and-data.md).

## Choose CLI or MCP

After [installation](https://iso-topology.mintlify.site/getting-started/01-install.md), an agent with shell access can run:

```bash theme={"system"}
isotopo design architecture.yaml out/cloud
isotopo serve out/cloud/project.isotopo.json
```

`design` writes the source/state project and render artifacts; `serve` opens the local editing workflow. Inspect `report.json` and `topology.svg` before publishing. SVG generation does not require a rasterizer. PNG snapshots do; follow [export instructions](https://iso-topology.mintlify.site/getting-started/05-publishing.md).

With MCP, connect the installed `isotopo-mcp` server using the [client setup](https://iso-topology.mintlify.site/agent/MCP.md). Start with capability discovery, then supply the authored `dsl` and `format` to `iso_design`. For the next revision, pass the current `layout_state` as `previous`. Tools and argument availability follow the installed version.

Use whichever interface fits your agent. Review the resulting architecture against your source files before publishing.

## Keep cloud facts separate from visual choices

When drawing an existing deployment, ask the agent to read the relevant files and record the evidence for each component and connection. A Terraform resource, Kubernetes Service or application configuration can support a claim; an attractive icon cannot.

Specify which view you need: logical service relationships, deployment boundaries, or a request path. A box labeled VPC is an authored group, not validation that its contents have correct networking or IAM configuration. [Choose the architecture view](https://iso-topology.mintlify.site/guides/choose-architecture-view.md) before adding detail.

Choose icons from the [icon catalog](https://iso-topology.mintlify.site/agent/ICONS.md), then reuse a consistent style across the diagram.

## Test the second edit

Download the [queue-edit before project](https://iso-topology.mintlify.site/assets/articles/queue-edit/before.isotopo.json), ask the agent to insert Queue between API and Worker, and compare its result with the [worked example](https://iso-topology.mintlify.site/articles/edit-architecture-diagrams-with-ai.md).

![Actual queue insertion with unchanged existing positions and matched visual style](https://mintcdn.com/iso-topology/QGUfjN9rN6x-RDkX/assets/articles/queue-edit/comparison.svg?fit=max\&auto=format\&n=QGUfjN9rN6x-RDkX\&q=85\&s=5ea95bcc717f05aadd54c202ba2a37f8)

Check the graph diff, render the changed source, reopen the exported project, and confirm the new relationship remains. Then change a label in Studio and reopen again. Keep the latest project as the handoff; an exported screenshot cannot preserve source and layout state.

The example reserves space for the queue. For a denser diagram, make room locally or split the architecture into smaller views.

## Frequently asked questions

### Is iso-topology a real 3D editor?

Its diagrams have depth through fixed isometric projection. It does not provide a freely rotatable 3D camera. Use it for editable architecture illustrations rather than a navigable 3D environment.

### Is MCP required, or can my agent use the CLI?

Both paths are supported. Start with the CLI if your agent already runs commands and writes files. Add MCP when structured discovery and tool calls fit your client better.

### Can I import any Terraform repository directly?

This workflow asks an external agent to interpret evidence and author supported diagram source. It does not claim a universal native Terraform importer. See [diagrams from code](https://iso-topology.mintlify.site/guides/architecture-diagrams-from-code.md).

### Will validation catch every overlapping line?

No. Diagnostics and repair cover defined cases. Inspect the actual output, including arrow attachments and labels, at the intended display size.

[Start drawing](https://iso-topology.mintlify.site/quickstart.md) · [MCP contracts](https://iso-topology.mintlify.site/agent/MCP.md) · [preserve layout](https://iso-topology.mintlify.site/guides/preserve-diagram-layout.md) · [product facts and limits](https://iso-topology.mintlify.site/concepts/what-is-iso-topology.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.