Letting AI fix production safely: five levels of remediation autonomy
From read-only to autonomous: the five levels of AI remediation, what each one asks of you, and the guardrails an AI fix needs before it touches production.
Finding the cause is half an incident. The other half is the fix: roll back the deploy, raise the limit, cordon the node, silence the alert that is now noise. Every AI SRE product is moving from “here is what is wrong” towards “I fixed it”, and every operations team is right to be nervous about that. An automated fix that is wrong does not cost an hour of investigation. It causes the next incident.
The question is not whether AI should remediate. It is how much autonomy, for which actions, in which environments, with what checks. This article lays out a way to answer it.
Five levels of autonomy
It helps to think about AI remediation the way the automotive world thinks about driver assistance: as levels, each of which shifts work and responsibility.
| Level | The platform may | The human | Where it fits |
|---|---|---|---|
| 1. Read-only | Investigate only | Reads the findings | Every environment, by default |
| 2. Recommend | Propose actions with exact commands | Copies and runs them | Teams starting out |
| 3. Human-approved | Propose, and execute after explicit approval | Approves each action | Well-understood, reversible actions |
| 4. Policy-approved | Execute when a policy rule matches | Sets policy; reviews the audit log | High-frequency actions with a long safe record |
| 5. Autonomous | Execute within a declared envelope | Reviews after the fact | Narrow, proven cases only |
The jump that matters is from 3 to 4: from a person approving each action to a person approving the rule. It should be earned with evidence, per action and per environment, never switched on for a whole tenant.
What every AI fix needs before it runs
Whatever the level, a remediation that touches production should go through the same lifecycle. Each step exists because skipping it has caused a real outage somewhere.
- Grounded. The action is tied to the finding that justifies it, and that finding cites its evidence. “Restart it” with no evidence behind it is a reflex, not a remediation.
- Decided by policy. A rule names the action, the environment and the namespace, with conditions and limits. Default deny.
- Approved by someone else. The approver should not be the proposer. For an AI proposal, the approver is the human in the loop; for a human proposal, it is a second pair of eyes.
- Re-checked at the last moment. Policy is evaluated again immediately before the write, because the world changes between approval and execution.
- Prior state captured. You cannot roll back to something you did not record.
- Verified. The action has a check that proves it worked: the pods stay up, the error rate drops, the limit reads back as intended.
- Rolled back on failure, by approval. A fix that does not hold is marked failed and its own rollback is proposed, again for a person to approve.
Choose the actions, not just the level
Autonomy is a property of an action in an environment, not of a product. Some actions are cheap to reverse and some are not, and the guardrails should differ:
| Action | Reversible? | Sensible guardrail |
|---|---|---|
| Roll back a Deployment | Yes, if the current revision is captured | Capture first; refuse under automated GitOps sync |
| Scale replicas | Yes | Bounds in policy |
| Restart a pod | Mostly | Evict, never delete; check the owner live |
| Cordon a node | Yes | Never the last schedulable node |
| Silence an alert | Yes | Exact matchers; a short, bounded duration |
| Change code or config | Through review | Open a pull request; never merge it |
That last row deserves emphasis. For anything beyond a runtime operation, the safest automated fix is a pull request: it changes nothing until a person merges it, and it runs through your own CI and review.
How to earn the next level
Moving an action from human-approved to policy-approved should require evidence, not confidence. A reasonable gate: a minimum number of executions of that action in that environment, a high verified-success rate, no reversals in the recent history, and an administrator’s explicit acknowledgement. Until those numbers exist, keep a person on the approve button. And keep a kill switch that stops all automated writes at once, and that leaves a trace when it is used.
Why AlertiGate is the safest way to start
AlertiGate implements this model rather than describing it:
- Remediation is off by default, and modes are set per action, environment and scope, never per tenant. Levels 4 and 5 are built and gated, and not enabled.
- Every action follows the lifecycle above: grounded in the evidence its finding cites, decided by policy, approved by a person other than the proposer, decided again on a policy bundle fetched immediately before the write, executed after the prior state is captured, and verified. A failed verification is escalated with a rollback for a person to approve.
- The gate to autonomy is measured: at least 20 executions of that action in that environment, 95% verified, no reversal in the last ten, and an administrator’s acknowledgement.
- Writes use their own credential, a separate ServiceAccount that starts with no rights and gets a Role only in the namespaces you open, with an expiring token.
- A bounded action catalogue: rollout undo, scale, pod restart by eviction, HPA bounds, cordon (never the last node), a bounded Alertmanager silence, Argo CD sync or rollback (refused under automated sync), escalation, and a GitHub pull request that it never merges.
- Policies are written in CEL with a simulator, so you can see what a rule would decide before it is live, and a kill switch stops writes and raises a security alert in the audit log.
Everything here was exercised in lab namespaces: seven executions, six verified, one failed on purpose and rolled back. If your team wants AI help with fixes but not a 3 a.m. surprise, start at level 1 and move up on evidence: join the beta.
Keep reading
Prompt injection in AI incident response: when your logs talk back
An AI SRE reads text written by anyone who can reach your app. How indirect prompt injection works in incident tooling, and the controls that actually stop it.
Read the article
Inside an AI SRE investigation: hypotheses, tool calls and the evidence trail
What actually happens between an alert firing and an AI naming a root cause: the agent loop, why it drifts, and the design that keeps it honest.
Read the article
OOMKilled and exit code 137: reading the evidence correctly
A flat memory graph does not mean the container had headroom. How to tell a leak from a burst from an undersized limit, and why the kill is often invisible in metrics.
Read the article