Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>ArchyNew to Visual Studio Code? Get it now.
Archy

Archy

Nischal

|
2 installs
| (0) | Free
Interactive architecture diagrams that live in your editor. Open a .archy file and see your system visualized instantly.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Archy

Architecture diagrams that live in your editor.

Archy is a VS Code extension that renders interactive architecture diagrams from a simple JSON file. Open any .archy file and see your system visualized instantly — no accounts, no cloud sync, no separate diagramming tool.


What it does

You write a .archy file. Archy renders a live, interactive diagram inside VS Code.

{
  "version": "2",
  "nodes": [
    { "id": "orders-api",           "type": "service",     "name": "Orders API" },
    { "id": "order-created",        "type": "kafka-topic", "name": "order-created" },
    { "id": "inventory-service",    "type": "service",     "name": "Inventory Service" },
    { "id": "notification-service", "type": "service",     "name": "Notification Service" },
    { "id": "orders-db",            "type": "database",    "name": "Orders DB" }
  ],
  "edges": [
    { "id": "e1", "from": "orders-api",         "to": "order-created",        "type": "publishes", "label": "AMQP" },
    { "id": "e2", "from": "inventory-service",  "to": "order-created",        "type": "consumes" },
    { "id": "e3", "from": "notification-service","to": "order-created",       "type": "consumes" },
    { "id": "e4", "from": "orders-api",         "to": "orders-db",            "type": "writes",    "label": "PostgreSQL" }
  ]
}

Every edge has a semantic type — calls, publishes, consumes, writes, reads, streams, triggers — so the diagram tells a story, not just a topology.


Features

Interactive canvas

  • Pan, zoom, and drag nodes to arrange your diagram
  • Click any node or edge to open a detail panel with metadata and notes
  • Fit view, lock canvas, and copy controls built in

Activity Bar sidebar

  • Minimap — live viewport of the full diagram, click to navigate
  • Elements — searchable list of all nodes and edges, click to focus
  • Settings — toggle data flow animation, edge labels, compact mode, and switch between view/edit mode

Detail panel

  • Three sections: Basics (type, id, name, description), Metadata (key-value pairs, editable), Notes (markdown, opens in VS Code editor)
  • In Edit mode, all fields are inline-editable — changes write directly back to the .archy file

Canvas display options

  • Data flow animation — edges animate to show data direction
  • Always show edge labels — type chips visible on all edges
  • Compact nodes — hide description text on node cards

Group boundaries

  • Define logical or zone groups in your .archy file; they render as shaded boundaries on the canvas
  • Groups reflow automatically when you drag nodes

Getting started

  1. Install Archy from the VS Code Marketplace
  2. Create a file named architecture.archy anywhere in your workspace
  3. Open it — Archy opens automatically as the editor for .archy files
  4. Start with this template:
{
  "version": "2",
  "name": "My Architecture",
  "nodes": [
    { "id": "frontend", "type": "frontend", "name": "Web App" },
    { "id": "api",      "type": "service",  "name": "API Service" },
    { "id": "db",       "type": "database", "name": "Database" }
  ],
  "edges": [
    { "id": "e1", "from": "frontend", "to": "api", "type": "calls",  "label": "HTTPS" },
    { "id": "e2", "from": "api",      "to": "db",  "type": "writes", "label": "SQL" }
  ]
}

Node types

Type When to use
service Deployable microservice or backend application
api Named API surface (REST, GraphQL, gRPC)
kafka-topic Apache Kafka topic — models the topic itself, not the cluster
queue Message queue (RabbitMQ, SQS, Azure Service Bus)
database Any persistent data store (RDBMS, NoSQL, cache, object store)
frontend Web SPA, mobile app, or desktop client
batch-job Scheduled or triggered batch process, ETL, cron
external Third-party system, external SaaS, or out-of-scope dependency
actor Human user, team, or external persona
gateway API gateway, load balancer, or reverse proxy
broker Message broker platform (Kafka cluster, RabbitMQ server)
datastore Broader data platform (data lake, warehouse viewed as a whole)

Edge types

Type Meaning Style
calls Synchronous RPC, REST, or gRPC Solid arrow
publishes Producer emits events to a topic or queue Solid arrow
consumes Consumer reads events from a topic or queue Dashed, arrow at source end
writes Service writes data to a database Solid arrow
reads Service reads data from a database Dashed, arrow at source end
streams Continuous data flow (CDC, Kinesis, WebSocket) Thick solid arrow
triggers One node causes another to run (webhook, scheduler) Dashed arrow
uses General-purpose fallback when no semantic type fits Solid arrow

The reads and consumes edge types use a reversed arrowhead to show that data flows toward the consumer — from the data source, not from the service.


The .archy format

Every node needs an id and a type. Everything else is optional.

{
  "id": "payment-service",
  "type": "service",
  "name": "Payment Service",
  "description": "Processes payments via Stripe.",
  "_meta": {
    "technology": "Python / FastAPI",
    "team": "payments-team",
    "compliance": "PCI-DSS Level 1"
  },
  "notes": "Card data never stored — tokenised via Stripe."
}

_meta is a free-form object for infrastructure details (team, technology, compliance) that shouldn't clutter the diagram structure. It appears in the detail panel but doesn't affect rendering.

notes accepts markdown and opens in a full VS Code editor panel when you click the edit button in the detail panel.


Edit mode vs View mode

Switch between modes in the Archy Settings sidebar panel (Activity Bar → Archy icon → Settings).

  • View mode — Read-only canvas. Click nodes and edges to inspect them. Default for opening files.
  • Edit mode — Drag nodes, edit names, descriptions, and metadata inline in the detail panel. Changes auto-save to the .archy file.

Requirements

  • VS Code 1.85 or later
  • No other dependencies

Contributing

See CONTRIBUTING or the project documentation site.

License

MIT

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