← back
The 12 Factors
Battle-tested patterns for reliable AI agent operations. Start with Factor I and progress through each tier.
I
foundationAutomated Tracking
Track everything in git. Learn from history.
3 min read
read
II
foundationContext Loading
Load when needed, not all at once. Stay under 40%.
3 min read
read
III
foundationFocused Agents
One agent, one job. Compose from simple parts.
5 min read
read
IV
foundationContinuous Validation
Validate at every step. Catch errors in seconds.
6 min read
read
V
operationsMeasure Everything
Track the five core metrics. Know when things break.
7 min read
read
VI
operationsResume Work
Resume across days without context loss.
5 min read
read
VII
operationsSmart Routing
Right task, right agent, every time.
4 min read
read
VIII
operationsHuman Validation
Humans in the loop for critical decisions.
5 min read
read
IX
improvementMine Patterns
Capture what works. Build institutional memory.
5 min read
read
X
improvementSmall Iterations
Always improving. Never stagnant.
5 min read
read
XI
improvementFail-Safe Checks
Clear boundaries. Safe automation.
3 min read
read
XII
improvementPackage Patterns
Package once, deploy everywhere.
3 min read
read