CAX-Agent: A Lightweight Agent Harness for Reliable APDL Automation

Chenying Lin, Yichen Hai, Yi He, Ran Wang, Haiyan Qiang, Liang Yu

arXiv:2605.15218 · 2026-05-18 공개 · arXiv · PDF

benchmark-evaluation task-completion agent-harness finite-element-simulation llm-service solver-backend model-driven-regeneration rule-based-patching

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 (no_recovery, rule_only, and model_only) on 50 standard structural benchmarks with three repeated runs per strategy (450 case-runs total). Two independent human raters score task completion under blind conditions; inter-rater agreement is strong (quadratic weighted Cohen's kappa = 0.84, 96 percent of score pairs within one point). Model_only achieves the best completion rate (0.9267), task score (3.59/4), total score (9.16/10), and zero-intervention rate (0.84), outperforming rule_only (0.7733, 3.17/4, 7.03/10, 0.00) and no_recovery (0.6933, 2.74/4, 5.60/10, 0.00) with large effect sizes (Cliff's delta = 0.81-0.87). The benchmark uses deliberately simple geometries to isolate recovery-policy effects; we discuss the scope of these findings and directions for broader validation.

한국어 요약

📋 한 줄 요약

**[엔지니어링 자동화 에이전트]** MAPDL 유한요소 시뮬레이션 자동화를 위한 경량 에이전트 하니스 CAX-Agent를 제안하고, 모델 기반 복구 전략이 최고 0.9267 완료율을 달성함을 입증했다.

🎯 핵심 기여도

💡 핵심 아이디어

LLM이 MAPDL 시뮬레이션을 직접 수행하면 출력 일관성·실패 복구가 큰 문제다. 에이전트 하니스 패러다임에 따라 도메인 특화 미들웨어를 삽입하여 도구 수명주기, 워크플로 상태, 복구 escalation을 관리하면 신뢰성을 크게 끌어올릴 수 있다. 특히 단순 규칙 패칭보다 모델 기반 재생성이 더 강력함을 데이터로 보였다.

🔬 기술적 접근법

📊 주요 결과

💭 의의 및 한계

LLM 기반 CAE 자동화에서 "복구 정책"이 신뢰성의 결정적 요인임을 정량적으로 증명한 점이 의미 있다. 다만 벤치마크가 의도적으로 단순한 형상으로 구성되어 복잡한 산업 현장 형상·접촉·비선형 문제로의 일반화는 추가 검증이 필요하다.

🚀 실용적 활용

사내 CAE 워크플로(구조해석, 열전달, 진동 등)의 setup 자동화, 시뮬레이션 디버깅 보조, 신입 엔지니어 onboarding 도구 등 안정성이 중요한 엔지니어링 에이전트 시스템 구축에 직접 적용 가능하다.