mlsanityData to 14 Oct 2026

AutoSAM: an Agentic Framework for Automating Input File Generation for the SAM Code with Multi-Modal Retrieval-Augmented Generation

arXiv 2603.24736 ↗First posted 25 Mar 2026cs.AI cs.LGcited by 2

On the map: Retrieval-augmented generation → RAG for code

also in 1 more
Abstract (arXiv)

In the design and safety analysis of advanced reactor systems, constructing input files for system-level thermal-hydraulics codes such as the System Analysis Module (SAM) remains a labor-intensive task. Analysts must extract and reconcile design data from heterogeneous engineering documents and manually translate it into solver-specific syntax. In this paper, we present AutoSAM, an agentic framework that automates SAM input file generation. The framework combines a large language model agent with retrieval-augmented generation over the solver's user guide and theory manual, together with specialized tools for analyzing PDFs, images, spreadsheets, and text files. AutoSAM ingests unstructured engineering documents, including system diagrams, design reports, and data tables, extracts simulation-relevant parameters into a human-auditable intermediate representation, and synthesizes validated, solver-compatible input decks. Its multimodal retrieval pipeline integrates scientific text extraction, vision-based figure interpretation, semantic embedding, and query answering. We evaluate AutoSAM on four case studies of increasing complexity: a single-pipe steady-state model, a solid-fuel channel with temperature reactivity feedback, the Advanced Burner Test Reactor core, and the Molten Salt Reactor Experiment primary loop. Across all cases, the agent produces runnable SAM models consistent with expected thermal-hydraulic behavior while explicitly identifying missing data and labeling assumed values. The framework achieves 100% utilization of structured inputs, about 88% extraction from PDF text, and 100% completeness in vision-based geometric extraction. These results demonstrate a practical path toward prompt-driven reactor modeling, in which analysts provide system descriptions and supporting documentation while the agent translates them into transparent, and executable, SAM simulations.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in RAG for code, one of 15 directions in Retrieval-augmented generation. Builds on 13 of its 45 references that are in the map. First posted on arXiv 25 Mar 2026.

Builds on

13 of 45 references.

References · 13

  1. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  2. 2023LooGLE: Can Long-Context Language Models Understand Long Contexts?cited by 202
  3. 2023Retrieval meets Long Context Large Language Modelscited by 115
  4. 2024BioRAG: A RAG-LLM Framework for Biological Question Reasoningcited by 43
  5. 2025BioReason: Incentivizing Multimodal Biological Reasoning within a DNA-LLM Modelcited by 37
  6. 2024CLLMate: A Multimodal Benchmark for Weather and Climate Events Forecastingcited by 20
  7. 2025MatterChat: A Multi-Modal LLM for Material Sciencecited by 18
  8. 2025Effects of Prompt Length on Domain-specific Tasks for Large Language Modelscited by 11
  9. 2025A Multi-LLM-Agent-Based Framework for Economic and Public Policy Analysiscited by 11
  10. 2025Autonomous Agents for Scientific Discovery: Orchestrating Scientists, Language, Code, and Physicscited by 11
  11. 2025An AI-Driven Thermal-Fluid Testbed for Advanced Small Modular Reactors: Integration of Digital Twin and Large Language Modelscited by 5
  12. 2024TRIZ-GPT: An LLM-augmented method for problem-solvingcited by 3
1 more
  1. 2025Automating Data-Driven Modeling and Analysis for Engineering Applications using Large Language Model Agentscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026RADIANT-LLM: an Agentic Retrieval Augmented Generation Framework for Reliable Decision Support in Safety-Critical Nuclear Engineering
  2. 2024Retrieval-Augmented Instruction Tuning for Automated Process Engineering Calculations : A Tool-Chaining Problem-Solving Framework with Attributable Reflection
  3. 2025Agentic Large Language Models for Conceptual Systems Engineering and Design
  4. 2026Sketch2Simulation: Automating Flowsheet Generation via Multi Agent Large Language Models
  5. 2025Chain of Unit-Physics: A Primitive-Centric Approach to Scientific Code Synthesis
  6. 2024An Agentic Approach to Automatic Creation of P&ID Diagrams from Natural Language Descriptions
  7. 2026From Text to Simulation: A Multi-Agent LLM Workflow for Automated Chemical Process Design
  8. 2026Can Coding Agents Reproduce Findings in Computational Materials Science?