Agentic MR sequence development: leveraging LLMs with MR skills for automatic physics-informed sequence development
Moritz Zaiss, Amr Aly, Jonathan Endres, Tobias Dornstetter, Simon Weinm\"uller, Andreas Maier

TL;DR
This paper introduces Agent4MR, an agent-based framework that uses large language models with physics-aware validation to automatically generate and refine MRI pulse sequences, reducing development time and enabling non-experts to innovate.
Contribution
It presents a novel agent-based system that leverages LLMs with physics-informed validation for automatic MRI sequence development and autonomous research.
Findings
Agent4MR produces artifact-free, valid sequences in a single interaction.
It reduces the number of interactions needed compared to human developers.
Autonomous agents can improve sequences to match target contrasts.
Abstract
Purpose: Novel MR sequence developments still today allow generation of new diagnostic tools or novel imaging biomarkers. Programming MRI pulse sequences, however, is time-consuming and requires deep expertise in sequence design, restrictions by hardware constraints and MRI physics; even small modifications often require substantial debugging and validation. LLMs can assist when given structured prompts and error feedback, but many generated sequences still exhibit physical inconsistencies. We present Agent4MR, an agent-based framework that automatically generates and refines PyPulseq sequences using a structured, physics-aware validation report. These agents can perform also autonomous research. Methods: We evaluated Agent4MR on a spin-echo EPI task across three state-of-the-art LLMs and compared it to a context-only baseline (LLM4MR) and to a human developer with the same tools. We…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
