cs.AISep 21, 2026

APEXA: Execution-Integrity Enforcement for Multi-Agent LLM Automation of Synchrotron Data Reduction

Authors: Pawan K. Tripathi, Hemant Sharma, Andrew Chuang, Mathew J. Cherukara

Organizations: X-ray Science Division, Advanced Photon Source, Argonne National Laboratory, Lemont, IL 60439, USA

Abstract

LLM agents can make expert scientific workflows accessible through natural language, but a plausible response does not establish that the requested computation ran. This matters at synchrotron facilities, where calibration and integration are multi-step operations over terabyte-scale datasets. We present APEXA, a deployed framework coordinating 61 tools for synchrotron data reduction. A deterministic execution-integrity guard prevents it from returning results for tool calls that did not execute, and the same tool layer enforces motor safety: across 50 adversarial scenarios and four models, it produced 0/200 violations against a simulated EPICS controller, versus 15/200 for a prompt-only baseline. We also introduce APEXA-Bench, 58 facility tasks organized by scientific correctness and physical consequence. On real APS beamline data, one prompt recovered detector geometry and integrated a full attenuation and exposure sweep. Trustworthy scientific agents need deterministic validation of execution, not model-side assurances. We release the framework, benchmark, and traces.

Figures & tables

Explore similar work

CardsList
  1. Beyond Execution: Auditing Experimental Fidelity in LLM-Driven Scientific Research

    Aug 27, 2026Lezhi Yu, Xiaogang Xu, Yuhua Zhou +2AI Agent AuditingAI-Assisted Scientific Research

  2. APEX: Active Protection at Execution Boundaries for LLM Agents

    Oct 3, 2026Xinran Zheng, Xin Fan Guo, Zhiqiang Hao +7AI Agent SecurityPrompt Injection Defense

  3. SCI-AGENT-EXAM: Benchmarking Agents on Scientific Research Tasks

    Oct 23, 2026Tianyun Zhong, Wei Wang, Jialin Li +17Scientific Agent BenchmarksLLM Agent Evaluation