AI Agent Speeds Adverse Drug Reaction Reviews With Low Pharmacist Agreement
A locally deployed execution-based artificial intelligence agent evaluated 1,197 real-world adverse drug reaction reports from a Chinese hospital thousands of times faster than clinical pharmacists, yet matched human reviewers across all three core safety task
Illustrative imageA locally deployed execution-based artificial intelligence agent evaluated 1,197 real-world adverse drug reaction reports from a Chinese hospital thousands of times faster than clinical pharmacists, yet matched human reviewers across all three core safety tasks on only 38.34% of comparable cases. In a retrospective head-to-head validation study published December 2, 2026, in the International Journal of Clinical Pharmacy, Liang Ma, Jinmei Liang, Tianlin Wang, and colleagues tested an automated agent built on OpenAI’s Codex framework and the DeepSeek V4 large language model against two-tier pharmacist evaluations. Across 665 reports that matched the agent’s drug-event knowledge base, the system reduced mean per-case processing time from 38.48 ± 165.75 minutes for manual evaluation to 0.0055 ± 0.0132 minutes, a statistically significant reduction (p < 0.001). Complete concordance across serious reaction identification, novel reaction detection, and World Health Organization-Uppsala Monitoring Centre causality grading occurred in 255 of 665 reports, with weighted kappa values of 0.04 to 0.27 indicating slight to fair agreement.
The study addresses a bottleneck in pharmacovigilance, where spontaneous reports submitted by physicians, pharmacists, nurses, other healthcare professionals, and sometimes patients must be systematically reviewed. Adverse drug reactions worsen clinical outcomes, reduce quality of life, and impose substantial economic burdens, while spontaneous reporting faces underreporting linked to causal uncertainty, limited time, insufficient feedback, low motivation, and the misconception that only serious events require submission. Although the World Health Organization and China’s National Medical Products Administration maintain standardized frameworks, manual review remains dominant, depends heavily on individual expertise, often requires extensive literature searches for complex cases, and is vulnerable to inter-rater variability and bias. Existing trigger tools and automated screening methods still rely on clinicians for final judgment, whereas general-purpose large language models are prone to hallucination and restricted to single-turn answers. Execution-type AI agents instead encapsulate workflows into standardized subtasks via natural language instructions, apply structured rules, query knowledge bases, and return auditable outputs.
Researchers analyzed all spontaneous adverse drug reaction reports submitted by the Chinese PLA General Hospital to the China National Adverse Drug Reaction Monitoring System between January and December 2025. Approved by the hospital’s ethics committee with an informed-consent exemption, the retrospective study used anonymized records stripped of patient names and hospitalization numbers. Of 1,223 submitted reports, 26 listing Chinese patent or herbal medicines as the primary suspected drug were excluded, leaving 1,197 valid reports with no restrictions on patient age, sex, clinical department, or reporter type. Patients averaged 56.99 ± 15.25 years, spanning 252 standardized suspected-drug entries and 92 merged adverse reaction categories. Antineoplastic agents led drug classes at 565 cases (47.20%), followed by antimicrobial agents at 215 cases (17.96%) and gastrointestinal drugs at 73 cases (6.10%), led by cytotoxic chemotherapy (306 cases, 25.56%), antibacterial drugs (179 cases, 14.95%), and antibody drugs (163 cases, 13.62%). Gastrointestinal reactions (289 cases, 24.14%), cutaneous and mucosal reactions (215 cases, 17.96%), and liver function abnormalities (187 cases, 15.62%) were the most frequent events.
The team deployed the agent locally on a 64-bit Windows 10 machine running Node.js v18.0 and Python v3.9, pairing Codex (v0.132.0) with DeepSeek V4 via an API set to temperature 0.1 with function calling enabled. Natural language instructions encapsulated all logic without code modification into a five-phase workflow (input validation, parallel three-module assessment, rationale generation, spreadsheet backfilling, and batch summaries) released on GitHub under the MIT License. Because China lacks an authoritative, locally deployable or API-accessible regulatory labeling database with standardized drug-event mappings, the agent queried the July 2024 OFFSIDES database, which holds 438,801 high-confidence drug-event pairs spanning over 3,300 drugs and 10,097 adverse event terms. Both the agent and human reviewers followed National Medical Products Administration guidance for seriousness and novelty and World Health Organization-Uppsala Monitoring Centre criteria for six-level causality grading. The agent checked six standard seriousness criteria (death, life-threatening events, hospitalization or prolongation, persistent or significant disability, congenital anomaly, and other medically important conditions) without separate subjective severity grading, and assessed causality across temporal relationship, dechallenge, rechallenge, known reaction status, and confounder exclusion.
Two clinical pharmacists with over five years of pharmacovigilance experience independently scored all 1,197 reports on a 4-to-8-point scale covering underlying diseases, post-discontinuation recovery, seriousness, and reaction commonness, achieving 86.13% exact agreement and a linear weighted kappa of 0.84 before a third senior pharmacist resolved disagreements. Human benchmarks drew on two-tier hospital and provincial consensus for seriousness and causality, while two pharmacists conducted blinded adjudication against regulatory drug labeling to judge novelty. After human labels were removed, the agent processed the dataset three consecutive times with 100% task completion and identical categorical outputs across runs, varying only slightly in rationale wording. Across all 1,197 reports, the agent classified 476 as serious and 721 as non-serious, with a mean processing time of 0.46 ± 0.89 seconds (range 0.01 to 3.66 seconds); 954 reports (79.70%) finished under 0.1 seconds and only one (0.08%) took 3.0 seconds or longer. However, 532 reports lacked an OFFSIDES drug match and were labeled unevaluable for novelty and conditional for causality, leaving 665 reports for paired comparison, where human workflow-log times may have included non-evaluative intervals.
Task-level review revealed structured, interpretable failure patterns rather than random errors. For serious reaction identification, the agent achieved 35.38% precision and 68.66% recall, disagreeing with pharmacists on 210 of 665 paired reports by over-classifying 168 non-serious cases and under-classifying 42 serious cases. Among false positives, 111 invoked other important medical events, and apart from one hypokalemia and three transaminase elevation cases, all resulted from mechanically treating routine drug withdrawal or dose reduction as serious. Forty-one false positives cited persistent or significant disability (bone marrow suppression, thrombocytopenia, leukopenia, or organ dysfunction), 26 cited prolonged hospitalization, and seven cited life-threatening events (six dyspnea, one hypotension), with ten citing two or more criteria. Missed serious reactions included severe allergic or infusion reactions, drug-induced liver injury, acute pancreatitis, severe anemia, upper gastrointestinal hemorrhage, severe electrolyte disturbances, grade IV or severe bone marrow suppression, severe arrhythmia, seizures, severe coagulation dysfunction, tumor lysis syndrome, impaired consciousness with severe acid-base imbalance, severe gastrointestinal reactions, and severe drug-induced pain. In complexity strata, humans labeled 2 of 89 simple, 82 of 524 moderately complex, and 50 of 52 highly complex reports as serious; the agent captured both simple cases (100% recall) and 32 of 50 highly complex cases (100% precision, 64.00% recall), though the authors noted these stratified estimates are descriptive given class imbalance and seriousness inclusion in the complexity score.
Novel reaction detection highlighted a deeper divergence in reference sources and matching rules. Across the 665 OFFSIDES-evaluable reports, pharmacists classified 656 principal reactions as known and nine as absent from regulatory drug labeling, whereas the agent labeled all 665 known, yielding 98.64% surface agreement but no kappa due to zero variance. Post-hoc verification found direct or related supporting evidence for three cases (fosaprepitant-associated hypersensitivity, vitamin K1-associated headache, and gastrointestinal symptoms after magnesium isoglycyrrhizinate) and no directly matched published evidence for six, including isolated sneezing after omeprazole, two diarrhea reports and one frequent sneezing report after sulfur hexafluoride microbubble administration, periarticular pain after tigecycline, and isolated total bile acid elevation during trastuzumab treatment. Because the agent matched any reported manifestation in a narrative to OFFSIDES without a minimum proportional reporting ratio threshold while pharmacists checked only the principal reaction against official labeling, the two systems sometimes operated on different symptoms. In two sulfur hexafluoride microbubble reports, the agent mapped co-reported malaise, throat pain, and pre-existing macular degeneration visual symptoms to OFFSIDES terms; for magnesium isoglycyrrhizinate, it semantically normalized the unmatched drug name to glycyrrhizinate, blurring exact-match boundaries and underscoring that OFFSIDES associations are not confirmed labeling reactions.
Causality assessment produced 264 disagreements and exposed a third systematic blind spot. Human reviewers classified 16 reports as certain, all confirmed as meeting all five criteria including positive drug rechallenge, but the agent rated only one as certain and downgraded the other 15 to probable. It consistently relied on temporal plausibility, positive dechallenge, and OFFSIDES support, criteria sufficient for probable, without performing rechallenge verification on any case. Because its predefined rules neither required positive rechallenge for a certain rating nor could retrieve rechallenge details from OFFSIDES, the authors proposed adding structured extraction of rechallenge records, explicit grading constraints, and missing-information alerts without modifying the underlying model.
The authors concluded that the tested agent should operate only within pharmacist-supervised, human-in-the-loop workflows rather than as an autonomous system. In practice, it could batch-process reports and route cases into an exception queue: reports flagged as serious solely for routine drug withdrawal, dose reduction, or observation could undergo rapid verification, while cases with high-risk clinical features, positive rechallenge, or failed database matching would receive full manual review, feeding pharmacist corrections into local rule calibration. The study’s limitations temper broader generalization. Evaluating only a single Codex-DeepSeek V4 configuration at one hospital in China means the results reflect local prescribing patterns, reporting practices, healthcare workflows, and patient populations rather than AI pharmacovigilance broadly, and reliance on OFFSIDES left 532 of 1,197 reports unevaluable for novelty and conditional for causality. Future work should test multiple language-model backends across multiple centers, integrate multiple knowledge sources, and evaluate localized rule calibration and standardized verification protocols.
Subject of Research: Real-world validation of an execution-based AI agent for automated adverse drug reaction report review and WHO-UMC causality assessment compared with clinical pharmacists
Article Title: Validation of an execution-based AI agent for automated adverse drug reaction report review and WHO-UMC causality assessment: a head-to-head comparison with clinical pharmacists and structured bias analysis
Article References: Ma, L., Liang, J., Li, Q., Wang, F., Liu, J., Li, S., Hao, X., & Wang, T. (2026). Validation of an execution-based AI agent for automated adverse drug reaction report review and WHO-UMC causality assessment: a head-to-head comparison with clinical pharmacists and structured bias analysis. International Journal of Clinical Pharmacy, 49(1), Article 4. https://doi.org/10.1007/s11096-026-02242-9
Image Credits: AI Generated
DOI: 10.1007/s11096-026-02242-9
Keywords: pharmacovigilance, adverse drug reactions, execution-based AI agent, clinical pharmacists, WHO-UMC causality assessment, DeepSeek V4, OpenAI Codex, OFFSIDES database, serious ADR identification, novel ADR identification, medication safety, spontaneous reporting, human-in-the-loop workflows, rechallenge verification, regulatory drug labeling, postmarketing surveillance, Chinese PLA General Hospital
News Source: Ophelia Keating. (December 2, 2026). AI Agent Speeds Adverse Drug Reaction Reviews With Low Pharmacist Agreement. Scienmag.
