Journals of Accelerator Conferences Website (JACoW)
JACoW
is a publisher in Geneva, Switzerland that publishes the
proceedings of accelerator conferences held around the world
by an international collaboration of editors.
| URL | https://doi.org/10.18429/JACoW-ICALEPCS2025-WEPD060 |
|---|---|
| Title | AI-driven device driver generator |
| Authors |
|
| Abstract | We present a web-based application that significantly simplifies and accelerates the development of Tango Controls device servers by integrating large language models (LLMs) into the code generation process. The tool allows users to define device attributes, commands, and properties through an intuitive graphical interface, and optionally upload device documentation in PDF format. Using retrieval-augmented generation, the system extracts relevant content from the documentation and generates Python code for Tango device servers, tailored to the specific device functionality. The backend leverages FastAPI and LangChain to interface with various LLMs such as GPT, Claude, and Gemini. Tests on devices like power supplies and teslameters show that the generated code often requires limited manual adjustments. While the application improves development efficiency and accuracy, it also highlights certain limitations, including occasional command mismatches and the need for better retrieval strategies. Future enhancements include automated test code generation, improved document parsing, support for additional programming languages, and integration of open-source models for broader applicability. |
| Paper | download: WEPD060.pdf |
| Cite | BibTeX, LaTeX, Text/Word, RIS, EndNote |
| Conference | 20th Int. Conf. Accel. Large Exp. Phys. Control Syst. (ICALEPCS'25) |
| Series | |
| Location | Chicago, IL, USA |
| Date | 20-26 Sep 2025 |
| Publisher | JACoW Publishing, Geneva, Switzerland |
| Editorial Board | Kent Wootton (ANL), Jeffery Biss (FNAL), Gustavo Bruno (ANL), Jeff Kirchman (ANL), Kelly Jaje (ANL), Denise Skiadopoulos (ANL), SuYin Grass Wang (ANL) |
| Online ISBN | 978-3-95450-255-4 |
| Online ISSN | 2226-0358 |
| Received | 05 September 2025 |
| Revised | 29 September 2025 |
| Accepted | 29 October 2025 |
| Issued | 25 November 2025 |
| DOI | 10.18429/JACoW-ICALEPCS2025-WEPD060 |
| Pages | 1176-1179 |
| Copyright | Published by JACoW Publishing under the terms of the Creative Commons Attribution 4.0 license. Any further distribution of this work must maintain attribution to the author(s), the published article's title, publisher, and DOI. |