The draft EU GMP Annex 22, Artificial Intelligence, proposes an AI-specific framework for computerized systems used in the manufacture of medicinal products and active substances, supplementing Annex 11. Its scope turns on a consequential phrase: AI models used in “critical applications with direct impact on patient safety, product quality or data integrity.” The draft then draws an explicit boundary: generative AI and large language models “should not be used in critical GMP applications.” For noncritical applications, it places responsibility on qualified, trained personnel to ensure that outputs are suitable for their intended use.
That distinction makes criticality more than a validation-planning question. It becomes a threshold question about whether the proposed technology belongs in the application at all. Before asking how we will validate an AI tool, we need to establish what we intend to rely on it to do.
I have explored the broader regulatory changes in Regulatory Changes I am Watching – July 2025 and the human–machine relationship in The Missing Middle in GMP Decision Making: How Annex 22 Redefines Human-Machine Collaboration in Pharmaceutical Quality Assurance. Those discussions lead to a practical question: how do we distinguish meaningful human control from a human signature attached to an AI-generated conclusion?
The capability to make that distinction also depends on preserving expertise. As I argued in The Expertise Crisis: Why AI’s War on Entry-Level Jobs Threatens Quality Excellence, AI should augment human capability, not replace the developmental work through which people acquire it. A review requirement offers limited protection if we systematically remove the experience needed to perform the review.
A critical application does not become noncritical because a human clicks “approve.” An AI application does not become critical simply because someone in Quality uses it.
The question is what the organization relies on the application to do.
Does it improve the wording of a conclusion already established through an independent review of the evidence? Or does it select the evidence, propose the explanation, and leave the reviewer to determine whether the resulting narrative sounds reasonable?
Those are different applications. They require different assessments. Calling both “AI-assisted drafting” obscures the very distinction we need to understand.
Human oversight is a control to be designed, challenged, and demonstrated—not a classification exemption. We need to know what the reviewer independently establishes, which source records they examine, how they identify omissions, and what prevents an unsupported output from becoming an approved record or a quality decision.
The tools for this work largely exist already. ASTM E2500, GAMP 5 and ISPE’s commissioning and qualification approach all rest on the same logic: understand the product and process, identify what is critical to quality, define the system boundary, and verify that the controls protecting those critical aspects work. ISPE’s system classification asks whether a system has direct impact on product quality. GAMP 5 carries that thinking into functional risk assessment and critical thinking about patient safety, product quality and data integrity. ASTM E2500 adds the principle that verification effort should follow the critical aspects and be led by subject matter experts, not by documentation volume. None of these frameworks offers a ready-made definition of “critical AI,” and their classifications are not interchangeable with the scope of draft Annex 22. The work is to apply these established methods to the evidence, decision and action pathway an AI application creates, and not to invent a new discipline for AI.
The assessment should therefore begin with the GxP function we are asking the application to perform. The sophistication of the model, the department that purchased it and the presence of an approval step don’t settle that question. Once we have defined the function, the established tools can take over. We can classify its impact, assess its risks, identify its critical aspects and verify the controls that protect them.
Five Principles
A defensible approach to AI criticality should do five things:
- Classify the business process and system before assessing individual AI functions.
- Identify exactly how each AI output enters a GMP action, decision, or record.
- Distinguish the importance of the function from the residual risk remaining after controls.
- Evaluate human review as an operating control whose effectiveness requires evidence—not as an automatic exemption from criticality.
- Apply the relevant regulatory boundary separately from the question of whether the technology can be tested.
For the EU draft Annex 22, the controlling language is “critical applications with direct impact on patient safety, product quality or data integrity.” The consultation text says generative AI and large language models “should not be used” in those applications. It separately describes noncritical GMP use with qualified, trained personnel responsible for output suitability. It does not say that human approval converts a critical application into a noncritical one.
The practical conclusion is straightforward:
Classify AI by the role its output performs in the quality process, not by the label attached to the software or the presence of a signature at the end.
Regulatory note: This article interprets the published Annex 22 consultation text. The Commission’s consultation ran from 7 July to 7 October 2025. Over a year later, I like everyone else, am waiting to see the next stage of work.
Start With the Right Question
“Is this AI critical?” is usually too broad to answer.
Consider a single enterprise AI platform used to:
- Rewrite an internal meeting invitation.
- Improve the grammar of an investigation narrative.
- Search approved procedures.
- Summarize environmental monitoring excursions.
- Recommend whether a contamination event affects a batch.
- Populate an approved investigation record through an interface.
The platform is the same. The reliance is not.
Assessment should work at several levels: the business process, the overall system, and the individual functions within that system. The initial assessment determines whether the system is GxP-relevant and what impact it has. Later assessment identifies the functions that affect patient safety, product quality, and data integrity. A system may also fall only partly within GxP scope, so one platform can contain both regulated and unregulated functions.
A useful unit of AI assessment is therefore:
A defined AI function, operating on specified data, within a bounded workflow, producing an output used for a stated purpose, with identified controls and accountable owners.
“Copilot for Quality” is not an intended use. Neither is “AI-assisted investigations.”
“Improve grammar in an investigator-authored narrative without adding facts, changing technical meaning, selecting evidence, or proposing conclusions” is an intended use we can assess.
“Identify the most likely root cause from the investigation file” is another. It should not inherit the classification of the grammar tool merely because both appear in the same interface.
Four Things We Should Stop Calling the Same Thing
When we are evaluating any system we are relying on four classifications.
| Classification | The question it answers | Why it matters for AI |
|---|---|---|
| GxP applicability | Does the application support a regulated activity or regulated information? | Establishes the relevant compliance scope. |
| System impact | What impact can the system have through its role in the business process? | Establishes the overall assurance context. |
| Function criticality | What GxP-relevant role does this particular function perform? | Identifies where errors could affect decisions, controls, or records. |
| Residual risk | What risk remains after verified controls operate? | Supports acceptance, further mitigation, restriction, or rejection. |
This separation is a synthesis of GAMP 5’s initial assessment, functional assessment, control verification, and residual-risk evaluation. ISPE’s commissioning and qualification approach similarly separates system classification from assessment of the controls needed for direct-impact systems.
A fifth concept belongs beside these, not inside them: software category.
GAMP categories describe the nature of software components and help scale lifecycle activities. They are not patient-risk categories. GAMP 5 cautions against table-driven approaches based solely on categorization and notes that systems commonly contain components from several categories. Calling a product Category 3, 4, or 5 does not answer whether its AI function is critical.
An off-the-shelf application can perform a critical function. Custom software can perform a minor administrative one.
Criticality Is Not Residual Risk
A sterilization control does not become noncritical because it is reliable.
The same reasoning should apply to an AI function used to assess sterilization-cycle acceptability. Demonstrating a low probability of error may support the adequacy of the control strategy. It does not establish that the function lacks quality significance.
For AI governance, I recommend documenting functional criticality before applying probability and detectability reductions. Then document residual risk separately. This preserves the distinction between the role the function performs and the effectiveness of the controls around it.
There is an important qualification: genuine process redesign can change the function’s role. Removing decision authority, eliminating record-write access, and requiring independently completed source-based assessment may create a different intended use. That is not the same as retaining the original use and lowering its risk score because “QA reviews it.”
What We Can Borrow From ISPE System Classification
ISPE Baseline Guide Volume 5 already supplies a model for one. It sorts facilities, systems, utilities, and equipment into direct impact and not direct impact, based on their potential effect on product quality. Its criteria are meant to inform qualified judgment, not replace it. That is the same discipline AI needs. We have to decide, function by function, whether an application sits in the pathway that protects the patient and the product.
The guide has limits, though. It was written for engineered systems, and it sends computerized-system software development and testing to GAMP. We shouldn’t take an engineering classification tool, substitute “AI” for “equipment,” and assume the result settles Annex 22 applicability.
What we can borrow is the underlying logic. The guide asks what a system does, whether that function is relevant to product quality, and what controls must be verified because of it. Those questions work just as well when the “system” is an AI function that selects evidence, interprets results, or shapes a quality decision. That is why the classification approach is useful here, even though it doesn’t answer the regulatory question.
| Classification theme | AI-specific question | Example requiring attention |
|---|---|---|
| Meeting process requirements and controlling critical parameters | Does AI establish, monitor, interpret, or change a quality-relevant process condition? | A model recommends a process adjustment based on predicted quality. A change-control tool concludes that a proposed change affects no validated parameter, qualification status, or control strategy element. |
| Product or process contact | Does AI control equipment or actions that determine the conditions of product contact? | An AI-directed equipment configuration changes the product-contact pathway. |
| Ingredients, excipients, solvents, and critical utilities | Does AI determine whether a material or utility is suitable for use? | A model assesses water-system results and recommends continued use. |
| Cleaning, sanitization, and sterilization | Does AI establish or assess the adequacy of a contamination-removal or inactivation control? | An application determines whether a cleaning excursion is acceptable. A deviation tool classifies a mold finding after cleaning as having no product impact. |
| Required process environment | Does AI establish or assess an environment necessary to protect product? | A model interprets environmental conditions to support continued aseptic operation. An EM trend summary reports no adverse trend and supports a contamination deviation impact assessment. |
| Acceptance/rejection data and regulated electronic records | Does AI create, transform, select, interpret, or retain information used for acceptance, rejection, or a required record? | A tool produces a batch-review exception summary relied upon for disposition. A tool drafts the product-impact assessment in a deviation. A recurrence search returning “no similar events” supports a minor classification. |
| Container closure and product protection | Does AI assess or control a barrier protecting product quality? | A vision model evaluates closure defects. |
| Product identification and verification | Does AI generate or verify identity, lot, expiry, or other critical identification information? | A model verifies printed lot and expiration information. |
| Quality-system decisions that determine what gets controlled (proposed addition) | Does AI select the evidence, propose the cause, rate the risk, or judge effectiveness in a way that determines what the organization investigates, controls, or corrects? | A model proposes the root cause and corrective actions for a deviation. A tool rates severity in a risk assessment and so sets the level of control. A tool judges CAPA effectiveness from closure data. |
For AI, physical contact is often the wrong place to stop.
The model may never touch the product. It may touch the evidence used to release the product.
Add the Data-Integrity Lens
Product quality depends on the physical process, and it also depends on what the organization can know and prove about that process. Trustworthy records, data, and decisions are what let us say a product is safe for the patient. Draft Annex 22 reflects this by naming data integrity next to patient safety and product quality.
So ask more than whether the AI changes the product. Ask whether it changes what the organization can know and demonstrate about the product.
An AI application can affect that knowledge by:
- Excluding records from a review set.
- Replacing observations with a summary.
- Removing qualifications from a technical conclusion.
- Merging records from different batches.
- Converting uncertainty into an apparently definitive statement.
- Entering unsupported content into a controlled record.
It is important to map the data lifecycle as carefully as the manufacturing process by applying business-process mapping, data-flow mapping, data classification, and risk assessment across the system and data lifecycles
A Practical Classification
The method below combines the ISPE system-impact perspective with GAMP 5’s five-step risk management process:
- Perform the initial assessment and determine system impact.
- Identify functions affecting patient safety, product quality, and data integrity.
- Assess functional risks and identify controls.
- Implement and verify those controls.
- Review risks and monitor control effectiveness.
I would implement that structure through seven decision gates.
Gate 1: Define the Intended Use and Its Boundary
An assessment cannot be better than its scope.
“Summarizes deviations” leaves unanswered almost everything that matters. Which deviations? From which system? With which attachments? For what decision? Does the reviewer examine every source record? What happens to records that the AI does not retrieve?
AI Intended-Use Canvas
Complete the following before assigning a criticality classification.
| Field | Required description |
|---|---|
| Business process | The regulated or nonregulated process being supported. |
| Process owner | Person accountable for the workflow and its outcome. |
| System and model | Application, model/service identifier, deployment arrangement, and relevant version controls. |
| Specific task | What the AI actually does: retrieve, rewrite, classify, predict, recommend, or execute. |
| Input boundary | Permitted sources, formats, populations, time periods, and known limitations. |
| Transformations | OCR, translation, filtering, chunking, summarization, calculations, or other processing. |
| Output | Exactly what the user or downstream system receives. |
| Reliance | What a person or system is permitted to do with that output. |
| Decision authority | Who decides, on what evidence, and whether the AI’s result is a prerequisite. |
| Record status | Whether inputs, outputs, review evidence, and final decisions are regulated records. |
| Interfaces and permissions | Read, write, update, delete, workflow-routing, and execution capabilities. |
| Prohibited uses | Activities explicitly outside the approved boundary. |
| Failure response | How work stops, escalates, or continues without AI. |
| Reassessment triggers | Changes that require review of the classification. |
This canvas adapts GAMP’s requirements for process understanding, system boundaries, specifications, and data flows, together with Annex 22’s emphasis on detailed intended use, input variation, limitations, and operator responsibilities.
A useful intended-use statement follows this pattern:
The application performs [task] using [defined input population] to produce [output] for [permitted purpose]. It may not [excluded activities]. The accountable user performs [specified verification] using [authoritative evidence] before [decision or record use].
If the team cannot complete that statement without saying “it depends,” the use case probably needs to be divided.
Gate 2: Map the Decision Pathway
GAMP 5 recommends understanding the business process and associated data flows before assessing detailed system functions. This is especially important when records move across several systems.
For AI, map the full pathway:
Source records → extraction → retrieval/filtering → model processing → output → human review → decision → controlled record or action
At each transition, ask what can be lost, changed, invented, or acted upon.
Decision-Pathway Checklist
- The authoritative source records are identified.
- The complete relevant source population is defined.
- Extraction and OCR steps are visible.
- Filters and retrieval rules are documented.
- Excluded, inaccessible, or unreadable records are detectable.
- Model-generated statements are distinguishable from source content.
- Downstream users and interfaces are identified.
- The exact GxP decision or action is named.
- The primary record and retained supporting evidence are identified.
- Manual copying, exporting, and pasting are included in the map.
- The non-AI fallback process is defined.
The point about manual copying deserves emphasis.
A system does not need an API connection to enter the GxP decision pathway. Copy-and-paste is an interface. So is an investigator who reads an AI conclusion and then writes it into the eQMS.
Gate 3: Determine Whether the AI Performs a Critical Function
Draft Annex 22 does not provide an exhaustive catalogue of critical applications. Its scope establishes the direct-impact criterion. The operational definition below is therefore a proposed organization-governance rule, not a quotation from the draft.
Treat an AI function as critical where its output is relied upon to perform or substantively support a GMP control, action, decision, or required record, and an erroneous, omitted, biased, or unavailable output has a credible pathway to directly affect patient safety, product quality, or data integrity.
“Substantively support” needs discipline. It should not mean every distant influence on a quality professional. It means the organization relies on the output’s correctness, completeness, or interpretation to perform the GMP activity.
These are proposed failure scenarios for assessment, not an official regulatory list. They come from working in failure space. Success is hard to pin down, and a demonstration of an AI tool will show what it does well. Failure is easier to define and easier to agree on. A record is incomplete, a batch is mismatched, a qualifier is lost, or an unsupported statement enters an approved document. There are also fewer ways for the application to fail than ways for it to look successful. That makes failure space the better place to build a risk assessment, and it maps naturally onto the severity scales we already use.
Failure space only helps if we can see where the failures would occur. That is why we should map the data lifecycle as carefully as we map the manufacturing process. ISPE’s Data Integrity by Design guidance takes the same view. It links business-process mapping, data-flow mapping, data classification, and risk assessment across both the system and data lifecycles. Once we have mapped the pathway, we can ask at each step what can be omitted, altered, invented, or acted upon, and how severe the consequence would be.
Critical-Function Screening Questions
Record Yes, No, or Unknown, with evidence and rationale.
| Question | Why a “Yes” matters |
|---|---|
| Does AI control or change a quality-relevant process condition? | Its output enters the manufacturing control pathway. |
| Does AI determine or materially support acceptance, rejection, release, quarantine, or continued use? | Its output enters a disposition pathway. |
| Does AI assess contamination, sterility assurance, cleaning adequacy, or product-impact significance? | Its interpretation may establish whether a quality risk is acceptable. |
| Does AI select the records or exceptions that receive required review? | Its omissions may determine what remains unseen. |
| Does AI calculate, classify, translate, or interpret information relied upon for a GMP decision? | The process depends on the output’s technical correctness. |
| Does AI author a technical conclusion, causal finding, or impact assessment used in an approved record? | Generated reasoning becomes part of the decision’s evidentiary basis. |
| Does AI write to, overwrite, or delete regulated records or essential metadata? | It can directly affect record integrity. |
| Does AI replace an established required check or act as a quality barrier? | Failure can remove an existing protection. |
| Can an AI error escape through the actual workflow and directly affect one of the three protected interests? | The impact pathway remains credible despite the stated controls. |
My proposed disposition rule is:
- A “Yes” establishes a criticality concern requiring function-specific assessment. It should not be cancelled by averaging it with several “No” answers.
- An “Unknown” prevents a supported noncritical conclusion until the uncertainty is resolved.
- All “No” answers require a positive explanation of why the use lacks direct impact—not merely an assertion that the user remains responsible.
This is a screening rule. It is not a substitute for expert judgment about the actual pathway.
Gate 4: Test What “Human Review” Really Means
Human review matters. Annex 22 explicitly addresses it.
The draft requires qualified and trained personnel to ensure suitability of outputs in noncritical generative-AI applications. It also addresses human-in-the-loop operation for models within its covered framework, including operator responsibilities, monitoring of operator performance, and retained review records where testing effort has been reduced.
Those provisions do not create a general exception allowing generative AI in critical applications.
A signature demonstrates attribution of approval. It does not, by itself, demonstrate the quality of the review.
Three Different Kinds of Review
For assessment purposes, I find it useful to distinguish:
| Review mode | What the reviewer actually does | Classification implication |
|---|---|---|
| Plausibility review | Reads the output and asks whether it seems reasonable. | Provides little basis for claiming independence from the AI. |
| Source verification | Checks statements against the cited source material. | Can detect factual errors, but may miss sources the AI never retrieved or included. |
| Independent determination | Establishes the relevant evidence set and reaches the technical decision independently, then uses AI only within a bounded support task. | May support a genuinely noncritical AI role, depending on the workflow. |
The distinction between source verification and independent determination is particularly important.
A reviewer may confirm that every cited record supports the AI’s summary while never discovering the decisive record that was omitted.
Human-Review Adequacy Checklist
- The reviewer has appropriate process and technical competence.
- The reviewer can access authoritative source records.
- The reviewer can establish source-population completeness independently of AI retrieval.
- The review procedure defines factual, technical, numerical, and completeness checks.
- The reviewer has sufficient time to perform those checks.
- The interface does not conceal contradictions, exclusions, or uncertainty.
- The reviewer can reject, correct, and escalate the output.
- Unverified output cannot silently become an approved record or executed action.
- Review evidence demonstrates what was checked, not only who approved.
- Challenge testing evaluates the reviewer’s ability to detect realistic AI failures.
- Review performance is monitored after deployment.
- The process remains workable at normal volume and peak workload.
A failed item does not automatically make every use critical. It does mean that the proposed human control has not yet been substantiated.
The Counterfactual Test
Ask:
If the AI output were wrong in a subtle but consequential way, what specific activity would detect the error before the GMP decision or record was affected?
Then ask:
What evidence shows that this activity works under routine operating conditions?
“An experienced person would notice” is a hypothesis. It belongs in the verification plan.
Gate 5: Apply the Technology Boundary Separately
Now ask whether the proposed model type fits the applicable regulatory framework.
The Annex 22 consultation text covers static AI/ML models with deterministic outputs. It says dynamic models that continuously learn during use, models with probabilistic outputs, and generative AI/LLMs should not be used in critical GMP applications. These are separate statements in the scope; making an LLM’s responses more repeatable does not remove its explicit identification as an LLM.
This creates two different decisions:
- Is the application critical?
- Is this model type appropriate within the applicable regulatory boundary?
A successful validation exercise does not automatically answer the second question.
Nor does retrieval augmentation answer it. A retrieval-augmented LLM may offer useful source access and traceability, but an LLM used for a critical application remains subject to the draft’s explicit wording. That is an interpretation of the scope, not an additional exception stated in the document.
GAMP Is Not Permission to Override the Draft
GAMP 5 discusses both static and dynamic ML approaches within a general lifecycle framework. Annex 22’s consultation text takes a narrower position for critical GMP applications. Those are different kinds of documents serving different purposes. GAMP is industry guidance, not a regulatory authorization for every model architecture it discusses. When Annex 22 becomes official, that is the rule.
A sound assessment should record that distinction rather than selecting whichever source offers the most convenient wording.
Gate 6: Perform the Functional Risk Assessment
Once critical functions are identified, assess their failure modes and controls.
GAMP5’s example method first considers severity and likelihood to establish a risk class, then considers detection to establish risk priority. It presents this as one possible method, not a mandatory universal scoring scheme.
For AI, the most useful addition is often an explicit statement of uncertainty.
A team may know that an omitted contamination signal could be serious while having little defensible evidence about how often the model omits that particular signal. Assigning a low occurrence score because the model performed well in a short demonstration does not resolve that uncertainty.
AI Functional Risk Register
Use one row per meaningful failure scenario.
| Field | What to document |
|---|---|
| Function and intended use | The bounded activity under assessment. |
| Quality requirement | The product, process, decision, or data-integrity requirement being protected. |
| Failure mode | What can be wrong, missing, delayed, misleading, or unavailable. |
| Cause or initiating condition | Data gaps, retrieval failure, model behavior, interface defect, misuse, or change. |
| Impact pathway | How failure reaches the GMP decision, action, or record. |
| Consequence and severity | The credible harm, with process-specific justification. |
| Occurrence evidence | Relevant test and operating evidence; record uncertainty explicitly. |
| Preventive controls | Design and process measures that prevent the failure or its propagation. |
| Detection controls | Measures that detect the failure before impact. |
| Control dependencies | Shared models, source data, personnel, or infrastructure. |
| Verification evidence | Tests showing each credited control works. |
| Residual risk | The remaining risk and its justification. |
| Acceptability decision | Accept, mitigate, restrict, redesign, or reject. |
| Owner and monitoring | Accountability, metrics, review frequency, and escalation triggers. |
Failure Modes Worth Including
The list should follow the use case, but an AI assessment should deliberately consider:
- Incorrect facts or unsupported assertions.
- Omission of rare but consequential events.
- Incomplete retrieval or incorrect source selection.
- Wrong batch, product, site, or time-window association.
- Loss of units, qualifiers, chronology, or uncertainty.
- Incorrect technical translation.
- Inconsistent performance across important subgroups.
- Behavior outside the assessed input population.
- Uncontrolled changes to models, prompts, retrieval sources, or interfaces.
- Unauthorized record writes or workflow actions.
- Malicious or misleading instructions embedded in retrieved content.
- Unavailability that causes users to bypass the approved process.
This is a proposed hazard inventory. Make sure to assess AI-specific data, supplier, performance, human-factor, and lifecycle risks; Annex 22 adds explicit expectations around input variation, subgroup performance, independent testing, and operational monitoring.
Do Not Average Away a Critical Failure
A model can perform well overall and fail on exactly the events that matter most.
Annex 22 addresses this problem through intended-use subgroups, representative test data that include common and rare variation, subgroup-specific acceptance criteria where appropriate, and sufficient data for statistical confidence.
For a contamination application, overall agreement across thousands of normal records tells us little about performance on the unusual mold recurrence that should stop an aseptic operation.
The test strategy must follow the consequence.
Gate 7: Turn Criticality Into Design and Verification
The commissioning, qualification, and validation approach does not stop at declaring a system direct impact. It identifies critical aspects and critical design elements, then verifies that the relevant design and procedural controls are in place and operating.
That is the connection AI governance often misses.
“High risk” is not a requirement. “Human review” is not a complete design. “Validated” is not a description of the protection.
Quality Requirement to Assurance Traceability
The following is an illustrative adaptation of the critical-aspect/design-control logic.
| Quality requirement | Critical aspect of the workflow | Possible design or procedural control | Verification evidence |
|---|---|---|---|
| Relevant EM data must not be omitted. | Completeness of the review population. | Independent reconciliation against the source-system population. | Challenge missing, duplicated, misdated, and inaccessible records. |
| Batch identity must remain correct. | Association between source data and output. | Controlled identifiers and mismatch rejection. | Challenge similar identifiers and mixed-batch inputs. |
| Only approved procedures may support instructions. | Document status and version relevance. | Controlled retrieval sources and version/status checks. | Challenge obsolete, superseded, and conflicting documents. |
| Unsupported content must not enter an approved investigation. | Evidence traceability and controlled promotion. | Source-linked review and restriction on direct record writes. | Challenge unsupported statements and attempted bypasses. |
| A model must not act outside its assessed scope. | Input suitability and escalation. | Defined input checks and an abstain/escalate pathway. | Challenge missing, novel, and out-of-scope inputs. |
| The decision basis must remain reconstructable. | Record retention and configuration identification. | Risk-based retention of necessary inputs, outputs, review evidence, and configuration references. | Retrieve an earlier case and reconstruct the decision basis. |
Not every intermediate token or every experiment automatically becomes a GMP record. The assessment should identify which records are necessary to demonstrate the approved activity, its review, and its decision basis, then define their retention and retrieval controls. A blanket “retain everything” policy is no substitute for understanding the data lifecycle.
Examples: Where the Boundary Actually Falls
Example 1: Editing an Investigation Narrative
An investigator has completed the evidence review and technical conclusions. AI is used only to improve grammar and readability. The investigator compares the revision against the original and verifies that no fact, causal statement, uncertainty, or conclusion has changed.
Proposed classification: a candidate noncritical support use.
The rationale is not simply that a human approves it. The rationale is that the AI is not assigned the technical analysis, evidence selection, or quality decision, and its limited transformation is verified before use.
Change the workflow so that the AI creates the product-impact conclusion, and the classification must be reassessed.
Example 2: Recommending Root Cause
AI reads a deviation file, ranks likely causes, and drafts the root-cause statement. The investigator checks the proposed narrative and approves it.
Proposed classification: treat as critical decision support unless the organization can demonstrate a materially different, nonreliant workflow.
The AI is contributing the causal analysis that shapes the investigation and corrective action. A reviewer’s agreement does not establish independent determination.
A lower-reliance alternative might use AI to generate generic investigation questions without receiving case evidence or proposing case conclusions. That is a different intended use, not a renamed root-cause engine.
Example 3: Finding Historical Deviations
AI retrieves “similar deviations,” and the investigator reviews the returned records.
The classification depends on what the search replaces.
If the AI search is supplementary and the investigator separately performs the controlled recurrence search across the defined record population, noncritical support may be defensible.
If the AI result is the sole basis for concluding that no recurrence exists, the retrieval function is performing part of a quality assessment. Treat it as a criticality concern. Reading every returned record does not verify that all relevant records were returned.
This is why the data-flow and source-population boundary matter.
Example 4: Environmental Monitoring Trend Summaries
AI summarizes an EM dataset and identifies whether an adverse trend exists. The summary is used in batch-impact assessment or to justify continued operations.
Proposed classification: critical.
The quality-relevant function is not the production of prose. It is interpretation of contamination evidence.
A distinct, potentially noncritical use would format an already approved, independently established trend conclusion without changing the technical content.
The distinction again rests on reliance and direct impact, not the document format.
Example 5: Validation Test Generation
AI proposes test cases from approved requirements.
This is not automatically noncritical.
If the validation team independently establishes risk-based coverage and treats the suggestions as optional additions, a noncritical tool role may be supportable.
If the team relies on AI to identify all critical requirements, establish coverage, or generate the only acceptance criteria, the tool has entered the assurance pathway. Missing tests can become missing evidence of control.
GAMP5 distinguishes software tools from the regulated operational application and expects appropriate assessment and control of tools used for testing. That distinction does not justify ignoring reliance on the tool’s output.
Example 6: Visual Inspection
A frozen ML model classifies containers as acceptable or defective.
Proposed classification: critical, with model eligibility assessed separately.
This is close to the Annex 22 draft’s own accept/reject classification example. A static model with deterministic outputs falls within the model class addressed by the draft, but still requires intended-use definition, suitable acceptance criteria, independent test data, performance evaluation, and lifecycle controls.
Critical does not mean “no AI.” It means the quality significance is recognized and the applicable technology and assurance requirements are met.
Example 7: Translation
AI translates a general internal announcement: ordinarily outside the GMP-critical pathway.
AI translates an approved work instruction that operators then rely upon to perform an aseptic intervention: a substantially different application.
A bilingual technical expert who independently verifies the full translation provides a meaningful control. Whether the resulting AI role is noncritical still requires assessment of the actual workflow, reliance, and record use. There is no general “translation exception.”
A Classification Decision Tree

Suggested Classification and Approval Record
A classification record should allow a future reviewer to understand the reasoning without reconstructing the project from meeting notes.
Minimum Decision Record
- Use-case identifier and approved intended use.
- Business process and applicable GMP requirements.
- System and function boundaries.
- Model type and relevant deployment/configuration identifiers.
- Process and data-flow diagram.
- System-impact assessment or reference.
- Critical-function screening and rationale.
- Evidence of downstream reliance or independence.
- Human-review design and verification evidence.
- Regulatory/model-type assessment.
- Functional risk assessment, where warranted.
- Required technical and procedural controls.
- Verification status and unresolved limitations.
- Residual-risk decision.
- Approved and prohibited uses.
- Ownership, monitoring, and reassessment triggers.
Example Noncritical Rationale
The application is limited to editorial revision of an investigator-authored narrative after completion of the independent technical assessment. It is not used to select evidence, identify recurrence, establish root cause, assess product impact, or propose disposition. The investigator verifies the complete revised text against the original and authoritative evidence before use. The application cannot directly update the approved record. Approval is limited to this defined support function and does not authorize other investigation uses.
That is a rationale worth testing.
“Low risk because all outputs are reviewed by QA” is not.
Example Critical Rationale
The application identifies and summarizes exceptions from batch-related records, and the disposition reviewer relies on that output to determine which events require assessment. An omitted or incorrectly classified exception can directly affect the completeness of batch review and the resulting disposition decision. The function is therefore classified as critical. Human approval is a risk control but does not remove the application’s role in selecting the evidence reviewed.
These make explicit the function, reliance, failure pathway, and role of controls.
Suggested Policy Language
A site procedure could state:
AI-enabled functions shall be assessed according to their intended use, supported business process, data lifecycle, downstream reliance, and potential impact on patient safety, product quality, and data integrity.
System-impact classification, functional criticality, software categorization, regulatory/model eligibility, and residual-risk acceptability shall be documented as distinct determinations.
Human review or approval shall not, by itself, establish that an AI-enabled function is noncritical. Where review is credited as a control, its scope, competence requirements, source access, completeness checks, evidence, and demonstrated effectiveness shall be defined.
A noncritical classification shall identify the permitted support role, excluded activities, controls preventing unauthorized reliance, and conditions requiring reassessment.
Where the applicable regulatory framework restricts a model type for a critical application, a favorable residual-risk assessment shall not be treated as an exemption from that restriction.
Classification Must Survive Operation
AI criticality is not a one-time procurement decision.
An initially bounded editing tool may gradually become a source of technical recommendations. A search assistant may become the accepted recurrence-search method. A draft summary may become the only document the reviewer has time to read.
Those changes alter reliance even when the vendor has not changed the model.
GAMP5 recommends review when use, risks, or control effectiveness change. Annex 22’s draft operational provisions address changes to the model, system, and assisted process, along with performance and input-space monitoring.
Reassessment Triggers
Reopen the assessment when any of the following changes:
- Intended use or permitted decisions.
- Model, service, or deployment configuration.
- Prompts or workflow instructions that affect the assigned task.
- Retrieval sources, document populations, or access permissions.
- Input formats, products, sites, languages, or process conditions.
- Output destinations or system-write permissions.
- Review responsibilities or source-checking requirements.
- Staffing, workload, or review time sufficient to change actual control performance.
- The non-AI fallback process.
- Error patterns, omission rates, or reviewer performance.
- Vendor change arrangements or availability of assurance evidence.
- Applicable regulatory expectations.
Monitor the Controls, Not Just the Model
A useful monitoring plan should examine both model performance and the workflow’s actual behavior.
Possible measures include:
- Unsupported-statement and material-omission rates.
- Retrieval completeness against independently defined challenge sets.
- Error rates by important product, site, document, or event subgroup.
- Human detection of seeded consequential errors.
- Unverified copying into controlled records.
- Attempts to use excluded functions.
- Changes in review time and review evidence.
- Failures of fallback and escalation arrangements.
An override rate, by itself, is ambiguous. Few overrides may indicate a good model—or a review process that has stopped challenging it. Monitoring needs interpretation, not just a dashboard.
The Questions to Bring to the Approval Meeting
Before approving an AI use case, I would ask:
- What exact quality activity are we assigning to the AI?
- Which product, process, decision, or data-integrity requirement does that activity support?
- What information will a person not see because the AI has selected, filtered, or summarized it?
- Which conclusions will a person be more likely to accept because the AI proposed them first?
- What can the application write, change, trigger, or suppress?
- What does the human reviewer independently establish?
- How do we know the review works?
- Have we separated functional importance from residual risk?
- Does the proposed model type fit the applicable regulatory boundary?
- What would cause us to stop using it?
If the team cannot answer them, the problem is not an incomplete score. It is an incomplete understanding of the process.

Conclusion: Classify the Reliance
Identify the quality requirement. Map the evidence and decision pathway. Determine what the organization relies upon. Classify that function. Then assess and verify the controls.
The objective is not to prove that every AI application is critical. Nor is it to construct a sufficiently elaborate argument that none of them are.
The objective is to make the boundary visible.
A noncritical classification should describe a genuinely bounded support role. A critical classification should lead to an appropriate technology decision and a traceable assurance strategy. An uncertain classification should lead to more understanding, not a lower number.
We should be able to explain not merely that a person remains accountable, but how that person retains meaningful control over the evidence, the decision, and the record.




