EveryDev.ai
Subscribe
Home
Tools

3,020+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2063
  • Coding1441
  • Infrastructure665
  • Marketing524
  • Projects470
  • Research437
  • Design408
  • Analytics371
  • MCP268
  • Security265
  • Testing255
  • Data249
  • Integration183
  • Prompts183
  • Communication172
  • Learning166
  • Extensions163
  • Voice146
  • Commerce132
  • DevOps115
  • Web84
  • Finance24
AI Tools by Topic
  • 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
    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

    ParlantAgentBenchSkillOpt
    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

    Ratings & Reviews

    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

    Parlant icon

    Parlant

    Open-source conversational AI engine that keeps LLM agents business-aligned and compliant through alignment modeling and granular guidelines.

    AgentBench icon

    AgentBench

    AgentBench is an open-source benchmark framework for evaluating LLMs as autonomous agents across 8 diverse environments including OS, database, web, and knowledge graph tasks.

    SkillOpt icon

    SkillOpt

    SkillOpt trains reusable natural-language skill documents for frozen LLM agents using trajectory-driven edits, validation-gated updates, and a deep-learning-inspired optimization loop.

    Browse all tools

    Related Topics

    Agent Frameworks

    Tools and platforms for building and deploying custom AI agents.

    456 tools

    Prompt Engineering

    Tools for creating and refining effective AI prompts.

    63 tools

    Context Engineering

    Techniques for optimizing context windows to improve AI responses.

    45 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions
    7views