Guide: what the draft Annex 22 requires of AI in GMPRead the guide

AI for drafting GMP procedures: what the FDA warning letter says

FDA warning letter 320-26-58 does not ban AI in manufacturing. It requires the quality unit to review and clear what the model generates before it is used.

On April 2, 2026, FDA issued warning letter 320-26-58 to a drug manufacturer that had used artificial intelligence agents to draft specifications, procedures, and master production or control records. The Agency does not prohibit that use. It applies 21 CFR 211.22(c): if AI is used as an aid in document creation, the quality unit must review the documents to confirm they are accurate and actually comply with CGMP. In this inspection, that review had not been done. The firm also said it was not aware of the legal requirement to validate the process before distribution, because the AI agent had never told it that the requirement existed.

What the letter says, and what it does not say

The letter, published on FDA's website, summarizes the October 28 to 30, 2025 inspection of Purolea Cosmetics Lab in Livonia, Michigan. The AI finding is neither the only finding nor the center of the letter. FDA also cites insanitary conditions, the absence of microbiological testing of finished product, inadequate testing of components, a broader failure of the quality unit to oversee manufacturing, and unapproved drug products. The AI section should be read in that context.

During the inspection, the firm stated that it used AI agents to create drug product specifications, procedures, and master production or control records in order to comply with FDA requirements. FDA's response is that, if AI is used as an aid in document creation, the AI-generated documents must be reviewed to ensure they are accurate and actually compliant with CGMP. Failure to do so is a violation of 21 CFR 211.22(c).

The letter also documents overreliance on artificial intelligence. Investigators found that process validation had not been conducted before the drug products were distributed, as required under 21 CFR 211.100. The firm replied that it was not aware of the legal requirement, because the AI agent had never said the requirement existed.

If the firm resumes drug production and uses AI to help with CGMP activities, such as development of procedures and specifications, any output or recommendations from an AI agent must be reviewed and cleared by an authorized human representative of the firm's quality unit, in accordance with section 501(a)(2)(B) of the Federal Food, Drug, and Cosmetic Act and with 21 CFR 211.22 and 21 CFR 211.100.

The letter does not create a new rule on artificial intelligence. It does not prohibit using a model to draft a procedure. It says that the output does not go into use without review and clearance by the quality unit, and that not knowing a legal requirement is not explained by what a model failed to mention.

The rule that was already in force

21 CFR 211.22(c) gives the quality control unit the responsibility for approving or rejecting all procedures or specifications impacting the identity, strength, quality, and purity of the drug product. 21 CFR 211.100(a) requires written procedures for production and process control, drafted, reviewed, and approved by the appropriate organizational units and reviewed and approved by the quality control unit. 211.100(b) requires that the procedures be followed and that any deviation be recorded and justified.

None of these provisions mentions artificial intelligence. Both assume a quality unit with real authority over what is used on the shop floor. A draft generated by a model does not change that responsibility. If the text is used without that approval, the failure is the usual one: the quality unit has not performed the function it already had. Process validation also does not depend on an agent remembering it.

The risk of a draft that nobody has read

The problem is not only that model-generated text can contain an error. Any draft can. The distinctive risk is that these documents can look complete and still fail to match the site's actual process.

A specification may be based on a source that is not the one approved at the site. A procedure may describe a generic step that does not match the equipment, validated parameters, sampling plan, or cleaning controls. A master production or control record may omit a required verification step and still read fluently. In a GMP setting, that fluency is not evidence. What matters is that the document can be traced to approved sources and that a person with authority has reviewed and cleared it.

In the letter, that failure appears twice: in the documents that were not reviewed, and in the process validation the model never mentioned. An agent can help with drafting. It cannot be the source of what the firm knows about the rule.

What this means for anyone working in a regulated environment

This letter is from FDA and rests on 21 CFR. The principle is the same in Europe and in Latin America: the model may prepare; a person with a name and a defined responsibility decides; both remain in the audit trail. At ComplAI we put it this way on our artificial intelligence page: the model prepares, a person decides, and the system records both.

If a company already uses a model to draft or update procedures, specifications, or master records, the practical check is this. Who reviewed the text against the actual process, the approved sources, and the applicable rule? Was that review signed by an authorized representative of the quality unit, or of the equivalent body, before the document went into use? Can one reconstruct what the model proposed, with which version, and what the person decided?

Those questions do not wait for a new rule. In the European Union, GMP computerized systems are still subject to the in-force Annex 11 (January 2011 revision). The draft of Annex 22 remains a draft: as of today, the EudraLex Volume 4 page lists Annex 21 as the last annex and does not include an in-force Annex 22. The draft also places generative AI and large language models outside its scope for critical GMP applications. Until a final text is published, one cannot say that "Annex 22 requires" a given use. One can already design so that human review and the audit trail are in place.

If the model is involved in a GxP process, it is worth defining its intended use, level of autonomy, the sources of each proposal, the version under change control, recorded oversight, and production monitoring. These are the seven pieces of evidence with which we document each model, together with the system's validation documentation, in parallel with development.

The lesson of warning letter 320-26-58 is a sober one. A model may be used to help draft a GMP procedure. That draft cannot be used, and one cannot rely on what the model omitted, unless the quality unit has reviewed and cleared it.

Sources

  • FDA, Warning Letter 320-26-58, Purolea Cosmetics Lab, April 2, 2026: official text
  • 21 CFR 211.22, Responsibilities of quality control unit: eCFR
  • 21 CFR 211.100, Written procedures; deviations: eCFR
  • European Commission, EudraLex Volume 4 (in-force Annex 11): official page
  • European Commission, consultation on Chapter 4, Annex 11 and the new Annex 22 (July 7 to October 7, 2025): consultation page

See all articles

Let's talk about your process

Tell us which process you want to solve and we'll tell you how we would approach it.