Commit a727ecb
authored
docs: clarify 12-factor config principle for hierarchical AI agent architectures (#1395)
Closes #1393
Add caveat section explaining that 12-Factor's "Config in Environment"
principle needs reinterpretation for AI agent systems. While the
directional principle (separate code from config) still holds, the
mechanics differ from stateless web apps:
- Web apps: Simple key-value env vars work
- AI agents: Hierarchical YAML/JSON needed for behavioral policies
The caveat clarifies:
- Schema enforcement and namespacing requirements
- Complex data types (lists, objects, references)
- Visibility/reproducibility through version-controlled configs
- Why literal env vars quickly become unmaintainable for agent configs
Configuration still lives in "the environment" - it's just that
"environment" means structured config files, not literal shell variables.1 parent 78920d6 commit a727ecb
1 file changed
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
11 | 48 | | |
12 | 49 | | |
13 | 50 | | |
| |||
0 commit comments