Paper deep dive
ECAS: An Edge-Controlled Agentic System for Validation-Gated Scientific Application Execution
Baixi Sun, Mingze Xia, Huihuo Zheng
Intelligence
Status: succeeded | Model: Gemma-4-26B-A4B | Prompt: intel-v1 | Confidence: 93%
Last extracted: 9/21/2026, 4:59:43 AM
Summary
The paper introduces ECAS (Edge-Controlled Agentic System), a framework for automating scientific application execution on High-Performance Computing (HPC) systems. ECAS separates reasoning (cloud-hosted LLM), control (user-controlled edge agent), and execution (HPC system). It employs a 'validation-gated' mechanism where artifacts undergo static checks and small-scale validation before target-scale execution. A key feature is an edge-resident library of expert-distilled, site-specific skills that condition the LLM's generation and repair processes, ensuring security by keeping credentials and sensitive data off the cloud. Experiments on ALCF systems demonstrate that ECAS significantly improves success rates under injected faults compared to one-shot generation.
Entities (11)
Relation Signals (11)
Sun Baixi â affiliatedwith â Argonne National Laboratory
confidence 95% · Sun Baixi1... Affiliation: 1Argonne National Laboratory
Mingze Xia â affiliatedwith â Oregon State University
confidence 95% · Mingze Xia 2... Affiliation: 2Oregon State University
Huihuo Zheng â affiliatedwith â Argonne National Laboratory
confidence 95% · Huihuo Zheng1... Affiliation: 1Argonne National Laboratory
ECAS â targets â HPC
confidence 95% · Scientific applications increasingly rely on high-performance computing (HPC)... We present ECAS... for closed-loop execution of scientific computing campaigns
ECAS â uses â LLM
confidence 95% · a cloud-hosted LLM proposes plans, artifacts, and repairs
ECAS â evaluatedon â ALCF
confidence 90% · In preliminary experiments with three scientific applications on two production ALCF systems
ALCF â hosts â Sophia
confidence 90% · We prototype and evaluate ECAS on two production ALCF systems (Crux and Sophia)
ALCF â hosts â Crux
confidence 90% · We prototype and evaluate ECAS on two production ALCF systems (Crux and Sophia)
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Scientific applications increasingly rely on high-performance computing (HPC), yet translating a scientist's high-level goal into a correct target-scale execution remains brittle and labor-intensive. Large language model (LLM) agents promise to automate this, but two obstacles remain: granting a cloud-hosted model direct HPC access exposes credentials and execution authority, while withholding it demands continuous human supervision; and one-shot generation cannot adapt when generated artifacts fail in a site-specific HPC environment. We present \textsc{ECAS}, an \textbf{E}dge-\textbf{C}ontrolled \textbf{A}gentic \textbf{S}ystem for closed-loop execution of scientific computing campaigns with limited human intervention. \textsc{ECAS} separates \emph{reasoning}, \emph{control}, and \emph{execution}: a cloud-hosted LLM proposes plans, artifacts, and repairs; a user-controlled edge agent retains credentials, workflow state, and execution authority while enforcing policy and resource constraints; and the HPC system computes. Its core mechanism is \emph{validation-gated execution}: generated artifacts pass static checks and small-scale validation, failures trigger repairs from sanitized execution feedback, and target-scale execution is permitted only after validation and policy checks pass. \textsc{ECAS} also draws on an edge-resident library of expert-distilled, site-specific skills that is never disclosed to the cloud. In preliminary experiments with three scientific applications on two production ALCF systems under six injected fault types, closed-loop repair improves application success from 0/6 to 6/6 over one-shot generation, validation gating prevents all three observed target-scale failures, and skill conditioning improves success from 4/6 to 6/6. These results show the feasibility of delegating adaptive reasoning to the cloud while retaining execution control at the edge.
Tags
Links
- Source: https://arxiv.org/abs/2609.14211v1
- Canonical: https://arxiv.org/abs/2609.14211v1
Trouble viewing inline? Open PDF directly â
Full Text
38,057 characters extracted from source content.
Expand or collapse full text
ECAS: An Edge-Controlled Agentic System for Validation-Gated Scientific Application Execution Sun Baixi1, Mingze Xia 2, Huihuo Zheng1 Affiliation: 1Argonne National Laboratory, Lemont, IL, USA 2Oregon State University, Corvallis, OR, USA Abstract Scientific applications increasingly rely on high-performance computing (HPC) systems, yet translating a scientistâs high-level goal into a correct target-scale execution remains brittle and labor-intensive. Large language model (LLM) agents offer a promising path toward automating this process, but two obstacles remain. Granting a cloud-hosted model direct HPC system access exposes credentials and execution authority. However, it requires continuous human supervision, limiting automation. Moreover, one-shot generation cannot adapt when generated artifacts fail in a site-specific HPC environment. To address these issues, we present ECAS, an Edge-Controlled Agentic System for closed-loop execution of scientific computing campaigns with limited human intervention. ECAS separates reasoning, control, and execution: a cloud-hosted LLM proposes plans, artifacts, and repairs; a user-controlled edge agent retains credentials, workflow state, and execution authority while enforcing policy and resource constraints; and the HPC system performs the computation. Its core mechanism is validation-gated execution: device-side generated artifacts for execution on HPC go through static checks and small-scale validation, failures trigger repairs using sanitized execution feedback, and target-scale execution is permitted only after validation and policy checks pass. Additionally, ECAS uses an edge-resident library of expert-distilled, site-specific skills that is never disclosed to the cloud service. In preliminary experiments using three scientific applications on two production ALCF systems with six types of injected faults, closed-loop repair improves application success from 0/6 to 6/6 over one-shot generation. Validation gating prevents all three observed target-scale failures, and skill conditioning improves success from 4/6 to 6/6. These results demonstrate the feasibility of delegating adaptive reasoning to the cloud, while retaining execution control at the edge. Index Terms: LLM agents, high-performance computing, edge computing, automated scientific discovery, closed-loop automation, workflow automation, validation, job submission, I/O benchmarking I Introduction Deploying a computational campaign on an HPC system is a translation problem. A user begins with a goal. For example, âbenchmark the I/O of my data pipeline at scale,â, âtrain this model on four nodesâ, etc. This goal must be converted into concrete, system-specific artifacts, including the source or configuration, the correct software environment (compilers, MPI, Python libraries), a valid launch command for the siteâs job launcher, and a batch script with the right queue, account, and resource request. Small mismatchesâan incompatible MPI/Python library, the wrong launcher, a data path that does not exist on the compute nodesâsurface only at runtime, often after a long queue wait and after consuming allocation. LLMs are attractive for this translation, and recent systems show they can generate and even submit HPC and simulation jobs end-to-end [1, 2, 3, 4]. However, there are two challenges. First, trust and reliability. Concerns arise when pursuing full automation in performing test execution and scale-up: a cloud-hosted model given direct SSH access to a system would hold user credentials and act on the system with no local checkpoint for policy, resource, or safety checks, and system logs streamed to the cloud may leak paths, usernames, and project identifiers. Second, an adaptation obstacle: one-shot generation cannot react to the failures that dominate real HPC use, where the first artifact is rarely correct, and the informative signal is the errors in logs from an actual run. We present ECAS (Edge-Controlled Agentic System), an agent-based system for automated scientific-computing campaigns that turns a natural-language goal into a completed, target-scale HPC run as closed-loop automation with minimal human intervention. It is organized around a single principle: reason in the cloud, control at the edge, and execute on HPC. A cloud-hosted LLM performs open-ended reasoningâplanning, artifact generation, failure diagnosis, and repair proposalsâbut never holds credentials or acts directly on the system. A user-controlled edge agent is the trusted control plane: it retains credentials, workflow state, and artifacts; enforces policy and resource checks; mediates all system access; sanitizes logs before they leave the trust boundary; and holds execution authority. The HPC system executes. On top of this separation, ECAS makes execution validation-gated. Rather than submitting a generated job directly at the requested scale, the edge agent runs a pipeline: (i) static checks on the artifacts, (i) a cheap small-scale or debug-queue validation run, (i) feedback-driven repair from sanitized error output, and (iv) a policy-gated promotion to the target-scale run only after correctness and resource-policy checks pass. This converts expensive scale-out failures into cheap small-scale failures caught before they consume allocation. Closed-loop repair alone, however, is wasteful in a different way: a cold agent rediscovers the same site-specific fixes on every taskâthe library-compatible MPI/Python pairing, the siteâs launcher and queue conventionsâbecause this knowledge lives in an expertâs head, not in the model. ECAS therefore treats human expertise as a build-time resource: in an offline, expert-in-the-loop phase an HPC expert works through representative tasks with the agent, and each correction is distilled into a reusable, edge-private skillâa structured unit of site-specific procedural knowledge that, like credentials, never leaves the edge. During runtime, the loop is closed and automatedâit retrieves relevant skills to condition generation and repairâand human effort falls toward zero as coverage grows. Human-in-the-loop is thus our building methodology, not our operating mode: the deployed system runs as closed-loop automation with minimal human intervention, reduced to an occasional validator for genuinely novel failures. This work has three main contributions: âą A user-controlled edge trust boundary for LLM-driven HPC automation that keeps credentials, state, execution authority, and the site-specific skill library off the cloud while still using cloud reasoning, and sanitizes feedback crossing the boundary. The cloud proposes only abstract, site-agnostic intents; the edge resolves each into a concrete, site-correct command through its private skills, so site identifiers and execution authority never leave the userâs control. âą A validation-gated execution workflow that couples static checks, small-scale validation, and feedback-driven repair with a policy gate before target-scale runs, reducing wasted node-hours. âą A human HPC expert-in-the-loop skill-building methodology in which an HPC expert works through representative tasks with the agent and each expertâagent interaction is distilled into a reusable, edge-private skill. Using it, we build a concrete site-specific skill library that turns an otherwise cold agent into an automated one at deployment and reduces repeated repair and expert intervention. We prototype and evaluate ECAS on two production ALCF systems (Crux and Sophia), with MPI-IO and deep-learning I/O workloads under deterministically injected faults, quantifying the benefit of closed-loop repair, validation gating, and skill conditioning. I Background and Related Work LLMs for HPC. HPC-GPT adapts an LLM to HPC domain tasks such as resource and data-race question answering, but targets domain knowledge rather than a closed execution loop [3]. âLLM as HPC Expertâ (HyCE) extends retrieval-augmented generation with hypothetical command embeddings to answer system-specific questions and retrieve predefined commands, and discusses data-privacy and command-execution risks, but is retrieval- rather than execution-centric [4]. Agentic execution and repair. Foam-Agent and Foam-Agent 2.0 provide an end-to-end multi-agent pipeline that generates OpenFOAM cases, creates HPC submission scripts, and monitors and repairs runs, exposing tools via the Model Context Protocol [1, 2, 5]. These systems are the closest prior art; ECAS differs by treating a user-controlled edge device as the trust and control plane and by making scale-up explicitly validation-gated for resource-waste reduction, rather than by targeting one application domain. Our closed loop follows the reasonâact paradigm of ReAct [6]. Agentic scientific workflows. Recent work sketches the broader shift to agentic AI in scientific workflows [7] and proposes reference architectures and evaluation methodology for LLM agents over workflow provenance [8]. These are largely conceptual or provenance-focused; we contribute a concrete edge-controlled prototype and an execution-time evaluation. Skill libraries and experiential agents. A line of work lets agents improve by accumulating reusable experience: Voyager maintains a growing skill library of executable programs [9], ExpeL extracts natural-language insights from past trials [10], and Reflexion converts verbal feedback into self-improvement signals [11]. ECAS adapts this idea to HPC with three differences: skills are sourced from an HPC expert in a build-time loop rather than self-generated; they encode site-specific operational knowledge (modules, launchers, queue/account and ABI conventions); and they are kept private on the edge, since they embed exactly the identifiers that must not reach the cloud. The library is thus both a performance mechanism and part of the trust boundary. Workloads and I/O characterization. We build on standard HPC benchmarks: IOR for MPI-IO bandwidth [12], the DLIO benchmark for deep-learning I/O patterns [13], and E3SM-IO for climate-simulation I/O through the ADIOS2 BP backend [14, 15], with Darshan for I/O characterization of the resulting runs [16]. Fig. 1: Overview of the ECAS. The edge plays an important role as the Control plane, with the ECAS-built trusted boundary. I System Design I-A Three-Plane Architecture ECAS partitions the system into three planes, i.e., edge, cloud, and HPC, with a built-in trusted boundary. The overview of the ECAS system design is presented in Fig. 1. Cloud (reasoning plane). A hosted LLM receives the user goal and sanitized context and returns structured proposals: an execution plan, artifacts (source or config, environment specification, launch command, batch script), and, on failure, an abstract diagnosisâa repair category drawn from a fixed, site-agnostic vocabularyârather than a site-specific command. Site-specific values (launcher binaries, absolute paths, account names) are never chosen by the cloud; the edge resolves an abstract category into a concrete, site-correct fix using its private skill library (Sec. I-D). The cloud plane is stateless with respect to the system: it holds no credentials and issues no commands. Edge (control plane). A user-controlled deviceâthe trusted coreâowns everything security- and state-sensitive: user and system credentials; workflow state and artifact versions; the private skill library (Sec. I-D); policy and resource checks; the sole SSH/scheduler connection to the system; log sanitization; and execution authority. Every action the cloud proposes is materialized, checked, and (if permitted) executed by the edge agent. Nothing crosses to the cloud without passing through sanitization. HPC (execution plane). One or more systems execute validation and target-scale jobs through their batch scheduler via Model Context Protocol (MCP) or Integrated Research Infrastructure (IRI)[17]. The execution plane trusts only the edge agent, which authenticates as the user. I-B Threat and Failure Model We assume the cloud LLM is competent but fallible, not adversarial: it may hallucinate or err, i.e., propose the wrong launcher, a nonexistent output path, an oversized or mis-charged resource request, or an artifact that only fails at scale. But it does not actively try to exfiltrate data or subvert the edge. The edge device and its software are trusted and user-controlled, and the HPC site is trusted to execute jobs submitted as the user. Under this model, the edgeâs role is to bound the blast radius of an erroneous cloud proposal with deterministic, edge-resident checks: (i) static well-formedness of launcher, queue, and account; (i) output-path existence and rank/file consistency; (i) a resource-policy gate on node count, walltime, queue, account, and remaining node-hour budget (Eq. (1)); and (iv) sanitization of every log before it crosses the boundary, stripping usernames, absolute paths, and project identifiers. Because credentials, workflow state, and the skill library never leave the edge, a cloud error cannot escalate privilege, spend beyond the user-set policy, or leak site identifiers; its worst case is a rejected or repaired artifact. We do not defend against a compromised edge, a malicious site, or side channels within the sanitized text itself; those are out of scope. I-C Validation-Gated Execution The control loop (Algorithm 1) never submits a generated job directly at target scale. Artifacts first pass static checks (e.g., launcher and queue/account well-formedness, path existence, rank/file consistency). They then run a validation job at minimal scale (one node or a debug queue). Failures produce sanitized feedback that the cloud turns into a repair; repair is bounded by fixed budgets on repair attempts, submissions, and wall-clock time. Only after validation succeeds and a resource-policy gate approves the request (nodes, walltime, account) is the job promoted to the target-scale run. Success is judged by an application-specific oracle, not by the schedulerâs COMPLETED status alone. We make the edgeâs control decision explicit. A candidate artifact set a carries a resource footprint ÏâĄ(a)=(nâĄ(a),wâĄ(a),qâĄ(a),αâĄ(a))Ï(a)=(n(a),w(a),q(a),α(a)): node count, wall-clock request, queue, and charging account. The edge holds a site policy Î =(Nmax,Wmax,,,Hrem) =(N_ ,W_ ,Q,A,H_rem)âper-job node and walltime ceilings, admissible queues and accounts, and the remaining node-hour budgetâand the gate is the conjunction of deterministic checks PolicyGateâĄ(a)=âÏâΊ[ÏâĄ(a)],PolicyGate(a)= _Ïâ 1\! [Ï(a) ], (1) with Ί=nâ€Nmax,wâ€Wmax,qâ,αâ,nâwâ€Hrem =\\,n\!â€\!N_ ,\;w\!â€\!W_ ,\;q\!â\!Q,\;α\!â\!A,\;n\,w\!â€\!H_rem\,\, evaluated entirely on the edge. Target-scale execution is authorized only when the validation run passes the oracle and the target footprint clears the gate, PromoteâĄ(a)âșOracleâĄ(rval)â§PolicyGateâĄ(atarget).Promote(a)\; \;Oracle(r_val)\; \;PolicyGate(a_target). (2) Equivalently, target-scale execution is allowed iff three conditions hold independently at the edge: the validation run passed its oracle (ValidationPassedValidationPassed); the request is policy-admissible (nâ€Nmaxn\!â€\!N_ , wâ€Wmaxw\!â€\!W_ , qâq\!â\!Q, αâα\!â\!A; PolicySatisfiedPolicySatisfied); and it fits the residual allocation (nâwâ€Hremn\,w\!â€\!H_rem; ResourceBudgetSatisfiedResourceBudgetSatisfied). Because Î and both predicates reside at the edge, neither a cloud plan nor a generated artifact can escalate scale or spend beyond the user-set policy. Algorithm 1 Validation-gated execution at deployment (edge agent). The skill library S is built offline (Sec. I-D). 1: goal g; skill library S; budgets Brep,Bsub,BtimeB_rep,B_sub,B_time 2: kâRetrieveâĄ(S,g)k (S,g) âł relevant skills 3: aâCloudPlanAndGenerateâĄ(g,k)a (g,k) âł skill-conditioned artifacts 4: for i=1i=1 to BrepB_rep do 5: if ÂŹStaticCheckâĄ(a) \ StaticCheck(a) then 6: aâCloudRepairâĄ(a,static diag.,k)a (a,static diag.,k) 7: continue 8: end if 9: râRunValidationâĄ(a)r (a) âł 1 node / debug 10: if OracleâĄ(r)Oracle(r) and PolicyGateâĄ(atarget)PolicyGate(a_target) then 11: return RunTargetScaleâĄ(a)RunTargetScale(a) 12: end if 13: aâCloudRepairâĄ(a,SanitizeâĄ(r),k)a (a,Sanitize(r),k) 14: end for 15: return Failed âł escalate to expert I-D Skill-Building Methodology ECAS operates in two phases. The deployment loop above is automated, but it is only effective once the edge holds site-specific knowledge that a general-purpose cloud model lacks. We obtain that knowledge offline, with a human in the loop, and then reuse it automatically. Build phase (expert-in-the-loop). An HPC expert works through a set of representative tasks with the agent. When the automated loop stallsâbudget exhausted, or a repair that keeps failing the same wayâor when it produces an artifact that runs but violates a site convention, the expert supplies a correction. The edge distills the interaction into a skill: a structured, retrievable record pairing a trigger (workload, site, and error signature) with the procedural knowledge that resolved itâan ABI-compatible module set, a launcher template, a queue/account rule, or a known-good environment recipe. Skills are versioned alongside artifacts and stored in a library on the edge. Because a skill embeds exactly the usernames, paths, and project conventions that sanitization strips, the library is inherently edge-private; it is never shipped to the cloud, and only the retrieved skillâs sanitized guidance conditions a prompt. Deployment phase (automated). For a new goal, the edge retrieves relevant skills and prepends their guidance to cloud generation and repair (Algorithm 1). Tasks covered by the library are handled end to end with no human involvement; a genuinely novel task that exhausts its budget escalates back to the expert, whose correction seeds a new skill. The system thus degrades gracefully and improves monotonically: human effort is spent once per class of failure, not once per run. IV Implementation The edge agent is a Python controller that holds credentials, drives the system over SSH and the PBS scheduler, versions artifacts, and applies static, policy, and sanitization steps. The reasoning plane is a hosted LLM accessed through an institutional inference gateway. We deploy on two production ALCF systems: Crux (PBS Pro, Cray MPICH) and Sophia (NVIDIA DGX-A100, OpenMPI). Three workloads exercise the pipeline: IOR for MPI-IO bandwidth [12], the DLIO benchmark for deep-learning I/O [13], and E3SM-IO [14] for climate-simulation I/O written through the ADIOS2 BP backend [15]; Darshan captures I/O behavior of each run [16]. E3SM-IO doubles as a cross-system portability case: the same source is built and run on both Crux (Cray MPICH) and Sophia (OpenMPI), whose incompatible MPI ABIs mandate independent builds and site-specific launchers. Application-specific oracles define success (e.g., IOR reports nonzero aggregate bandwidth over all segments and a Darshan log is produced; DLIO completes the configured steps and reports throughput; E3SM-IO exits cleanly and reports nonzero write bandwidth for its ADIOS2 BP output). Static checks and the policy gate are deterministic and run entirely on the edge; log sanitization strips usernames, absolute paths, and project identifiers before any text is sent to the cloud. The skill library is a set of structured records on the edge, keyed by workload and site and retrieved by matching the goal and any error signature; retrieval prepends the matched skillsâ guidance to the cloud prompt, so no library content leaves the trust boundary in raw form. V Evaluation TABLE I: Experimental configuration. Parameter Value Systems Crux (PBS Pro, Cray MPICH, PALS mpiexec, 256 cores/node); Sophia (OpenMPI, 8ĂA100) Workloads IOR (MPI-IO), DLIO, E3SM-IO (ADIOS2 BP) Validation scale 1 node (IOR/DLIO); 16-proc, 1 node (E3SM-IO) Target scale 4 nodes (IOR/DLIO); 512-proc, 2 nodes (E3SM-IO) Injected faults 6 (2 static-decidable, 4 runtime; 2 site-specific) Repair budget Brep=3B_rep=3 attempts Reasoning model hosted LLM via institutional inference gateway Repetitions N=5N=5 per fault per condition (E2, E4) V-A Experimental Setup We evaluate ECAS on two systems using three workflows, as presented in Table I. Systems. We evaluate ECAS on two production systems at the Argonne Leadership Computing Facility (ALCF). Crux is a CPU-based system running the PBS Pro scheduler with the Cray MPICH stack and the PALS mpiexec launcher, providing 256 cores per node; it hosts the end-to-end validation and target-scale runs. Sophia is a GPU system with OpenMPI and 8 NVIDIA A100 GPUs per node, used to exercise a distinct site environment (different launcher and MPI conventions). Workloads and scales. Three standard scientific-computing workloads span the I/O regimes of interest: IOR for MPI-IO bandwidth, the DLIO benchmark for deep-learning I/O patterns, and E3SM-IO for climate-simulation I/O through the ADIOS2 BP backend. Each workload is exercised under the validation-gated pipeline at two scales: a cheap validation scale (1 node for IOR/DLIO; 16 processes on 1 node for E3SM-IO) at which failures are caught before they consume allocation, and a target scale (4 nodes for IOR/DLIO; 512 processes on 2 nodes for E3SM-IO) to which a run is promoted only after it passes validation and the resource-policy gate. Injected faults and repair loop. To probe the closed loop, we inject six fault types that mirror the mismatches that dominate real HPC use: two are statically decidable (caught by artifact checks before submission) and four surface only at runtime; two of the six are site-specific (resolvable only through the edgeâs private skill library, not by generic cloud reasoning). The repair loop is bounded by a budget of B_rep = 3 attempts per task before escalation to a human. Reasoning model and repetitions. Failure diagnosis is produced by Claude-opus-5 [18] accessed through the institutionâs inference gateway; the edge maps the modelâs abstract diagnosis to a concrete, site-correct fix. To capture the variance of a real LLM in the loop, every fault is run N = 5 times per condition in experiments E2 and E4. Research Questions and Evaluation Structure We ask four questions. (RQ1) Can ECAS take a natural-language goal to a completed target-scale run on real workloads? (RQ2) How much does closed-loop repair improve over one-shot generation under realistic faults? (RQ3) How much target-scale waste does validation gating avoid? (RQ4) Does build-time skill conditioning reduce repeated repairs and expert intervention at deployment? All experiments use fixed repair, submission, and time budgets and application-specific oracles. To control for scheduler-queue variability, we report queue-excluded time (wall-clock minus PBS queue wait, from scheduler timestamps) alongside counts. Metrics. For a fault set F, let ofâ0,1o_f\!â\!\0,1\ be the oracle outcome for fault f, efe_f the number of expert interventions it requires, and Rf,SfR_f,S_f its repair and submission counts. A run counts as a success only when all four checks passâthe scheduler reports the job completed (SchedPassSchedPass), the application exits zero (ExitPassExitPass), the workloadâs application-level metric is present and nonzero (AppOracleAppOracle; IOR aggregate bandwidth, DLIO throughput, or E3SM-IO write bandwidth), and the expected output artifact exists and is well-formed (ArtifactOracleArtifactOracle; a Darshan log, or bpls listing the expected variables in the ADIOS2 BP output): of=SchedPassâ§ExitPassâ§AppOracleâ§ArtifactOracle.o_f=SchedPass . (3) This composite oracle is what distinguishes a genuinely completed run from one the scheduler merely marks COMPLETED. We report success rate SRSR, autonomous completion ACAC (resolved with no expert), and mean repairs and submissions, SR =1|F|ââfâFof, = 1|F|\! _fâ F\!o_f, AC =1|F|âfâF[of=1â§ef=0], = 1|F|\! _fâ F\!1[o_f=1 e_f=0], (4) RÂŻ R =1|F|ââfRf, = 1|F|\! _fR_f, SÂŻ S =1|F|ââfSf. = 1|F|\! _fS_f. Node-hours are attributed by stage. With validation at nvn_v nodes and target scale ntn_t, the wasted (non-successful) node-hours of a strategy are Hwaste=âfâFnvtvf+âf:of=0nfailâĄ(f)tfailf,H_waste= _fâ Fn_v\,t^v_f\;+\!\! _f:\,o_f=0\!\!n_fail(f)\,t^fail_f, (5) where nfailâĄ(f)n_fail(f) is the scale at which fault f fails: nfail=ntn_fail=n_t under direct submission (which performs no validation, so its first term vanishes) and nfail=nvn_fail=n_v under validation gating. Gating thus scales each failureâs wasted node-hours by nv/ntn_v/n_t, so its advantage grows with target scale and fault-detection latency. V-B E1: End-to-End Feasibility (RQ1) We run the full pipeline for all three workloads (IOR, DLIO, and E3SM-IO), validating at small scale on one node and promoting to a target run. IOR and DLIO promote to a four-node target; E3SM-IO, whose F-case decomposition map pins the process count, validates with the 16-process map on one node and promotes to the 512-process map on two nodes. We report end-to-end completion, agent turns, and oracle pass/fail (Table I). All three complete on Crux: E3SM-IO writes its F-case history files through the ADIOS2 BP backend at both scales, reaching 11121112 MiB/s aggregate write bandwidth at the 512-process target, and the output passes the artifact oracleâa bpls listing confirms all 162162 F-case variables in the resulting BP dataset. To exercise the cross-system portability path, E3SM-IO and its ADIOS2/PnetCDF stack are additionally built and link-verified on Sophia under OpenMPI, confirming that the same deployment pipeline compiles and links against an incompatible MPI ABI (Cray MPICH vs. OpenMPI); we report the Crux end-to-end runs in Table I. TABLE I: E1: end-to-end feasibility on Crux. One-node validation is promoted to the target scale (four nodes for IOR/DLIO; the map-pinned 512-process, two-node configuration for E3SM-IO). E3SM-IO is additionally built and link-verified on Sophia under OpenMPI (cross-system portability). Workload System Completed Agent turns Oracle IOR (MPI-IO) Crux Yes 2 pass DLIO Crux Yes 2 pass E3SM-IO (ADIOS2) Crux Yes 2 pass V-C E2: One-Shot vs. Closed-Loop Agent (RQ2) We inject six deterministic faults into the initial state and compare a one-shot baseline (generate once, submit, no repair) with the closed-loop agent. The faults, chosen to span static- and runtime-detected failures, are: (1) wrong queue/account; (2) transfer size exceeding block size (a static-decidable IOR misconfiguration); (3) invalid output path; (4) wrong launcher (OpenMPI mpirun in place of the Cray PALS mpiexec); (5) excessive ranks-per-node that overruns the launcherâs local-rank limit; and (6) an MPI ABI mismatch (an OpenMPI library LD_PRELOADed into Cray MPICH). Faults (1)â(2) are caught by static checks; (3)â(6) surface only at runtime, and (4) and (6) additionally require site-specific knowledge to repair. Because the reasoning model is stochastic, we repeat every fault N=5N=5 times per condition and report successes with denominators (Table I); the one-shot baseline is a single attempt per fault. The one-shot baseline resolves 0/60/6 faults; the closed-loop agent (full ECAS, skill column) resolves every fault in every repetition (30/3030/30 runs, all autonomous) at a mean of 1.001.00 repairs and 2.672.67 submissions per resolved run (one-shot: 0.670.67 submissions, no repair). TABLE I: E2/E4: per-fault oracle outcomes over N=5N=5 repetitions per condition. One-shot: single generate-and-submit, no repair (E2 baseline). Cold: closed-loop repair with an empty skill library (E4). Skill: closed-loop repair with the edge skill libraryâthe full ECAS system (E2 closed-loop; E4 skill-conditioned). Entries are successes over five repetitions; â marks faults that require site-specific knowledge to repair. Injected fault One-shot Cold Skill Wrong queue/account Ă 5/5 5/5 Transfer >> block size Ă 5/5 5/5 Invalid output path Ă 5/5 5/5 Wrong launcherâ Ă 0/5 5/5 Excess ranks/node Ă 5/5 5/5 MPI ABI mismatchâ Ă 0/5 5/5 Total (successful runs) 0/6 20/30 30/30 V-D E3: Direct vs. Validation-Gated Scale-Up (RQ3) For three faults that pass static checks but fail at runtime (invalid output path, wrong launcher, and excessive ranks-per-node), we compare direct target-scale submission (four nodes) against validation-gated execution (validate at one node, repair, then four nodes), repeating each fault N=5N=5 times per strategy (15 real end-to-end runs each) with the same closed loop. We account node-hours by where they are spentâvalidation (one node), failed attempts, and successful runsâand count failed runs by the scale at which they occur (Table IV). Because these faults fail fast, the non-productive node-hours are comparable across strategies (0.0300.030 vs. 0.0360.036); the decisive difference is scale. Direct submission incurs a four-node target-scale failure in every one of its 15 runs (15/1515/15), whereas gating confines every failure to one-node validation, leaving zero failed target-scale runs (0/150/15). The node-hour advantage of gating therefore grows with fault-detection latency and target scale, which our short-running, small-scale faults deliberately understate. TABLE IV: E3: node-hour accounting and failure scale over three runtime faults, summed across N=5N=5 repetitions (15 runs per strategy). Direct Validation-gated Validation node-hours (1-node) 0 0.036 Failed node-hours (4-node) 0.030 0 Successful node-hours (4-node) 0.319 0.318 Non-productive node-hours 0.030 0.036 Failed target-scale runs 15/15 0/15 V-E E4: Cold vs. Skill-Conditioned Agent (RQ4) We first build a skill library offline: an HPC expert works through a training set of tasks and faults, and each unresolved or site-suboptimal case is distilled into a skill (Sec. I-D). We then run the automated deployment loop on the six E2 faults under two conditions: cold (empty library) and skill-conditioned. Two of the six faults (wrong launcher, MPI ABI mismatch) require site-specific knowledge to repair; a general agent without the library cannot resolve them within the repair budget and escalates to a human. Over the six faults and five repetitions (Table I, cold vs. skill), the cold agent resolves the four non-site-specific faults every time (20/3020/30, 67%67\%) but never either site-specific fault (0/100/10), escalating to a human in all ten cases. The skill-conditioned agent resolves all six every time (30/3030/30, 100%100\%), including 10/1010/10 on the site-specific faults, with zero expert interventions. The skill library does not reduce repair count (both average 1.001.00) but converts the two otherwise-unresolvable faults into autonomous fixes. VI Discussion and Limitations This is a research prototype and the results are preliminary. Our evaluation uses two related ALCF systems, a single inference gateway, deterministic (not adversarial) fault injection, and small target scales; the faults are representative but not exhaustive. We fix repair, submission, and time budgets, so reported successes are budget-conditioned. We do not evaluate broad security properties, and we deliberately avoid claiming the system is âsecure,â âproduction-scale,â or âlarge-scale.â Our automation claim is scoped: we describe ECAS as closed-loop automation with minimal human intervention, not as âfully autonomous.â The deployment loop runs automatically only for task classes the skill library covers, and genuinely novel tasks still escalate to the expert. Skills are built by a single expert on a small task set and may encode site- or person-specific idiosyncrasies; retrieval can misfire, and skill quality bounds the benefit we report. Log sanitization reduces but does not eliminate leakage risk, and the policy gate encodes only the checks we implement. Generalization of both the framework and the skill library across schedulers, sites, experts, and models is future work. VII Conclusion We presented ECAS, an edge-controlled agentic system for automated scientific-computing campaigns that separates cloud reasoning, edge control, and HPC execution, and gates target-scale execution behind static checks, small-scale validation, and feedback-driven repair. It takes a natural-language goal to a completed target-scale run as closed-loop automation with minimal human intervention. By keeping credentials, state, the skill library, and execution authority on a user-controlled edge and promoting jobs only after validation, ECAS provides credential isolation and policy-mediated execution for LLM-driven HPC automation while reducing wasted node-hours. A build-time, expert-in-the-loop methodology captures site expertise once as reusable skills, so the deployed loop runs automatically and needs the expert only for genuinely new failures. Our preliminary prototype on two ALCF systems suggests closed-loop repair, validation gating, and skill conditioning meaningfully improve success and reduce wasted node-hours; a full evaluation is ongoing. References [1] L. Yue, N. Somasekharan, T. Zhang, Y. Cao, Z. Chen, S. Di, and S. Pan (2025) Foam-agent: a large language model-based multi-agent framework for automating computational fluid dynamics workflows. arXiv preprint arXiv:2505.04997. Cited by: §I, §I. [2] L. Yue, N. Somasekharan, T. Zhang, Y. Cao, and S. Pan (2025) Foam-agent 2.0: an end-to-end composable multi-agent framework for automating cfd simulation in openfoam. arXiv preprint arXiv:2509.18178. Cited by: §I, §I. [3] X. Ding, L. Chen, M. Emani, C. Liao, P.-H. Lin, T. Vanderbruggen, Z. Xie, A. E. Cerpa, and W. Du (2023) HPC-gpt: integrating large language model for high-performance computing. In Proc. SC-W â23: Workshops of the Int. Conf. for High Performance Computing, Networking, Storage and Analysis, External Links: Document Cited by: §I, §I. [4] Y. Miyashita, P. K. M. Tung, and J. BarthĂ©lemy (2025) LLM as hpc expert: extending rag architecture for hpc data. arXiv preprint arXiv:2501.14733. Cited by: §I, §I. [5] Anthropic (2024) Model context protocol. Note: https://modelcontextprotocol.io Cited by: §I. [6] S. Yao, J. Zhao, D. Yu, N. Du, I. Shafran, K. Narasimhan, and Y. Cao (2023) ReAct: synergizing reasoning and acting in language models. In Proc. Int. Conf. on Learning Representations (ICLR), Note: arXiv:2210.03629 Cited by: §I. [7] W. Shin, R. Souza, D. Rosendo, F. Suter, F. Wang, P. Balaprakash, and R. Ferreira da Silva (2025) The (r)evolution of scientific workflows in the agentic ai era: towards autonomous science. arXiv preprint arXiv:2509.09915. Cited by: §I. [8] R. Souza, T. Poteet, B. Etz, D. Rosendo, A. Gueroudji, W. Shin, P. Balaprakash, and R. Ferreira da Silva (2025) LLM agents for interactive workflow provenance: reference architecture and evaluation methodology. In Proc. SC â25 Workshops, External Links: Document Cited by: §I. [9] G. Wang, Y. Xie, Y. Jiang, A. Mandlekar, C. Xiao, Y. Zhu, L. Fan, and A. Anandkumar (2023) Voyager: an open-ended embodied agent with large language models. arXiv preprint arXiv:2305.16291. Cited by: §I. [10] A. Zhao, D. Huang, Q. Xu, M. Lin, Y.-J. Liu, and G. Huang (2024) ExpeL: llm agents are experiential learners. In Proc. AAAI Conf. on Artificial Intelligence (AAAI), Note: arXiv:2308.10144 Cited by: §I. [11] N. Shinn, F. Cassano, E. Berman, A. Gopinath, K. Narasimhan, and S. Yao (2023) Reflexion: language agents with verbal reinforcement learning. In Advances in Neural Information Processing Systems (NeurIPS), Note: arXiv:2303.11366 Cited by: §I. [12] H. Shan and J. Shalf (2007) Using ior to analyze the i/o performance for hpc platforms. In Cray User Group (CUG), Cited by: §I, §IV. [13] H. Devarajan, H. Zheng, A. Kougkas, X.-H. Sun, and V. Vishwanath (2021) DLIO: a data-centric benchmark for scientific deep learning applications. In Proc. IEEE/ACM Int. Symp. on Cluster, Cloud and Internet Computing (CCGrid), Cited by: §I, §IV. [14] Parallel-NetCDF E3SM-io: performance benchmark of e3smâs i/o kernel. Note: GitHub repository, https://github.com/Parallel-NetCDF/E3SM-IO Cited by: §I, §IV. [15] W. F. Godoy, N. Podhorszki, R. Wang, C. Atkins, G. Eisenhauer, J. Gu, P. Davis, J. Choi, K. Germaschewski, et al. (2020) ADIOS 2: the adaptable input output system. a framework for high-performance data management. SoftwareX 12, p. 100561. External Links: Document Cited by: §I, §IV. [16] P. Carns, K. Harms, W. Allcock, C. Bacon, S. Lang, R. Latham, and R. Ross (2011) Understanding and improving computational science storage access through continuous characterization. ACM Trans. Storage 7 (3). Cited by: §I, §IV. [17] (-) DOE iri program. Note: [Online; accessed 2026-08-16] External Links: Link Cited by: §I-A. [18] (-) Introducing claude opus 5 \ anthropic. Note: [Online; accessed 2026-08-16] External Links: Link Cited by: §V-A.