humanlayer/12-factor-agents
What are the principles we can use to build LLM-powered software that is actually good enough to put in the hands of production customers?
Provides a methodology for building production-grade LLM agents through 12 design principles—covering prompt ownership, context window management, human-in-the-loop integration via tool calls, and stateless reducer patterns. Emphasizes deterministic software with strategic LLM integration rather than generic agentic loops, prioritizing explicit control flow, execution state unification, and pause/resume capabilities. Inspired by 12factor.net, the guide targets engineers building customer-facing AI systems and complements frameworks like LangGraph through architectural best practices rather than implementation specifics.
18,686 stars. No commits in the last 6 months.
Stars
18,686
Forks
1,421
Language
TypeScript
License
—
Category
Last pushed
Sep 21, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/agents/humanlayer/12-factor-agents"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Featured in
Higher-rated alternatives
elizaOS/eliza
Autonomous agents for everyone
gptme/gptme
Your agent in your terminal, equipped with local tools: writes code, uses the terminal, browses...
Agent-Field/agentfield
Framework for AI Backend. Build and run AI agents like microservices - scalable, observable, and...
SolaceLabs/solace-agent-mesh
An event-driven framework designed to build and orchestrate multi-agent AI systems. It enables...
langgenius/dify
Production-ready platform for agentic workflow development.