Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>ArchTect - C4 Visual Architecture Modeling with AINew to Visual Studio Code? Get it now.
ArchTect - C4 Visual Architecture Modeling with AI

ArchTect - C4 Visual Architecture Modeling with AI

NicoBit

|
314 installs
| (1) | Free
Visual architecture modeling IDE for VS Code with bidirectional canvas <-> code editing and view-aware modeling, C4 and Structurizr DSL support, AI-assisted workflows, multiple architecture visualization modes, MCP integration, and architecture documentation generation.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ArchTect — Visual Architecture IDE for VS Code

Visual architecture modeling with live Structurizr DSL synchronization. Design visually. Keep architecture as code.

Architecture as Code C4 Model AI + MCP arc42 arc42


ArchTect is a visual architecture IDE for software architecture modeling inside VS Code. Model architecture visually while keeping the underlying Structurizr DSL synchronized automatically.

  • Edit the diagram visually → the DSL updates live
  • Edit the DSL → the diagram updates instantly
  • Use AI to generate, query, and evolve the architecture
  • Explore the architecture through multiple visualization modes
  • Generate documentation and exports directly from the model

All without leaving VS Code.

ArchTect Demo


Why ArchTect?

Most diagramming tools separate diagrams from architecture code. ArchTect keeps architecture visual, editable, versionable, and synchronized.

Key Capabilities

  • Live bidirectional synchronization between visual diagrams and Structurizr DSL
  • Architecture as code using Structurizr DSL and the C4 model
  • AI-assisted architecture workflows directly inside VS Code
  • Multiple visualization modes for exploration and analysis
  • Integrated MCP server for AI agents and automation
  • arc42 documentation generation
  • Export support for Mermaid, PlantUML, Draw.io, SVG, PNG, and more

Getting Started

Open an Existing Structurizr DSL

  1. Open a .dsl file in VS Code
  2. Click the ArchTect icon in the editor toolbar
  3. The visual canvas opens alongside the DSL

Create a New Architecture

  1. Open the Command Palette
  2. Run:
ArchTect: New Project
  1. Start modeling visually or with AI

Live Bidirectional Sync

Edit visually → the DSL updates automatically. Edit the DSL → the diagram updates instantly. One source of truth. Always synchronized.

Bidirectional Sync


Supported C4 View Types

View Type Description
System Landscape Full portfolio and system relationships
System Context External users, systems, and dependencies
Container Services, APIs, databases, frontends
Component Internal modules and sub-services
Deployment Infrastructure and environments
Dynamic Runtime interaction flows
Filtered Views filtered by tags or rules

Visualization Modes

Explore the same architecture through multiple visual perspectives.

Visualization Modes

C4 Canvas

Traditional C4 diagrams with automatic layout support:

  • Graphviz
  • Dagre
  • ELK

Includes compact mode for large architectures.


Relationship Explorer

Interactively navigate architecture dependencies and relationships.

  • Drill down into systems
  • Explore upstream and downstream dependencies
  • Traverse relationships across the full architecture model

Force Graph

Physics-based graph exploration for large systems and dependency analysis. Useful for:

  • Spotting clusters
  • Dependency analysis
  • Discovering hidden relationships
  • Large-scale architecture exploration

Themes and Icon Packs

Apply themes visually or through AI workflows. Supported styles include:

  • Azure
  • AWS
  • Generic cloud
  • C4 shapes
  • Compact glyph views

Example:

@archtect apply the azure-icons theme and suggest icons for each container

AI-Assisted Architecture Workflows

Use @archtect directly inside Copilot Chat (Agent Mode). The assistant understands:

  • The active workspace
  • The visible view
  • The Structurizr DSL
  • The architecture model
  • ArchTect MCP tools

No copy-pasting required.

AI Assistant

Example Prompts

@archtect create a container architecture for an event-driven system

@archtect add a payment service connected to the order service

@archtect create a deployment architecture for Azure with VNets and container instances

@archtect model a login flow as a dynamic view

@archtect analyze downstream dependencies of the api container

@archtect generate arc42 documentation for this workspace

@archtect apply the azure-icons theme

@archtect change the current view to compact mode

Safe AI Changes

AI-generated modifications are previewed before being applied. Nothing is written automatically.

  • Review generated changes
  • Click Keep Changes
  • Roll back anytime

Example:

@archtect undo the last change

arc42 Documentation Generation

Generate architecture documentation directly from the model.

@archtect generate arc42 documentation for this workspace

Features:

  • All 12 arc42 sections
  • Embedded SVG diagrams
  • Markdown generation
  • One-click export

arc42 Documentation


Export Formats

Export architecture diagrams and models to multiple formats.

Format Usage
SVG / PNG Documentation and presentations
PlantUML Confluence, GitLab, and Wiki integration
Mermaid GitHub Markdown and Notion native diagrams
Draw.io Editable diagrams.net files
Ilograph Compatible format for interactive exploration

Export


MCP Server for AI Agents

ArchTect exposes architecture operations through a built-in MCP server. Compatible with:

  • Claude Code
  • Cursor
  • MCP-compatible agents
  • VS Code MCP ecosystem

Default endpoint:

http://127.0.0.1:33335/rpc

Setup

Claude Code

Run:

ArchTect: MCP Configure Claude Code

Cursor / Other Clients

Run:

ArchTect: MCP Configure Client

MCP Capabilities

  • Model editing
  • Relationship management
  • Deployment modeling
  • View management
  • Styling and themes
  • DSL / AST operations
  • Documentation generation
  • Dependency analysis
  • Rendering and exports
  • Navigation

Configuration

Setting Default Description
archtect.mcp.enabled true Enable MCP server
archtect.mcp.port 33335 MCP server port
archtect.showSidebar false Show ArchTect sidebar

Resources

  • Documentation & User Guide: https://nicobit.github.io/ArchTect/
  • GitHub Repository: https://github.com/nicobit/ArchTect
  • VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=nicobit.c4archtect
  • Report an Issue: https://github.com/nicobit/ArchTect/issues

MIT License © Nicola Bitetti

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft