CAX-Agent: A Lightweight Agent Harness for Reliable APDL Automation
Chenying Lin, Yichen Hai, Yi He, Ran Wang, Haiyan Qiang, Liang Yu

TL;DR
CAX-Agent is a lightweight middleware framework designed to improve the reliability and fault recovery of MAPDL finite-element simulations driven by large language models, demonstrated through empirical evaluation of recovery strategies.
Contribution
The paper introduces CAX-Agent, a novel lightweight agent harness architecture for MAPDL automation, and empirically evaluates its recovery policy effectiveness.
Findings
Model_only recovery strategy achieves highest task completion and quality scores.
Inter-rater agreement on task scoring is strong with Cohen's kappa of 0.84.
Model_only outperforms rule_only and no_recovery strategies significantly.
Abstract
Large language models deployed for MAPDL finite-element simulation face practical reliability challenges: without structured execution control, tool encapsulation, and fault recovery, outputs may be inconsistent and task failures are common. The Agent Harness paradigm addresses this by inserting domain-specific orchestration middleware that manages tool lifecycles, workflow state, and recovery escalation. This paper presents the architecture of CAX-Agent, a lightweight agent harness purpose-built for MAPDL automation, and empirically evaluates one of its core components -- the recovery policy.CAX-Agent organizes execution into three layers -- LLM service, agent harness, and solver backend -- with a recovery ladder that escalates from deterministic rule patching through model-driven regeneration to context enrichment and human intervention. We evaluate three recovery strategies…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
