From Clinical Intent to Clinical Model: Autonomous Coding-Agents for Clinician-driven AI Development
arXiv:2604.17110
Abstract
BACKGROUND: Developing clinically useful AI requires collaboration between clinicians and AI developers, yet this process often involves time-consuming communication and potential misalignment. Coding agents may help bridge this gap. METHODS: We present a prototype that lets clinicians drive AI development directly via natural-language interactions. The system turns a clinician request into an executable workflow through semantic parsing, task initialization, and iterative code tuning, using Claude Opus 4.6 as the underlying coding agent. We evaluated this prototype across 12 tasks, including straightforward requests focused solely on model performance metrics and more complex requests. The test set was held out from the beginning and was never exposed to the coding agent. An exploratory human evaluation was conducted with six clinicians who completed a questionnaire rated on a five-point Likert scale after interacting with the system. RESULTS: Across 12 tasks, the prototype autonomously developed AI models with competitive performance. Notably, clinicians' practical knowledge helped reduce shortcut reliance (partial correlation from 0.53 to 0.07) in pneumothorax classification. Drain-free AUROC improved in every cohort and the clinician-driven model achieved stronger lesion localization than medical foundation models across all five external cohorts. All six participants commented communication as efficient and agreed that the agent understood their clinical goals and can provide useful suggestions, but also saying extensive external testing is needed before clinical use of autonomously developed AI models. CONCLUSIONS: These findings suggest that coding agents could let clinicians take a more independent and active role in clinical AI development, reducing their reliance on AI developers, although further improvements are needed.
arXiv commentCode is available at https://github.com/zhaozh10/clinical-automata/