What Is Smart Manufacturing in Pharma?
Smart manufacturing in pharma: six capabilities ranked, from governed batch data to OEE, predictive maintenance and deviation agents, on Databricks.


By Nitya, Solution Marketing, Kasmo Global · Published December 5, 2026
Smart manufacturing in pharma works when batch, equipment and quality data share one governed model first, because OEE tracking, predictive maintenance, digital twins and deviation agents all break the same way when a batch record can't be joined to its sensor data. Kasmo Global is a life sciences data and AI consulting company and Databricks partner that helps pharma and medtech manufacturing teams cut batch rejections and deviations on the Databricks Data + AI Platform.
In short
- Smart manufacturing in pharma rests on six capabilities, and the first one, a governed batch, equipment and quality data foundation, decides whether the other five work.
- Of 1,309 FDA drug quality inspections in fiscal year 2025, 18% were classified official action indicated and 22% no action indicated (FDA, FY2025 Report on the State of Pharmaceutical Quality).
- Deviations are expensive and sticky: McKinsey estimates deviation and CAPA management takes 4 to 6 percent of a manufacturing site's resources, and its analysis found 15 to 20 percent of deviations recur because of ineffective remediation (McKinsey, January 2025).
- Data standards lag the technology. In Deloitte's 2025 survey of 600 US manufacturing executives across industries, 54% reported a data standard through a unified data model.
- All figures above are published third-party figures, not Kasmo Global results.
What is smart manufacturing in pharma?
Plenty of pharma plants record sensor data on every batch, yet the investigation into why a batch failed often starts with someone exporting historian data to a spreadsheet. Smart manufacturing in pharma closes that gap: it's the use of connected equipment, process and quality data, analytics and AI to run production, maintenance and quality decisions on governed data instead of after-the-fact reports.
Databricks lists "Implement smart manufacturing" as a use case on its Healthcare and Life Sciences page, describing digital twins, predictive maintenance and IoT analytics for biologics and cell therapy at scale, with full lineage and CQA tracking. Kasmo Global's view is that smart manufacturing in pharma is a data model problem before it's a digital twin problem. Don't fund a twin until your historian, MES and LIMS agree on what a batch, a piece of equipment and a material lot are, because the twin will inherit every mismatch underneath it.
Why does smart manufacturing matter for pharma quality now?
FDA inspections still find problems at a meaningful share of drug manufacturing sites. FDA's FY2025 Report on the State of Pharmaceutical Quality counts 5,953 manufacturing sites in CDER's Site Catalog at the end of fiscal year 2025 and reports that its 1,309 drug quality inspections that year, including 61 Mutual Recognition Agreement partner inspections, were classified 22% no action indicated, 60% voluntary action indicated and 18% official action indicated.

Federal rules make every unexplained pharma manufacturing discrepancy a data exercise. Under 21 CFR 211.192, the quality control unit must review and approve production and control records before a batch is released or distributed, and any unexplained discrepancy or batch failure must be thoroughly investigated, extended to other batches that may be associated, and documented in a written record with conclusions and followup. Pulling that evidence by hand from five systems is where investigation time goes.
Manufacturing problems also reach patients. FDA's Drug Shortages Task Force reported in 2019 that of 163 drugs that went into shortage between 2013 and 2017, 62 percent did so after supply disruptions associated with manufacturing or product quality problems. That figure is older than the rest cited here, but it shows why quality data belongs in supply planning, not only in the QA department.
How does smart manufacturing work in a pharma plant?
Every step of production writes to one shared, governed model, so a quality engineer, a maintenance planner and an agent all read the same batch history instead of rebuilding it per investigation. Batch, equipment and material keys are what tie a sensor trace to a batch record and a lab result.

- Equipment and sensors stream process parameters, alarms and equipment states from the historian and SCADA layer.
- The MES and electronic batch record capture which materials, equipment and operators touched each batch phase.
- LIMS and QC systems add in-process and release test results against specifications.
- The QMS holds deviations, investigations and CAPAs, linked back to the batch and equipment.
- Batch release draws on all four, and QA makes the release decision.
A common week-three finding in pharma smart manufacturing projects: the historian timestamps in plant local time while the MES records UTC, so the first join between a temperature excursion and a batch phase lands on the wrong step. That's a data foundation problem, and it's why the foundation ranks first.
What capabilities matter most for smart manufacturing in pharma in 2026?
Six capabilities decide whether a pharma smart manufacturing program holds up, and Kasmo Global ranks them by how much the others depend on each one: a governed batch, equipment and quality data foundation, batch genealogy and CPP/CQA tracking, real-time OEE and equipment monitoring, predictive maintenance and process digital twins, deviation and CAPA analytics, and agentic quality assistants with AI cost controls. Each maps to one of the four principles Databricks uses for its platform: context, control, cost and choice.

1. A governed batch, equipment and quality data foundation (Context)
Without a governed manufacturing data foundation, every analytics project in a pharma plant starts with its own historian export and its own definition of a batch. The foundation maps historian, MES, LIMS, QMS and ERP data to one batch, equipment and material model, with lineage back to each source and role-based access. On Databricks, Lakeflow ingests the source systems and Unity Catalog governs access, lineage and audit.
2. Batch genealogy and CPP/CQA tracking (Context, Control)
Batch genealogy links every pharma batch to the material lots, equipment, critical process parameters (CPPs) and quality results behind it, so a critical quality attribute (CQA) that drifts can be traced to the process step that moved it. Databricks names CQA tracking with full lineage as part of its smart manufacturing use case, and genealogy is also what lets an investigation extend to other associated batches, as 21 CFR 211.192 requires.
3. Real-time OEE and equipment monitoring (Context, Cost)
Overall equipment effectiveness (OEE) multiplies availability, performance and quality, and a month-end OEE number hides which of the three is losing. Real-time OEE and equipment monitoring calculates those losses per line and shift from equipment events, with drill-down to the cause, such as changeover time, minor stops or rejected units. The Lakehouse and AI/BI Dashboards serve the views, and Lakebase can hold live line state for an operator app.
4. Predictive maintenance and process digital twins (Cost)
Predictive maintenance in pharma earns its keep when it catches equipment drift before it becomes a deviation, not only before it becomes downtime. Models trained on historian and maintenance data flag a pump, filler or bioreactor control loop that's moving out of its normal pattern, and process digital twins test parameter changes against historical batches before anyone touches a validated process. Kasmo Global ranks this fourth because both depend on the foundation and genealogy above.
5. Deviation and CAPA analytics (Control)
Deviation and CAPA analytics groups pharma deviations by root cause, equipment, product and shift, and tracks recurrence so a CAPA that didn't work shows up within weeks rather than at the next annual product review. McKinsey's 2025 analysis found 15 to 20 percent of deviations recur because of ineffective remediation, which is the number this capability is built to bring down.
6. Agentic quality assistants with AI cost controls (Control, Cost, Choice)
QA shouldn't hand a batch release or a deviation closure to an agent, but it can hand an agent the first draft. Agentic quality assistants pull the batch record, sensor trends and similar past deviations into a draft summary or flag batch record exceptions for a QA reviewer to approve, with per-agent budgets, model choice and audit trails. Agent Bricks builds, evaluates and monitors the agents, and Unity Gateway sets budgets, rate limits and spend attribution by team and agent.
How do the six capabilities compare?
Use the table below as a checklist when you assess a partner, a vendor or your own pharma smart manufacturing program. For each capability it shows what good looks like, the KPI it moves and the Databricks Data + AI Platform component that supports it.
| Rank | Capability | What to look for | KPI it moves | Databricks component |
|---|---|---|---|---|
| 1 | Governed batch, equipment and quality data foundation | Historian, MES, LIMS, QMS and ERP data mapped to one batch, equipment and material model, with lineage | All (prerequisite) | Lakeflow, Unity Catalog |
| 2 | Batch genealogy and CPP/CQA tracking | Each batch linked to material lots, equipment, process parameters and test results | Batch rejection rate, investigation time | Unity Catalog, Lakehouse |
| 3 | Real-time OEE and equipment monitoring | Availability, performance and quality losses by line and shift, with drill-down to the cause | OEE, unplanned downtime | Lakehouse, AI/BI, Lakebase |
| 4 | Predictive maintenance and process digital twins | Drift alerts tied to equipment and batch history; parameter changes tested on past batches first | Unplanned downtime, maintenance cost | Lakehouse, Lakeflow Jobs |
| 5 | Deviation and CAPA analytics | Deviations grouped by root cause, equipment and product; recurrence tracked per CAPA | Deviation count, recurrence rate | Lakehouse, AI/BI |
| 6 | Agentic quality assistants with AI cost controls | Draft deviation summaries and batch record exception flags for QA approval; budgets, model choice and audit per agent | Investigation cycle time, AI spend | Agent Bricks, Unity Gateway |
What does the research say about pharma manufacturing quality?
FDA still classifies a meaningful share of drug quality inspections as official action indicated, deviations take real site resources and often recur, and most manufacturers haven't standardized their data. Every figure below comes from a named third-party source, isn't a Kasmo Global result, and carries the qualifiers its source states; the Deloitte survey covers manufacturing across industries, not pharma alone.

| Finding | Figure | Qualifiers | Source |
|---|---|---|---|
| FDA drug quality inspections classified official action indicated (OAI) | 18% | Of 1,309 inspections in FY2025 (October 1, 2024 to September 30, 2025), including 61 MRA partner inspections; 22% NAI and 60% VAI | FDA CDER, FY2025 Report on the State of Pharmaceutical Quality |
| Manufacturing sites in CDER's Site Catalog | 5,953 | End of FY2025; 57% located in the US | FDA CDER, FY2025 Report on the State of Pharmaceutical Quality |
| Site resources spent on deviation and CAPA management | 4 to 6 percent | McKinsey estimate for the end-to-end deviation and CAPA process at a manufacturing site; method not published | McKinsey, Gen AI: A game changer for biopharma operations (January 28, 2025) |
| Deviations that recur | 15 to 20 percent | Recur because of ineffective remediation, per McKinsey's own analysis; sample not stated | McKinsey, Gen AI: A game changer for biopharma operations (January 28, 2025) |
| Drugs in shortage linked to manufacturing or quality problems | 62 percent of 163 drugs | Drugs that went into shortage between 2013 and 2017; supporting evidence, older than the other figures | FDA Drug Shortages Task Force, Drug Shortages: Root Causes and Potential Solutions (2019, updated 2020) |
| Manufacturers with a data standard | 54% | Report a data standard through a unified data model; 600 executives at US manufacturers with $500M+ revenue and 1,000+ employees, fielded August to September 2024, all industries, self-assessed | Deloitte, 2025 Smart Manufacturing and Operations Survey (May 1, 2025) |
| Reported net gains from smart manufacturing | 10% to 20% production output; 7% to 20% employee productivity; 10% to 15% "unlocked capacity" | Average net impacts since implementation, self-reported by the same 600 respondents | Deloitte, 2025 Smart Manufacturing and Operations Survey (May 1, 2025) |
| AI/ML in use at facility or network level | 29% | Same survey; 24% have deployed generative AI at that level | Deloitte, 2025 Smart Manufacturing and Operations Survey (May 1, 2025) |
Kasmo Global's advice is to measure your own pharma manufacturing baseline before any smart manufacturing or AI pilot. Pick two or three numbers you already report, such as batch rejection rate, open deviations older than 30 days, deviation recurrence by CAPA, or OEE on your highest-volume line.
How does Kasmo Global approach smart manufacturing on Databricks?
Foundation first, agents last: that's the order Kasmo Global follows to build pharma smart manufacturing on the Databricks Data + AI Platform. Lakeflow brings in historian, MES, LIMS, QMS and ERP data. Unity Catalog governs it with lineage and access control. The Lakehouse and AI/BI Dashboards serve OEE, genealogy and deviation views, Lakebase holds live line and batch state for operator apps, Agent Bricks hosts quality assistants that work under QA review, and Unity Gateway controls model access and AI spend.
Kasmo Global takes a firm position on scope: start with one line or one product family, not the whole network. A single filling line with clean genealogy and trusted OEE teaches a plant more than a network-wide twin that nobody can validate, so we prove the data model on one line and then copy it.

Lakeflow. Databricks Lakeflow is a unified data engineering solution built natively into the Databricks Data + AI Platform. It combines managed ingestion (Lakeflow Connect), declarative pipeline development (Apache Spark™ Declarative Pipelines), and workflow orchestration (Lakeflow Jobs) for batch and streaming pipelines. Learn more: Lakeflow product page · Data engineering documentation
Unity Catalog. Databricks Unity Catalog is the unified governance layer for data and AI assets on Databricks, covering access control, discovery, business semantics, lineage, quality monitoring and open sharing across tables, files, models, agents, skills and MCP tools. Learn more: Unity Catalog product page · Unity Catalog documentation
Lakehouse. Databricks Lakehouse is the SQL data warehousing and analytics layer of the Databricks Data + AI Platform, running real-time and batch analytics directly on open-format data. It combines warehouse performance and governance with lakehouse openness, so teams query the same governed tables used by their data engineering, ML and agentic workloads without maintaining a separate warehouse copy. Learn more: Lakehouse product page · Lakehouse documentation
AI/BI Dashboards. Databricks AI/BI Dashboards provides AI-assisted, interactive business intelligence directly on governed lakehouse data. It combines low-code dashboard authoring, reusable Unity Catalog metrics, secure enterprise sharing, and companion Genie experiences without requiring a separate BI extract or governance layer. Learn more: AI/BI product page · Dashboards documentation
Lakebase. Databricks Lakebase Postgres is a fully managed, serverless Postgres service that separates compute from storage, so operational workloads run directly on the Databricks Data + AI Platform with the same governance and security as analytics and AI. It supports serverless autoscaling and scale to zero, instant zero-copy database branching, point-in-time recovery, and unified governance through Unity Catalog. Learn more: Lakebase product page · Lakebase Postgres documentation
Agent Bricks. Agent Bricks is an open agent developer platform for building, deploying and optimizing custom agents on any model, framework or harness, with all your data. It is powered by Omnigent, a multi-harness agent development platform, and includes AI search, memory, sandboxing, evaluations, observability and monitoring. Learn more: Agent Bricks product page · Agent Bricks documentation
Unity Gateway. Unity Gateway is the enterprise AI control plane for accessing, managing and optimizing AI across every team, application, model and agent. It provides reliable capacity across leading proprietary and open models through a single gateway, Smart Routing that directs each request to the best-fit model for cost, quality and performance, and budgets, rate limits and spend attribution by user, team, agent and model. Access policies, guardrails and audit trails span models, agents, MCPs and tools. Learn more: Unity Gateway product page · Unity Gateway documentation
Smart manufacturing and supply chain visibility read from overlapping data: a batch on quality hold is a shipment that won't go out this week. For the supply side, read What Makes Pharma Supply Chain Visibility Work?
Where should a pharma manufacturing team start?
Pick the loss you can already measure, not the technology you'd most like to try. For most pharma manufacturing teams, that's one of the four situations below:
- Investigations take weeks because evidence lives in five systems. Start with capability 1, the governed data foundation, then batch genealogy in capability 2.
- OEE is calculated by hand each month. Add capability 3 on your highest-volume line first.
- Unplanned downtime keeps hitting the same equipment. Prioritize capability 4, beginning with the assets that have the most maintenance history.
- The same deviations keep coming back. Bring in capability 5 and track recurrence by CAPA before you add an agent.
Bring Kasmo Global your last ten deviation investigations and we'll show you where the evidence trail broke. Book an AI assessment with Kasmo Global, or see how we work with pharmaceutical companies.
Frequently asked questions
What is smart manufacturing in pharma?
Smart manufacturing in pharma is the use of connected equipment, process and quality data, analytics and AI to run production, maintenance and quality decisions on governed data. Digital twins, predictive maintenance and OEE dashboards sit on top of that data foundation.
What is OEE in pharma manufacturing?
OEE, or overall equipment effectiveness, is availability multiplied by performance multiplied by quality for a line or piece of equipment. In pharma manufacturing, OEE is most useful per line and shift, so a team can see whether changeovers, minor stops or rejected units are driving the losses.
Do you need a digital twin to start smart manufacturing in pharma?
No. A pharma digital twin depends on clean batch genealogy and trusted equipment data, so most plants get more early value from a governed data foundation, OEE monitoring and deviation analytics on one line.
How much of a pharma site's resources go to deviations?
4 to 6 percent of a manufacturing site's resources go to deviation and CAPA management, by McKinsey's January 2025 estimate. McKinsey's analysis also found 15 to 20 percent of pharma deviations recur because of ineffective remediation.
Does FDA require pharma manufacturers to investigate deviations?
Yes. Under 21 CFR 211.192, any unexplained discrepancy or batch failure must be thoroughly investigated, whether or not the batch has been distributed, extended to other associated batches, and documented in a written record with conclusions and followup.
Does FDA have a program for advanced pharma manufacturing technologies?
Yes. FDA's Advanced Manufacturing Technologies (AMT) Designation Program, covered by final guidance issued in December 2024, "facilitates the development of drugs manufactured using an AMT that has been designated as such under the program," in FDA's words.
Can AI approve batch release or close deviations in pharma?
No. In pharma, the quality control unit reviews and approves production records before a batch is released, so AI assistants draft deviation summaries and flag batch record exceptions while QA makes the decision.
What data does smart manufacturing in pharma need?
Smart manufacturing in pharma needs historian and SCADA process data, MES and electronic batch records, LIMS and QC results, QMS deviations and CAPAs, maintenance records and ERP material data, all linked by batch, equipment and material lot.
Why build pharma smart manufacturing on the Databricks Data + AI Platform?
The Databricks Data + AI Platform keeps pharma manufacturing data, analytics, apps and agents on one governed copy of the data. Lakeflow ingests historian, MES, LIMS and QMS feeds, Unity Catalog governs access and lineage, Lakebase serves live line state, and Unity Gateway controls model access and AI spend.
How does Kasmo Global help pharma manufacturing teams with smart manufacturing?
Kasmo Global, a life sciences data and AI consulting company and Databricks partner, starts pharma manufacturing teams with a governed batch, equipment and quality data foundation on one line on the Databricks Data + AI Platform. Then we add genealogy, OEE monitoring, predictive maintenance, deviation analytics and QA-approved quality assistants.
Put this into practice with our team
Share what you are working on and we will show how governed data and AI can move your programs forward.
Email marketing@kasmoglobal.com