Skip to content
ML Academy

LLMs, GenAI, RAG, agents, evaluation · insight-1623

Build a feature-level kill switch and a degraded mode before launch

Evidence type
practitioner heuristic
Difficulty
easy
Roles
ML engineer, Applied AI
Industries
e-commerce, aviation

Summary: situation, action, reason, boundary

  1. Situation

    A customer-facing LLM feature is about to ship and the incident plan is "redeploy".

  2. Action

    Provide runtime flags the on-call can flip without a deploy: whole feature off, tools off, one retrieval source off, switch to a fallback response, model or human handoff, globally or per tenant. Log who flipped what, rehearse quarterly and page on spend, guardrail-hit and tool-volume thresholds.

  3. Reason

    Time to contain is a design property. NIST's generative-AI profile suggests protocols so that systems can be deactivated when necessary.

  4. Boundary

    Any generative feature with real users, tools or spend exposure.

Symptom or risk

When harmful output, a leak or runaway spend starts at night, stopping it needs a code change, a review and a deploy while harm continues.

Exceptions

Internal experiments behind a single owner's account.

Trade-offs

The fallback path must be built and maintained, and the degraded product is worse.

Pitfalls

A switch that hides the UI but leaves the API or batch path live, and a flag service whose default on outage is "on".

Lessons and concepts

Claims and their sources