Skip to main content

AI in GxP

Can AI review batch records?

AI can prepare a batch record review, but it cannot be the reviewer of record. 21 CFR 211.192 requires the quality control unit to review and approve production and control records before a batch is released, and in the EU a Qualified Person certifies each batch. AI can check completeness, compare results with specifications and flag exceptions for the reviewer. The EU’s draft Annex 22 says large language models should not be used in critical GMP applications.

Illustration of a seal reviewing RUN-214, with its 7.8-hour hold duration circled in red.

1Who must review the record.

In the US, 21 CFR 211.192 requires that all drug product production and control records, including those for packaging and labelling, “shall be reviewed and approved by the quality control unit to determine compliance with all established, approved written procedures before a batch is released or distributed.” Any unexplained discrepancy, or a failure to meet specifications, must be thoroughly investigated, the investigation extended to other batches that may be associated with it, and a written record made with its conclusions and follow-up.¹ Section 211.22(a) gives the quality control unit the authority to review production records “to assure that no errors have occurred or, if errors have occurred, that they have been fully investigated”, and the responsibility to approve or reject drug products.²

In the EU, medicinal products are not sold or supplied before a Qualified Person has certified each production batch.³ Annex 16 lists what the QP must be assured of before certifying, including that “all records are complete and endorsed by appropriate personnel” and that investigations pertaining to the batch have been completed to a level that supports certification. Those checks “may be delegated to appropriately trained personnel or third parties”; the QP relies on the pharmaceutical quality system and “should have on-going assurance that this reliance is well founded”.⁴

2What a review tool may already do.

EU GMP already accepts records and reviews that concentrate on exceptions. For the batch processing record, Chapter 4 says that where a validated process is continuously monitored and controlled, “automatically generated reports may be limited to compliance summaries and exception/ out-of-specification (OOS) data reports”.⁵ EMA’s GMP questions and answers permit review by exception “when scientifically justified”, and require the automated system and its batch exception report to be tested and validated.⁶

FDA’s data integrity guidance treats audit trail review as part of record review. The people responsible for reviewing a record review the audit trails that capture changes to its data, and because 211.22 requires data review before batch release, the audit trail is reviewed on the same schedule.⁷ Annex 11 sets the condition for any computerised system that takes over a manual task: “there should be no resultant decrease in product quality, process control or quality assurance.”⁸

3Where the draft Annex 22 draws the line.

The draft Annex 22 on AI, published for consultation in July 2025 and still under revision in 2026, applies to AI models in “critical applications with direct impact on patient safety, product quality or data integrity”. It covers static models with deterministic output in those applications, tested against acceptance criteria that are “at least as high as the performance of the process it replaces”. Generative AI and large language models “should not be used in critical GMP applications”.⁹¹⁰

Where a model only gives an input to a decision a person makes, the draft calls it human-in-the-loop. If the model’s testing has been reduced on that basis, the operator’s responsibility belongs in the intended use, their training and consistent performance are monitored like any manual process, and records of the review are kept. Depending on criticality and testing, that “may imply a consistent review and/or test of every output from the model”.⁹ When a model that classifies data is tested, its confidence score for each outcome should be logged, and where confidence is very low the draft says to consider flagging the outcome as “undecided”.⁹

4What FDA has said about AI and release.

FDA’s January 2025 draft guidance on AI for regulatory decision-making uses a release example. An AI visual-inspection system checks the fill level of every vial, while release testing still measures fill volume on a representative sample of each batch. Because of that independent check, “the AI-based model will not be the sole determinant for the release of product”, which lowers the model’s influence and so its risk. The guidance adds that the quality control unit responsibilities in 211.22 and 211.68 apply to AI used in manufacturing.¹¹

In April 2026 FDA’s warning letter to Purolea Cosmetics Lab cited a quality unit that had failed to ensure batch records were reviewed before release. It also told the firm that if it resumed production and used AI for CGMP work, any output or recommendation from an AI agent “must be reviewed and cleared by an authorized human representative of your firm’s QU”.¹²

5Which parts of a review AI can take on.

Review taskWhat AI can doWho decides
Completeness of entries, signatures and attachmentsFind missing entries, signatures and attachmentsThe reviewer confirms the record is complete and endorsed.⁴
Results against specifications and limitsCompare each result with its limit and flag those outside itThe quality unit approves or rejects.²
Discrepancies and yields outside limitsFlag them and gather the related recordsPeople investigate, and record the conclusions and follow-up.¹
Audit trails of changed dataBring changes to critical data forwardThe record reviewer reviews them with the rest of the record.⁷
DispositionNothingThe quality unit approves or rejects the batch; in the EU a QP certifies it.²³

6How it runs in Seal.

In Seal, Neil can prepare a batch for review. It reads the batch execution record and your review requirements, the linked QC results and deviation records, and the recorded signatures and approval status, then drafts a review brief with an evidence checklist, open items and the source behind each finding. QA verifies the evidence and decides disposition; in the EU a QP certifies the batch. Neil’s summary does not release it or replace signatures.

With electronic batch records, Seal evaluates completeness and exceptions while the batch runs, so review begins before it ends. Values outside limits, corrections and overrides, alarms and open samples or deviations come to the reviewer with every instruction, value and signature still available, and QA can disposition the batch only when the effective release requirements are resolved. Neil drafts and proposes; it signs, approves and releases nothing.

References

  1. 121 CFR 211.192, Production record review, eCFR, current to 4 November 2026. https://www.ecfr.gov/current/title-21/chapter-I/subchapter-C/part-211/subpart-J/section-211.192 (read 6 November 2026)
  2. 221 CFR 211.22, Responsibilities of quality control unit, eCFR, current to 4 November 2026. https://www.ecfr.gov/current/title-21/chapter-I/subchapter-C/part-211/subpart-B/section-211.22 (read 6 November 2026)
  3. 3EudraLex Volume 4, Part I, Chapter 1: Pharmaceutical Quality System, section 1.4(xv), European Commission, in operation since 31 January 2013. https://health.ec.europa.eu/system/files/2016-11/vol4-chap1_2013-01_en_0.pdf (read 6 November 2026)
  4. 4EudraLex Volume 4, Annex 16: Certification by a Qualified Person and Batch Release, sections 1.7, 1.7.11 and 1.7.16, European Commission, 12 October 2015, in operation since 15 April 2016. https://health.ec.europa.eu/system/files/2016-11/v4_an16_201510_en_0.pdf (read 6 November 2026)
  5. 5EudraLex Volume 4, Part I, Chapter 4: Documentation, section 4.20, European Commission, in operation since 30 June 2011. https://health.ec.europa.eu/system/files/2016-11/chapter4_01-2011_en_0.pdf (read 6 November 2026)
  6. 6Guidance on good manufacturing practice and good distribution practice: questions and answers, Data integrity, question 17, European Medicines Agency. https://www.ema.europa.eu/en/human-regulatory-overview/research-development/compliance-research-development/good-manufacturing-practice/guidance-good-manufacturing-practice-good-distribution-practice-questions-answers (read 6 November 2026)
  7. 7Data Integrity and Compliance With Drug CGMP: Questions and Answers, guidance for industry, questions 6 to 8, FDA, December 2018. https://www.fda.gov/media/119267/download (read 6 November 2026)
  8. 8EudraLex Volume 4, Annex 11: Computerised Systems, principle and section 1, European Commission, in operation since 30 June 2011. https://health.ec.europa.eu/system/files/2016-11/annex11_01-2011_en_0.pdf (read 6 November 2026)
  9. 9Annex 22: Artificial Intelligence, draft for consultation, sections 1, 3.3, 4.3, 9 and 10.5, European Commission and PIC/S, July 2025. https://picscheme.org/docview/9715 (read 6 November 2026)
  10. 10Question & Answers, QP Forum, Trinity College Dublin, questions 1 and 2, Richard O’Sullivan, GMP Inspector, Health Products Regulatory Authority (HPRA), 12 May 2026. https://www.tcd.ie/media/tcd/pharmacy/images/qp-forums/qp-forum-2026/presentations/9.3-HPRA-QA.pdf (read 6 November 2026)
  11. 11Considerations for the Use of Artificial Intelligence To Support Regulatory Decision-Making for Drug and Biological Products, draft guidance for industry and other interested parties, section IV and footnote 21, FDA, January 2025. https://www.fda.gov/media/184830/download (read 6 November 2026)
  12. 12Warning Letter 320-26-58 to Purolea Cosmetics Lab, MARCS-CMS 722591, FDA Center for Drug Evaluation and Research, 2 April 2026. https://www.fda.gov/inspections-compliance-enforcement-and-criminal-investigations/warning-letters/purolea-cosmetics-lab-722591-04022026 (read 6 November 2026)

AQuestions and answers

Is review by exception allowed in GMP?

Yes, with conditions. EU GMP Chapter 4 allows automatically generated reports to be limited to compliance summaries and exception reports where a validated process is continuously monitored and controlled, and EMA permits review by exception when it is scientifically justified and the exception report has been tested and validated. The record is still reviewed and approved before release.

Can a Qualified Person rely on an AI summary?

A QP may delegate the checks behind certification to trained personnel and rely on the quality system, provided they have ongoing assurance that the reliance is well founded. An AI summary can feed those checks. Certifying the batch stays with the QP.

Does an AI review tool need validation?

Yes, if it is part of the GMP review. Annex 11 applies to computerised systems used in GMP activities, with validation scaled to a documented risk assessment, and EMA expects exception reports used in batch review to be tested and validated. If it uses a machine learning model to classify or decide in a critical application, the draft Annex 22 sets the testing expected.

Can a large language model decide whether a batch passes?

Not under the draft Annex 22, which says large language models should not be used in critical GMP applications. Approving or rejecting the batch is the quality unit’s decision in the US, and certification is the QP’s in the EU.

What should be recorded when AI helped with a review?

The draft Annex 22 asks for records of the human review where a model feeds a person’s decision and its testing has been reduced on that basis, and FDA expects all data needed to recreate a CGMP activity to be kept. In practice that means the AI’s findings, the sources it used, and what the reviewer checked and decided.

See your process in Seal.

Bring a procedure or a recurring problem. See how your team configures it with Neil and improves the next run.

Book a demo