GENIUS: An Agentic AI Framework for Autonomous Design and Execution of Simulation Protocols

Mohammad Soleymanibrojeni, Roland Aydin, Diego Guedes-Sobrinho, Alexandre C. Dias, Maurício J. Piotrowski, Wolfgang Wenzel, Celso Ricardo Caldeira RêgoarXiv 2025 · DOI

Introduction

Density Functional Theory (DFT) is a cornerstone of modern materials science, enabling the prediction of material properties with high accuracy. However, a significant "know-do gap" persists. While software packages like Quantum ESPRESSO (QE) are robust, their interfaces require specialized knowledge of arcane syntax and parameter tuning. This technical barrier often prevents experimentalists from leveraging computational tools effectively. GENIUS (Generative ENgine for Integrated User-driven Simulations) is an agentic AI framework designed to bridge this gap by automating the setup, execution, and debugging of simulation protocols through natural language processing.

System Architecture

The GENIUS framework is built upon three primary architectural pillars designed to ensure accuracy, cost-efficiency, and reliability.

High-level architecture of the GENIUS framework, illustrating the interaction between the knowledge graph, orchestration layer, and simulation agents.

1. Smart Knowledge Graph (KG)

To mitigate the risk of hallucinations common in large language models (LLMs), GENIUS utilizes a curated Knowledge Graph containing 247 nodes and 330 edges derived from official QE documentation. This KG acts as a "ground truth," allowing the system to perform context-aware retrieval. For instance, if a user requests a simulation for a "Cu surface," the KG helps the system infer that "Metallic" system settings are required, even if not explicitly stated in the prompt.

2. Tiered LLM Hierarchy

The framework employs a "worker-referee" model to balance performance and operational costs. Routine tasks are handled by lightweight models (e.g., Mistral or DBRX), while more complex reasoning or stalled workflows trigger the invocation of high-capability "Referee" models like Claude 3.5 Sonnet. This hierarchical approach has been shown to halve inference costs without compromising the quality of the generated protocols.

3. Finite-State Error Recovery

Unlike static generation tools, GENIUS incorporates a finite-state machine (FSM) to manage a "self-healing" loop. The system executes the simulation, monitors for failures, parses error messages, and queries the KG for potential fixes. This ensures the process remains transparent and reproducible.

The Agentic Workflow

The core strength of GENIUS lies in its iterative workflow, which moves beyond simple "zero-shot" generation to active problem-solving.

Detailed workflow of the GENIUS system, highlighting the automated error handling and protocol generation loops.

As shown in the workflow diagram, the process begins with a user request, which the Recommendation System processes to initialize a workflow. It retrieves structural data from databases like Materials Cloud (MC2D/MC3D) and extracts necessary parameters. Once a protocol is generated and an input file is created, the system enters the Execution and Validation phase. If a failure is detected, the Automated Error Handling module takes over, attempting corrections or switching models based on a predefined retry logic.

Key Results and Insights

The framework was rigorously evaluated using 295 human-generated prompts categorized by complexity (Basic, Standard, and Complex).

  • Autonomous Repair Success: While only 18% of simulations succeeded on the first attempt, the agentic loop successfully repaired 76.28% of initial failures. This iterative process resulted in a final overall success rate of approximately 80%.
  • Hallucination Suppression: By anchoring the LLM's responses to the Smart KG, the authors effectively eliminated parameter hallucinations, ensuring that the generated syntax adheres strictly to software requirements.
  • Efficiency of Retries: Data suggests an exponential decay in success rates over multiple retries; most recoverable errors are resolved within the first three iterations, providing a clear benchmark for computational efficiency.

Conclusion and Future Directions

GENIUS represents a significant step toward the democratization of computational materials science. By allowing researchers to interact with complex simulation codes via natural language, it shifts the focus from syntax management to scientific discovery. Future developments will focus on expanding the framework's scope to include molecular dynamics and other simulation modules, as well as integrating "physics-informed" validators to ensure the scientific integrity of the outputs alongside their syntactic correctness.

Summary updated

BibTeX
@misc{soleymanibrojeni2025genius,
  author = {Mohammad Soleymanibrojeni and Roland Aydin and Diego Guedes-Sobrinho and Alexandre C. Dias and Maurício J. Piotrowski and Wolfgang Wenzel and Celso Ricardo Caldeira Rêgo},
  title = {{GENIUS: An Agentic AI Framework for Autonomous Design and Execution of Simulation Protocols}},
  year = {2025},
  eprint = {2512.06404},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.06404},
}
Figure