Home/Free tools/AI agent operations runbook
Free runbook · CSV, no email needed

AI agent operations runbook

53 steps to keep an AI agent working after launch. Each one says when it is done, so you can see what your team has and what is missing.

The runbook as a spreadsheet

53 rows, one per item, with blank Status, Owner and Notes columns to fill in. Opens in Excel, Google Sheets or Numbers. Free, and no email needed.

Download the CSV
How to use it

Work through it once per agent, then keep it current.

Make one copy for each agent in production. Mark each step Done, Partly or Not started, and give every gap an owner and a date.

Start with scope, versions and evals. Without a scored baseline, the alerts and rollbacks have nothing to measure against. Then add monitoring, tracing and the incident steps.

For what each entry is for, read what an AI operations runbook actually contains. For the tools that capture traces, see AI agent observability tools.

The 53 steps

Ten areas, from scope to the quarterly review.

The same steps as the CSV, in the same order.

Scope and limits

The first question in any incident is what the worst outcome could have been. Answer it before the incident.

  1. 01
    Write down what the agent does, in two or three sentences.Someone who did not build it can read the paragraph and say what the agent is for.
  2. 02
    List every system the agent can read from and write to.Each system is named with the permission the agent has: read, write or both.
  3. 03
    List the actions the agent must never take.A short list, such as issuing refunds or deleting records, that is also enforced in code or permissions.
  4. 04
    Mark the actions that need a person to approve.Each one names who approves it and where the approval happens.
  5. 05
    Write the business fallback for when the agent is off.The manual process the team uses, and who runs it.

Inventory and versions

When behaviour changes, you need to know exactly what was running. Pin everything.

  1. 06
    Record the model name and exact version for every call.The version string is in config, not a model alias that can change underneath you.
  2. 07
    Keep prompts in version control.Every prompt change is a commit with an author and a date.
  3. 08
    Record the tools and their versions.Each tool or integration the agent calls, with its API version.
  4. 09
    Record the retrieval setup if the agent uses documents.Which index, which embedding model and when it was last rebuilt.
  5. 10
    Tag each release.One tag covers prompt, model, tools and config together, so you can name what was live on any day.

Evals and baseline

Without a scored baseline, "is it worse?" is an opinion. The eval suite turns it into a number.

  1. 11
    Build a test set from real cases.Inputs with the correct outcome, including the hard and unusual ones, stored with the code.
  2. 12
    Add a case every time something fails in production.The failure becomes a test that runs on every release.
  3. 13
    Score the current release and record it as the baseline.The scores are written down with the release tag and the date.
  4. 14
    Run the suite before every release.A release that scores below the baseline does not go out without a written reason.
  5. 15
    Run the suite on a schedule, even with no release.It runs at least weekly, so a vendor-side change shows up as a drop.
  6. 16
    Keep the last several results side by side.Drift is visible as a trend, not a single reading.

Monitoring and alerts

Infrastructure dashboards can stay green while answers get worse. Alert on quality, not just uptime.

  1. 17
    Set an alert on error rate.A threshold and who gets paged when it is crossed.
  2. 18
    Set an alert on latency.A threshold on slow responses, measured where the user waits.
  3. 19
    Set a quality threshold.The eval score, or a sampled review score, below which someone is woken up. Decided in advance.
  4. 20
    Watch for unusual tool use.An alert when the agent calls a tool far more or less often than normal, or calls one it rarely uses.
  5. 21
    Watch the rate of hand-offs to people.A sudden rise or fall in escalations is a signal worth checking.
  6. 22
    Test that alerts reach a person.Trigger each alert once on purpose and confirm the right person got it.

Tracing and logs

When one case goes wrong, you need to see exactly what the agent saw and did.

  1. 23
    Capture a trace for every run.Input, retrieved context, each tool call in order, the output, the cost and the time taken.
  2. 24
    Link each trace to a user or ticket ID.Support can find the trace for a complaint without asking engineering.
  3. 25
    Remove or mask personal data the trace does not need.Logging follows the same rules as the rest of your data.
  4. 26
    Set how long traces are kept.A written retention period that matches your privacy policy.
  5. 27
    Write one worked example of reading a trace.A real failure, walked through from input to output, kept in the runbook.

Incident response

Write the steps while you are calm. During an incident, people follow the page, not their memory.

  1. 28
    Define severity levels for this agent.What counts as minor, major and critical, with an example of each.
  2. 29
    Write the first five minutes.Confirm the problem, check recent releases and vendor status, decide whether to switch off.
  3. 30
    Name who can switch the agent off.At least two people, and the exact way to do it.
  4. 31
    Have a switch that turns the agent off without a deploy.A feature flag or config change that sends traffic to the fallback in minutes.
  5. 32
    Write who is told, and when.Support, the business owner and, if customers are affected, whoever speaks to them.
  6. 33
    Record what the agent did during the incident.The affected cases are listed from traces so they can be checked and put right.
  7. 34
    Hold a short review after every major incident.What happened, why, and the test or alert that would have caught it, written within a week.

Rollback and release

Rolling back should be a deploy, not an investigation.

  1. 35
    Know the last good release.Its tag is written in the runbook and updated after each release.
  2. 36
    Write the exact rollback steps.The commands or clicks, in order, tested at least once.
  3. 37
    Roll back prompt, model and config together.One action returns all three to the last good release.
  4. 38
    Release changes to a small share of traffic first.A canary or staged rollout, watched against the alerts before full release.
  5. 39
    Keep a release log.Every release, who shipped it, what changed and its eval score.

Vendor and model changes

Model vendors retire and change models on their own schedule. Find out weeks ahead, not on the day.

  1. 40
    List every model and vendor the agent depends on.Including models used for embeddings, moderation or routing.
  2. 41
    Record the announced retirement date for each model.Taken from the vendor's own deprecation page, with the link.
  3. 42
    Subscribe a named person to each vendor's change notices.Status page, changelog and deprecation emails go to someone who reads them.
  4. 43
    Test a replacement model before the old one is retired.The eval suite runs on the new model, and the result is recorded.
  5. 44
    Have a second provider ready for critical paths.Or a written decision that the agent waits during an outage, and what the business does meanwhile.

Cost and limits

A loop or a traffic spike can run up a bill overnight. Put limits in place before it happens.

  1. 45
    Track cost per run and per day.A daily figure someone looks at, with the cost per run from traces.
  2. 46
    Set a budget alert.An alert when daily spend passes a set amount.
  3. 47
    Cap steps and tokens per run.A run that loops stops at a set limit and hands off to a person.
  4. 48
    Know your rate limits.The vendor's limits for your account, and what the agent does when it hits them.

Ownership and review

A runbook nobody owns goes stale. Give it a name and a date.

  1. 49
    Name the owner of the agent.One person, with a deputy for when they are away.
  2. 50
    Name the business owner.The person who decides what good looks like and signs off on changes in behaviour.
  3. 51
    Review the runbook after every release.Versions, last good release and contacts are current.
  4. 52
    Test the runbook with someone who did not build the agent.They can find the cause of a planted problem using only the runbook.
  5. 53
    Review quality and cost every quarter.Eval trend, incidents, spend and the plan for the next quarter, in one short meeting.
Runbook FAQ

Questions about the runbook

What goes in an AI agent operations runbook?

The steps a team needs to keep an agent working after launch. This one has 53 steps in 10 areas: scope and limits, versions, evals and a baseline, monitoring and alerts, tracing, incident response, rollback, vendor and model changes, cost limits, and ownership.

How is it different from a normal service runbook?

An agent can fail while every server is healthy: the answers get worse, a tool is called too often, or the model changes underneath you. So the runbook adds a quality threshold from evals, pinned model and prompt versions, and a watch on vendor retirement dates.

Who should own it?

The engineer who owns the agent, with a deputy, and a business owner who decides what good looks like. Test it by asking someone who did not build the agent to find a planted problem using only the runbook.

If you would rather not hold the pager

We run the evals, alerts, fixes and model changes for you.

Managed AI Operations starts at $3,000/mo for 1 system, with a monthly improvement plan and a quarterly review.