🤖 AI Summary
To address the escalating operational complexity, heavy reliance on manual intervention, and inadequate user support arising from the scale expansion of the next-generation Cherenkov Telescope Array (CTA), this work pioneers the systematic integration of instruction-tuned large language model (LLM) agents into gamma-ray astronomical observatories. We propose a technical framework unifying retrieval-augmented generation (RAG), dynamic API invocation, natural language-to-code translation, and deep alignment with the CTA/Gammapy software ecosystem—enabling automated configuration database modeling and open-ended analysis code generation. Two prototype systems are developed: ACADA, an intelligent configuration maintenance agent, and an open Gammapy code generation application. Experimental evaluation demonstrates substantial reduction in manual effort, accelerated system responsiveness, and improved user analysis efficiency—thereby transcending the traditional expert-dependent operational and analytical paradigm.
📝 Abstract
Next-generation instruments for ground-based gamma-ray astronomy are marked by a substantial increase in complexity, featuring dozens of telescopes. This leap in scale introduces significant challenges in managing system operations and offline data analysis. Methods, which depend on advanced personnel training and sophisticated software, become increasingly strained as system complexity grows, making it more challenging to effectively support users in such a multifaceted environment. To address these challenges, we propose the development of AI agents based on instruction-finetuned large language models (LLMs). These agents align with specific documentation and codebases, understand the environmental context, operate with external APIs, and communicate with humans in natural language. Leveraging the advanced capabilities of modern LLMs, which can process and retain vast amounts of information, these AI agents offer a transformative approach to system management and data analysis by automating complex tasks and providing intelligent assistance. We present two prototypes that integrate with the Cherenkov Telescope Array Observatory pipelines for operations and offline data analysis. The first prototype automates data model implementation and maintenance for the Configuration Database of the Array Control and Data Acquisition (ACADA). The second prototype is an open-access code generation application tailored for data analysis based on the Gammapy framework.