GxP AI validation means proving, with documented evidence, that an AI system is fit for one defined intended use, with effort scaled to its risk to patients, product quality and data integrity. In October 2026 that rests on Part 11, the 2011 EU GMP Annex 11, FDA's computer software assurance guidance and the still-draft EU GMP Annex 22, which keeps generative AI and LLMs out of critical GMP applications and allows them elsewhere only with a qualified human checking each output.
Pharmaceutical companies already know how to validate software. What AI changes is the nature of the system under test. A language model can give different answers to the same question, can be updated by its provider without notice, and can produce fluent text that is wrong. Validation methods built for deterministic software need adjusting, and regulators are still writing the AI-specific rules.
This guide sets out where those rules stand, checked against FDA, European Commission and EMA sources on 22 October 2026, and turns them into a working approach. For the broader picture of AI in pharma, see our guide to private AI in pharmaceutical and life sciences companies.
The rules that apply to AI in GxP work in October 2026
| Document | Issuer | Date | Status on 22 October 2026 | What it says about AI |
|---|---|---|---|---|
| 21 CFR Part 11, electronic records and signatures | FDA | 1997 | In force | Nothing AI-specific; requires system validation and secure, time-stamped audit trails |
| EU GMP Annex 11, computerised systems | European Commission | January 2011 revision | In force | Nothing AI-specific |
| Revised Annex 11 and Chapter 4 | European Commission, drafted by EMA inspectors with PIC/S | Consultation 7 July to 7 October 2025 | Drafts; not yet in EudraLex | Lifecycle, audit trail, supplier and data governance rules that AI systems would inherit |
| EU GMP Annex 22, artificial intelligence | European Commission | Consultation 7 July to 7 October 2025 | Draft; not yet in EudraLex | Static, deterministic models only for critical uses; generative AI and LLMs limited to non-critical uses with human review |
| Computer Software Assurance for Production and Quality Management System Software | FDA, CDRH and CBER | Final 24 September 2025; reissued 3 February 2026 | Final, for device manufacturers | Its risk framework explicitly covers AI and machine learning tools |
| Considerations for the Use of AI to Support Regulatory Decision-Making for Drug and Biological Products | FDA | January 2025 | Still a draft | Risk-based credibility assessment for a defined context of use |
| Guiding Principles of Good AI Practice in Drug Development | FDA and EMA | January 2026 | Principles, not binding guidance | Ten principles, including risk-based approach, context of use and lifecycle management |
| GAMP 5 Second Edition; GAMP Guide: Artificial Intelligence | ISPE | July 2022; July 2025 | Industry good practice | Critical thinking and risk-based assurance; AI-enabled system lifecycle |
The short version: no binding rule written for AI applies to GMP manufacturing yet. Existing computerised system rules apply in full, and the drafts show where regulators are heading.
Intended use is where GxP AI validation starts
Every framework in that table begins in the same place. FDA’s CSA guidance starts its risk framework with identifying the intended use. The FDA credibility draft starts with the question of interest and the context of use. Annex 22’s draft asks for a detailed description of what the model assists or automates, written and approved by a process subject matter expert before acceptance testing.
For an AI system, a good intended use statement covers:
- the task, such as “draft a first summary of a deviation report for a QA reviewer”;
- the inputs, including their common and rare variations, and inputs the model must not receive;
- who uses the output and what decision it feeds;
- whether a human reviews every output, a sample, or none;
- the GxP records the system creates or changes.
A vague statement such as “assist QA with documents” cannot be validated, because there is nothing to test against. Narrow statements also keep the risk assessment honest. Summarising a deviation for a reviewer is a different risk from deciding whether the deviation needs a CAPA.
Risk-based validation: computer software assurance applied to AI
FDA’s computer software assurance guidance replaced section 6 of its 2002 software validation guidance for production and quality system software. The February 2026 version says the approach can be applied to automation tools, data analytics tools, artificial intelligence and machine learning tools and cloud computing used in production or the quality management system.
Its central test is process risk. FDA treats a software function as high process risk when its failure may cause a quality problem that foreseeably compromises safety. Its examples include software that measures or decides product acceptability with limited or no human review. Functions that only collect data for review, route CAPAs or manage records are generally not high process risk.
Assurance effort follows that split. High-risk functions call for more rigour, such as scripted testing with recorded test cases and expected results. Lower-risk functions can rely on unscripted methods: scenario testing, error guessing and exploratory testing by people who know the process. The guidance also lets manufacturers leverage validation work already done by developers, suppliers and cloud service providers.
The guidance is written for device makers under 21 CFR Part 820, which became the Quality Management System Regulation in February 2026. Drug manufacturers are not bound by it, but GAMP 5 Second Edition already discusses CSA, and the same thinking runs through Annex 22’s draft. The words differ; the logic is the same.
GxP impact level and the validation activities that match
| GxP impact | Example AI use | Model types under the Annex 22 draft | Validation activities | Human role |
|---|---|---|---|---|
| None | Drafting internal emails; searching public literature for ideas | Any | Standard IT controls and an acceptable use policy | User judgement |
| Indirect, non-critical | First drafts of SOP revisions; deviation summaries for a QA reviewer; answers from approved SOPs with citations | LLMs allowed, with qualified review of outputs | Intended use, risk assessment, scenario and exploratory testing on representative cases, reviewer training, version pinning, audit trail of prompts and outputs | A qualified person checks every output before use |
| Critical, model advises a human decision | Flagging anomalies in batch records for QA disposition | Static, deterministic models only | Approved test plan, acceptance criteria at least as good as the current process, independent test data, operator performance monitoring | The operator decides; records of review are kept |
| Critical, model decides | Automated visual inspection that accepts or rejects units | Static, deterministic models only | Full Annex 22 scope: stratified test data, test data independence, explainability, confidence thresholds, change and configuration control, drift monitoring | Periodic review; no review of each decision |
Most generative AI projects in pharma sit in the second row. That is where effort pays off: a clear intended use, a test set that reflects real documents, trained reviewers, and records that show who approved what.
Static versus dynamic models, and why the Annex 22 draft keeps LLMs out of critical uses
Annex 22’s draft draws three lines. It covers static models, which do not change during use, and excludes dynamic models that keep learning from new data. It covers models with deterministic output, which give identical outputs for identical inputs, and excludes probabilistic ones. Then it applies both lines to generative AI: the draft “does not apply to Generative AI and Large Language Models (LLM), and such models should not be used in critical GMP applications”.
The reasoning follows from the validation method. Acceptance testing assumes the system you tested is the system you run. A model that adapts, or that samples a different answer each time, weakens that assumption. An LLM can be run with greedy decoding to make its output more repeatable on fixed hardware and software, but the draft does not say whether that would be enough to count as deterministic.
The same paragraph leaves room for LLMs in non-critical GMP applications, which it defines as those without direct impact on patient safety, product quality or data integrity. There, the draft says qualified and trained personnel should always be responsible for checking that outputs suit the intended use, and the rest of the annex may be applied where relevant.
The draft also has limits in scope. It covers the manufacture of medicinal products and active substances. Pharmacovigilance, clinical trials and regulatory submissions fall under other guidance, such as GVP and GCP, even though the same risk thinking applies.
What EMA heard at the June 2026 workshop
The consultation drew industry support for allowing generative AI with controls. EMA’s GMP and GDP Inspectors Working Group responded with a multistakeholder workshop on 30 June and 1 July 2026, focused on a risk-based approach to generative AI in manufacturing. Its report, EMA/156789/2026, was published on 2 October 2026.
The report records a largely aligned industry position across six topics. Participants argued that acceptability should depend on intended use, risk and the effectiveness of controls across the lifecycle, rather than on the underlying technology. Supplier and cloud provider oversight came up repeatedly, because the regulated company’s accountability cannot be transferred to the provider. The report concludes that there may be viable pathways for adaptive, probabilistic and generative AI in GMP applications, subject to appropriate controls.
That is input to the drafting group, not a new rule. The report’s next steps say the drafting group will use the outcomes to inform the revision of Annex 22, and no adoption date has been announced. Until a final text appears, plan around the draft and keep LLMs in non-critical uses with human review.
Human-in-the-loop is a control you have to validate too
Human review is the main reason an LLM can be used near GxP work at all, so it has to work in practice. The Annex 22 draft is specific about this. Where a model gives input to a decision made by a human operator and testing effort has been reduced on that basis, the intended use should state the operator’s responsibility, and the operator’s training and consistent performance should be monitored like any other manual process. Records of the review should be kept, and depending on criticality this may mean reviewing every output.
In practice:
- Define what the reviewer checks. “Review the summary” is not enough. List the points to verify against the source, such as batch numbers, dates, test results and the deviation category.
- Make the source easy to check. Outputs should cite the documents and passages they used, so the reviewer compares rather than rereads.
- Record the review. Capture who approved, when, and what they changed, in the same audit trail as the model output.
- Watch for automation bias. Seed occasional known errors into training exercises and track whether reviewers catch them.
Data integrity and ALCOA+ for prompts and outputs
Data integrity rules apply to AI records as they apply to any GxP record. FDA’s data integrity guidance uses ALCOA: data should be attributable, legible, contemporaneous, original and accurate. The plus, used in European and PIC/S guidance, adds complete, consistent, enduring and available.
For an AI-assisted record, that means keeping:
- the prompt or task, and the user who submitted it;
- the documents and passages retrieval supplied as context;
- the model name, version and settings that produced the output;
- the raw output and the reviewed, approved version;
- time stamps for each step, in a secure audit trail that users cannot edit.
Part 11 already requires validation of systems that hold electronic records and secure, computer-generated, time-stamped audit trails for record changes. If an AI output becomes part of a batch record, deviation report or other GxP record, those requirements reach the AI system that produced it. The revised Chapter 4 draft moves in the same direction, with risk-based data governance across paper, electronic and hybrid records.
Change control for model versions
The Annex 22 draft asks for a tested model, the system it runs in and the process it supports to be under change control before use. Any change to the model, the system or the process should be evaluated for retesting, and a decision not to retest should be justified. A tested model should also be under configuration control, with measures to detect unauthorised changes. Performance and input drift should be monitored during operation.
Hosted model APIs make that hard. Providers retire model versions on their own schedules, and an alias such as “latest” can change behaviour overnight. You can still validate a hosted model, but your change control then depends on the provider’s notices, and your supplier assessment has to cover how it announces changes.
Self-hosted open-weight models are easier to control. The weights are files with checksums. The serving version, quantization and settings can be fixed in configuration, and nothing changes until your change control approves it. When you do upgrade, rerun the same regression set used at validation and file the comparison with the change record.
How VDF AI fits a GxP validation scope
VDF AI is a self-hosted platform for private assistants, retrieval over approved documents and governed agents, installed on your servers, in a private cloud or air-gapped. Models, retrieval indexes, conversation history and audit logs stay inside your environment, so they fall under your own computerised system controls. VDF AI holds no GxP validated status, because validation belongs to your intended use; the platform sits inside your validation scope like any other computerised system.
Several platform controls map to the needs above. VDF AI Agents can pin agents to specific model versions, pause for human approval before high-impact actions, and keep an immutable audit log of each prompt, retrieval hit, tool call and model response. Retrieval respects each user’s permissions, and role-based access control comes with every plan. VDF AI Router registers local model endpoints, and air-gap mode keeps every request on models you host.
Typical first workloads are non-critical by design: answers from approved SOPs and compliance documents, pharmacovigilance case intake with human entry and the regulatory submissions playbook. For the wider rollout, see the healthcare and life sciences solution and the private GPT guide for life sciences; EU teams should also read our EU AI Act guide for healthcare and medical devices. This article is general information, not regulatory advice.
Sources
Regulatory pages and documents checked on 22 October 2026.
- eCFR: 21 CFR Part 11, electronic records and electronic signatures
- European Commission: EudraLex Volume 4, EU GMP guidelines
- European Commission: consultation on Chapter 4, Annex 11 and new Annex 22, July 2025
- Draft Annex 22: Artificial Intelligence (PDF)
- Draft revised Annex 11: Computerised Systems (PDF)
- EMA: GMP multistakeholder workshop on Annex 22, 30 June and 1 July 2026
- EMA: workshop report, EMA/156789/2026 (PDF)
- FDA: Computer Software Assurance for Production and Quality Management System Software
- FDA: draft guidance on AI to support regulatory decision-making for drugs and biologics
- FDA: Guiding Principles of Good AI Practice in Drug Development
- FDA: artificial intelligence for drug development
- FDA: Quality Management System Regulation
- FDA: Data Integrity and Compliance With Drug CGMP, questions and answers
- ISPE: GAMP 5 Guide, Second Edition
- ISPE: GAMP Guide: Artificial Intelligence