Download: AI agent action audit worksheet (Excel)
Three tabs: a sampling plan (risk tier, population, method, sample size, frequency and rationale, left blank for you to set), a checklist that compares each sampled agent action with intended use, permissions, audit-trail completeness and human sign-off with its Part 11 or Annex 11 reference, and a findings and CAPA log. Each working tab has one row labelled EXAMPLE with invented values. No form or sign-up. Free to copy and use inside your organization. General guidance, not regulatory advice.
Who audits, and how this differs from the record and the review
This is a quality assurance audit: an independent look, by someone who does not run the agent, at whether sampled agent actions were within what the organisation approved. It is different from two things covered on other Atlas Bio pages. The audit trail is the record the agent produces; this audit checks that record against reality. A periodic review is a scheduled look at whether the agent still performs as validated; this audit samples individual actions. Findings from this audit feed deviations and CAPA.
Independence matters because the system owner has an interest in the result. In a small company the auditor may be a QA reviewer, an outside consultant or a person from another function; the point is that they are not reviewing their own work. The accountable decisions about GxP scope stay with your quality function.
What the rules say that this audit relies on
21 CFR Part 11, section 11.10(e), asks for secure, computer-generated, time-stamped audit trails to independently record the date and time of operator entries and actions that create, modify or delete electronic records, and says record changes shall not obscure previously recorded information. Section 11.10(d) and (g) ask for limiting system access to authorized individuals and authority checks so that only authorized individuals can use the system, electronically sign a record, or alter a record. Section 11.10(a) asks for validation of systems. FDA's 2003 guidance, Part 11, Electronic Records; Electronic Signatures - Scope and Application, describes enforcement discretion for some 11.10 requirements, including validation and audit trails; predicate-rule requirements still apply, and FDA recommends risk-based approaches to audit-trail controls.
EU GMP Annex 11 section 9 says consideration should be given, based on a risk assessment, to building into the system a record of all GMP-relevant changes and deletions, that the reason should be documented for change or deletion of GMP-relevant data, and that audit trails need to be available, convertible to a generally intelligible form and regularly reviewed. Section 12 asks for controls restricting access to authorised persons and says management systems for data should record the identity of operators. Section 1 says decisions on the extent of validation and data integrity controls should rest on a justified and documented risk assessment. A revised Annex 11 and a new Annex 22 on artificial intelligence were published as drafts for consultation in 2025; until a revised Annex 11 comes into operation, the 2011 version applies, and Annex 22 is not yet in force.
ISPE's public page for GAMP 5 Second Edition, A Risk-Based Approach to Compliant GxP Computerized Systems, says the guide highlights the importance of applying critical thinking by knowledgeable and experienced subject-matter experts when defining the appropriate approach for specific circumstances. Part 11 and Annex 11 set no sample size or audit frequency. GAMP 5 is industry guidance, not a regulation; this page cites only ISPE's public description of it. Sampling and frequency are for your risk assessment to set and for your procedure to state. Whether Part 11 or Annex 11 applies to a given agent depends on the records it creates or is relied on for.
The audit procedure
1. Define scope and risk tiers. List the agents in scope from your agent inventory and classify each by the most regulated record it can touch. 2. Set the sampling plan. For each tier, record the population of actions in the audit period, the sampling method (random, risk-weighted or every action), the sample size and the frequency, with the rationale linked to your risk assessment. Higher-risk tiers typically warrant larger samples or more frequent audits; the numbers are yours to justify. 3. Draw the sample from the audit trail itself, not from a list the system owner supplies, so the population is independent. 4. Examine each sampled action against the checklist below. 5. Record the result and the evidence reference for every item. 6. Raise findings, agree containment, and hand them to your deviation and CAPA procedures. 7. Report to the system owner and quality management, and use the results to update the risk assessment and the next sampling plan.
What to compare each sampled action against
The same four comparisons apply to every sampled action. The worksheet turns them into a checklist with a result and evidence column for each item.
| Compare against | Question | Evidence to examine | Source |
|---|---|---|---|
| Intended use | Was the action inside the agent's documented intended use and validated scope? | Intended-use statement; validation documentation | Part 11 11.10(a); Annex 11 s.4 and s.1 |
| Permissions | Did the agent act only within the permissions granted, under a named owner? | Permission manifest; access-authorisation records | Part 11 11.10(d),(g); Annex 11 s.12 |
| Audit-trail completeness | Is there a secure, time-stamped entry showing who or what acted and what was created, changed or deleted, and, for a change or deletion of GMP-relevant data, the documented reason (Annex 11 s.9)? | Audit-trail extract for the action | Part 11 11.10(e); Annex 11 s.9 |
| Human review and sign-off | Did the accountable person review and sign where the predicate rule or your procedure requires? If signed electronically, does the record show the printed name, date/time and meaning (11.50), is the signature linked to the record (11.70; Annex 11 s.14b) and unique to one individual (11.100(a))? | Review and signature record | Predicate rule / your SOP; Part 11 11.50, 11.70, 11.100(a); Annex 11 s.14 |
Findings, CAPA and frequency
Classify findings on your own scale, for example by whether a GxP record or decision was affected. Contain first: suspend the agent or its affected function if the risk warrants, and protect the records. Then hand each finding to your deviation, incident and CAPA procedures with a root-cause category, an owner and a due date; the page on AI agent deviations and CAPA covers root-cause categories for agent errors. EU GMP Annex 11 section 13 says the root cause of a critical incident should be identified and should form the basis of corrective and preventive actions. Where the corrective action changes the agent's configuration, model or prompts, it goes through change control.
On frequency: set it by risk and document the reason. Increase sampling after a finding, a model or prompt change, a supplier change or an incident, and consider lowering it only with evidence from clean results. Any figure you see quoted elsewhere is a practice, not a Part 11 or Annex 11 requirement, unless the cited text states it. The free worksheet leaves sample size and frequency blank for this reason, and its example row is labelled as an example.
An audit is easier when each agent already has an inventory entry, an owner and a log you can sample from. Atlas Bio's Secure AI for Life Sciences starts with an AI risk assessment of current AI use and data exposure. Status, October 2026. In use in Atlas Bio's own agent platform today: a separate verification step that checks agent work, and a hold that stops a task until a person decides. Built and tested on synthetic data, not yet used with a client: the AI risk assessment tooling (AI discovery, data-flow and vendor-terms mapping, and a NIST AI RMF gap report) and a record of what data an AI used, what it produced and who reviewed it. Built and tested offline against a mock, not yet deployed: a template for a customer-controlled AI environment in your own Azure tenant. Planned, design only with no code yet: an AI gateway, agent permissions, evidence linkage and notifications. Decisions on GxP scope and validation stay with your organization, under your quality function's oversight.
How many AI agent actions should QA sample?
Part 11 and Annex 11 set no sample size or audit frequency for agent actions. Set the sample size and frequency from a documented risk assessment for each risk tier, record the rationale, and raise sampling after findings or changes. The free worksheet leaves these fields blank.
Who should perform the audit?
A person independent of the team that runs the agent, for example a QA reviewer, a person from another function or an outside auditor. They need access to the audit trail and the agent's documentation, and should draw the sample from the audit trail rather than from a list the system owner prepares.
What is the difference between this audit and a periodic review?
A periodic review checks whether the agent still meets its intended use and validated state over time. This audit samples individual agent actions and compares each against intended use, permissions, audit-trail completeness and human sign-off. Findings from either can feed deviations, CAPA and change control.
Does Part 11 require an audit of AI agent actions?
Part 11 section 11.10(e) requires secure, computer-generated, time-stamped audit trails for records the rule covers; it does not mention auditing AI agent actions or set a sampling plan. Whether Part 11 applies depends on whether the agent creates, modifies, maintains or transmits records the rule covers. Reviewing the audit trail is a way to show those controls work.
Is there a template for the audit?
Yes. The AI agent action audit worksheet is a free .xlsx download with a sampling-plan tab, a checklist tab and a findings and CAPA tab. Each working tab has one row labelled as an example, with invented values you should delete before use. No sign-up is needed.
- eCFR: 21 CFR Part 11 - Electronic Records; Electronic Signatures
- European Commission: EudraLex Volume 4, Annex 11 - Computerised Systems (revision 1, 2011)
- FDA: Part 11, Electronic Records; Electronic Signatures - Scope and Application (guidance for industry, 2003)
- European Commission: Stakeholders consultation on EudraLex Volume 4, Chapter 4, Annex 11 and new Annex 22 (Artificial Intelligence)
- ISPE: GAMP 5 Guide 2nd Edition (public description page)
- AI Agent Audit Trails: 21 CFR Part 11 and Annex 11
- Checking AI Agent Actions in GxP: Audit Trail Review, Access Review and Periodic Review
- AI Agent Errors in GxP and R&D: Deviations and CAPA
- Does 21 CFR Part 11 Apply to AI Tools and Agents?
- GxP AI Agent Validation: 6 Risk-Based Steps
- AI Trust & Security for Life Sciences
- Technical evidence: what Atlas Bio has built
Talk to Atlas Bio.
Sponsors, researchers and clinicians: tell us the decision you are trying to make and we will show what the platform can and cannot answer.
Contact Us →