Skip to content

arc42

arc42 is a free, open template for documenting software architectures, created by Dr. Peter Hruschka and Gernot Starke in 2003. It is the de-facto standard for software architecture documentation in the German-speaking IT industry and is used internationally as a vendor-neutral, technology-agnostic structure.

Authoritative sourcehttps://arc42.org/overview/
MaintainersDr. Peter Hruschka, Gernot Starke (Aim42)
Local home in the kittemplate/docs/arc42/
Slot in pentaglyph#1 of 5 — the architecture spine

Architecture docs typically suffer one of three failure modes:

  1. Empty — no architecture doc exists; the design lives only in the heads of senior engineers.
  2. Bloated — a 200-page Word document nobody reads; updated once at hand-over and never again.
  3. Improvised — a single README.md that grew topics ad-hoc; no shared structure between projects.

arc42 fixes mode 3 by providing a 12-section template that names every architectural concern once and gives it a fixed home. Sections you don’t need stay empty stubs (the structure itself is informative).

#SectionWhat goes in it
1Introduction & GoalsWhat the system does and its 2-3 top-priority quality goals
2ConstraintsTechnical / organisational / political constraints that limit choices
3Context & ScopeWhat systems / actors integrate with this one; what is out of scope
4Solution StrategyThe big-picture technical choices and why
5Building BlocksStatic decomposition (links into detailed-design/ for L2+)
6Runtime ViewSequence diagrams for important scenarios
7Deployment ViewWhere the system actually runs
8CrosscuttingConcerns that span modules: security, observability, error model, i18n
9DecisionsMADR ADRs — the why behind technical choices
10QualitySLOs, KPIs, performance / reliability targets
11RisksTechnical debt, known fragilities
12GlossaryDomain vocabulary

Pentaglyph maps each of the 12 sections to a directory under template/docs/arc42/:

template/docs/arc42/
├── 01-introduction-and-goals/
├── 02-architecture-constraints/
├── 03-context-and-scope/
├── 04-solution-strategy/
├── 05-building-blocks/ ← links into ../detailed-design/
├── 06-runtime/
├── 07-deployment/
├── 08-crosscutting/
├── 09-decisions/ ← MADR ADRs go here
├── 10-quality/
├── 11-risks/
└── 12-glossary/

Pentaglyph adds AI-readable README.md files to each directory so an LLM can decide where to place new content with zero project context.

  • Minimal profile: fill §1 (Goals), §3 (Context), §5 (Building Blocks), §9 (Decisions). Skip the rest until you have a concrete reason to fill them.
  • Standard / Full profile: progressively fill more sections as the system grows. arc42 explicitly endorses partial coverage.
  • Single-file scripts or throwaway prototypes — overkill.
  • Pure documentation repositories (use Diátaxis directly).
  • Codebases that will be deleted in < 3 months.
  • Why five standards — pentaglyph’s rationale for bundling arc42 with the other four
  • Template inventory1_architecture-overview.md is the arc42-aligned template
  • C4 model — the visual notation pentaglyph pairs with arc42 §3, §5, §6