1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
51 small wins to finish your pathNext question →
Why are feature flags and config-driven behaviour important in LLM applications?
30-second answerSay your answer out loud first, then reveal.
Uses
| Use | Example |
|---|---|
| Gradual rollout | New prompt v15 to 5% of users, then 25%, 100% |
| A/B testing | Model A vs Model B for tenant segments |
| Kill switch | Disable auto-send replies if a quality alert fires |
| Fallback routing | Switch the primary provider during an outage |
| Per-tenant config | Enterprise customer requires in-region model; another wants a stricter guardrail |
| Cost controls | Lower max output tokens for the free tier |
Good practices
- Flags and configs are versioned and audited (who changed what, when).
- Validation on config changes (schema checks; a prompt change still needs evals, because flags aren't a way around review).
- Clean-up: remove stale flags to avoid complexity.
- Consistent assignment (sticky per user) for experiments.
Related
You understood something today that you didn't yesterday.