EU GMP Annex 22 explained: what the draft provides for AI in GMP processes

Featured image: EU GMP Annex 22 explained, requirements for AI in GMP processes

Annex 22 is the first GMP annex to regulate AI explicitly, and it is still a draft. What it requires for AI in critical GMP applications, why generative AI is excluded there and what EMA has been examining since the consultation, section by section.

The quality board meeting is almost over when the head of manufacturing raises one more topic. The visual inspection department wants to test an AI model that sorts out ampoules with particles or cracks. The QA head nods and asks only: “Which rules do we actually validate this against?” The answer is more complicated than it sounds. Annex 11 dates from 2011. The annex that explicitly regulates AI is still a draft.

That draft is called Annex 22 “Artificial Intelligence”. It is six pages long and surprisingly specific. Anyone who wants to use AI in medicinal product manufacturing should know it, even before it enters into force.

Key points
  • Status: Annex 22 is a draft. The European Commission put it out for consultation in 2025 together with the revised Chapter 4 and Annex 11. It is not yet in EudraLex Volume 4 (as of 27 November 2026).
  • Scope: AI models in critical GMP applications, meaning those with a direct impact on patient safety, product quality or data integrity.
  • Only static and deterministic models are allowed there. Models that keep learning and models with varying answers should not be used in critical applications. That rules out generative AI and large language models.
  • Outside critical applications, generative AI is possible if qualified staff take responsibility for every result (human in the loop).
  • The requirements range from describing the intended use through independent test data to explainability, confidence scores and ongoing monitoring.
  • The position on generative AI is shifting: after the consultation, EMA is examining whether and how it could become possible in GMP applications with safeguards.

Where Annex 22 stands today

DateWhat happened
7 July to 7 October 2025European Commission consultation on Chapter 4 (Documentation), Annex 11 (Computerised Systems) and the new Annex 22 (Artificial Intelligence). The drafts were prepared by EMA’s GMP/GDP Inspectors Working Group together with PIC/S.
30 June and 1 July 2026EMA workshop with AI experts. Reason: the consultation had shown support for possibly allowing generative AI and language models in manufacturing.
2 October 2026EMA publishes the workshop report.
27 November 2026EudraLex Volume 4 still lists Annex 11 in its 2011 version and annexes only up to Annex 21. There is no final version of Annex 22.

No date for the final versions has been published. Until then, Annex 22 is not binding, but it shows what inspectors will measure AI against.

Which AI Annex 22 applies to

The draft draws the line through three distinctions:

CharacteristicCovered by Annex 22Not to be used in critical GMP applications
How the model was createdMachine learning: function through training with data, not explicit programmingnot an exclusion criterion
Whether it keeps learningStatic: parameters are fixed, the model does not change in operationDynamic: the model keeps learning in operation
Whether the answer stays the sameDeterministic: same input, same outputProbabilistic: same input, possibly different output

This leads to the draft’s most quoted sentence: Annex 22 does not apply to generative AI and large language models, and such models should not be used in critical GMP applications.

An application is critical if it has a direct impact on patient safety, product quality or data integrity. The draft gives the example of models that predict or classify data, such as classifying products as “accept” or “reject”. The ampoule inspection model from the quality board is exactly such a case.

Non-critical applications have no direct impact. Generative AI is possible there too, but with a clear condition: qualified and trained staff must always be responsible for ensuring that the results are suitable for the intended use. The principles of Annex 22 can be applied accordingly.

Which application is critical is decided by the company in its risk assessment. Annex 22 provides the criteria, not a ready-made list.

The requirements at a glance

For models in critical applications, the draft describes ten sections. At its core, it requires a validation that defines before the test what the model must be able to do, and then checks it with data it has never seen before.

SectionWhat is required
2 PrinciplesProcess experts, QA, data scientists and IT work together. The documentation must be available to and reviewed by the manufacturer, even if a supplier trained and tested the model. Everything is risk-based.
3 Intended usePrecise description of the task and all input data, including rare variants and limits. A process expert is responsible for the description, which is approved before testing. With human in the loop, the operator’s responsibility is part of it.
4 Acceptance criteriaSuitable test metrics, for example sensitivity, specificity or F1 score, and acceptance criteria fixed before the test. The model must perform at least as well as the process it replaces.
5 Test dataRepresentative of all variants, large enough for statistical statements, labelled very carefully. Generating test data with generative AI is not recommended.
6 Independent test dataTest data must never have been used in training. It is access-protected with an audit trail. Anyone who knew the test data does not help train the model, or only under the four-eyes principle.
7 Test executionApproved test plan, deviations are investigated and justified, all test records are kept like other GMP documentation.
8 ExplainabilityDuring testing, the features that led to a decision are recorded, for example with SHAP, LIME or heat maps. These features are reviewed at approval.
9 ConfidenceThe system logs how confident the model is in each decision. If confidence is too low, it should report “undecided” instead of guessing.
10 OperationChange and configuration control, monitoring of performance and of input data for drift. With human in the loop, the reviews are documented, depending on criticality for each individual result.

Two points stand out. First, the manufacturer remains responsible even if it buys a ready-made model: it must have and review the supplier’s documentation. Second, human in the loop is not a free pass. Anyone who reduces testing because a person checks every result must train, monitor and document that check like any other manual process.

Generative AI: what has moved since the consultation

The 2025 consultation called the draft’s hard line into question. According to EMA, it showed support for possibly allowing technologies such as generative AI and language models in medicinal product manufacturing. EMA is still examining the implications.

To that end, it held a two-day workshop with AI experts in summer 2026. Its questions show what a future version could be about:

  1. Safeguards (guardrails)How reliably do they prevent or detect hallucinations, wrong recommendations or fabricated data, and what evidence is needed for that?
  2. Human oversightHow much human in the loop is still needed even with guardrails, and is that enough for accuracy, traceability and accountability?
  3. Changing modelsHow do safeguards remain effective when the model is updated or drifts?
  4. LimitsAre there critical decisions for which no combination of guardrails and oversight is sufficient?
  5. Cloud and suppliersWhat risks arise when safeguards run outside the manufacturer’s control, and how can supplier qualification, insight into changes and audits remain possible?

Whether and how the exclusion of generative AI will change is open. For today: in critical applications, generative AI is not provided for under the draft. In non-critical applications, it is possible if a person takes responsibility for every result.

Annex 22 does not come alone

Annex 22 supplements Annex 11 for computerised systems in which AI models are embedded. Both were revised together with Chapter 4. As described by the European Commission:

Draft

Annex 11

Tightens requirements for the lifecycle management of computerised systems, for oversight of suppliers and service providers, and for data integrity, audit trails, electronic signatures and system security.

Draft

Chapter 4

Puts risk management at the centre of documentation and governs electronic records and signatures for paper, digital and hybrid documents.

For an AI tool this means: even if it does not fall under Annex 22, Annex 11 applies to the system it runs in, and Chapter 4 to the documents it produces.

RelatedAI in the GMP environment: use is growing, now comes the validation question

What manufacturers can do now

Even without a final version, the groundwork can be laid:

  1. InventoryWhich AI is used where, including in suppliers’ tools?
  2. CriticalityDoes the application have a direct impact on patient safety, product quality or data integrity? The justification belongs in the risk assessment.
  3. Model typeIs the model static and deterministic, or generative? Generative AI only in non-critical applications.
  4. Intended useIs the task described in a way a process expert can approve, with limits and variants of the input data?
  5. Human in the loopWho checks which result, under which procedure, and how is the check documented and trained?
  6. SupplierAre the provider’s training and test records available? Does it allow audits and insight into changes?
  7. ChangesIs the model under change and configuration control, and is its performance monitored in operation?

Where aiuno comes in

aiuno is a platform with generative AI. Under the Annex 22 draft, it therefore does not belong in critical GMP applications such as batch release or product classification. Its place is supporting work with documents: SOPs, specifications, qualification documents, supplier documents and inspection preparation, each with a person who checks and takes responsibility for the result.

That is exactly what it is built for:

Requirement from the draftHow aiuno handles it
Human in the loop that is practicalEvery answer gives document, section and verbatim passage. One click opens the original. The reviewer checks exactly at the source.
Manufacturer knowledge stays under controlHosting in Germany, no US transfer, no training use. Dedicated infrastructure or operation in your own data centre on request.
The decision stays with peopleaiuno prepares drafts and finds contradictions. Assessment, approval and signature stay with the qualified person.

Conclusion

Annex 22 is still a draft, but a very specific one. For AI in critical GMP applications, it describes a validation based on classic principles: define the purpose, set criteria in advance, test with independent data, monitor in operation. According to the current state, generative AI has no place there. Outside critical applications, it is possible if a person takes responsibility for every result and that check is documented. Whether EMA opens the door further for generative AI with guardrails is the most interesting open question. Anyone who separates critical from non-critical cleanly today is prepared for both outcomes.

And the ampoule model from the quality board? It is a classic case for Annex 22: a classifying model in a critical application. It must be static and deterministic and validated according to the ten sections.

Sources
  • European Commission: Stakeholders’ Consultation on EudraLex Volume 4, GMP Guidelines: Chapter 4, Annex 11 and New Annex 22 (consultation 2025, closed)
  • European Commission: Draft Annex 22 “Artificial Intelligence”, consultation version, sections 1 to 10
  • European Medicines Agency: Good manufacturing practice: Multistakeholder workshop on expert contributions to artificial intelligence guidance development (Annex 22), workshop 30 June/1 July 2026
  • European Commission: EudraLex Volume 4, accessed 27 November 2026

As of November 2026. Annex 22, Annex 11 and Chapter 4 are drafts and not in force. This article is for general information and does not replace regulatory advice in individual cases.

Frequently asked questions

What is EU GMP Annex 22?

A new annex to the EU GMP Guide with requirements for AI models in the manufacture of medicinal products and active substances. It supplements Annex 11 for computerised systems. It was prepared by EMA’s GMP/GDP Inspectors Working Group and PIC/S.

Is Annex 22 already in force?

No. The draft was under consultation in 2025. Annex 22 is not yet in EudraLex Volume 4 (as of 27 November 2026), and no date for the final version has been published.

May generative AI be used in GMP under Annex 22?

Under the draft, not in critical GMP applications with a direct impact on patient safety, product quality or data integrity. In non-critical applications it is possible if qualified staff take responsibility for every result. After the consultation, EMA is examining whether this could change with safeguards.

What do “static” and “deterministic” mean?

Static means the model does not keep learning in operation. Deterministic means it always delivers the same output for the same input. The draft provides only for such models in critical applications.

What does human in the loop mean under Annex 22?

A person makes the decision, the model only contributes to it. If testing is reduced for that reason, the operator’s responsibility must be part of the intended use, their training and performance are monitored, and their checks are documented, depending on criticality for each result.

Does Annex 22 also apply to purchased AI?

Yes. The documentation on training, validation and testing must be available to and reviewed by the manufacturer, even if a supplier developed the model.

Note: This article was written by a human author and linguistically refined with the help of AI tools.

Liked this post? Share with others!

Demo

Give us 20 minutes.

Bring your largest data room. We’ll show you the product – happy to use your test data.

Hosted in Germany · No US transfer · Zero Data Retention

aiuno Screen Desktop