AI for DevOps
Lesson 1 of 6 · 9 min

What to hand an agent in DevOps, and what to keep

Agents watch and investigate. People change production.

DevOps has a lot of watching: dashboards, logs, alerts, audits. It also has a lot of digging when something looks wrong. Agents are tireless at both. What they shouldn't have, at least for now, is the power to change production by themselves.

Good jobs for an agent

  • Error triage. Group errors by fingerprint, count them, find the first occurrence and the likely release, and open one card per problem.
  • Investigation. "Why did p95 latency double at 14:00?" Gather the graphs, logs, deploys and slow queries, and propose a cause with evidence.
  • Daily reviews. A read-only sweep of production and staging: errors, latency, security headers, TLS expiry, cluster health, dependency advisories.
  • Incident support. Keep the timeline, collect evidence and draft status updates and the postmortem.
  • Runbooks. Turn what you did last time into steps for next time.

Jobs you keep

  • Changing production. Deploys, rollbacks, migrations, scaling, config changes.
  • Secrets and access. Rotating keys, granting permissions.
  • Incident command. Decisions during an outage.
  • Accepting risk. Deciding a finding is OK to leave alone.

Read first, write later

Start every DevOps agent read-only. It can be extremely useful without changing anything: at Shogo, a security agent and a performance agent review production every morning using read-only checks, and post ranked findings for a person to act on. Write access, if it ever comes, is narrow, reviewed and reversible.

Prompt
List the things our team checks by hand at least weekly (dashboards, audits, reports).
For each: what data it reads, whether it could be done with read-only access, and what a useful daily summary would contain.

You're done when: you have a list of manual checks and know which ones an agent could do read-only.

Lesson coach

Checking your access…