Archgate Documentation
What is Archgate?
Section titled “What is Archgate?”AI coding agents are fast but ungoverned. Without explicit guardrails they produce code that works but does not conform to your architecture, security policies, or conventions — and every generated file becomes a review burden.
Archgate is a governance layer for AI-assisted development. It sits between your AI agents and your codebase, turning Architecture Decision Records (ADRs) into executable rules. AI agents read those decisions as context before they write code (prevention), automated checks validate the output (detection), and the lessons from each violation are captured back into new rules (learning).
This site covers the platform: the editor plugins, the AI skills and agents, the ADR packs, and the guides that wire it all together. The authoritative command and rule reference lives at cli.archgate.dev.
The governance loop
Section titled “The governance loop”Archgate is a ratchet: every mistake becomes a permanent rule. Over time, more governance shifts from expensive AI review to free, deterministic checks — token costs fall while compliance rises.
Prevention
ADRs encode architectural decisions as executable rules that guide humans and AI agents before code is written.
Detection
Rules run in the editor, on pre-commit, and in CI — surfacing violations the moment they appear.
Learning
Lessons from reviews and incidents are codified back into ADRs, closing the loop and hardening the system.