Pharma IT

AI Agents in GMP Operations: Where They Help and Create Risk

FDA's April 2026 warning letter showed that AI output is a GMP record. Here is where AI agents help, where they create risk and how to start safely.

Michael Bani
By Michael Bani
Director, Editor (US & Europe)
Nov 21, 20268 min read
AI Agents in GMP Operations: Where They Help and Create Risk

Introduction

A quality team can receive hundreds of deviation reports, change requests and supplier documents every month. An AI agent can read them, sort them and draft a first response in minutes. That speed is attractive. But in a regulated plant, speed means little if nobody can show how a decision was made.

This guide explains what AI agents are, where they add value in pharma operations, where they become risky, and what regulators have said so far. Regulatory points are current as of November 2026.

What Are AI Agents in Pharma Operations?

An AI agent is software that uses a large language model (LLM) to plan and complete tasks in several steps. It can read files, call other tools, write drafts and trigger actions. A basic chatbot only answers a question. An agent keeps going until the task is done.

That difference matters in a GMP setting. When software acts on its own, you must prove it acts correctly every time. Pharma operations cover quality, manufacturing, regulatory affairs, supply chain, clinical operations and pharmacovigilance. Each area carries different risk, so one rule does not fit all.

Agents plan and act on their own, which is why they carry different risks from a chatbot. See how they work and where pharma teams already use them.
Read:
AI Agents In Pharma Operations | Beyond The Chatbot

Where AI Agents Help

Agents work best on high-volume, text-heavy tasks where a trained person reviews the results before they are used. Five areas stand out.

Document search and summaries. Agents can find the right section across thousands of SOPs, batch records and audit reports. They can summarise long files and point to the source page. The reviewer still checks the source.

Deviation and CAPA support. An agent can group similar deviations, suggest likely categories and flag repeat events. This helps teams spot trends sooner. The root-cause decision remains with the quality unit.

Regulatory and medical writing support. Agents can build first drafts, compare dossier versions and check cross-references. A qualified writer edits and approves.

Pharmacovigilance intake. Agents can help sort incoming safety reports and pull out fields such as drug name, event term and date. Trained staff confirm every case.

Supply chain monitoring. Agents can watch lead times, stock levels and supplier alerts, then warn planners early.

The pattern is clear. Good use cases have low direct impact on the product, are easy to check, and always include human review.

Where AI Agents Are Risky

Risk rises when an agent's output affects product quality, patient safety or data integrity without strong checks.

Writing GMP records on its own. This is the first FDA warning letter to focus on AI in drug manufacturing. On 2 April 2026, FDA wrote to Purolea Cosmetics Lab, a drug manufacturer in Michigan. The firm had used AI agents to produce drug specifications, procedures and master production and control records. FDA handled this under existing cGMP rules (21 CFR Parts 210 and 211) and linked it to weak oversight of the quality unit. The company has since stopped drug production. The message is simple: AI output is your record, and your quality unit owns it.

Hallucinations. LLMs can state wrong facts in a confident tone. In a specification or batch record, a single incorrect limit can lead to an incorrect release decision.

Data integrity gaps. Regulators expect records to be attributable, legible, contemporaneous, original and accurate (ALCOA+). If an agent creates or edits data, the audit trail must show who or what did it, and when.

Model change and drift. A vendor can update an LLM at any time. Behaviour may shift without notice, and your earlier validation may no longer hold.

Automation bias. Reviewers can start to trust the agent and sign off without real checking. A review that is only a click is not a control.

Access and security. Agents often hold system permissions. An agent with broad access to a LIMS, ERP or QMS can cause wide damage if it makes an error or is misled by malicious text in a document it reads.

What Regulators Say Today

No single rule covers AI agents in pharma yet. Existing rules still apply, and new texts are taking shape.

  1. EU GMP Annex 22 (draft). The European Commission and PIC/S ran a consultation from 7 July to 7 October 2025. As of late 2026, it is still a draft. For critical GMP applications, it allows only static, deterministic models, meaning frozen parameters and repeatable outputs. It says dynamic models, generative AI and LLMs should not be used in critical GMP applications. The draft also asks for a defined intended use, acceptance criteria, independent test data and ongoing performance monitoring.

  2. Annex 11 and Chapter 4. Revised versions went out for consultation at the same time. Until they change, the current Annex 11 (2011) on computerised systems still applies.

  3. FDA–EMA guiding principles. On 14 January 2026, both agencies published ten principles for good AI practice in drug development. They include a risk-based approach, clear context of use, data governance and life cycle management. These are principles, not binding rules.

  4. FDA draft guidance (January 2025). It proposes a risk-based credibility approach for AI that supports regulatory decisions on drugs and biologics. It was still a draft in October 2026.

Annex 22 draws a firm line on which AI models can touch critical GMP work. See how the draft guides model choice, from static and deterministic to generative.
Read:
Draft Annex 22 | Rules On AI Model Choice In GMP

Risk Map: Use Cases at a Glance

The risk levels below are an editorial view, not a regulatory rating.

Use case

Risk level

Main concern

Key control

Document search and summaries

Low

Wrong source cited

Link to source; spot checks

Deviation trending

Medium

Wrong category

QA reviews every suggestion

Draft SOPs or regulatory text

Medium to high

Errors, missing GMP detail

Qualified author review; version control

Pharmacovigilance case intake

Medium to high

Missed or wrong safety data

Full human case review; audit trail

Specifications, master records, batch release

High

Direct product quality impact

No autonomous agents

Process control decisions

High

Patient safety

Only validated, static models (draft Annex 22)

Pre-Deployment Checklist

Before an AI agent goes live in a GMP area, confirm each point:

  1. Intended use is written in one clear sentence

  2. Task is classified as critical or non-critical GMP

  3. A process owner and a quality owner are named

  4. Testing used independent data and set acceptance criteria

  5. Every agent action is captured in an audit trail

  6. Access is limited to the minimum needed

  7. Documented human review happens before output is used

  8. Model version is locked; updates go through change control

  9. Performance and drift are monitored on a schedule

  10. The AI vendor has been audited and the contract reviewed

  11. Staff are trained on automation bias

How to Start Safely

Begin with read-only tasks, such as search and summaries. Run a small pilot, write down the intended use and test results, and bring QA in from day one. Use a quality risk management approach aligned with ICH Q9(R1) to determine the level of control each use case requires. Move to higher-impact tasks only after the lower-risk ones show stable results.

Conclusion

AI agents can save real time in pharma operations, especially in search, trending and first drafts. They become risky when they write or change records that drive product quality, or when no one truly checks their work. The FDA's Purolea letter shows that regulators judge AI output by the same standards as any other GMP record. Keep humans accountable, keep the quality unit in charge, and match the control level to the risk.

FAQs

1. What is an AI agent in pharma?

It is software that uses an LLM to complete multi-step tasks, such as reading documents, drafting text and using other systems, with limited human input.

2. Is Annex 22 in force?

No. It is a draft. The consultation closed on 7 October 2025, and no final version had been adopted at the time of writing.

3. Can AI agents write SOPs and batch records?

They can help draft, but a qualified person must review and approve the result. Relying on AI alone drew an FDA warning letter in April 2026.

4. What is the safest first use case?

Read-only tasks with human review, such as document search and summaries.

5. Does using AI change data integrity rules?

No. ALCOA+ and audit trail expectations still apply to anything an agent creates or changes.

TopicsPharma ITArticle
Michael Bani
Written by
Michael Bani
Director, Editor (US & Europe)

Reporting on the science, business and regulation shaping the pharmaceutical industry.

Discussion

Loading discussion…

More in Pharma IT

All articles →