Skip to content
MINERVA™Studio

How do you audit an AI agent?

By Nick Jang, founder of MINERVA Studio ·

Part of our guide Agentic AI governance

The short answer

You audit an AI agent by testing what it's allowed to do and what it actually did. Check that it has its own identity, that its tool permissions are narrow, that risky actions wait for a person, that every tool call is logged and reviewed, and that someone can stop it and has tried.

Why an agent needs a different audit from a model

An ordinary model gives an answer and a person decides what to do with it. An agent decides and then acts: it calls tools, reads and writes data, sends messages, sometimes moves money. So the audit question shifts from "is the output sound?" to "what could this thing do, and what did it do?"

OSFI's July 2026 bulletin on generative and agentic AI puts it in risk terms. It names excessive permissions, shared or inherited credentials that blur accountability, tool chaining, and weak traceability of AI-initiated activity. Every one of those is something an auditor can test.

The model inside the agent still gets the model audit. The validation, the performance monitoring and the inventory entry all still apply, and our audit checklist for AI systems covers them. What follows is the extra layer an agent adds.

The audit checklist for an AI agent

Here's the work an auditor would plan, with the evidence to ask for. The control column follows OSFI's July 2026 bulletin and Singapore's agentic framework; the sample sizes and frequencies are yours to set.

What to test in an AI agent audit, and the evidence behind each test
AreaWhat you testEvidence to ask for
Inventory and ownershipThe agent is on the inventory with a named owner, a risk rating and a defined purposeInventory entry, risk rating, approval record
IdentityIt runs under its own non-human identity, not a person's login or a shared service accountIdentity register, credential settings, who the identity is tied to
PermissionsIts tools and data access match its task, and nothing moreTool allow-list, scopes, a sample of access recertifications
Approval checkpointsHigh-impact actions wait for a person, and the person is allowed to approve themThe rules that hold a call, a sample of held calls with who approved and when
Action logEvery tool call is recorded with the policy that allowed it, and someone reviews the logA sample of log entries traced end to end, review sign-offs
Change controlChanges to prompts, models, tools and permissions go through approvalChange tickets matched against the agent's actual configuration
TestingIt was tested before release on task execution, policy compliance and tool useTest plans, results, red-team findings and how they were closed
Monitoring and the stopAnomalies raise alerts, and the agent can be stopped or isolatedAlert history, incident tickets, the last stop drill
Third partiesVendor models, plugins and APIs it depends on are assessedThird-party risk files, vendor notice of AI use

Illustrative work program. Your audit methodology, risk rating and policy decide scope, samples and frequency.

How to test the controls, not just read about them

Policies for agents tend to read well. The gap shows up when you compare the policy with the configuration. A few tests that tend to find it:

  • Permissions against reality: export the agent's live tool list and scopes, then lay them next to the approved design. Anything extra is a finding, even if it's never been used.
  • Trace a sample both ways: pick 20 or so logged tool calls and walk each back to the request and the rule that allowed it. Then pick actions in the target system (a payment, a record change) and find each one in the agent's log. A log that only works in one direction isn't complete evidence.
  • Held calls: for a sample of actions that should have needed approval, check that each one waited, that the approver held the right role, and that the approver wasn't the person who built the agent.
  • Re-perform a refusal: in a test environment, ask the agent to do something its policy forbids and watch it get refused. Don't take the vendor's word for it.
  • The stop: ask when the kill switch was last used or drilled, who can press it, and how long it took. If the answer is "never", note it. See what a kill switch should do.

Singapore's agentic framework adds a test most audit programs miss: is the human oversight itself working? It suggests tracking how often people reject or change an agent's actions and how long they take to review. A very low override rate or very fast reviews can mean rubber-stamping. That's worth a look in any sample of approvals.

What OSFI and other standard setters expect you to find

No OSFI guideline is written only for agents, and the July 2026 bulletin doesn't mention internal audit. It sets out practices institutions can consider, building on B-13, E-21 and B-10. For an auditor, those practices make a sensible set of control objectives:

  • OSFI's bulletin: assign unique non-human identities, enforce least privilege and short-lived credentials, restrict tools through allow-lists and API gateways, put approval checkpoints on high-impact actions, and log and review agent activity and tool use, with periodic access recertification.
  • Singapore's agentic framework (IMDA, v1.5, May 2026): an agent's identity should be unique, tied to a person or department, and centrally catalogued; its authority scoped and least-privilege; and before release it should be tested for task execution, policy compliance, tool calling and robustness, across whole workflows, not just final outputs.
  • OWASP's Top 10 for Agentic Applications (2026): a list of failure modes to test against, among them agent goal hijack, tool misuse, identity and privilege abuse, memory and context poisoning, cascading failures and rogue agents. It's a handy source of test cases.
  • The IIA's AI Auditing Framework (updated September 2024): the internal auditor's general guide to AI governance and controls. It predates the agent wave and doesn't mention agents, so you'll be extending it, not just following it.

At a Canadian bank there's one more layer. OSFI E-23 applies from 1 May 2027 and defines models broadly enough to include AI. In our reading, the model an agent runs on belongs in the model inventory, which means the agent's audit should check that model's validation and rating as well.

Common findings

From the controls above, these are the gaps we'd expect an audit to turn up most often:

  • The agent runs under a developer's or a shared account, so its actions can't be told apart from a person's.
  • Permissions were granted broadly to make a pilot work and never narrowed.
  • Logs capture the agent's final answer but not each tool call, or nobody reads them.
  • A prompt or tool change went live without the change process because it "wasn't code".
  • The stop exists on paper but has never been tried.

None of these need new tools to find. They need someone to ask for the configuration, not the policy.

Where MINERVA fits

MINERVA keeps each agent's identity, permissions, held calls and decisions in one record an auditor can check for themselves. See know your agent.

Related questions

Is auditing an AI agent different from auditing an AI model?

Yes. A model audit asks whether the outputs are sound and the model is validated. An agent audit adds what the agent may do and did do: its identity, its tool permissions, the approvals on risky actions, the action log and the ability to stop it.

What logs should an AI agent keep for an audit?

One entry per tool call: which agent, acting for whom, the tool and its inputs, the policy that allowed or held it, who approved a held call, and what happened. OSFI's July 2026 bulletin asks that agent activity and tool use be logged and reviewed. More in what an AI audit trail should record.

Who should audit AI agents at a bank?

Internal audit, as the third line, gives the independent assurance, usually with IT audit skills on the team. The second line (model risk, technology risk) should be reviewing the agents first. See the three lines of defence.

Does OSFI require banks to audit AI agents?

Not in a rule of its own. OSFI's July 2026 bulletin sets out practices for agents that build on B-13, E-21 and B-10, and E-23 brings AI models into model risk management from 1 May 2027. An audit plan that covers agents is how a bank shows those practices work.

Can you use AI to audit an AI agent?

For parts of it. Tools can scan full logs for unusual patterns instead of sampling. The conclusion stays with the auditor, and an AI tool audit relies on should itself be governed. See how auditors use AI.

How often should an AI agent be audited?

Your audit plan sets that by risk. An agent that moves money or touches customer data would normally be in scope sooner and more often than an internal helper, and OSFI's bulletin also asks for periodic access recertification between audits.

Sources

New answers are posted on MINERVA on LinkedIn. Follow along, or send the question you’d like answered next to minerva@minerva.studio.

A plain-language explanation, not legal advice. The regulator’s own text is the source; read it, and take advice on how it applies to your institution.

Read next

Answers AI governance

Questions about your own inventory? Ask a person.

An enterprise customer representative replies within one working day.