-
The application of artificial intelligence in high-energy nuclear physics [1, 2] has traditionally centered on four well-defined pillars: discrimination (e.g., classifying the QCD phase transition) [3, 4], generation (e.g., flow or diffusion models for fast event generators) [5, 6], representation (e.g., physics-informed neural networks) [7−9], and operation (e.g., detector control) [10, 11]. Yet, large language models (LLMs) and, more critically, autonomous LLM agents—systems capable of iterative planning and tool use [12−15]—have remained conspicuously absent from this landscape. Although LLMs have begun to permeate other scientific domains as "AI scientists" [16−21] and recent benchmarks have started to evaluate their ability to perform scientific reasoning, research coding, and end-to-end paper reproduction [22−48], their potential to navigate the complex, multi-stage workflows of heavy-ion collision phenomenology remains entirely unexplored. This gap represents a missed opportunity to automate the labor-intensive parameter scans that are essential for constraining the transport properties and initial geometry of the quark-gluon plasma (QGP).
Extracting QGP properties from heavy-ion collisions—such as the equation of state and the QCD phase transition, the vorticity and spin polarization of the medium [49−52], and the QGP transport coefficients, most notably the specific shear and bulk viscosities
$ \eta/s $ and$ \zeta/s(T) $ —requires systematic comparisons between event-by-event (3+1)D viscous hydrodynamic simulations and experimental data [53−59]. Here, we focus on two representative aspects: the temperature-dependent ratio of shear viscosity to entropy density,$ \eta/s $ , and the imprints of nuclear structure. Traditional workflows, however, remain largely manual: a researcher must manually edit input configurations, submit batch jobs, parse large volumes of event-by-event output, and aggregate final-state observables [60−62]. This procedure is not only labor-intensive but also fundamentally restricts the dimensionality of the parameter space that can be feasibly explored [53, 63, 64].This traditional manual workflow, despite its inefficiency, offers a distinct advantage over modern Bayesian analysis: researchers accumulate qualitative intuition regarding how specific physical parameters influence final-state observables through iterative, hands-on tuning to match experimental data. In contrast, Bayesian global analyses aggregate vast datasets to extract correlated posterior distributions of model parameters [53, 54, 63−65], but they often obscure the direct causal relationship between a single physical quantity and a particular observable—the underlying patterns remain buried within the high-dimensional likelihood landscape. Standard metrics, such as the Pearson correlation coefficient, capture only linear dependencies and are thus ill-suited to characterize the complex, non-equilibrium dynamics of heavy-ion collisions.
Here, LLM agents offer a novel opportunity to bridge this gap. Manually extracting such targeted qualitative knowledge from thousands of event-by-event hydrodynamic simulations with varying parameter configurations would be prohibitively laborious. However, an LLM agent is uniquely suited to this task: it can execute the plan–act–analyze loop required to compare ensemble outcomes and distill, in a nonlinear manner, which parameters govern which observables [12−14, 23, 25, 66]. In this way, the agent transforms what would otherwise be an insurmountable manual effort into a scalable, automated discovery process.
In this work, we present an end-to-end framework for agentic knowledge discovery that automates the full research pipeline for relativistic hydrodynamics studies. We developed a SKILL—a structured knowledge module—that encodes expertise in running CLVisc [67, 68], a GPU-accelerated (3+1)D viscous hydrodynamics code. Using the kimi-cli agent platform, we demonstrate how this SKILL enables an LLM to independently conduct systematic parameter scans, analyze results, and generate quantitative summaries of parameter–observable relationships.
To validate the generality and scientific utility of our approach, we apply this agentic framework to two distinct physics questions. Scenario I investigates the effects of temperature-dependent shear viscosity over entropy density on heavy-ion observables for Pb+Pb collisions at
$ \sqrt{s_{{\rm{NN}}}} = 5.02 $ TeV in the 30–40% centrality class. Scenario II applies the same automated pipeline to O+O collisions at$ \sqrt{s_{{\rm{NN}}}} = 5.36 $ TeV, comparing the hydrodynamic response obtained from four distinct ab initio nuclear structure models. Our goal is twofold: first, to demonstrate that a data-rich, automated scanning framework can reveal subtle but statistically robust differences that would be difficult to access through ad hoc manual comparisons; second, to establish a reproducible platform for future AI-assisted or LLM-guided searches for novel observables.This paper is organized as follows. Section II describes the agentic workflow architecture, the CLVisc
$ (3{+}1) $ D viscous hydrodynamics model, and the physical setup for the two scenarios. Section III presents the results of both scans: the temperature-dependent$ \eta/s $ scan in Pb+Pb collisions and the nuclear-structure comparison in O+O collisions. We conclude with a discussion and conclusions in Section IV. -
We developed an automated research pipeline powered by LLM agents and designed to perform simulations of high-energy heavy-ion collisions using relativistic hydrodynamics (CLVisc). Traditional workflows couple multiple Monte Carlo models written in different languages (C++/Fortran/Python) and require experts to jointly develop a uniform interface for data transfer, as exemplified by the JetScape collaboration [54, 69, 70]. In contrast, the agentic workflow possesses detailed knowledge of each Monte Carlo model, including how to modify each model's configuration files and how to transfer data from one code to another. This makes hybrid simulations faster and more straightforward for graduate students new to the field, thereby accelerating discovery.
The core of this agentic workflow is the LLM agent. Unlike a standard LLM, which merely communicates with users via natural language messages, an agent is further equipped with specially designed prompts that assign it a role and specific abilities. These prompts also enable the agent to reflect, reason using chain-of-thought, access (read/write) files in a local directory, write and execute Bash or Python scripts, inspect runtime error messages, and iteratively debug and re-execute the code until it is correct. In addition, agents can access many tools remotely through the Model Context Protocol (MCP). The LLM agent has become a pivotal concept in artificial intelligence, with the potential to enhance productivity across many domains, including high-energy nuclear physics.
To maximize the capabilities of LLM agents, they are now commonly provided with additional "SKILLs." A SKILL is analogous to the domain knowledge of a human expert who specializes in solving a particular type of problem. It also resembles the concept of a standard operating procedure (SOP) in large organizations. A SKILL is usually delivered as a self-contained folder containing several files or subfolders. The central file is
$ \mathrm{SKILL.md} $ , whose first few lines describe the skill's name, purpose, and the contexts in which the agent should apply it. When a user makes a request in natural language, the agent first searches for relevant skills using these descriptions. The remainder of the$ \mathrm{SKILL.md} $ file contains detailed information on workflows, successful examples, common pitfalls, scripts the agent can use, and reference documents. This structure also clarifies the purpose of the other subfolders: typically, one subfolder contains scripts that the agent can execute to produce reliable outputs, and another contains supporting documents such as references or formatting standards. Claude Code [71], for example, provides several scientific research skills that users can explore. In the scientific-visualization-skill, for instance, the example scripts are Python programs for generating publication-quality figures, and the reference files document the distinct formatting requirements of various journals (e.g., Nature, Science, and APS journals). The SKILL ensures reproducibility and enables the agent to execute complex workflows without extensive retraining or fine-tuning.We implement this workflow in
$\mathrm{kimi-cli}$ [72], which provides the agent with access to local files, scripts, and command-line execution. While a CLVisc-specific skill can be created interactively from a local installation, applying this procedure reliably across many versions and forks of a simulation code—which may differ in entry points, argument conventions, configuration formats, and output layouts—motivates a more systematic approach. We therefore developed a dedicated meta-skill,$\mathrm{project-explorer-and-skill-creator}$ , that automates skill creation as a reproducible scan–compose–validate workflow (see also Fig. 1).
Figure 1. (color online) The scan–compose–validate workflow of the
$\mathrm{project-explorer-and-skill-creator}$ meta-skill. A model-agnostic engine first scans a given scientific-code checkout and builds a project profile that captures its inputs and configuration, its outputs, and its runnable examples (Step 1). If a skill already exists for that checkout, the workflow proceeds directly to validation; otherwise, a version-specific skill is generated, comprising$\mathrm{SKILL.md}$ , executable scripts, and references, with launch commands derived from the README and source code (Step 2). The skill is then validated by running its examples: if the run fails or the user does not confirm the result, the workflow loops back to regenerate the skill; once the run succeeds and is confirmed, the workflow terminates (Step 3).The meta-skill is organized as a generic engine plus detachable knowledge packs. The engine is model-agnostic: it scans a local checkout and extracts only structural facts, including entry points, parameters, output files, build targets, and any run commands documented in the project README. Model-family knowledge is supplied separately through lightweight per-model knowledge packs, which provide the physical meaning of parameters and outputs, observable extractors, and the minimal run-profile information needed to launch a job. In this way, model-specific operational knowledge remains explicit and modular, while the engine itself remains independent of any particular simulation code. Extending the framework to another code family, such as SMASH or URQMD, therefore requires only adding a new knowledge pack rather than modifying the engine.
The workflow is organized into three main modules: Scan, Compose Skill, and Validate. In the Scan module, the engine first scans the source tree and then builds a project profile, summarizing entry points, parameters, configuration files, output files, build targets, README-documented commands, version fingerprints, and unresolved gaps. In the Compose Skill module, the engine first checks whether a usable skill already exists for the checkout; if so, the workflow proceeds directly to validation; otherwise, it assembles a version-specific skill with the same
$ \mathrm{SKILL.md} $ /$\mathrm{references}$ /$\mathrm{scripts}$ layout described above. The launch command is derived rather than hardcoded: documented commands are first extracted from the README, then cross-checked against the argument conventions required by the source, and finally reconstructed from the code itself when the documentation is incomplete or stale. In the Validate module, the generated skill is exercised through tiered real execution. The validation first checks the runtime environment and required components, then attempts a real run up to the first non-empty output, and finally extracts one representative observable and produces a diagnostic plot. The deepest tier actually reached is recorded explicitly in a verification report, and blocked tiers are never reported as successes. Missing dependencies, failed builds, or unavailable external modules are reported as blockers unless the user explicitly authorizes repair. If the run fails, or if the user does not confirm that the resolved run flow and the extracted observable are correct, the workflow loops back: the relevant knowledge pack is refined and the$ \mathrm{SKILL.md} $ file is regenerated and re-validated. This iteration continues until a verified run is obtained and confirmed, before production runs are launched.In the present work, the CLVisc knowledge pack encapsulates several layers of domain expertise. At the operational level, it specifies the simulation chain, including hydrodynamic evolution, hadron production, and the extraction of final-state observables. At the conceptual level, it provides the physical interpretation of key parameters such as the initial proper time
$ \tau_0 $ , the specific shear viscosity$ \eta/s $ , the bulk viscosity$ \zeta/s $ , and the freeze-out temperature$ T_{{\rm{frz}}} $ . At the analytical level, it supplies observable extractors and default expectations for how variations of transport parameters should influence selected observables. Comparing extracted results against these expectations enables the agent to test hypotheses and identify potentially informative deviations.Given the research objectives and baseline simulation setup specified by the authors, the agent first designs a parameter-scan strategy, then consults the generated skill to determine the required execution steps, produces scripts to automate the workflow, and systematically carries out the simulation and analysis. After completing the Monte Carlo runs, the agent analyzes event-by-event results using conventional observables and may also propose additional observables to test its working hypotheses. This architecture decouples high-level scientific objectives from low-level implementation details, enabling researchers to formulate physics questions in natural language while the agent handles the complexity of execution, validation, and analysis. The meta-skill developed in this work is publicly available at https://github.com/wangyunxiang1986/meta-skill.
-
The space-time evolution of the QGP medium is simulated using CLVisc [67, 68], a GPU-accelerated (3+1)D relativistic viscous hydrodynamic framework designed for event-by-event heavy-ion collision simulations. Starting from fluctuating initial energy-density profiles, CLVisc evolves the energy-momentum tensor according to local conservation laws,
$ \nabla_\mu T^{\mu\nu}=0, $
(1) where the energy-momentum tensor is decomposed as
$ T^{\mu\nu} = e u^\mu u^\nu - (P+\Pi)\Delta^{\mu\nu} + \pi^{\mu\nu}. $
(2) Here, e is the local energy density, P is the equilibrium pressure,
$ u^\mu $ is the fluid four-velocity, Π denotes the bulk viscous pressure,$ \pi^{\mu\nu} $ is the shear-stress tensor, and$ \Delta^{\mu\nu}=g^{\mu\nu}-u^\mu u^\nu $ projects onto the space orthogonal to the local flow velocity. The pressure is determined from the equation of state, which closes the hydrodynamic equations.Viscous corrections are evolved within a causal Israel–Stewart-type theory. The shear and bulk viscous tensors relax toward their Navier–Stokes limits on finite relaxation time scales, thereby avoiding the acausal behavior of first-order viscous hydrodynamics. In the present work, the shear viscosity to entropy density ratio
$ \eta/s $ and the bulk viscosity to entropy density ratio$ \zeta/s $ are treated as external transport inputs. Their values, or temperature-dependent parametrizations, are specified in the hydrodynamic configuration files and can be modified automatically by the LLM agent during parameter scans.For each event, the initial entropy or energy density profile generated by the initial-state model is converted into a three-dimensional hydrodynamic profile at the starting proper time
$ \tau_0 $ . The subsequent evolution proceeds until the medium cools to a prescribed freeze-out temperature$ T_{{\rm{frz}}} $ . The freeze-out hypersurface is then converted into hadron spectra using the Cooper–Frye formula.$ E\frac{dN_i}{d^3p} = \frac{g_i}{(2\pi)^3} \int_\Sigma f_i(x,p)\, p^\mu d\Sigma_\mu , $
(3) where
$ g_i $ is the degeneracy factor of hadron species i,$ d^3\Sigma_\mu $ is the hypersurface element, and$ f_i(x,p) $ denotes the phase-space distribution including viscous corrections. The resulting final-state particles are used to compute identified-hadron spectra, mean transverse momenta, anisotropic flow coefficients, and correlation observables.This hydrodynamic framework serves as the common dynamical backbone for both physics scenarios considered in this work. In Scenario I, the agent modifies the temperature dependence of
$ \eta/s $ while keeping bulk viscosity disabled to isolate the effect of shear viscous damping. In Scenario II, the same hydrodynamic evolution and analysis chain are applied to different ab initio nuclear-structure inputs, ensuring that variations in final-state observables can be attributed to the initial nuclear geometry rather than to changes in the medium evolution. -
To investigate the temperature dependence of shear viscosity, we instructed the agentic pipeline to perform a systematic parameter scan in Pb+Pb collisions at
$ \sqrt{s_{{\rm{NN}}}} = 5.02 $ TeV in the 30–40% centrality class. Initial conditions were generated using the TRENTo model [73], with a nucleon width of$ w = 0.5 $ fm and a gamma shape parameter of$ k = 1.0 $ . The hydrodynamic evolution starts at the initial proper time$ \tau_0 = 0.6 $ fm, and the system evolves until the local temperature decreases to the freeze-out temperature$ T_{\rm{frz}} = 0.137 $ GeV. The HotQCD equation of state is adopted throughout the evolution [74]. Once tasked, the agent autonomously modified the CLVisc configuration files, executed the GPU-accelerated hydrodynamic evolution, and extracted final-state observables for each parametrization, without manual intervention on a per-event basis.To isolate the effects of shear viscosity, we set the bulk viscosity to zero in all simulations. The temperature dependence of
$ \eta/s $ was implemented using CLVisc's piecewise-linear parametrization:$ \frac{\eta}{s}(T) =\left\{ \begin{array}{ll} {\rm{left\_slope}} \times (T - T_{\rm{min}}) + \eta_{\rm{min}} & T \lt T_{\rm{min}} \\ {\rm{right\_slope}} \times (T - T_{\rm{min}}) + \eta_{\rm{min}} & T \geq T_{\rm{min}} \end{array}\right. $
(4) where
$ T_{\rm{min}} $ denotes the location of the minimum of the$ \eta/s $ profile, and$ \eta_{\rm{min}} $ denotes the viscosity at that point. The following five parametrizations were adopted (see Fig. 2):
Figure 2. (color online) Temperature-dependent parametrizations of the shear viscosity
$ \eta/s $ used in Scenario I. The five curves represent a constant$ \eta/s = 0.16 $ (blue solid line); a constant$ \eta/s = 0.08 $ (green dashed line with square markers); a V-shaped profile with a minimum at$ T_c = 0.15 $ GeV (orange-red dash-dot line with circle markers); a profile with only the low-temperature slope (orange dotted line with triangle markers); and a profile with only the high-temperature slope (light-blue dash-dot line with diamond markers). The low-temperature-slope profile coincides with the constant$ \eta/s=0.08 $ curve for$ T>T_c $ , while the high-temperature-slope profile coincides with the V-shaped profile for$ T>T_c $ .$ {\bf{(1)}} $ Constant high:$ \eta/s = 0.16 $ (a baseline with strong viscous damping).$ {\bf{(2)}} $ Constant low:$ \eta/s = 0.08 $ (a baseline with weak viscous damping).$ {\bf{(3)}} $ V-shape: minimum$ \eta/s = 0.08 $ at$ T_c = 0.15 $ GeV, increasing both below and above$ T_c $ .$ {\bf{(4)}} $ Low-T slope:$ \eta/s = 0.08 $ at$ T_c $ , increasing below$ T_c $ and constant above$ T_c $ .$ {\bf{(5)}} $ High-T slope:$ \eta/s = 0.08 $ at$ T_c $ , constant below$ T_c $ and increasing above$ T_c $ . -
Scenario II applies the same automated pipeline to O+O collisions at
$ \sqrt{s_{{\rm{NN}}}}=5.36 $ TeV within the 0–5% centrality range. Because the hydrodynamic setup is held fixed across the four calculations, differences in the final observables reflect the different nuclear-structure inputs within this controlled model comparison.The TRENTo model [73] reads precomputed nucleon positions from HDF5 files generated by the respective nuclear-structure calculations and produces transverse entropy density profiles on an event-by-event basis. The workflow automatically parses the multiplicity value embedded in each event header and retains only those events that fall within the desired centrality window. For the O+O system at 5.36 TeV, this centrality class corresponds to a total entropy range that yields
$ dN_{{\rm{ch}}}/d\eta\approx 130 $ after hydrodynamic evolution. Each selected TRENTo event is converted into a three-dimensional energy density profile by scaling the entropy density with a tuned K-factor. The longitudinal profile is constructed using a flat plateau of width$ \eta_{{\rm{flat}}}=2.0 $ with Gaussian tails of width$ \eta_{{\rm{gw}}}=1.8 $ .Four distinct ab initio descriptions of the 16O ground state were used as initial-state inputs. These initial nuclear structures are widely employed in Monte Carlo simulations of O+O collisions. The first is based on nuclear lattice effective field theory (NLEFT) [75], in which ground-state nucleon configurations are sampled by Euclidean-time projection with auxiliary-field Monte Carlo. The second and third models are obtained from the projected generator coordinate method (PGCM) [75]: one using a clustered α-particle geometry (PGCM clustered) and another using a uniform nucleon distribution (PGCM uniform). The fourth model is based on variational Monte Carlo (VMC) calculations [76].
Anisotropic flow coefficients are computed using the two-particle cumulant method for charged hadrons with
$ |\eta|<0.8 $ and$ 0.2<p_T<3.0 $ GeV/c. For each event, we construct$ Q_n=\sum\limits_{j=1}^{M} e^{in\phi_j}, \qquad \langle 2\rangle_n = \frac{|Q_n|^2-M}{M(M-1)}, $
(5) where M denotes the charged-particle multiplicity within the analysis acceptance. Subtracting M removes self-correlations. The integrated flow is then obtained from the event-averaged two-particle correlator,
$ v_n\{2\} = \sqrt{\langle \langle 2\rangle_n\rangle_{\rm{ev}}} . $
(6) Statistical uncertainties are evaluated following the convention adopted throughout the analysis: uncertainties on integrated
$ v_n\{2\} $ are estimated using five-fold subsampling, those on the Pearson correlation coefficients ρ and$ {\rm{corr}}(\beta_2, \varepsilon_2) $ using jackknife resampling, and those on event-ensemble averages such as$ dN/d\eta $ and$ \langle p_T\rangle $ using the standard error of the mean,$ s_X/\sqrt{N_{\rm{ev}}} $ , where$ s_X $ is the event-by-event standard deviation.In addition to the final-state observables, the agent-based analysis evaluates a set of initial-state quantities on the same TRENTo events, including the eccentricities
$ \varepsilon_2 $ and the four-particle cumulant ratio$ \varepsilon_2\{4\}/\varepsilon_2\{2\} $ . To interpret the O+O comparison, the agent further introduces two geometric diagnostics, the transverse compactness$ d_{{\rm{area}}} $ and the event-by-event quadrupole amplitude$ \beta_2 $ , which are defined at their first use in Eqs. (9, 10) in Sec. III. -
The agentic pipeline began its analysis of Scenario I by organizing the event-averaged final-state observables into a coherent physical narrative. Informed by its knowledge of standard heavy-ion observables, the agent first extracted rapidity distributions
$ dN/dy $ for$ \pi^+ $ ,$ K^+ $ , and$ \bar{p} $ across all five viscosity parametrizations, as shown in Fig. 3. All five distributions exhibit similar shapes, symmetrically peaked at midrapidity ($ y = 0 $ ), indicating that the longitudinal dynamics of the expanding fireball—governed by the initial Milne-frame velocity field and the longitudinal profile—are largely decoupled from the transverse viscous dynamics encoded in$ \eta/s $ . The agent therefore focused its subsequent comparison on the overall normalization and on observables in the transverse sector, where the sensitivity to viscosity is most pronounced.
Figure 3. (color online) Rapidity distributions
$ dN/dy $ of (a)$ \pi^+ $ , (b)$ K^+ $ , and (c)$ \bar{p} $ for the five$ \eta/s $ parametrizations in Scenario I.Fig. 3 shows the rapidity distributions of identified particles after resonance decays for the five
$ \eta/s $ parametrizations in Scenario I. The V-shaped and high-temperature-slope parametrizations yield the largest midrapidity particle yields for all three species, whereas the constant$ \eta/s=0.08 $ and low-temperature-slope cases yield the smallest. The constant$ \eta/s=0.16 $ case lies between these two groups. This ordering indicates that the final identified-particle multiplicity is controlled not only by the nominal minimum value of$ \eta/s $ but also by how the temperature dependence modifies the hydrodynamic evolution and the associated entropy production.Among the three temperature-dependent parametrizations, the rapidity distributions exhibit a clear separation between the low-temperature-slope case and the other two profiles. The low-temperature-slope parametrization closely follows the constant
$ \eta/s=0.08 $ result, whereas the V-shaped and high-temperature-slope parametrizations form a higher-yield group. Since the latter two cases share an enhanced high-temperature branch of$ \eta/s $ , this ordering indicates that the yield normalization is primarily determined by the early high-temperature stage of the hydrodynamic evolution. In contrast, raising$ \eta/s $ only in the low-temperature region has little effect on the final identified-particle multiplicities.Table 1 shows that the five
$ \eta/s $ parametrizations arrange$ \langle p_T \rangle $ into three distinct tiers: the V-shaped and high-temperature-slope profiles yield the highest values, above both constant-viscosity baselines; the constant$ \eta/s = 0.16 $ baseline occupies an intermediate position; and the constant$ \eta/s = 0.08 $ and low-temperature-slope profiles cluster together at the lowest values, remaining nearly indistinguishable from one another across all particle species. The agent further noted that the enhancement exhibits a mild mass ordering, rising from about 1.7% for$ \pi^+ $ to 1.9% for$ K^+ $ and 2.2% for$ \bar{p} $ relative to the constant$ \eta/s = 0.16 $ baseline, and attributed this pattern to stronger radial flow driven by the elevated viscosity at early, high-temperature stages.I II III IV V $ \pi^+ $ 0.649 0.642 0.660 0.642 0.660 $ K^+ $ 0.958 0.944 0.976 0.945 0.976 $ \bar{p} $ 1.343 1.324 1.373 1.324 1.373 Table 1. Mean transverse momentum
$ \langle p_T\rangle $ (GeV/c) after resonance decays for the five$ \eta/s $ parametrizations (Scenario I). Roman numerals denote the following: I$ = $ constant$ \eta/s=0.16 $ ; II$ = $ constant$ \eta/s=0.08 $ ; III$ = $ V-shape; IV$ = $ low-T slope; V$ = $ high-T slope.Because elliptic flow
$ v_2 $ most directly encodes the anisotropic geometry of the initial state, the agent performed a dedicated comparison of its sensitivity to the temperature dependence of$ \eta/s $ . Fig. 2 displays the five$ \eta/s $ parametrizations used in this scenario, spanning behaviors from constant profiles to sharply V-shaped and monotonically rising forms. Fig. 4 presents$ v_2(p_T) $ and$ v_3(p_T) $ for$ \pi^+ $ ,$ K^+ $ , and$ \bar{p} $ together with the corresponding ALICE measurements [77]. The constant-viscosity comparison reproduces the expected trend: reducing$ \eta/s $ from$ 0.16 $ to$ 0.08 $ increases$ v_2 $ near$ p_T\simeq 1.1 $ GeV/c by about 15–16% for all three species. Among the temperature-dependent parametrizations, the same grouping observed for the yield and mean-$ p_T $ observables persists. The low-temperature-slope profile remains nearly indistinguishable from the constant$ \eta/s=0.08 $ case, whereas the V-shaped and high-temperature-slope profiles stay close to the constant$ \eta/s=0.16 $ baseline, despite their different behavior below$ T_c $ . This indicates that the high-temperature branch of$ \eta/s $ controls most of the viscous suppression of anisotropic flow, whereas modifying$ \eta/s $ only in the low-temperature region has little visible impact on the final differential flow.
Figure 4. (color online) Flow harmonics
$ v_2(p_T) $ (top row) and$ v_3(p_T) $ (bottom row) for$ \pi^+ $ ,$ K^+ $ , and$ \bar{p} $ under different$ \eta/s $ parametrizations in Scenario I, compared with ALICE measurements for Pb–Pb collisions at$ \sqrt{s_{NN}}=5.02 $ TeV in the 30–40% centrality class [77]. The constant low-viscosity case ($ \eta/s=0.08 $ ) and the low-temperature-slope configuration yield larger flow harmonics that nearly overlap, whereas the constant high-viscosity, V-shape, and high-temperature-slope configurations cluster at lower values.Although the parameters are not fine-tuned to experimental data, a rough comparison with ALICE measurements indicates that the measured
$ p_T $ -differential$ v_2 $ and$ v_3 $ lie between the two branch curves. In most cases—for instance,$ v_2(p_T) $ for kaons and protons, and$ v_3(p_T) $ for pions, kaons, and protons—the curves corresponding to the constant$ \eta/s=0.16 $ baseline, the V-shaped parametrization, and the high-temperature-slope scenario generally lie closer to the experimental data points. However, the$ v_2(p_T) $ for pions lies notably closer to the$ \eta/s=0.08 $ curve. This discrepancy is mainly attributable to the initial conditions and to the absence of a hadronic cascade module in the present workflow, the latter particularly affecting the$ v_3 $ to$ v_2 $ ratio and the proton$ v_n $ . Since this paper serves only as a proof-of-principle test of the LLM-agent workflow, we do not attempt to quantitatively reproduce the experimental data, as that would require intricate parameter combinations across a large parameter space. We defer this task to a future Bayesian global analysis employing an agentic workflow for high-energy nuclear physics. -
To isolate the viscosity-induced modification of the hydrodynamic response from initial-state geometry effects, the agent independently devised a paired-event analysis: the same ensemble of 200 TRENTo initial conditions was evolved under all five
$ \eta/s $ profiles, so that differences in the final-state observables reflect changes in the viscosity profile alone. The constant low-viscosity case,$ \eta/s=0.08 $ , serves as the reference because it exhibits the weakest viscous damping among the constant-viscosity baselines. The relative response is defined for each event as$ \frac{\Delta X}{X} = \frac{X({\rm{profile}}) - X({\rm{const}}\,0.08)}{X({\rm{const}}\,0.08)}, $
(7) which quantifies how a given observable changes when only the viscosity profile is modified.
Fig. 5 summarizes the paired-event relative responses for six quantities: the charged-particle yield
$ N_{\rm{ch}} $ , the integrated elliptic and triangular flows$ v_2 $ and$ v_3 $ , the hydrodynamic response efficiencies$ \kappa_2 = v_2/\varepsilon_2 $ and$ \kappa_3 = v_3/\varepsilon_3 $ , and the hydrodynamic duration$ \tau_{\rm{dur}} $ . The agent's paired-event comparison revealed a consistent, physically interpretable hierarchy. For the constant$ \eta/s=0.16 $ profile, the median shifts relative to the constant$ \eta/s=0.08 $ reference are$ \Delta N_{\rm{ch}}/N_{\rm{ch}} $ = +4.1%,$ \Delta v_2/v_2 $ = -12.9%, and$ \Delta v_3/v_3 $ = -24.4%. The V-shaped and high-T slope profiles show nearly identical responses:$ \Delta N_{\rm{ch}}/N_{\rm{ch}}\approx $ +6.4%,$ \Delta v_2/v_2\approx $ -11.4%, and$ \Delta v_3/v_3\approx $ -19.1%, confirming the near-degeneracy already observed in the event-averaged comparison. The low-T slope profile produces only marginal deviations from the reference in all three quantities, reinforcing the conclusion that the sub-$ T_c $ behavior of$ \eta/s $ has negligible influence on the integrated observables considered in the present setup.
Figure 5. (color online) Paired-event relative responses
$ \Delta X/X $ with respect to the$ \eta/s=0.08 $ constant baseline. Top row (left to right): charged-particle yield$ N_{\rm{ch}} $ , elliptic flow$ v_2 $ , and triangular flow$ v_3 $ . Bottom row (left to right): hydrodynamic response efficiencies$ \kappa_2=v_2/\varepsilon_2 $ and$ \kappa_3=v_3/\varepsilon_3 $ , and hydrodynamic duration$ \tau_{\rm{dur}} $ . Boxes span the interquartile range, whiskers indicate the 16th–84th percentile range, and black horizontal lines denote the medians.The agent's paired-event comparison also reveals that
$ v_3 $ is substantially more sensitive than$ v_2 $ to viscous modification: the relative suppression of$ v_3 $ is about$ 1.7 $ –$ 1.9 $ times larger than that of$ v_2 $ across the non-trivial profiles. This hierarchy is consistent with the general expectation that higher-order flow harmonics, which encode finer spatial structure, are more efficiently damped by dissipation, motivating the use of$ v_3 $ as a differential probe of the viscosity profile in future experimental analyses. The response efficiencies$ \kappa_2 $ and$ \kappa_3 $ , which measure the intrinsic conversion of spatial eccentricity into momentum anisotropy and are insensitive by construction to changes in the initial geometry, exhibit the same suppression pattern as$ v_2 $ and$ v_3 $ , directly reflecting altered hydrodynamic damping rather than changes in the initial state. The hydrodynamic duration included in Fig. 5 provides a first dynamical diagnostic of this response hierarchy. Profiles with enhanced high-temperature viscosity shorten the hydrodynamic lifetime while suppressing$ \kappa_n=v_n/\varepsilon_n $ , consistent with stronger early-time viscous damping and a reduced efficiency for converting the initial eccentricity into final momentum anisotropy. This paired-event result motivates a more focused examination of intermediate hydrodynamic diagnostics, which can clarify why the response efficiency varies from event to event. -
To understand why the response efficiencies
$ \kappa_n=v_n/\varepsilon_n $ vary from event to event, the agent extended its analysis from final-state observables to intermediate hydrodynamic diagnostics stored in the CLVisc$\mathrm{bulkinfo.h5}$ output. To investigate the underlying hydrodynamic mechanisms further, the agent selected two diagnostic quantities: the hydrodynamic duration$ \tau_{\rm{dur}} $ , defined as the time during which the system remains above the freeze-out threshold, and the time-integrated hot transverse area.$ A_T^{\rm{int}}(T>0.2\; {\rm{GeV}}) = \int d\tau\, A[T(x,y,\tau)>0.2\; {\rm{GeV}}], $
(8) which measures the accumulated transverse space-time volume of matter hotter than
$ 0.2 $ GeV.The event-level analysis showed that
$ \kappa_2 $ and$ \kappa_3 $ are not fixed conversion factors from initial eccentricity to final flow. Instead, they increase systematically with$ \tau_{\rm{dur}} $ and$ A_T^{\rm{int}} $ , indicating that the initial eccentricity provides only the geometric seed. This dependence is stronger for$ \kappa_3 $ than for$ \kappa_2 $ , consistent with the greater viscous sensitivity of higher harmonics. These intermediate diagnostics therefore provide the dynamical link between the paired-event response shown in Fig. 5 and the agent's interpretation of viscosity-driven flow suppression. They are used here as exploratory diagnostics rather than independent constraints on$ \eta/s $ . -
Turning to Scenario II, the agentic pipeline generated 1000 hydrodynamic events for each of the four nuclear-structure models in the 0–5% centrality class of O+O collisions at
$ \sqrt{s_{{\rm{NN}}}}=5.36 $ TeV. Because the automated workflow held the hydrodynamic parameters, centrality definition, and analysis cuts fixed across all four calculations, any systematic differences in the final-state observables can be traced primarily to the nuclear-structure input.Fig. 6 presents (a) the charged-particle multiplicity
$ dN_{{\rm{ch}}}/d\eta $ , (b) the relative mean-$ p_T $ fluctuation$ \delta p_T/\langle p_T\rangle $ , (c) the integrated elliptic flow$ v_2\{2\} $ , and (d) the elliptic-flow–mean-$ p_T $ correlation$ \rho(v_2^2,[p_T]) $ for the four ab initio 16O structure models. Taken together, these four panels suggest that these final-state observables may make it possible to discriminate among the 16O structure models. The charged-particle multiplicity is$ dN_{{\rm{ch}}}/d\eta \simeq 130 $ for all models, consistent with experimental data [78, 79]. NLEFT exhibits the largest values in (b) the relative mean-$ p_T $ fluctuation and (c)$ v_2\{2\} $ , and is tied with PGCM-c at the top of (d) the$ v_2^2 $ –mean-$ p_T $ correlation. VMC yields the smallest mean-$ p_T $ fluctuation and the smallest$ v_2\{2\} $ . PGCM-c shows a slightly larger mean-$ p_T $ fluctuation and a slightly larger$ v_2\{2\} $ than VMC, but follows the same hierarchy, making it difficult to distinguish VMC from PGCM-c (with clustering). In contrast, PGCM-u (without clustering) displays the weakest$ v_2^2 $ –mean-$ p_T $ correlation, even though both its mean-$ p_T $ fluctuation and$ v_2\{2\} $ are larger than those of VMC. Overall, at fixed charged-particle multiplicity, it may be possible to separate NLEFT, VMC, and PGCM-u by their distinct combinations of features. VMC and PGCM-clustered remain degenerate: they are statistically consistent in (b) and (c) and share the same positive initial-state size–shape coupling (also see Table 2), so no single observable cleanly isolates one from the other.
Figure 6. (color online) Final-state observables in 0–5% O+O collisions at
$ \sqrt{s_{{\rm{NN}}}}=5.36 $ TeV for the four 16O structure models: (a) charged-particle multiplicity$ dN_{{\rm{ch}}}/d\eta $ ; (b) relative mean-$ p_T $ fluctuation$ \delta p_T/\langle p_T\rangle $ ; (c) elliptic flow$ v_2\{2\} $ ($ 0.2<p_T<3.0 $ GeV/c); and (d) elliptic-flow–mean-$ p_T $ correlation$ \rho(v_2^2,[p_T]) $ , where PGCM-u is the clear outlier. Shaded bands represent the$ \pm1\sigma $ statistical uncertainty.Obs. NLEFT PGCM-c PGCM-u VMC $ \langle\varepsilon_2\rangle $ $ 0.35 $ $ 0.33 $ $ 0.34 $ $ 0.31 $ $ \rho(\varepsilon_2^2,d_{{\rm{area}}}) $ $ +0.079 $ $ +0.117 $ $ -0.006 $ $ +0.115 $ $ \varepsilon_2\{4\}/\varepsilon_2\{2\} $ $ 0.76 $ $ 0.74 $ $ 0.74 $ $ 0.69 $ $ \langle\beta_2\rangle $ $ 0.60 $ $ 0.57 $ $ 0.61 $ $ 0.44 $ $ \sigma(\beta_2)/\langle\beta_2\rangle $ $ 0.50 $ $ 0.46 $ $ 0.45 $ $ 0.39 $ $ {\rm{corr}}(\beta_2,\varepsilon_2) $ $ 0.62 $ $ 0.61 $ $ 0.60 $ $ 0.60 $ Table 2. Initial-state observables for the four 16O models in 0–5% O+O collisions. The eccentricity-based quantities are obtained from the TRENTo initial conditions, while
$ \beta_2 $ is obtained from the sampled nucleon configurations.The model ordering of
$ \rho(v_2^2,[p_T]) $ does not follow that of$ v_2\{2\} $ . Rather than measuring the magnitude of the elliptic response, this observable measures how the shape-driven and size-driven responses co-fluctuate event by event, because$ [p_T] $ tracks the transverse size of the fireball through radial flow: at fixed multiplicity, a more compact initial state drives stronger radial flow and hence a larger$ [p_T] $ . The decisive contrast is within the PGCM family: PGCM-clustered and PGCM-uniform share the same many-body framework and differ essentially only in whether α-cluster correlations are retained, yet PGCM-uniform gives$ \rho(v_2^2,[p_T])=0.21 $ , about 42% below the values for PGCM-clustered and NLEFT. Removing clustering decouples elliptic shape from transverse size and suppresses the correlation, singling out PGCM-uniform. VMC, by contrast, gives an intermediate value,$ \rho(v_2^2,[p_T])=0.28 $ , lower than NLEFT and PGCM-clustered but higher than PGCM-uniform. This ordering highlights the distinct sensitivity of the final-state$ v_2^{2} $ –$ [p_T] $ correlation to different nuclear-structure models, with PGCM-uniform exhibiting the smallest correlation. Combined with the$ v_2\{2\} $ ordering, this leaves three separable groups—NLEFT, PGCM-uniform, and the degenerate VMC/PGCM-clustered pair.Table 2 presents the initial-state diagnostics for the four 16O models, extracted from the TRENTo initial conditions and from the sampled nucleon configurations. Taken together, these diagnostics show that the two final-state discriminators of Fig. 6 arise from two distinct and separable pieces of nuclear-structure information: the amplitude of the elliptic shape fluctuations, which sets the
$ v_2\{2\} $ ordering, and the size–shape correlation of the initial fireball, which controls$ \rho(v_2^2,[p_T]) $ . The amplitude is diagnosed by$ \langle\varepsilon_2\rangle $ ,$ \varepsilon_2\{4\}/\varepsilon_2\{2\} $ , and—at the level of the underlying nucleon configurations—the intrinsic quadrupole amplitude$ \beta_2 $ (with its relative width$ \sigma(\beta_2)/\langle\beta_2\rangle $ and its event-wise correlation with$ \varepsilon_2 $ ); the size–shape correlation is quantified by$ \rho(\varepsilon_2^2,d_{{\rm{area}}}) $ . These two aspects are discussed in turn, followed by an examination of why VMC lies at the bottom of the amplitude ordering.One open question is why VMC has the smallest eccentricity. A previous study [80] attributed this to short-range repulsive nucleon–nucleon correlations, which lead to a more uniform distribution of nucleons within confined regions and reduce configuration fluctuations [81]. In contrast, NLEFT and PGCM lack such short-range correlations. During the analysis stage of the workflow, the agent proposed a new observable to explain the small eccentricity of VMC: the intrinsic quadrupole amplitude
$ \beta_2 $ for each sampled nucleon configuration, defined in the standard Bohr–Mottelson convention as$ \beta_2 = \sqrt{\frac{5\pi}{9}}\frac{\lambda_{\max}}{A R_0^2}, \qquad Q_{ij}=\sum\limits_{k=1}^{A}\left(3r_{ki}r_{kj}-r_k^2\delta_{ij}\right), $
(9) where
$ Q_{ij} $ is the traceless quadrupole tensor of the nucleon coordinates,$ \lambda_{\max} $ is its largest eigenvalue,$ R_0=1.2A^{1/3} $ fm, and$ A=16 $ . Because 16O is a few-body system,$ \beta_2 $ here measures event-by-event shape fluctuations that resemble deformation. For ground-state deformation,$ \beta_2=0 $ corresponds to a spherical nucleus, whereas positive$ \beta_2 $ indicates an ellipsoidal shape. As shown in Table 2,$ \beta_2 $ exhibits a strong correlation with$ \varepsilon_2 $ , with correlation coefficients close to 0.60 for all four nuclear structures. Thus,$ \beta_2 $ closely follows the ordering of eccentricity: VMC has the smallest mean$ \beta_2 $ and relative fluctuation, with$ \langle\beta_2\rangle=0.44 $ and$ \sigma(\beta_2)/\langle\beta_2\rangle=0.39 $ , compared to$ \langle\beta_2\rangle=0.57 $ –$ 0.61 $ and$ \sigma(\beta_2)/\langle\beta_2\rangle=0.45 $ –$ 0.50 $ for the other three models. The definition of$ \beta_2 $ was initially unfamiliar to us. We first thought that the agent had invented a new observable—different from the explanation given by Zhang et al. [80]—but later found that this observable had originally been introduced in [82] to study the relationship between intrinsic quadrupole deformation and eccentricity in central collisions. This demonstrates that the agent has a broad scientific perspective, as it is capable of understanding physical observables defined in other studies and generalizing them to new research contexts such as the present work.The agent defined a new initial-state "observable" to explain why PGCM-uniform, despite having an elliptic flow comparable to that of the other models, yields such a suppressed final-state
$ \rho(v_2^2,[p_T]) $ . This can be traced to the near absence of an initial-state correlation between geometric eccentricity and transverse compactness. To quantify the latter, the agent introduced the compactness diagnostic$ d_{{\rm{area}}} $ and correlated it with$ \varepsilon_2^2 $ on an event-by-event basis,$ d_{{\rm{area}}}=\sqrt{\frac{N_{{\rm{part}}}}{A_\perp}},\qquad A_\perp=\sqrt{\langle\tilde x^2\rangle_s\langle\tilde y^2\rangle_s-\langle\tilde x\tilde y\rangle_s^2}, $
(10) where
$ A_\perp $ denotes the entropy-weighted transverse area,$ \tilde x=x-\langle x\rangle_s $ and$ \tilde y=y-\langle y\rangle_s $ , and a larger$ d_{{\rm{area}}} $ (at fixed participant number) indicates a more compact profile. For NLEFT, PGCM-clustered, and VMC, the correlation$ \rho(\varepsilon_2^2,d_{{\rm{area}}}) $ is positive, of order$ +0.08 $ to$ +0.12 $ , whereas for PGCM-uniform it is consistent with zero,$ \rho(\varepsilon_2^2,d_{{\rm{area}}})=-0.006 $ : in the uniform configuration, ellipticity and transverse compactness are effectively decoupled. Because the hydrodynamic evolution carries$ \varepsilon_2 $ into$ v_2 $ and transverse compactness into$ [p_T] $ , this initial-state decoupling propagates to the final state and accounts for the suppressed$ \rho(v_2^2,[p_T]) $ . The small correlation is therefore due not to a small ellipticity but to a missing size–shape coupling. Notably, VMC has the smallest ellipticity of all yet retains a sizable positive coupling, which is precisely why it remains grouped with PGCM-clustered rather than with PGCM-uniform. -
Extracting QGP transport properties and nuclear-structure imprints from heavy-ion data has traditionally relied on labor-intensive, manually configured parameter scans, which limit the dimensionality of the parameter space that can be explored. To test whether this process can be automated, we encoded operational knowledge of the CLVisc
$ (3{+}1) $ D viscous hydrodynamics code, together with heavy-ion analysis conventions, into a structured SKILL framework and let an LLM agent drive the full workflow—designing the scan, running the simulations, computing observables, and interpreting the results. We applied the resulting pipeline to two deliberately distinct problems within the same infrastructure: a scan of five temperature-dependent shear-viscosity parametrizations of$ \eta/s $ in Pb+Pb collisions at$ \sqrt{s_{{\rm{NN}}}}=5.02 $ TeV (Scenario I), and a controlled comparison of four ab initio 16O structure models in O+O collisions at$ 5.36 $ TeV (Scenario II).In Scenario I, the agent found that the high-temperature branch of
$ \eta/s $ plays a dominant role in determining particle yields and anisotropic flow, with enhanced high-temperature viscosity increasing particle yields while suppressing flow harmonics. In contrast, modifications restricted to the low-temperature region have relatively little impact on the observables considered. In Scenario II, the four 16O structure models separate into only three distinguishable groups: VMC and PGCM-clustered remain degenerate and together yield the smallest integrated$ v_2 $ , determined by their weak event-by-event quadrupole fluctuations; PGCM-uniform is singled out by an anomalously low elliptic-flow–mean-$ p_T $ correlation$ \rho(v_2^2,[p_T]) $ , reflecting a decoupling of ellipticity and transverse compactness in its initial state; and NLEFT lies at the opposite extreme. O+O collisions thus act as a selective probe of 16O ground-state geometry.Beyond the specific physics, the study shows that an autonomous agent can do more than execute a workflow: guided by literature-informed domain knowledge, it selected the physically relevant observables and interpreted their model dependence without explicit instruction, turning the viscosity profile and the nuclear-structure input into quantities that can be scanned rather than assumed. The O+O results, in particular, strengthen the case that small collision systems are sensitive probes of 16O ground-state geometry, with the potential for precision discrimination once the medium dependence is controlled, motivating dedicated O+O running at the LHC.
Several limitations qualify these conclusions. The present simulations include resonance feed-down from post-freeze-out decays, but do not include a hadronic transport afterburner. Effects from hadronic rescattering, resonance regeneration or absorption, and late-stage kinetic evolution are therefore not accounted for. In Scenario II, the hydrodynamic medium is held fixed, so the observed model orderings should be regarded as qualitative until they are tested against variations of the transport coefficients, centrality definitions, and analysis cuts, and against a fuller assessment of statistical and model uncertainties beyond the present
$ \sim 1000 $ -event samples. Finally,$ \beta_2 $ serves as a geometric diagnostic rather than a first-principles explanation: the microscopic origin of VMC's small flow—whether framed as reduced shape fluctuations or as short-range repulsive correlations—remains open. On the methodological side, the agent operates within the domain knowledge encoded in the SKILL framework, and its physical interpretations still require expert verification; the present study therefore establishes feasibility and physical soundness rather than fully autonomous, unsupervised discovery.An important limitation of LLM-assisted scientific research emerged during manuscript preparation. An LLM-assisted language-polishing step, applied to text whose scientific content had already been reviewed and approved by the authors, silently reversed a result that the original agent-based analysis had established correctly. This failure mode is characteristic of LLM agents: an agent asked to polish a passage may alter its meaning, condense away essential information, or introduce errors absent from the underlying analysis, all while returning text that reads as an improvement. Such corruptions are not self-contained once introduced; they enter the model's context and are carried forward into subsequent reasoning, editing, and generation, so a single silent error can contaminate every downstream step. Accuracy, self-consistency, and faithfulness to the underlying results are therefore necessary properties of any LLM agent entrusted with scientific text. The incident also exposed an organizational failure mode: because the authors had reviewed the previous version word by word, they had little reason to re-examine text they believed they had already approved, and the model's subsequent revisions went unnoticed precisely for that reason. Version control addresses both dimensions. It makes revisions auditable, so that an agent can compare successive versions and automatically check the diff for unintended changes in numerical values, model orderings, physical trends, and interpretations, as well as for self-consistency against the original analysis, scripts, and figures. More importantly, it supplies a mechanism that separates the author of an edit from the reviewer who approves its merge: if an LLM agent is treated as a contributing author, every change it proposes must be reviewed and explicitly approved by a human collaborator before it enters the manuscript. This turns human oversight from a single act of reading, dependent on memory and attention, into a formal gate applied to every change, bringing the review of scientific text in line with the practice already established for scientific code. Together, automated consistency checking and merge-gated human approval would help preserve scientific consistency across manuscript versions and substantially reduce the risk that low-probability, hard-to-detect errors introduced by LLM agents propagate into published work.
These limitations map directly onto future work. Incorporating a hadronic afterburner stage—straightforward within the present architecture—would yield experimentally comparable spectra and feed-down-sensitive observables, while varying the medium parameters and analysis choices would establish the robustness of the nuclear-structure orderings. More differential probes could sharpen the discrimination; symmetry-plane correlations, shown to retain nuclear-geometry sensitivity in O+O and Ne+Ne collisions [83], are a promising example. The standardized, high-dimensional datasets the pipeline produces are well suited to machine-learning- or LLM-assisted searches for such discriminants, and the framework extends directly to other systems (Ne+Ne, Ar+Sc, Pb+Pb) and centrality classes.
Beyond these refinements within hydrodynamic model scans, the framework is readily extensible to other hydrodynamics-related problems by incorporating the corresponding SKILLs. One natural direction is the spin polarization of hyperons induced by the large initial orbital angular momentum of noncentral collisions [49−51], whose quantitative description likewise rests on hydrodynamic simulations (see, e.g., Refs. [52, 84−86] and references therein). A second is to embed the present pipeline within Bayesian analyses of the global properties of the QGP, using the agent to orchestrate the large ensembles of runs that such inference requires. We leave these extensions to future work.
More broadly, this work demonstrates that agentic AI can act not merely as an automation layer but as an active participant in the scientific loop, mapping theoretical parameters to observables in a systematic, reproducible, and scalable way. As such pipelines mature, they offer a practical route toward AI-assisted discovery across the parameter-rich landscape of QGP and nuclear-structure physics.
Beyond those specific results, the work makes a broader methodological point. An LLM agent equipped with domain knowledge can autonomously select physically meaningful observables, interpret them in their proper theoretical context, and formulate new quantities to explain unexpected patterns—as when it flagged the event-by-event variation of the response efficiency
$ \kappa_n=v_n/\varepsilon_n $ as statistically robust and traced it to intermediate hydrodynamic diagnostics, a line of reasoning impractical to pursue manually across hundreds of events. Such automated, GPU-accelerated model scans are becoming a prerequisite at the interface of nuclear structure and heavy-ion physics, and the standardized, high-dimensional datasets they produce are naturally suited to machine-learning- or LLM-guided searches for novel observables and correlations. As the interplay between low-energy nuclear structure and high-energy collisions deepens, such data-driven frameworks will be essential for turning small collision systems into precision imaging tools for nuclear structure and QGP transport.
CLVisc Agent for autonomous relativistic hydrodynamics studies
- Received Date: 2026-09-04
- Available Online: 2027-03-01
Abstract: We enable large language model (LLM) agents to autonomously perform end-to-end hydrodynamic simulations of quark--gluon plasma evolution and to calculate the resulting final hadron spectra in relativistic heavy-ion collisions. To this end, we design a meta skill that allows an agent to explore a project's source code, craft a specialized skill, and iteratively refine it. Applying this meta skill to the (3+1)D viscous hydrodynamic code CLVisc, the agent constructs a CLVisc skill that encodes its operational knowledge and then independently executes full scientific workflows: designing parameter scans, running simulations, comparing ensemble results, and producing publication-ready figures. Crucially, the agent draws on literature-informed heavy-ion physics to select physically meaningful observables and interpret outcomes without explicit instruction. We demonstrate the pipeline in two scenarios: temperature-dependent shear viscosity over entropy density, $\eta/s$, and nuclear-structure effects in O+O collisions at $\sqrt{s_{{\rm{NN}}}} = 5.36$ TeV using four ab initio descriptions of 16O. In both cases, the agent plans, executes, and analyzes autonomously, devising new initial-state observables to explain final observations and extract qualitative knowledge. The meta skill is agnostic to code versions and Monte Carlo generators, and paves the way for future multi-agent systems in high-energy nuclear physics.





Abstract
HTML
Reference
Related
PDF













DownLoad: