Codex 校核(2026-10-09) Factor 3“Own your context window”是上下文控制的工程建议,并未在这份文档中实验验证 Anthropic 提示词删减的特定百分比或本 vault 的 over-constraint 审计方法;建议之间的一致性不能等同于因果实验结果。
Core Idea
12 principles for building production-grade LLM applications (agents), inspired by 12 Factor App. Argues that frameworks get you to 80% but the last 20% requires deep understanding of fundamentals.
Why It Matters
- 24.8K⭐, widely referenced in the agent-builders community
- Factor 3 “Own your context window” validates Anthropic’s finding about over-constraint
- Factor 10 “Small, focused agents” argues against monolithic agent design
Key Technical Points
- Factor 1-3: Natural Language to Tool Calls, Own your prompts, Own your context window
- Factor 5 and 12: Unify execution state, Agent as stateless reducer
- Factor 9: Compact errors into context window
Application
- Confirms our skill over-constraint audit methodology
- Control flow should be explicit code, not LLM free-for-all (Factor 8)
- Prefer small, focused skills over massive orchestration