Main Menu
  • Tools
  • Developers
  • Topics
  • Discussions
  • Communities
  • News
  • Podcasts
  • Blogs
  • Builds
  • Contests
  • Compare
  • Arena
Create
    EveryDev.ai
    Sign inSubscribe
    Home
    Tools

    2,376+ AI tools

    • New
    • Trending
    • Featured
    • Compare
    • Arena
    Categories
    • Agents1543
    • Coding1167
    • Infrastructure522
    • Marketing438
    • Design413
    • Projects377
    • Research348
    • Analytics325
    • Testing213
    • MCP206
    • Data200
    • Security186
    • Integration167
    • Learning154
    • Communication144
    • Prompts139
    • Extensions133
    • Voice122
    • Commerce121
    • DevOps97
    • Web75
    • Finance21
    1. Home
    2. Tools
    3. 12-Factor Agents
    12-Factor Agents icon

    12-Factor Agents

    Agent Frameworks

    A framework-agnostic guide of 12 engineering principles for building reliable, production-grade LLM-powered agents, inspired by the 12 Factor App methodology.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open-source guide and code under Apache 2.0 (code) and CC BY-SA 4.0 (content) licenses.

    Engagement

    Available On

    Web
    API
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Agent FrameworksPrompt EngineeringContext Engineering

    Alternatives

    PackmindClaudifyVision Agents
    Developer
    HumanLayerSan Francisco, CAEst. 2023$3M raised

    Listed May 2026

    About 12-Factor Agents

    12-Factor Agents is an open-source guide published by HumanLayer that distills practical engineering principles for building LLM-powered software reliable enough for production customers. Created by Dex Horthy and hosted on GitHub, it draws on experience evaluating agent frameworks and conversations with technical founders building AI products. The project is licensed under Apache 2.0 for code and CC BY-SA 4.0 for content, and welcomes community contributions.

    What It Is

    12-Factor Agents is a reference guide — modeled after the classic 12 Factor Apps methodology — that defines twelve concrete engineering principles for building LLM-powered agents. Rather than prescribing a specific framework, it identifies the modular patterns that make agents reliable, scalable, and maintainable. The core argument is that most production-quality AI agents are primarily deterministic software with LLM steps inserted at key decision points, not open-ended "bag of tools" loops.

    The 12 Principles

    The guide covers twelve factors organized around the full agent lifecycle:

    • Factor 1: Natural Language to Tool Calls — translate user intent into structured actions
    • Factor 2: Own your prompts — keep prompt logic explicit and version-controlled
    • Factor 3: Own your context window — manage what the LLM sees at each step (also called "Context Engineering")
    • Factor 4: Tools are just structured outputs — treat tool calls as typed data, not magic
    • Factor 5: Unify execution state and business state — avoid split state between agent and application
    • Factor 6: Launch/Pause/Resume with simple APIs — design for interruption and resumption
    • Factor 7: Contact humans with tool calls — model human-in-the-loop as a first-class tool
    • Factor 8: Own your control flow — don't cede loop logic to a framework
    • Factor 9: Compact errors into context window — surface failures as context, not exceptions
    • Factor 10: Small, focused agents — prefer narrow, composable agents over monolithic ones
    • Factor 11: Trigger from anywhere — meet users where they are across channels
    • Factor 12: Make your agent a stateless reducer — design agents as pure functions over context

    Why It Got Attention

    The project was presented at the AI Engineer World's Fair (talk available on YouTube) and gained significant traction on GitHub, accumulating over 20,000 stars and 1,500 forks according to the repository metadata. The author frames the guide around a common failure pattern: builders adopt a framework, reach 70–80% quality, then discover that crossing the remaining gap requires reverse-engineering the framework's internals — often leading to a full rewrite. The guide argues that incorporating modular agent concepts into existing products is faster than greenfield framework adoption.

    Audience and Use Case

    The guide targets skilled software engineers and technical founders who want to add agentic capabilities to existing products without committing to a full framework rewrite. It is written primarily in TypeScript examples but the author notes the principles apply equally to Python or any other language. The content is especially relevant for teams building customer-facing AI features where reliability and control matter more than rapid prototyping.

    Update: Active Development and Community Contributions

    The repository was created in March 2025 and last pushed to in September 2025, with ongoing community contributions from over a dozen contributors. An active discussion thread exists for a planned npx/uvx create-12-factor-agent scaffolding CLI. The project also links to related HumanLayer work including got-agents/agents (OSS agents built with this methodology) and kubechain (a distributed agent runtime for Kubernetes).

    12-Factor Agents - 1

    Community Discussions

    Be the first to start a conversation about 12-Factor Agents

    Share your experience with 12-Factor Agents, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open-source guide and code under Apache 2.0 (code) and CC BY-SA 4.0 (content) licenses.

    • All 12 factors and content
    • Code examples in TypeScript
    • Community contributions
    • Apache 2.0 licensed code
    • CC BY-SA 4.0 licensed content

    Capabilities

    Key Features

    • 12 engineering principles for production LLM agents
    • Context window management (Context Engineering)
    • Human-in-the-loop via tool calls
    • Stateless reducer agent architecture
    • Launch/Pause/Resume agent lifecycle APIs
    • Small, focused agent composition
    • Structured output tool call patterns
    • Error compaction into context window
    • Framework-agnostic principles
    • TypeScript and Python compatible
    • Community contributions welcome
    • Apache 2.0 licensed code

    Integrations

    TypeScript
    Python
    Airflow
    Prefect
    Dagster
    Inngest
    Windmill
    BAML
    OpenAI
    Anthropic
    API Available
    View Docs

    Demo Video

    12-Factor Agents Demo Video
    Watch on YouTube

    Reviews & Ratings

    No ratings yet

    Be the first to rate 12-Factor Agents and help others make informed decisions.

    Developer

    HumanLayer

    HumanLayer builds APIs and SDKs to add human-in-the-loop approvals and outreach to AI agents, enabling safe, reliable production deployments.

    Founded 2023
    San Francisco, CA
    $3M raised
    6 employees

    Used by

    Boundary (YC W23) - Vaibhav Gupta,…
    Syntax Cinema - Tom Granot
    Casco (YC X25) - René Brandel, Founder
    Two YC customers with 50-100 person…
    +2 more
    Read more about HumanLayer
    WebsiteGitHubX / Twitter
    2 tools in directory

    Similar Tools

    Packmind icon

    Packmind

    Open-source platform to author, centralize and distribute playbooks to AI agents and enforce governance for AI coding assistants across repositories.

    Claudify icon

    Claudify

    An operating system for Claude Code that installs 1,727 specialist skills, 9 autonomous agents, persistent memory, and 21 slash commands with a single CLI command.

    Vision Agents icon

    Vision Agents

    Open-source Video AI framework for building real-time voice and video applications with built-in AI integrations.

    Browse all tools

    Related Topics

    Agent Frameworks

    Tools and platforms for building and deploying custom AI agents.

    304 tools

    Prompt Engineering

    Tools for creating and refining effective AI prompts.

    45 tools

    Context Engineering

    Techniques for optimizing context windows to improve AI responses.

    37 tools
    Browse all topics
    Back to all tools
    Explore AI Tools
    • AI Coding Assistants
    • Agent Frameworks
    • MCP Servers
    • AI Prompt Tools
    • Vibe Coding Tools
    • AI Design Tools
    • AI Database Tools
    • AI Website Builders
    • AI Testing Tools
    • LLM Evaluations
    Follow Us
    • X / Twitter
    • LinkedIn
    • Reddit
    • Discord
    • Threads
    • Bluesky
    • Mastodon
    • YouTube
    • GitHub
    • Instagram
    Get Started
    • About
    • Editorial Standards
    • Corrections & Disclosures
    • Community Guidelines
    • Advertise
    • Contact Us
    • Newsletter
    • Submit a Tool
    • Start a Discussion
    • Write A Blog
    • Share A Build
    • Terms of Service
    • Privacy Policy
    Explore with AI
    • ChatGPT
    • Gemini
    • Claude
    • Grok
    • Perplexity
    Agent Experience
    • llms.txt
    Theme
    With AI, Everyone is a Dev. EveryDev.ai © 2026
    2views
    Discussions