Visual abstractsVisuals
ResearchModern Pathology · Jul 29, 2026

End-to-End Clinical Validation of a Human-Supervised Large Language Model Agent for Enterprise Surgical Pathology Reporting

Abukhiran I, Mansour A, Caicedo ML, Minkowitz JM, Pantanowitz L
Pathology & Laboratory MedicineAdult
Read the full paper free at the publisher ↗

Abstract

Large language models (LLMs) show promise for text-based pathology tasks, yet most reported applications remain experimental, lack formal clinical validation, or operate outside secure, health system-approved environments. We developed and clinically validated a rule-guided, agent-based LLM that assists gastrointestinal (GI) biopsy reporting by automating report structuring while preserving full diagnostic authority with the pathologist. The artificial intelligence agent (Microsoft 365 Copilot) ran within an enterprise-approved, Health Insurance Portability and Accountability Act of 1996-compliant Microsoft 365 environment, configured with a fixed rule-based system configuration prompt and a quick-text knowledge base. In a prospective validation, 94 GI biopsy cases were evaluated by subspecialty GI pathologists (I.A. and A.M.) using specimen container labels extracted from the laboratory information system and pathologist-entered shorthand diagnoses. Agent outputs were reviewed for formatting accuracy, organ and procedure identification, shorthand expansion fidelity, blank diagnosis enforcement, and diagnostic safety. The agent preserved specimen-part structure and correctly identified organ, suborgan, and procedure context in 100% of cases; shorthand expansion was accurate in all applicable cases. Minor formatting deviations occurred in 8 cases (8.5%) without affecting diagnostic meaning. Two cases (2%) showed minor diagnostic misinterpretation, in which descriptive container-label terms (eg, "ulcer" and "erosion") were incorporated into diagnostic text; no hallucinated diagnoses were identified. Repeatability testing on cases enriched for descriptive labels showed 81% identical outputs across 105 runs (19% variability), with nonreproducible semantic leakage in 3% of runs. A comparative time study showed faster artificial intelligence-assisted reporting (mean 39 vs 72 seconds for speech-to-text and 76 seconds for manual typing; ∼33-37 second reductions, P < .05), measured across the full workflow through signout, with lower variability. By restricting this end-to-end, production-embedded agent to rule-guided structuring, formatting, and controlled shorthand expansion while prohibiting diagnostic inference, the system achieved high efficiency, consistency, and seamless workflow integration on real GI biopsy cases. Low-frequency, stochastic errors and minor variability remain inherent to LLMs despite strict constraints; although infrequent, they indicate such systems are best suited for nondiagnostic, clerical augmentation rather than autonomous use. All output therefore requires a pathologist's careful review before signout. These findings support constrained, agent-based LLMs to safely enhance reporting efficiency while preserving diagnostic responsibility and human oversight.

Topics

Humans; Large Language Models; Pathology, Surgical; Reproducibility of Results; Artificial Intelligence; Biopsy

DOI: 10.1016/j.modpat.2026.101049 · PubMed: 42526601

Spotted a mistake? Suggest a correction

More in Pathology & Laboratory Medicine

Mod Pathol · Nov 18, 2026 · Research · Pathology & Laboratory Medicine

Tumor-selective overexpression of five receptors found in triple-negative breast cancer

Mod Pathol · Nov 18, 2026 · Research · Pathology & Laboratory Medicine

CD40 expression differentiates Hodgkin lymphoma from anaplastic large cell lymphoma

Mod Pathol · Nov 12, 2026 · Research · Pathology & Laboratory Medicine

Deciphering Benign and Malignant Perineuriomas: A Comparative Epigenomic and Genomic Study With Hybrid and Malignant Peripheral Nerve Tumors

Mod Pathol · Nov 12, 2026 · Research · Pediatric · Pathology & Laboratory Medicine

Pediatric-type Follicular Lymphoma Shows Unique Immunogenetic Features With Lack of Acquired N-glycosylation Sites

Mod Pathol · Nov 12, 2026 · Research · Pathology & Laboratory Medicine

Pilomatrix-like high-grade endometrioid carcinomas have distinct molecular features