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?

47
/ 100
Emerging

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.

Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 19 / 25

How are scores calculated?

Stars

18,686

Forks

1,421

Language

TypeScript

License

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.