WhoBuilt

12-Factor Agent

A framework for building focused agents with application-managed state and control flow.

Also known as 12-Factor Agents, 12 factors of AI agents

Key facts

Built by
Dex Horthy, author
Capabilities
agents should be stateless, with state owned and managed by the application
advocates small, focused agents in mostly deterministic workflows
recommends that developers own prompts, context construction, state, and control flow

Timeline 5

Dated events, newest first. Open the sources under any item.

How we verify
Built2Capability3
20253 events
  1. reported 2025-07Capability
    Agents should be stateless, with state owned and managed by the application
    “agents should be stateless. You should own the state” 14:28
    Unverified1 source· Talk
  2. reported 2025-07Capability
    Advocates small, focused agents in mostly deterministic workflows
    “You should have small, focused agents.” 12:23
    Unverified1 source· Talk
  3. reported 2025-07Capability
    Recommends that developers own prompts, context construction, state, and control flow
    “If you own your control flow” 6:54
    Unverified1 source· Talk
Undated2 events
  1. undatedBuilt
    HumanLayer built 12-Factor Agent
    Verified1 source· Web· archived
  2. undatedBuilt
    Dex Horthy built 12-Factor Agent
    author
    Verified1 source· Web· archived

Talks 2

19:34
Shipping Products When You Don't Know What they Can Do

Ben Stein argues that product management changes when products are built on probabilistic models whose behavior cannot be fully predicted. Product teams should define broad capabilities and affordances, then use evals and interactive prototypes to discover what a product can do and specify how well it should perform. Testing and bug triage need to account for probabilistic behavior, with eval thresholds helping teams decide what is ready to ship. In customer conversations, Stein recommends being candid about uncertainty and inviting customers to shape the future with the team.

Jul 28, 2025· 20 minMentioned 6:02
17:05
12-Factor Agents: Patterns of reliable LLM applications

Dex Horthy presents 12-Factor Agents as software engineering patterns for building reliable LLM applications. He recommends owning prompts, context construction, state, and control flow so developers can inspect and improve how an agent works. Rather than making every workflow agentic, he advocates mostly deterministic workflows with small, focused agent loops, plus ways to pause for human input. He also describes HumanLayer’s deployment bot as an example and argues that frameworks should leave builders in control of the parts that determine AI quality.

Jul 3, 2025· 17 minDiscussed 2:15