Orateur
Description
We present DrSai, an LLM-powered agentic system for automating full-chain physics analysis, first developed and deployed at BESIII. Rather than hard-coding analysis steps, DrSai interprets a physicist's natural-language request, decomposes it into a traceable task tree, and orchestrates reusable skills for code generation, job submission, fitting, plotting, and uncertainty estimation. A domain-specific language, HepScript, serves as a shared and verifiable interface between physicists, the agent, and the BESIII analysis software; the agent generates HepScript specifications that are compiled into production code, turning open-ended code generation into constrained sequence prediction. Domain knowledge is injected through HEPUKE, an uncertainty-aware retrieval and knowledge-evolution framework, and through GraphRAG-based grounding in the ROOT software structure and tutorials. Execution feedback and human-in-the-loop checkpoints support validation and repair. We validate DrSai on real BESIII analyses, including the rediscovery of $Z_c(3900)\to\pi J/\psi$ in $e^+e^-\to\pi^+\pi^-J/\psi$ and several re-measurements of published results. The results agree with expectations within statistical uncertainties, and analysis cycles are substantially shortened. We further discuss integration with the experiment's computing environment, reproducibility, and the extension of DrSai to other experiments, including JUNO, LHAASO, and CEPC, as part of the broader DrSai collaboration's effort toward portable agentic workflows in high-energy physics.