humanlayer/12-factor-agents

★27,089TypeScriptNOASSERTION⑂ 2,048Issue 16Updated Sep 21, 2025

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?

A principles checklist for shipping LLM agents to production — Inspired by the 12 Factor App methodology, this guide distills lessons from building real-world LLM agents into 12 concrete principles, covering context window ownership, control flow, and human-in-the-loop design. It targets engineers moving past demos toward agents that hold up under production use.

AI agents12-factor12-factor-agentsagentsaicontext-windowframeworkllmsmemoryorchestrationprompt-engineeringrag

Metrics

Relative growth (7d)+0%Growth over the last 7 days relative to size
Acceleration+38%Change in growth pace from the week before
Attention39The three metrics scaled to 0–100 and combined

Retention can be computed 30 days after a repository first trends (it isn't shown until then). See About for how each metric is defined.

Star growth and Trending appearances (last 30 days)

First listed+38★/dayDaily
Oct 13, 2026Nov 11, 2026

Bands mark days on the trending list (darker = higher rank)

Daily trending ranks as a table (1 days)
DateDaily
Nov 9, 2026
typescript #16 +19

Created Mar 31, 2025 · First on trending Nov 9, 2026

Other notable repositories in the same category (AI agents)

See all AI agents repositories →

Rank within agents

#Repository★
1Significant-Gravitas/AutoGPT187,986
2langflow-ai/langflow156,512
3Shubhamsaboo/awesome-llm-apps144,381
4ruvnet/ruflo81,442
5rohitg00/ai-engineering-from-scratch78,323
6usestrix/strix74,888
7mem0ai/mem068,774
8crewAIInc/crewAI60,746
9vectorize-io/hindsight60,323
10FlowiseAI/Flowise55,558
28humanlayer/12-factor-agents27,089

See all agents repositories →

Get the weekly digest by email

Every Monday: the repositories that grew most last week, and how the buzz spread between the global and Japanese-language web. Unsubscribe any time. See the privacy and ad policy for how we handle your address.