Guides
Each guide covers one task from start to finish. If you haven’t run Archidocs yet, begin with the Quick start.
Use the viewer
Section titled “Use the viewer”Find an Element, trace what depends on it, see where it runs, and share the screen.
- Find an Element: Search for an Element, read its Element panel, and see everything a Team owns.
- Trace impact and paths: See what is upstream and downstream of an Element, and how two Elements are connected.
- See where a Service runs: Find each Environment a Service is deployed in, its Deployment Target and its URL.
- Compare two Revisions: See the Model at a past Revision, mark what changed since, and read the decisions behind it.
- Share or save what's on screen: Copy a link to the screen, download it as a picture, or save it as a View.
Declare your architecture in a Project’s YAML.
- Add a Project: Give a Team its own folder in the Workspace.
- Add a Service: Declare a Service with its Components, Relationships and Deployments.
- Connect Services: Declare what a Service depends on, in its Project or another, sync or through a broker.
- Add Deployments: Say where each Service runs, in each Environment, and at which URL.
- Save a View: Keep a diagram that answers one question, as a query that stays current.
- Write a Dynamic View: Walk through one scenario, one Step at a time, over the Relationships in the Model.
- Record an ADR: Propose an architecture decision in a pull request, linked to what it affects.
- Rename, move or remove: Change ids and structure without leaving references behind.
- Set up your editor: Completion, validation and field descriptions as you type the Model YAML.
Publish
Section titled “Publish”Build the viewer in CI and deploy it as a static site.
- Publish to GitHub Pages: Check, build and deploy the viewer from GitHub Actions on every push.
- Publish to GitLab Pages: Publish the viewer from GitLab CI with the Archidocs template.
- Preview pull requests: Show every pull request's architecture changes as a site and a comment.
- Publish Saved View images: Publish every Saved View as an SVG at a stable URL, for wikis and READMEs.
- Publish to another host: Publish the viewer to an S3-style bucket, Netlify, Cloudflare Pages or any static host.
- Check a Workspace in CI: Run archidocs check on every pull request, without publishing.
Agents
Section titled “Agents”Let coding agents read the Model and edit it.
- Connect an agent over MCP: Register the Archidocs MCP server with Claude Code, Cursor, VS Code / Copilot or Codex, over a checkout or a published site.
- Install the agent skill: Point coding agents at the authoring guide that matches the installed CLI.
- Bootstrap a Project from code: Have an agent read a codebase and declare its Services, Relationships and Deployments in one reviewed pass.
- Fill documentation gaps: Have an agent find what the Model leaves empty and interview you to fill it, proposing each value from evidence in the code.
- Describe an architecture in prose: Explain your architecture to an agent in your own words and have it build the Model round by round, with no code needed.
- Consult the Model while coding: Have a coding agent check who depends on a Service, who owns it, where it runs and what was decided, before and after it changes the code.
Review and share
Section titled “Review and share”See what a change does to the Model, and take diagrams out of the viewer.
- Review changes with diff: See what a change does to the Model, between two refs, two dates or your working tree.
- Export diagrams: Render any View to SVG or PNG for docs, wikis and slides, styled like the viewer.
Documents Archidocs v1.4.0, the latest release.