Quick start
In about five minutes you go from an empty repo to the viewer showing a small Model: a Shopper who uses an Online Shop made of two Services. Every file you need is on this page.
1. Create a Workspace
Section titled “1. Create a Workspace”Archidocs needs Node.js 22.18 or later. There is nothing to install: npx runs the CLI. Installation covers a global install and a dev dependency instead.
A Workspace is one git repo that holds the whole architecture. In the repo that will hold yours (a new, empty one is fine), run:
npx archidocs initThis writes a starter archidocs/workspace.yaml, adds the .archidocs/ cache to .gitignore, and installs an authoring skill for coding agents. The skill and the MCP command init prints run Archidocs the same way you ran init, so agents need no global install either. Everything Archidocs reads lives under archidocs/.
2. Add three files
Section titled “2. Add three files”Save each file at the path in its title.
workspace.yaml defines the Teams that own things and the Environments that Services run in. Replace the starter file with:
teams: storefront: name: Storefrontenvironments: prod: name: ProductionA Project is one Team’s folder in the Workspace. Its project.yaml names the Team that owns everything in the folder:
id: shopname: Shopowner: storefrontEvery other .yaml file in the folder declares Elements and their Relationships. This one declares a Person, and a System that holds two Services:
people: shopper: name: Shopper relationships: - to: web description: Browses and buys usingsystems: online-shop: name: Online Shop services: web: name: Web technology: TypeScript, React relationships: - to: api description: Places orders through technology: JSON/HTTPS api: name: API technology: Node.jsEach Relationship sits under the Element that depends on the other one, and its description reads as a sentence: “Web places orders through API”.
3. Check it
Section titled “3. Check it”npx archidocs check0 errors, 0 warningsarchidocs check validates every file and every reference between them. When something is wrong, it names the file, the line and the rule that was broken.
4. Open the viewer
Section titled “4. Open the viewer”npx archidocs devOpen http://localhost:4321. The viewer starts on the C1 Landscape. Choose Go deeper › C2 Landscape; it shows the Shopper and the Online Shop:


In the viewer, the Online Shop box has an arrow button. Select it to open the System’s own View, with the two Services inside it:


That is the Model you wrote, drawn. The viewer reloads as you edit the files; stop it with Ctrl+C.
- Model your first system: the twenty-minute tutorial adds Deployments and publishes the viewer.
- Publish the viewer from CI.
- Connect an agent to the Model over MCP.
Documents the beta branch at cd98671, ahead of the latest release, v1.4.0.