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, K Balazova, L Hrabalek
Key points
From the paper's conclusion- We hypothesized that an agentic large language model coding assistant could enable a neurosurgeon with no programming experience to develop this complete workflow.
Abstract
Background Automated deep learning tools for glioma segmentation and volumetric response assessment have matured considerably, with solutions such as AutoRANO providing RANO-compliant bidimensional measurements and GlioMODA delivering robust segmentation even with incomplete MRI protocols. However, these tools operate on pre-processed NIfTI inputs, requiring prior DICOM-to-NIfTI conversion, sequence identification, and coregistration. No open-source platform integrates the complete end-to-end workflow from raw DICOM ingestion through segmentation to structured clinical reporting. Building such a pipeline traditionally requires dedicated software engineering. We hypothesized that an agentic large language model coding assistant could enable a neurosurgeon with no programming experience to develop this complete workflow. Material and Methods A neurosurgeon with no prior coding experience developed a Python-based MRI pipeline entirely through natural-language dialogue with Claude Code Opus 4.6 (Anthropic) over 10 sessions. The pipeline integrates automated DICOM scanning with MRI sequence classification (T1W, T1CE, T2W, FLAIR), DICOM-to-NIfTI conversion, rigid coregistration to T1CE (SimpleITK), deep-learning tumor segmentation via Raidionics with automatic model downloading in four clinical modes (preoperative/postoperative, with/without contrast enhancement), volumetric analysis with RANO 2.0-compliant bidimensional measurements, optional PyRadiomics feature extraction, and 3D visualization within a bilingual (Czech/English) graphical application. Pilot validation compared automated RANO sum of perpendicular diameters products (SPPD) against expert neurosurgeon measurements in 10 glioma patients. Results The system comprises six Python modules (∼3,950 lines) and automates the complete DICOM-to-report workflow. Technical feasibility was confirmed on 700 consecutive MRI examinations processed fully automatically without manual intervention. Automated RANO SPPD showed excellent correlation with expert reference (Pearson r = 0.999, Spearman rho = 0.939, Lin’s CCC = 0.995; all p < 0.001). Bland-Altman analysis revealed a systematic positive bias of + 175 mm2 (mean +9.9%), consistent with inclusion of marginal voxels in automated contour delineation. This proportional overestimation was consistent across tumor sizes, supporting suitability for longitudinal response tracking where relative change is the primary endpoint. Conclusion This proof-of-concept demonstrates that agentic AI coding assistants can enable clinician-scientists without programming expertise to build end-to-end medical imaging pipelines with clinically meaningful output. Pilot RANO validation confirms strong agreement with expert measurements, supporting applicability for longitudinal glioma monitoring.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- TextBraTS: Bridging 3D MRI, Text, and Genotype for Data-Efficient Glioma Segmentation and Analysis.IEEE journal of biomedical and health informatics · 2026
- Validation of open-source deep learning segmentation tools for automated glioma volumetry: a narrative review of Dice scores, workflow efficiency, and clinical RANO 2.0 implementation.Frontiers in neurology · 2026
- Automated RANO 2.0-Aligned Response Assessment for Glioblastoma Clinical Trials: External Evaluation Against Expert Annotations.Cancers · 2026
- EPID-12 AI-based autonomous large-scale neuro-oncological database generation from unstructured clinical reports using schema-constrained LLMsNeuro-Oncology · 2026
- Foundation Models for Glioma MRI: A Systematic Scoping Review of Clinical Applications and Translational Readiness.Brain sciences · 2026
- Agentic Automation of BT-RADS Scoring Using an End-to-End System for Standardized Glioma Follow-up Assessment.Radiology. Artificial intelligence · 2026