Skip to content
DraconiticResearch
Search Sources API
304,059 studies30 sourcesUpdated 55 min ago
Peer-reviewedCC BY-NC 4.0Ophthalmology and Therapy

An Agentic AI Workflow for Automated Macular Hole Diagnosis and Structured Report Generation

5 affiliations
  1. 1Moorfields Eye Hospital NHS Foundation Trust, City Road, London, UK
  2. 2Technical University of Munich, School of Medicine and Health, Munich, Germany
  3. 3Ophthalmic Surgical Intelligence Lab, London, UK
  4. 4Department of Ophthalmology, Inselspital, University Hospital of Bern, Bern, Switzerland
  5. 5University College London, Institute of Ophthalmology, London, UK

Abstract

Introduction: Current AI models for optical coherence tomography (OCT) primarily focus on diagnosis as a standalone task. We developed and validated an end-to-end agentic AI workflow that integrates automated macular hole (MH) diagnosis from OCT images with structured patient-friendly report generation.

Methods: The proposed sequential workflow coordinated by a workflow orchestration agent consisted of an image diagnosis stage and a language generation step. The OCT version of RETFound, a self-supervised retinal foundation model, was fine-tuned for binary classification of macular OCT scans as MH or normal macula. Training, validation, and internal testing were performed using multiple public OCT datasets with patient-level stratified splitting, followed by external validation on two independent datasets. The performance of the fine-tuned foundation model was evaluated using accuracy, sensitivity, specificity, and receiver operating characteristic area under the curve (ROC AUC). For each new OCT image, the AI agent used the trained RETFound model to classify the image, received the diagnostic output, incorporated it into a structured prompt, and called the large language model (GPT-4) to generate the clinical report.

Results: On the internal test set (n = 180), the model achieved an accuracy of 100% (95% confidence interval (CI), 97.9–100%) with an AUC of 1.00. On external validation (n = 1014), accuracy was 98.8% (95% CI 97.9–99.3%), sensitivity was 97.9% (95% CI 96.3–98.8%), specificity was 100% (95% CI 99.2–100.0%), and AUC was 0.999 (95% CI 0.998–1.000). Gradient-weighted Class Activation Mapping (Grad-CAM) analysis showed that predictions were driven by relevant retinal regions, particularly the macular hole and adjacent layers. The end-to-end agentic AI workflow generated concise and standardized patient-friendly reports for all samples, without the language model influencing diagnostic decisions.

Conclusions: This study demonstrates the feasibility of an end-to-end AI workflow coordinated by a workflow orchestration agent for robust OCT-based MH diagnosis with a large language model for structured report generation. By separating image-based diagnosis from language generation, this approach offers a practical and scalable solution for virtual vitreoretinal clinics.

Related

  1. A workflow for automated generation of patient-specific finite element models in total shoulder arthroplasty.
    Pezhman Eghbali, Patrick Goetti, Erica Lante +6
    Frontiers in bioengineering and biotechnologyPeer-reviewedCC BYFull textSurgery & anaesthesiaEurope PMC
  2. GLLaucoMed: A Secure Large Language Model-Powered Agentic Workflow for Automated Medication Extraction from Free-Text Glaucoma Clinical Notes.
    Nicholas Solages, Rafael Scherer, Gustavo A Samico +4
    Ophthalmology sciencePeer-reviewedCC BY-NC-NDFull textGeneral medicineEurope PMC
  3. P04.04.B Agentic AI-assisted development of an end-to-end automated MRI processing pipeline for glioma patients: a zero-code proof-of-concept
    M Slachta, O Kalita, M Ilcisko +2
    Neuro-OncologyPeer-reviewedPublisher termsFull textGeneral medicinePMC
  4. P-630. Performance of a Prototype Automated Sample-to-Analysis Microbial Whole-genome Sequencing Workflow
    Open forum infectious diseasesPeer-reviewedCC BYFull textGeneral medicineEurope PMC
  5. Human-Agentic AI Collaboration Workflow for Trend Analysis of ChatGPT Applications in Healthcare
    P. J. Chou, Y. H. Lin, E. Y. Li
    medRxivPreprintCC BYFull textEpidemiology & public healthmedRxiv
BibTeX
@article{troyas2026agentic,
  title = {{An Agentic AI Workflow for Automated Macular Hole Diagnosis and Structured Report Generation}},
  author = {Carla Troyas and Lorenzo Ferro Desideri and Neil Shah and Inès Schumacher and Martin Zinkernagel and Rodrigo Anguita},
  journal = {Ophthalmology and Therapy},
  year = {2026},
  month = oct,
  doi = {10.1007/s40123-026-01523-w},
  url = {https://doi.org/10.1007/s40123-026-01523-w},
  note = {CC BY-NC 4.0},
}
RIS
TY  - JOUR
TI  - An Agentic AI Workflow for Automated Macular Hole Diagnosis and Structured Report Generation
AU  - Carla Troyas
AU  - Lorenzo Ferro Desideri
AU  - Neil Shah
AU  - Inès Schumacher
AU  - Martin Zinkernagel
AU  - Rodrigo Anguita
PY  - 2026
DA  - 2026/10/23
JO  - Ophthalmology and Therapy
DO  - 10.1007/s40123-026-01523-w
UR  - https://doi.org/10.1007/s40123-026-01523-w
AB  - Introduction: Current AI models for optical coherence tomography (OCT) primarily focus on diagnosis as a standalone task. We developed and validated an end-to-end agentic AI workflow that integrates automated macular hole (MH) diagnosis from OCT images with structured patient-friendly report generation.  Methods: The proposed sequential workflow coordinated by a workflow orchestration agent consisted of an image diagnosis stage and a language generation step. The OCT version of RETFound, a self-supervised retinal foundation model, was fine-tuned for binary classification of macular OCT scans as MH or normal macula. Training, validation, and internal testing were performed using multiple public OCT datasets with patient-level stratified splitting, followed by external validation on two independent datasets. The performance of the fine-tuned foundation model was evaluated using accuracy, sensitivity, specificity, and receiver operating characteristic area under the curve (ROC AUC). For each new OCT image, the AI agent used the trained RETFound model to classify the image, received the diagnostic output, incorporated it into a structured prompt, and called the large language model (GPT-4) to generate the clinical report.  Results: On the internal test set (n = 180), the model achieved an accuracy of 100% (95% confidence interval (CI), 97.9–100%) with an AUC of 1.00. On external validation (n = 1014), accuracy was 98.8% (95% CI 97.9–99.3%), sensitivity was 97.9% (95% CI 96.3–98.8%), specificity was 100% (95% CI 99.2–100.0%), and AUC was 0.999 (95% CI 0.998–1.000). Gradient-weighted Class Activation Mapping (Grad-CAM) analysis showed that predictions were driven by relevant retinal regions, particularly the macular hole and adjacent layers. The end-to-end agentic AI workflow generated concise and standardized patient-friendly reports for all samples, without the language model influencing diagnostic decisions.  Conclusions: This study demonstrates the feasibility of an end-to-end AI workflow coordinated by a workflow orchestration agent for robust OCT-based MH diagnosis with a large language model for structured report generation. By separating image-based diagnosis from language generation, this approach offers a practical and scalable solution for virtual vitreoretinal clinics.
SN  - 2193-8245
SN  - 2193-6528
ER  -