Architecture Decision Records
ADRs for AI systems: a reusable template plus three fully worked records (model provider choice, build-vs-buy guardrails, sync-to-async migration) — each with an explicit revisit trigger.
Last updated
Architecture Decision Records for AI Systems
Why a two-page record of why a call was made is the highest-leverage document in an AI codebase — and how to write one whose revisit trigger fires before the next engineer re-litigates it.
In a normal service, an architecture decision ages in years. In an LLM system it ages in weeks: a provider ships a two-week deprecation notice, a model generation halves your token price, a prompt strategy that beat the golden set in March loses to a new default in June. The code shows what you chose; it never shows why — which candidate you rejected, at what price, and under what condition you’d change your mind. An Architecture Decision Record (ADR) is the durable answer to that question, and for AI systems its most important field is the one classic ADRs omit: the trigger that says when to reopen the file.
Related
More in System Design
System Design 101
FreeSystem design fundamentals for AI engineers: client-server, APIs, latency percentiles, caching, load balancing, databases, and queues — each explained from zero, then mapped to how LLM systems change it.
AI System Design Vocabulary
FreeThe 60-term plain-English glossary for AI system design: LLM basics, retrieval, agents, infrastructure, reliability, scaling, cost, and safety — with deep-dive links into every guide section.
Your First Agentic System
FreeBuild a support bot end to end: six iterations from one API call to a production-shaped architecture with retrieval, caching, model routing, guardrails, and observability — runnable code at every step.
The Paradigm Shift
FreeTraditional vs agentic system design: the 7 dimensions that transform, anatomy of an agentic system, control flow paradigms, failure modes, and when to go agentic.
Get full access to all 87+ sections with code examples, diagrams, and interactive animations.
Unlock Premium