Archituredocs

Overview

Architure is where a team defines its software architecture, from the tech stack to the deployment, and serves it to its AI agents through an MCP server and a skill.

Agents now write most of the code, so the decisions around it are what matter: which technologies to use, how the repositories are split, what each database holds, how agents should work, which configuration each app reads and where it is deployed. Architure keeps those decisions in one place. You define them once, and every agent reads them for the package it works in before it writes a line, instead of guessing in every session.

The lifecycle

The docs follow the order in which a team usually fills Architure in:

  • Tech stack: choose. The organization's preferred technologies, with their versions, official docs and notes, in fixed categories. Agents read it before they choose a library.
  • Repositories: structure. Your GitHub repositories, imported through the GitHub App. Architure detects their packages from the workspace globs; the other resources link to packages.
  • Databases: model. Each database designed on a canvas: import from SQL, information types, column definitions, issues, the text view and export, plus database connections and the schema sync that pulls a live schema into the design.
  • Skills: equip. The skills your agents follow, added from skills.sh or written by your team, and installed into a repository with one npx skills add command.
  • Environment variables: configure. One encrypted value per scope (all, production, preview, development), per package. Agents read the names, never the values.
  • Deployments: ship. Vercel projects matched to packages. Sync pushes each package's variables to its project after you review the changes.
  • Connect your agent: build. Claude Code, Claude.ai, Cursor, Codex or any MCP client reach the MCP server with an API key or OAuth, and the architure skill tells them how to use it.

How it fits together

An organization is your workspace: it holds everything below, its members and one subscription. It imports repositories from GitHub, and each repository holds packages: apps/web or packages/email in a monorepo, or . for a repository with one app.

Databases, skills and environment variables are either linked to the packages that use them or available to all packages, which is the default. The tech stack and the column definitions are organization-wide. Each Vercel project is matched to the one package it deploys.

An agent says where it works: the repository (owner/name) and the folder inside it. Architure answers for the package that holds that folder: its skills, its environment variable names and its databases, next to the organization's tech stack.

Every change to a database, whether you drag a table, edit the text view or an agent calls a tool, is a list of operations applied at a known revision. The database keeps a history of who changed what, and when two writers change it at once, the second one receives the changes it missed and applies its own on top. See Concepts.

For agents

These pages are written for people and for agents. /llms.txt lists every page, /llms-full.txt holds them all in one file, and each page has a Markdown version at its address plus .md, for example /docs/concepts.md. A request that prefers text/markdown in its Accept header receives the Markdown too.

On this page