DevOps & cloud infrastructure agency · Clients in the US, Canada, the UK, the UAE and Australiacontact@dexecuters.comBook a 30-minute call

Agentic DevOps · AI · Operations

Agentic DevOps: what an AI agent should touch in production

AI agents can triage alerts, review bills and run runbooks. What stops one from breaking production? The six guardrails we use on our own operations.

AI agents are good at a particular kind of work: routine, well-defined, with evidence to read and a known set of actions. In infrastructure that describes most of what fills an on-call engineer's day. Reading an alert and the logs around it. Working out which process is eating memory. Listing what on the bill is idle. Renewing a certificate. Restarting a worker.

What agents are not good at is judgement under uncertainty: an incident nobody has seen before, an architecture decision, a security question with trade-offs. So the design question is not "should an agent operate production?" but "which actions, under which rules?"

We run our own operations this way, so these are the rules we actually use.

Rule 1: approval first

By default, an agent proposes and a person approves. The proposal arrives as a message with the evidence and the exact command. You approve, change it or decline, from your phone if you like. Nothing changes without a yes.

Over time the approvals you give again and again can become standing rules with limits you set: "scale the API up to six instances without asking; beyond that, ask me." Those rules are yours, written down, and removable.

Rule 2: read-only to start

The first weeks are watch-and-propose only. The agent reads alerts, logs, metrics, deploys and the bill, and tells you what it would do. You get to judge its calls before any of them are allowed to run. If the proposals are poor, nothing has happened yet.

Rule 3: your accounts, your keys

Agents work through a least-privilege role in your own cloud account. Nothing is copied out. You can revoke the role in one click, and the agents stop; your infrastructure keeps running exactly as it was.

Rule 4: every action logged

Who proposed it, who approved it, what ran and what the result was. Useful for your own records, and for SOC 2 and ISO 27001 evidence, where "an automated process changed production" is only acceptable if you can show the trail.

Rule 5: your choice of model, and where data goes

Claude, OpenAI or Gemini through their APIs for most teams; a self-hosted model inside your own account when the data must not leave. The agents see only what the role you gave them can see.

Rule 6: an off switch

One command pauses every agent. Nothing else changes.

What this looks like in practice

  • Alert triage. The agent reads the alert, checks the logs and metrics around it, finds the likely cause and drafts the fix with the evidence. You see one message, not twenty graphs.
  • Monthly cost review. The agent reads the bill and usage, lists what is idle, oversized or forgotten, and writes the review with the dollar amount next to each saving.
  • Runbooks on approval. Restarts, scaling, certificate renewals, failovers: proposed, approved, run, reported.
  • Deploy safety checks. Before a release, the configuration and migrations are checked; after it, health and error rates, with a rollback if they fail.

Agents sit on top of infrastructure that is already in code, monitored, backed up and patched. If yours is not there yet, that is where the work starts, and the agents come after.

More on how we do it on the agentic DevOps page.

Next step

Start with the free assessment

Tell us about your setup or project. Within 48 hours you get a written reply: the biggest risks and savings we can see, and what we would do first. No account access needed to start.