Can AI Agents Reliably Optimize Computational Chemistry Codes?
Mathew Chow, Tao E. Li
Key points
From the paper's conclusion- Overall, our benchmark study provides an example of AI-assisted advances in computational chemistry.
Abstract
Artificial intelligence (AI) approaches have opened new possibilities in computational and theoretical chemistry. AI agents can now execute computational workflows autonomously, and their use in scientific software development represents another promising direction. Herein, we present a general strategy for the controlled optimization of scientific software using a dual-agent harness. By using separate worker and controller agents for optimization and evaluation, respectively, we find that this approach can reduce computational costs while preserving numerical accuracy for the computational chemistry methods examined. We apply this strategy to TIP4P water simulations in LAMMPS, as well as to Coulomb and exchange matrix construction and linear-response time-dependent density functional theory (TDDFT) calculations in PySCF. Among these applications, the largest speedups are obtained for TDDFT. We then extend this strategy from optimizing established packages to developing efficient parallel CPU- and GPU-accelerated implementations of an initially serial molecular dynamics code, resulting in speedups of two to three orders of magnitude. Finally, we apply the protocol to open-ended algorithm development by constructing an adaptive self-consistent field approach that coordinates the use of multiple solvers. We find that the resulting approach can converge some challenging systems and occasionally reach lower-energy solutions than those obtained with the standalone solvers tested. These applications demonstrate that a strategy developed for improving code efficiency may also support the systematic development of computational methods. Overall, our benchmark study provides an example of AI-assisted advances in computational chemistry.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Autonomous Optimization of Numerical Algorithms by an AI Agent: Application to Atomistic SimulationarXiv · 2026
- ChemGraph as an agentic framework for computational chemistry workflowsCommunications Chemistry · 2026
- Optimizing the Optimizer: Language Models Discover Faster Molecular RelaxationarXiv · 2026
- LLM-guided chemical process optimization with a multi-agent approachMachine Learning Science and Technology · 2025
- ChemRefine: An Open-Source Automated and Interoperable Platform for Machine Learning and Quantum Chemistry SimulationsJournal of Chemical Theory and Computation · 2026
- Simple Agents Outperform Experts in Biomedical Imaging Workflow Optimization.Proceedings. IEEE Computer Society Conference on Computer Vision and Pattern Recognition · 2026