TLDR: A new AI system, the Accelerator Assistant, has been deployed at the Advanced Light Source particle accelerator. It uses language models to autonomously execute complex, multi-stage physics experiments from natural language prompts. This system significantly reduces experiment preparation time by two orders of magnitude, upholds strict safety standards through features like plan-first orchestration and bounded tool access, and provides transparent, reproducible results. It offers a blueprint for integrating agentic AI into large-scale scientific facilities worldwide, enhancing efficiency and safety in demanding machine physics studies and routine operations.
Particle accelerators, such as the Advanced Light Source (ALS) at Lawrence Berkeley National Laboratory, are among the most intricate scientific instruments globally. They are crucial for cutting-edge research in materials science, chemistry, and biology. However, their operation demands continuous oversight from highly specialized teams, and troubleshooting non-routine issues often requires custom scripting and deep subsystem knowledge, leading to significant preparation time and potential downtime.
Addressing these challenges, researchers have introduced the Accelerator Assistant, the first language-model-driven agentic artificial intelligence (AI) system to autonomously execute multi-stage physics experiments on a production synchrotron light source. This innovative system translates natural language user prompts into structured execution plans, integrating archive data retrieval, control-system channel resolution, automated script generation, controlled machine interaction, and analysis.
The Accelerator Assistant has demonstrated remarkable efficiency. In a representative machine physics task, it reduced preparation time by two orders of magnitude compared to manual scripting, even for system experts. Crucially, it strictly upheld operator-standard safety constraints, a paramount concern in high-stakes environments like particle accelerators where even minor errors can lead to extended downtime or hardware damage.
The system’s core architectural features contribute to its robust performance. Plan-first orchestration ensures that every task is captured as an inspectable execution plan with explicit input-output dependencies, allowing for transparency and optional operator approval before any action is taken. Dynamic capability filtering enables stable scaling across a large inventory of tools, while structured artifacts, including Jupyter Notebooks, JSON outputs, and logs, provide full reproducibility and auditability.
Users interact with the system through a command-line interface or a web UI, with authentication tied to individual user identities for personalized context and memory. The system can perform model inference locally or via cloud providers, balancing secure on-premises processing with access to state-of-the-art foundation models. Its integration with the EPICS control system enforces operator-standard safety constraints for direct interaction with accelerator hardware.
A practical example showcased the system’s capabilities: a user requested to find the minimum and maximum values of all insertion device (ID) gap values over three days, then write a script to move each ID from its maximum to minimum gap and back while measuring the vertical beam size. The Accelerator Assistant autonomously prepared and executed this complex procedure, which would typically take several hours of manual effort, in just minutes. This involved time-range parsing, PV resolution using a specialized PV Finder subsystem, archive data retrieval, dynamic Python script generation for machine operation and data analysis, and visualization of the results, such as a hysteresis plot of beam size versus gap.
Also Read:
- A New Platform for Studying Human-AI Teamwork
- AI System Automates Long-Form Video Editing with Natural Language Prompts
The development of the Accelerator Assistant marks a significant step forward in the safe integration of agentic AI into scientific operations. Its principles are directly portable across accelerators worldwide and, more broadly, to other large-scale scientific infrastructures where automation, transparency, and reproducibility are equally critical. For more detailed information, you can refer to the original research paper.


