CheckOps home

Tech checklists

AI

AI agent testing checklist

What to check before and after you ship an AI agent that uses tools, takes several steps and acts on real systems: permissions, approvals, limits, traces, sandboxing, prompt injection, undo and trajectory evals.

46 items5 sectionsEst. 69 min

About this checklist

An AI agent does more than write text. It decides what to do next, calls tools (search, APIs, a browser, a code runner, an MCP server), works through several steps and changes real things: it sends messages, edits records, books, buys or deploys. Think of it as a new intern with a company card. You would not judge the intern only on what they say they did. You would check what actually happened, what they were allowed to touch, how much they could spend, and who signs off on the big decisions.

This checklist builds on the AI feature release checklist, which covers the basics of testing model output: pass/fail rules, eval sets, AI judges and red-teaming. Here the focus is what agents add: tools and permissions, multi-step tasks, limits on actions and spending, human approval, traces, sandboxing, prompt injection through tools and web content, undo, runaway loops and cost, evals of whole task runs (often called trajectories) and monitoring.

Items follow published guidance from Anthropic and OpenAI on building and evaluating agents, and map security risks to the OWASP Top 10 for Agentic Applications 2026 (ASI01 to ASI10) and the OWASP Top 10 for LLM Applications 2025. Where experts disagree, such as how strictly to grade the path an agent takes, the item says so.

For people and agents. Every item ends with a Done when line, so a reviewer or a coding agent can check it the same way. Use the JSON or Markdown export to hand the list to an agent, or the share link to send your progress to a teammate.

About the tools named here. Tools are examples, listed in no particular order, and each links to its CheckOps page with its limits. CheckOps takes no paid placement.

0 of 46 done · 0%

Saved in this browser

Before build: scope, tools and permissions0/10
  1. Write down the agent's goal, its tools, and the actions it must never take.essential

    Name the task, the users, every tool the agent can call, and the hard limits (for example, never delete customer data, never pay a new supplier, never email outside the company). What is not on the list should not be possible.

    Done when: A spec lists the goal, each tool, the never-do actions and what is out of scope, and a second person has reviewed it.

  2. Check whether a simpler, fixed workflow would do the job.high

    Anthropic's advice is to use the simplest approach that works and add agent autonomy only when it clearly helps, because agents trade speed and cost for flexibility and their mistakes can compound. A fixed chain of steps is easier to test.

    Done when: The spec records why a fixed workflow was not enough, or the design was changed to one.

  3. Rate every tool by risk: read or write, reversible or not, money, messages.essential

    OpenAI's agent guide suggests rating each tool low, medium or high risk based on read-only versus write access, whether the action can be undone, the permissions it needs and its financial impact. The rating decides which checks and approvals each tool gets.

    Done when: Each tool has a written risk rating and the reason for it.

  4. Give the agent its own identity with the fewest permissions it needs.essential

    Do not let the agent borrow a person's login or an admin key. Give it its own account, scoped to the tools and data the task needs, with short-lived credentials. When it acts for a user, it should act with that user's rights, not more.

    Done when: The agent has its own credentials, their scopes match the tool list, and no shared or admin credentials are in its environment.

  5. Decide which actions need a human to approve them, and what the approver sees.essential

    High-risk, irreversible or expensive actions should wait for a person. Show the approver the exact action (the email text, the amount, the records to change), not the agent's summary of it, because a confident explanation can talk someone into approving the wrong thing (OWASP ASI09).

    Done when: A written list says which actions need approval, and the approval screen shows the exact action and its parameters.

  6. Set hard limits outside the model: steps, tool calls, spend, time.essential

    Cap the steps per task, the tool calls, the money or tokens spent and the run time, and enforce the caps in code so the model cannot talk its way past them. Anthropic recommends stopping conditions such as a maximum number of iterations.

    Done when: Caps for steps, tool calls, spend and run time are set in code and configuration, not only in the prompt.

  7. Check for the "lethal trifecta": private data, untrusted content and a way to send data out.essential

    Simon Willison's rule of thumb: an agent that can read private data, also reads content an attacker can control (web pages, emails, issues), and can send data out (email, web requests, links) can be tricked into leaking that data. Remove one of the three where you can, or put a person in front of the outbound step.

    Done when: The design notes which of the three the agent has, and if it has all three, an outbound control or approval is in place.

  8. Write clear tool descriptions and strict input checks.high

    Agents choose tools from their names and descriptions, so unclear ones cause wrong calls. Give each tool a clear description and a strict input schema, and check the inputs on the server side too, not only in the prompt.

    Done when: Every tool has a description, an input schema and server-side validation that rejects bad inputs.

  9. Plan how each write action can be undone.essential

    For every tool that changes something, decide how to reverse it: drafts before sending, soft deletes, staged changes, safe repeat calls that do not double-charge. Where an action cannot be undone, it needs approval.

    Done when: Each write tool has a documented undo, or is marked irreversible and requires approval.

  10. Check every MCP server, plugin and outside agent before you connect it.high

    Tools loaded at run time are part of your supply chain. A hostile or changed tool description can carry instructions. Use trusted sources, pin versions, and review what each one can access (OWASP ASI04).

    Done when: Every connected MCP server, plugin and external agent is listed with its source, version and access, and has been reviewed.

Before release: test whole task runs0/12
  1. Start with a small set of real tasks, taken from manual checks and known failures.essential

    Anthropic suggests 20 to 50 simple tasks drawn from real failures is a good start, then growing the set over time. Use the checks you already do by hand and the problems users report.

    Done when: An eval set of tasks exists in version control and includes the manual checks and known failures.

  2. Write each task so two experts would agree on pass or fail.essential

    Ambiguous tasks turn into noisy scores. Give each task a clear goal, everything the grader will check, and a reference solution that shows it can be done.

    Done when: Each task has a clear goal, written pass criteria and a reference solution.

  3. Include tasks where the agent should not act, should ask or should stop.high

    If every task rewards doing something, the agent learns to always act. Add tasks where the right move is to ask a question, refuse or hand over to a person.

    Done when: The set includes ask, refuse and hand-over tasks, with that as the expected result.

  4. Run every trial in a clean sandbox that mirrors production tools.essential

    Each run should start from a fresh environment with fake but realistic data, so leftovers from one run do not affect the next and nothing real is touched. The tools should behave like production.

    Done when: Eval runs start from a reset sandbox with test data and no production credentials.

  5. Grade what actually happened, not what the agent says happened.essential

    An agent can say "your flight is booked" when it is not. Check the final state: the record exists in the database, the email is in the outbox, the file changed as asked.

    Done when: Each task's grader checks the final state of the environment, not only the agent's message.

  6. Grade the path as well: forbidden tools, limits and approvals.essential

    Check the record of the run (the trace or trajectory) for things that must never happen: a forbidden tool called, an amount over the limit, a risky step without approval, too many steps. Anthropic warns against requiring one exact sequence of steps, because agents often find valid routes you did not expect, so grade the rules, not the route.

    Done when: Trace checks for forbidden tools, limits and approvals run on every task, and no task requires an exact tool order unless it truly must.

  7. Give partial credit on multi-step tasks.medium

    An agent that verifies the customer but fails the refund is better than one that fails at the start. Score each step so you can see where runs break.

    Done when: Multi-step tasks report which steps passed, not only a final pass or fail.

  8. Run each task several times and measure consistency.high

    Agents behave differently run to run. Anthropic describes two measures: pass@k, the chance at least one of k tries succeeds, and pass^k, the chance all k succeed. For a customer-facing agent, doing it right every time (pass^k) usually matters more.

    Done when: Each task runs several times, and the report shows the per-task success rate and the measure the team chose.

  9. Test what the agent does when tools fail or return bad data.essential

    Make tools time out, return errors, return empty or wrong results and hit rate limits. The agent should retry sensibly, try another route or stop and report, not loop, guess or pass bad data on to the next step (OWASP ASI08, cascading failures).

    Done when: Eval tasks with failing and wrong tool results exist, and the agent recovers or stops cleanly in them.

  10. Test multi-turn conversations, including changes of mind and unclear requests.medium

    Users change their minds, leave out details and correct the agent. Simulated users or scripted turns can test this.

    Done when: Multi-turn tasks with corrections and unclear requests are in the set and pass.

  11. Read the traces of failed and passed runs before you trust the score.essential

    A failure might be a grader bug or an unclear task, not the agent. A pass might come from a loophole. Reading the full record of runs is how you know the score means something. Make graders hard to game.

    Done when: Someone has read traces of failed and passed runs, and grader bugs found were fixed.

  12. Keep separate test sets for new abilities and for regressions.high

    Capability evals track what the agent is learning to do and can start with a low pass rate. Regression evals check it still does what it used to and should pass almost every time. A drop in the regression set blocks a release.

    Done when: Capability and regression sets are separate, and a regression drop blocks the release.

Before release: security, limits and control0/11
  1. Test prompt injection through every tool result, web page and file the agent reads.essential

    Content the agent reads can carry instructions: a web page, an email, a support ticket, a code comment, an API response, even a tool description. The agent cannot reliably tell instructions from content (OWASP ASI01, goal hijack). Plant such instructions in each input type in the sandbox and check the agent ignores them.

    Done when: Eval tasks with planted instructions in each type of tool output pass, and the agent's goal does not change.

  2. Test that planted instructions cannot get data out.essential

    Common routes out are sending an email, calling a URL with data in it, or showing an image link that loads from an attacker's site. Check that planted instructions cannot make the agent leak private data through any of them.

    Done when: Exfiltration tests through each outbound channel fail to leak test secrets.

  3. Try to make the agent go beyond its permissions.essential

    Ask for another user's records, admin actions or tools it should not have. Check the refusal happens in the tool or API, not only in the model's answer (OWASP ASI03).

    Done when: Out-of-scope requests are blocked by the tool or API layer, with the attempt logged.

  4. Test harmful uses of allowed tools.essential

    A legitimate tool can do damage with the wrong inputs: delete all, email everyone, refund the maximum. Try these and check limits and approvals stop them (OWASP ASI02, tool misuse).

    Done when: Tests with destructive or oversized inputs to allowed tools are stopped by limits or approval.

  5. Run any code the agent writes only in a sandbox.essential

    Code from an agent should run with no secrets, limited network access, limited file access and a time limit (OWASP ASI05, unexpected code execution).

    Done when: Agent-run code executes in an isolated sandbox, and a test shows it cannot reach secrets or the open network.

  6. If the agent has memory, test that bad data does not carry into later sessions.high

    A false fact or planted instruction saved in memory can steer later tasks (OWASP ASI06, memory and context poisoning). Save one in a test and check what happens next session. Check memory stays separate between users.

    Done when: Memory poisoning tests pass, and one user's memory never appears in another user's session.

  7. If agents talk to each other, check who sent each message.medium

    In multi-agent systems, a message from another agent is still untrusted input. Authenticate the sender and do not treat another agent's output as orders (OWASP ASI07).

    Done when: Messages between agents are authenticated, and a spoofed-message test is rejected.

  8. Prove the limits work: force a loop and an overspend.essential

    Make a tool always return "try again" and check the step cap stops the run. Push spend past the cap and check it halts and alerts. Runaway loops are a common way agents waste money.

    Done when: Forced-loop and overspend tests stop at the caps and send an alert.

  9. Try to get around the approval step.essential

    Rephrase the request, split one big action into many small ones under the threshold, or ask the agent to mark it approved. The approval rule should be enforced in code.

    Done when: Rephrasing, splitting and self-approval tests all still trigger, or are blocked by, the approval step.

  10. Test the stop button in the middle of a task.high

    Stop a running agent mid-task and check it stops quickly, does not start new actions and leaves data in a consistent state.

    Done when: A mid-task stop test shows no further actions and consistent data.

  11. Test undo for every write action in staging.high

    Use the undo plan from before build: send a draft and recall it, change records and restore them, refund and reverse. An undo that has never been tried is a hope, not a plan.

    Done when: Each write tool's undo has been run successfully in staging.

Before release: roll out carefully0/5
  1. Run agent evals in CI on every change to prompts, models, tools or tool descriptions.essential

    A tool description edit can change behaviour as much as a prompt edit. Run the regression set on every such change and block on failures.

    Done when: CI runs the agent regression set on every relevant change and blocks on failure.

  2. Record a full trace of every run.essential

    Log every step: model calls, tool calls with their inputs and results, approvals, errors, time and cost, tied to the user and task. Hide secrets and personal data. Without traces you cannot explain or reproduce what the agent did.

    Done when: One real run can be replayed step by step from its trace, and traces mask secrets.

  3. Give the agent more freedom step by step: suggest, then approve, then act.high

    Start with the agent suggesting actions a person carries out, then let it act with approval, then widen what it can do alone as the evidence builds.

    Done when: The rollout plan names each level of autonomy and what evidence moves the agent to the next.

  4. Launch to a small group with tight limits and a kill switch.essential

    Release to staff or a few users first, with low spend and step caps, and a switch that stops all runs without a deploy.

    Done when: The first release goes to a named small group with tight caps, and the kill switch was tested.

  5. Tell users what the agent can do and when they are dealing with one.medium

    Users should know an agent is acting, what it can change and how to reach a person.

    Done when: The UI says when an agent is acting, lists what it can do, and offers a way to a person.

After launch: watch, audit and learn0/8
  1. Read a sample of real traces every week, including successful ones.essential

    Successful runs can still hide wasted steps, near misses and lucky escapes. Reading traces is still how most new failure types are found.

    Done when: Someone reads a sample of live traces on a schedule and records findings.

  2. Alert on unusual runs: too many steps, high spend, tool errors, blocked actions.essential

    Set alerts on step counts, spend per task, tool error rates and the number of blocked or denied actions. A spike in blocked actions can mean an attack or a broken prompt.

    Done when: Alerts exist for steps, spend, tool errors and denied actions, each with an owner.

  3. Track how people use the approval step.high

    If approvers reject or edit many actions, the agent needs work. If they approve everything within seconds, they may have stopped reading, and the approval step no longer protects you (OWASP ASI09).

    Done when: Approval, rejection and edit rates are tracked and reviewed.

  4. Review the agent's permissions and credentials on a schedule.high

    Permissions creep. Remove tools and scopes the agent no longer uses and rotate its credentials.

    Done when: A dated review shows current tools, scopes and credential rotation.

  5. Turn every incident and near miss into an eval task.essential

    Add the case to the regression set before fixing it, so it cannot return unnoticed.

    Done when: Each incident and near miss has a matching eval task.

  6. Re-run the full evals when a model, tool, MCP server or dependency changes.high

    Outside changes alter behaviour. Watch for provider model updates and new versions of connected tools.

    Done when: Dependency and model changes trigger a full eval run before they reach users.

  7. Watch for actions outside the agent's job, and keep logs it cannot change.high

    OWASP ASI10 (rogue agents) covers agents acting outside their scope or hiding what they did. Compare actions with the allowed list and keep audit logs the agent has no way to edit.

    Done when: Out-of-scope actions raise an alert, and audit logs are write-protected from the agent.

  8. Practise an incident: revoke the agent's access and undo what it did.medium

    Run a drill: switch the agent off, revoke its credentials, find every action from a time window and reverse them. Time how long it takes.

    Done when: A drill has been run and timed, and the runbook was updated afterwards.

Stay updated

Notes on testing tools, checklists, and software quality.