← all repositories

humanlayer/12-factor-agents

A set of twelve principles adapted from 12-Factor Apps for building reliable, production-ready LLM-powered applications and agents.

23.1k stars TypeScript AgentsLLMOps · Eval
12-factor-agents
Velocity · 7d
+53
★ / day
Trend
steady
star history

The project distills lessons from running LLM applications in production into a framework of twelve factors. Topics include owning your context window, handling memory and state, managing orchestration flows, implementing RAG patterns, and structuring prompt engineering for reliability. It provides guidance and code examples (via npx/uvx create-12-factor-agent) for developers building agentic AI systems.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.