Planning an ISO 42001 internal audit programme that samples AI agent tool calls
Treat the agent tool call as the auditable unit. Define audit criteria from your AI management system (AIMS) requirements and the Annex A controls you have adopted. Build a sampling frame of tool calls stratified by risk, set sample sizes and selection methods in the audit programme, and specify the evidence each sampled call must produce. Prefer evidence recorded when the call happened, so auditors can verify what the agent was permitted to do rather than reconstruct it afterwards.
Specify the evidence each sampled call must produce
- Identity and context: which agent, which user or service identity, and which system or session initiated the call.
- The call itself: tool or system invoked, action requested, and parameters, with sensitive values handled according to your data rules.
- Policy applied: the policy and version evaluated at the time of the call, not the version current at audit time.
- Decision taken: allow, redact, block or escalate, with the approver and approval time for human-approved calls.
- Timing and outcome: timestamps for request, decision and result, and whether the call completed.
- Integrity and retrievability: a record the audit team can retrieve and verify without relying on the audited team to assemble it.
Set scope and criteria before choosing a sample
ISO/IEC 42001 requires internal audits of the AIMS at planned intervals. A NIST crosswalk maps the internal audit programme requirement (clause 9.2.2) to the independent assessment expectation in AI RMF Measure 1.3, which calls for internal experts who were not front-line developers and/or independent assessors. The programme is the place to record frequency, methods, responsibilities and scope. Sampling decisions belong in it, not in an individual auditor's notebook.
ISO 19011 defines an audit as a systematic, independent and documented process for obtaining audit evidence and evaluating it objectively against audit criteria. Audit criteria are the reference for conformity, and audit evidence must be verifiable. Both ideas shape tool-call audits. If the criteria are vague, no sample can show conformity. If the evidence cannot be verified, the sample proves nothing.
Write criteria as statements a single tool call can be tested against. Examples: a call to a system holding personal data was permitted only for roles your policy names; a call above a defined impact threshold was escalated for human approval; a call outside an agent's permitted tool set was blocked. Trace each statement to the AIMS requirement or Annex A control it supports. The crosswalk, for instance, links verification and validation (B.6.2.4) and technical documentation (B.6.2.7) to specific assessment expectations. Controls that cannot be tested at call level, such as policy approval or competence, stay in conventional document and interview audits.
Build a risk-based sampling frame
The sampling frame is the list of tool calls from which you select. Agents call tools at high volume, across many systems, and behave non-deterministically, so the frame needs an explicit definition: which agents, which tools and systems, which time window, and which environments. Production calls are the usual focus. Test environments can be a separate, lower-risk stratum if they touch real data.
Completeness matters more than size. An auditor can only conclude something about the population if the frame covers it. Reconcile the frame against an independent inventory of agents and tools, and record any gaps as limitations in the audit plan. A frame built only from the logs of the team being audited inherits that team's blind spots.
Stratify by risk so that rare, consequential calls are not diluted by routine ones. Practical strata are listed below. The programme should record who approved the strata and why, since that approval is itself auditable.
- Data sensitivity: Calls that read or write regulated or confidential data, compared with calls touching public data.
- Action type: Read-only calls, calls that change records, and calls with external or irreversible effects.
- Policy outcome: Allowed, redacted, blocked and escalated calls, including those approved by a human.
- Agent and tool criticality: Agents and tools tied to higher-risk AI systems in the risk assessment.
- Change recency: Calls made soon after a change to an agent, tool set or policy.
- Exceptions: Calls made under a policy exception or by a service identity with broad permissions.
Choose sample sizes and selection methods
No standard prescribes a sample size for agent tool calls, so the size is a documented design decision. The usual approach is attribute sampling: for each sampled call, the auditor answers a yes or no question, such as whether the recorded decision matched the policy in force. The sample size follows from the confidence level you want, the deviation rate you can tolerate, and the number of deviations you expect. As an illustration of the arithmetic, if you expect no deviations and find none in a random sample of 59 calls, you can state with 95 percent confidence that the deviation rate in that stratum is below 5 percent. Stricter tolerances need larger samples.
Use random selection within each stratum so results can be generalised, and set a minimum per stratum so low-volume, high-risk strata are not skipped. Add judgemental or targeted selection for events that carry the most information: every blocked or escalated call in a period, or all calls following a policy change. Keep the two methods separate in the report. Random samples support statements about the population. Targeted samples support statements about specific events and should not be extrapolated.
Non-deterministic behaviour is a reason to resample across periods rather than rely on a single test. An auditor needs to identify the process, find objective evidence and judge effectiveness over time, and one clean month does not show that. If AI-assisted tooling is used to analyse sampled calls, it needs validation, and the conformity decision stays with the human auditor.
Assess whether your evidence source supports independent verification
The evidence source determines what an audit can conclude. Reviewing application logs after the fact can show that a call occurred, but it usually cannot show which policy applied or what the agent was allowed to do at that moment. The auditor reconstructs intent from outcomes, which invites narrative assertion. Evidence produced by policy enforcement in the execution path records the decision as it is made, so the record of an allow, redact, block or escalate decision exists independently of any later explanation.
Test the source against four questions. Does it record the policy applied to each call at the time? Can an auditor independent of the agent's builders and operators retrieve and verify a sampled record? Can blocked, escalated and human-approved calls be identified for targeted sampling? Where are retention, integrity and residency controls defined? The crosswalk supports independence for assessors. Extending it to the evidence source is a sensible design principle, because an audit loses force if the audited team controls the records.
Trussed enforces policy in the execution path on individual interactions and tool calls, with allow, redact, block, rate limit and escalate-for-approval outcomes, and generates audit-ready evidence mapped to recognised frameworks. It can be self-managed in the customer cloud, with configurable retention and data residency. Whatever source you use, apply the same verification test.
Plan findings, nonconformity handling and re-sampling
Decide in advance how a deviation in a sample becomes a finding. Define what counts as a deviation per criterion, how many deviations in a stratum trigger a nonconformity, and how isolated exceptions are treated. A single call executed outside policy is a different finding from a systematic gap, such as a tool that was never in the policy scope. Record the stratum, the sampling method and the confidence statement alongside each finding so management can judge its weight.
Nonconformities should follow your AIMS corrective action process: root cause, correction, and a check that the action worked. For tool-call findings, the check is a re-sample. Draw a new sample from the period after the fix, using the same criteria and at least the same stratum minimum, and report the result in the next audit cycle. Where findings point to a change in policy or agent permissions, add the changed area to the next programme as a targeted stratum.
Certification and surveillance audits are a separate matter. ISO/IEC 42006:2025 covers requirements for bodies that audit and certify AI management systems, and ISO/IEC AWI 42003, implementation guidance for 42001, was still under development as of November 2026. Internal audit design should therefore rest on the 42001 requirements and ISO 19011 practice, with your sampling rationale documented well enough that an external auditor can follow it.
Tool-call audit programme at a glance
Scope and criteria
Link AIMS requirements and adopted controls to testable agent behaviours.
Sampling frame
Define the population of tool calls and stratify by risk.
Sample selection
Combine random and targeted selection, and document the rationale.
Evidence per call
Specify the attributes an auditor must be able to verify.
Findings and re-sampling
Handle nonconformities and test corrective action across periods.
Check whether your tool-call evidence can be audited
Talk through your sampling frame and evidence requirements with a Trussed specialist, and see how enforcement in the execution path produces audit-ready evidence.
Talk to an ExpertHow does your AI governance program compare?
See where your program has gaps in less than 2 minutes.