A multi-agent system for automated MCNP input review using open-weight LLMs

Large language models (LLMs) have demonstrated promising performance in code generation, but their reliability remains limited for domain-specific simulation codes, such as Monte Carlo N-Particle (MCNP), which requires a strict card-based syntax and often iterative debugging. While commercial LLMs can assist in debugging such scripts, their effectiveness is limited due to insufficient domain knowledge of MCNP. In nuclear engineering, the use of commercial LLMs is constrained by security requirements, motivating local review systems for MCNP input scripts. Although open-weight LLMs are a practical choice, their performance remains lower than that of commercial LLMs, requiring mechanisms to compensate for this limitation. In this paper, we propose a multi-agent system for MCNP input script review. The system consists of Supervisor, Fixer, and Validator agents and supporting tools. A benchmark dataset of 360 MCNP input scripts representing nuclear engineering problems was constructed for evaluation. Results show that the proposed system achieves an execution success rate of 75.83% and a functional success rate of 47.22%, which are higher than those of the single-agent baseline. These results demonstrate the effectiveness of multi-agent orchestration for consistent and improved validation and correction of MCNP code in local environments, while framing the gap between execution and physical correctness.

Authors

Institutions

Publication Details

Journal
Nuclear Engineering and Technology
Published
2026-06-30
DOI
https://doi.org/10.1016/j.net.2026.104524
Primary Topic
Speech and dialogue systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A multi-agent system for automated MCNP input review using open-weight LLMs

Byoungil Jeon, Soobin Lim
Nuclear Engineering and Technology
Speech and dialogue systems
article

A multi-agent system for automated MCNP input review using open-weight LLMs

Byoungil Jeon, Soobin Lim
article en

Abstract

Large language models (LLMs) have demonstrated promising performance in code generation, but their reliability remains limited for domain-specific simulation codes, such as Monte Carlo N-Particle (MCNP), which requires a strict card-based syntax and often iterative debugging. While commercial LLMs can assist in debugging such scripts, their effectiveness is limited due to insufficient domain knowledge of MCNP. In nuclear engineering, the use of commercial LLMs is constrained by security requirements, motivating local review systems for MCNP input scripts. Although open-weight LLMs are a practical choice, their performance remains lower than that of commercial LLMs, requiring mechanisms to compensate for this limitation. In this paper, we propose a multi-agent system for MCNP input script review. The system consists of Supervisor, Fixer, and Validator agents and supporting tools. A benchmark dataset of 360 MCNP input scripts representing nuclear engineering problems was constructed for evaluation. Results show that the proposed system achieves an execution success rate of 75.83% and a functional success rate of 47.22%, which are higher than those of the single-agent baseline. These results demonstrate the effectiveness of multi-agent orchestration for consistent and improved validation and correction of MCNP code in local environments, while framing the gap between execution and physical correctness.

Nuclear Engineering and TechnologyVol. 58(11)
Korea Atomic Energy Research Institute (KR), Quantum Technologies (Sweden) (SE)
Openalex Percentile: Top 8%
Speech and dialogue systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.