isotopo is available in your terminal. The standalone commands below assume a native installation; npx does not add isotopo to PATH. New to the product? Start with the browser quickstart.
1. Install and check
Use the native installer or npx launcher for macOS, Linux or Windows. No Go toolchain or model API key is required.isotopo studio. It creates architecture.yaml only if absent and prints the local editor URL. Existing files are preserved. To follow the D2 tutorial, continue below.
Go developers can instead install both binaries with go install github.com/NexusFox88/iso-topology/cmd/isotopo@latest and go install github.com/NexusFox88/iso-topology/cmd/isotopo-mcp@latest.
2. Describe a small architecture
Create a file calledservices.d2:
services.d2
3. Render it
out/topology.html in your browser to inspect the diagram. Use
out/topology.svg wherever you need a vector image.
4. Edit and preview the source
API Gateway to Public API in the source editor and check that the label updates. You have now completed the first edit-and-render loop.
5. Check and share
Stop the server with Ctrl+C or open another terminal in the same directory. After reviewing validation results, render again to update the exported files; Studio saves your source but does not refresh an earlier./out export.
0
means clean, 2 means warnings, and 3 means errors. A diagram can render with
warnings; inspect those warnings before publishing it.
services.d2 in version control. Embed the generated SVG in your README:
Add groups and boundaries
Continue the tutorial with nested services and labeled containers.
Browse example sources
Start from an existing scene, then adapt it to your architecture.
Choose your next workflow
- Create and revise an architecture diagram with an AI agent: start with a service, add a cache, and keep the source and placement for the next revision.
- Edit a diagram without losing your layout: save a Studio project and carry manual placement into an agent edit.
- Rebuild a Mermaid graph as an isometric diagram: compare three matching graphs and download the authored YAML scenes.
Worked architecture examples
- Turn a small app into an architecture diagram: a visual walkthrough from first source to the next change.
- ClickHouse analytics diagram
- LangChain agent diagram