El Agente Quntur: Agentic Active-Space Selection for CASSCF

Juan B. Pérez-Sánchez, Viviana Roman-Ventura, Olalla Nieto-Faza, Aiwei Yin, Alán Aspuru-Guzik, Varinia Bernales

TL;DR

Researchers have developed El Agente Quntur, a multi-agent AI system that automates one of the most "black-box" tasks in quantum chemistry: selecting the "active space" for multireference calculations. By using a feedback loop of planning, execution, and result inspection, the system reduced prediction errors for molecular excitation energies by 48% compared to state-of-the-art deterministic algorithms.

What Problem Does This Paper Address?

In the world of quantum chemistry, accurately predicting how molecules interact with light (electronic excitations) often requires a method called CASSCF (Complete Active Space Self-Consistent Field). The catch? To use it, a researcher must manually choose an "active space"—a specific subset of electrons and orbitals that are most important for the chemical process.

This selection is notoriously difficult. Choose too few orbitals, and you miss the physics; choose too many, and the calculation becomes computationally impossible. Even worse, orbitals can "drift" or "escape" during the calculation, leading to technically converged but physically wrong results. Traditionally, this required a "human-in-the-loop" with years of expertise to babysit the simulations. This paper asks: Can an agentic AI system make these expert-level decisions reliably?

Methods

The authors utilize El Agente Quntur, a hierarchical multi-agent "harness" powered by LLMs (specifically GPT-5.6 Sol for high-level reasoning and GPT-5.6 Terra for technical execution).

Unlike a standard script that follows a fixed path, Quntur operates in an iterative loop:

  1. Scout: Agents inspect preliminary orbitals and literature data.
  2. Plan & Adjust: The casscf_expert proposes an active space based on chemical intuition (e.g., identifying lone pairs or $\pi$ systems).
  3. Run: The system executes heavy-duty quantum chemistry software like ORCA or PySCF.
  4. Inspect & Revise: This is the "agentic" secret sauce. Agents look at the output—checking orbital occupations, symmetry, and state character—to decide if the result is trustworthy. If an orbital "escaped" or the wrong state was targeted, the agent triggers a revision and reruns the calculation with a corrected strategy.
The conceptual workflow of El Agente Quntur, showing the iterative loop of orbital selection and result inspection.

Datasets

The system was evaluated on a benchmark of 32 diverse singlet excitations across 31 different molecules (including common ones like cytosine, benzene, and acetone). This benchmark was specifically chosen because it had previously been used to test the Active Space Finder (ASF), a state-of-the-art deterministic protocol, providing a direct "man vs. machine-script" comparison.

Key Insights and Ideas

  • Active Space as a Hypothesis: The agents treat their initial orbital selection as a hypothesis to be tested, not a final command. If the evidence (like orbital images or energy gaps) contradicts the plan, they pivot.
  • State Identity Matters: A major "aha moment" in the paper is that numerical convergence $\neq$ success. In several cases, the AI detected that a calculation had converged to the wrong electronic state (e.g., a Rydberg state instead of the intended valence state) and used symmetry-targeting to fix it.
  • Handling "Orbital Escape": In molecules like Cytosine, orbitals intended to be in the active space can "drift" out during optimization. Quntur agents were able to detect this "orbital loss" and adopt fallback strategies to recover the intended physics.
Example of Cytosine (006) where the agent detected "orbital escape" and rejected a technically converged but physically incorrect result.

Key Results

  • Superior Accuracy: El Agente Quntur achieved a Mean Absolute Error (MAE) of 0.239 eV, a 48% reduction in error compared to the best-performing version of the deterministic ASF protocol (0.459 eV).
  • Reliability: While deterministic protocols failed to produce a result for several molecules in the set, Quntur successfully returned a valid gap for all 32 cases.
  • No "Blowups": Quntur had zero errors greater than 1 eV, whereas the best deterministic protocol had six such "misses."
Error distribution comparing Quntur against various Active Space Finder (ASF) protocols. Quntur shows a significantly tighter distribution and lower median error.

Limitations and Future Work

While highly accurate, the agentic approach is currently expensive and slow. The "diagnostic work" performed by the agents—repeated searches, model calls, and trial calculations—adds significant overhead.

  • Efficiency: The total time spent "outside" the actual chemistry software was much higher than the calculation time itself. Future work will focus on "runtime-aware" decision-making to prune unnecessary diagnostic steps.
  • Communication Overhead: The authors noted redundancy in inter-agent communication that could be streamlined.
  • Stopping Criteria: Defining exactly when a result is "good enough" remains a challenge for the agents, sometimes leading them to perform more work than necessary to resolve minor ambiguities.

Summary updated

Abstract

Multireference calculations often require substantial human expertise and time to choose and refine an active space for the electronic states or chemical process of interest. This involves selecting which orbitals to include, verifying that the calculation describes the intended excited state, and deciding whether the results have converged. Here, we ask whether scientific agentic systems (harnesses) can make these decisions reliably. We use the El Agente Quntur multi-agent harness, with GPT-5.6 Sol and GPT-5.6 Terra as the underlying LLM components, to explore 32 diverse singlet excitations at fixed molecular geometries. The agents planned and executed calculations, choosing and refining active spaces under prompts that specified equal-weight two-singlet state-averaged CASSCF followed by strongly contracted NEVPT2 with def2-TZVPD. We evaluate excitation energies against published CASPT2 reference values at matching geometries and compare performance with six deterministic Active Space Finder protocols. Within the El Agente Quntur system, agents detect missing active orbitals, compare candidate excited states, and revise state assignments as calculations progress. Agentic execution reduced mean absolute error by 48\% relative to the state-of-the-art Active Space Finder protocol. We note that computational traces vary substantially across runs in both active space selection strategies and cost, even for the same molecule. Our results underscore the advantage of agentic active space selection over fixed workflows, yet leave room to improve efficiency through runtime-aware decision-making, reduced inter-agent communication overhead and redundancy, more systematic checks of state identity, and clearer stopping criteria.
BibTeX
@misc{perezsanchez2026el,
  author = {Juan B. Pérez-Sánchez and Viviana Roman-Ventura and Olalla Nieto-Faza and Aiwei Yin and Alán Aspuru-Guzik and Varinia Bernales},
  title = {{El Agente Quntur: Agentic Active-Space Selection for CASSCF}},
  year = {2026},
  eprint = {2610.38145},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.38145},
}
Figure