1

12-factor-agents

by humanlayer
🔓 Open Source TypeScript 🌍 Global free #typescript

About

12-factor-agents is a methodology developed by humanlayer for building reliable, production-grade LLM applications. Inspired by the original 12-Factor App, it provides 12 core engineering principles to make AI agents more predictable and scalable. Key concepts include owning your prompt and context window, unifying execution state, using tools as structured outputs, and designing agents as stateless reducers. It shifts the paradigm from autonomous 'black-box' loops to robust software engineering practices for AI.

Features

  • 生产级 Agent 工程原则指南
  • 人机协同 (Human-in-the-loop) 深度集成
  • 确定性控制流与状态管理
  • 无状态 Reducer 架构设计

Supported Platforms

webdesktop