Year: 2026
Type: preprint
Abstract: The interpretation of neutron scattering data remains a major bottleneck in materials discovery, as it demands an iterative cycle of data reduction, modeling, and refinement. That is too time-consuming for experts and too complex for novices. Here we introduce DrSai-Rongzai, an autonomous agent built on a large language model (LLM) that perfoms joint neutron powder diffraction (NPD) and pair-distribution-function (PDF) analysis without human intervention. Deployed at the China Spallation Neutron Source (CSNS), the agent orchestrates established refinement software through a hierarchical “Reasoning + Acting” framework. Its core innovation, Agentic Context Operation (ACO), maintains a coherent ‘working memory’ of file paths, intermediate results, and domain-specific rules across entire processing steps, even when the underlying large language model undergoes context compression. Across reference materials (Si, CsAgTe and Bi2MoO6), the agent refined structural parameters statistically indistinguishable from expert-derived solutions, while requiring markedly fewer iterative cycles. In an exhaustive 18-run factorial ablation study on two high-entropy alloys, we systematically evaluated the MemoWrite and CoreSkillWrite in ACO mechanisms with and without 50k-token context compression, quantifying the necessity of each component. Memo improved both mean composite performance and repeatability even without compression (+ 20.2% and + 11.3%, respectively). Under compression, Memo improved these metrics by + 10.7% and + 17.0%, and retaining CoreSkill provided a further + 12.5% and + 6.6% improvement, yielding a mean composite score of 0.9316 and repeatability stability of 0.9905 for full ACO. The agent is integrated with a permission-controlled CSNS data interface, enabling secure, on-demand analysis of user-proprietary data with automatic archiving. By combining rigorous benchmarking with practical, facility-ready deployment, DrSai-Rongzai demonstrates that autonomous AI agents can move beyond assisted recommendations to become reliable partners in complex structural science, potentially accelerating the rate of discovery at pulsed neutron sources worldwide.
Source: Research Square
Language: English
Subfield: Materials Chemistry
Field: Materials Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7236669194
