Automating MD simulations for Proteins using Large language Models: NAMD-Agent
Achuth Chandrasekhar, Amir Barati Farimani · 2025
Read Automating MD simulations for Proteins using Large language Models: NAMD-Agent by Achuth Chandrasekhar, Amir Barati Farimani (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2507-07887.txt.
Introduction
A research team presented an agent system in 2025 that runs molecule simulations with little hands-on work. Setting up such runs for proteins is slow and full of small errors. Their pipeline joins language model agents with Python scripts and lab tools to build run files, launch the runs, read the results, and fix failures.
The team tested the pipeline on five kinds of systems, from a protein bound to DNA to a protein pair. For the DNA case, the runs matched an outside published benchmark well. The full DNA study was also rerun under three different language models as drivers. All three finished, but they differed in how well they matched the benchmark and in cost by wide margins. The authors say the setup cuts setup time and manual slips.
Catalog record
| CREATOR | Achuth Chandrasekhar, Amir Barati Farimani |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 42 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2507-07887
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Automating MD simulations for Proteins using Large language Models: NAMD-Agent Achuth Chandrasekhar, Amir Barati Farimani Abstract Molecular dynamics simulations are an essential tool in understanding protein structure, dynamics, and function at the atomic level. However, preparing high-quality input files for MD simulations can be a time-consuming and error-prone process. In this work, we introduce an automated pipeline that leverages Large Language Models (LLMs), specifically Gemini-2.0-Flash, in conjunction with python scripting and Selenium-based web automation to streamline the generation of MD input files. The pipeline exploits CHARMM-GUI’s comprehensive web-based interface for preparing simulation-ready inputs for NAMD. By integrating Gemini’s code generation and iterative refinement capabilities, simulation scripts are automatically written, executed, and revised to navigate CHARMM-GUI, extract appropriate parameters, and produce the required NAMD input files. Post-processing is performed using additional software to further refine the simulation outputs, thereby enabling a complete and largely hands-free workflow. Our results demonstrate that this approach reduces setup time, minimizes manual errors, and offers a scalable solution for handling multiple protein systems in parallel. This automated framework paves the way for broader application of LLMs in computational structural biology, offering a robust and adaptable platform for future developments in simulation automation. 1 Introduction LLMs are an engineering milestone that burst onto the scene in November 2022 with the announcement of ChatGPT. Their development was inspired by the paper, "Attention Is All You Need" , published by a team of researchers at Google in 2017 [ 1 ] . With vast amounts of training data at their disposal LLMs are able to generate coherent text as well as perform agentic tasks at near-human levels of efficiency. [ 2 ] , [ 3 ] , [ 4 ] , [ 5 ] , [ 6 ] . CHARMM-GUI [ 7 ] is a web interface designed to simplify the setup of biomolecular simulations by offering a suite of user-friendly builders and tools. These builders guide users through critical preparatory steps, such as structural refinement, parameter selection, membrane construction, glycan modeling, and ion placement. By automating much of the setup process for popular MD engines (CHARMM, NAMD, AMBER, and GROMACS) [ 8 ] , CHARMM-GUI lowers the barrier to entry for molecular dynamics simulations, reduces human error, and ensures consistency in system construction. Its step-by-step workflow not only simplifies the preparation of complex systems like membrane proteins or multi-component assemblies but also provides detailed documentation that researchers can reference for reproducibility and methodological rigor. In this work, we have developed a system that utilises the selenium python web automation library [ 9 ] that automates the preparation of input files through CHARMM-GUI for molecular dynamics simulations and the subsequent execution and post-processing of the output data. LLMs are used in an agentic AI framework [ 10 , 11 , 12 , 13 , 14 ] to accept the human user’s directions as a textual query as well as handling the CHARMM-GUI website and NAMD3 software using python code. In this work we have contributed the following to practical AI implementations for computational biology: 1. Giving LLMs freedom to organize and run code. 2. Automating a web user interface that is originally designed for a high degree of automation. 3. An end-to-end pipeline for molecular dynamics simulation utilizing web automation and LLMs 2 Related Works 2.1 Automated GROMACS-based MD simulations Automating molecular dynamics (MD) simulation workflows has been a focus of many recent tools and frameworks. Setting up and running MD for biomolecular systems is a complex, multi-step process that traditionally demands significant time and expertise. To alleviate these challenges, a variety of automation tools have been developed to streamline simulation setup, execution, and analysis. For example, CHAPERONg was introduced as an automated pipeline for GROMACS MD simulations of proteins and protein–ligand complexes [ 15 ] . CHAPERONg integrates with GROMACS modules and third-party programs to perform up to 20 post-simulation analysis tasks, covering everything from trajectory processing to free energy landscape calculations, thereby making MD workflows more accessible to non-experts while freeing experienced users to focus on interpreting results. In a similar vein, Gmx_qk [ 16 ] provides a bash-based workflow (with a simple graphical interface via Zenity) that enables users with minimal command-line experience to run protein or protein–ligand simulations in GROMACS, automatically carrying out energy minimization, equilibration, production runs, and even binding free energy analysis (MM/PBSA) with minimal user intervention. Such tools significantly reduce the manual effort and potential for error in MD setup – for instance, Gmx_qk can launch a complete simulation sequence within seconds of providing input files and basic parameters, a process that would otherwise take tens of minutes to configure by hand. The agentic system introduced in this work is designed to leverage CHARMM-GUI to dynamically generate parameter and input files, rather than relying on pre-existing ones. 2.2 easyAmber and Admiral Automation frameworks have also been developed for other MD platforms. easyAmber is one example targeting the Amber simulation suite, providing a collection of wrapper scripts to fully automate protein MD protocols [ 17 ] . The easyAmber toolkit handles system setup, force field assignment, equilibration, and both classical and accelerated MD simulations in Amber, all through highly automated workflows. By encapsulating advanced but routine procedures, easyAmber lowers the barrier for Amber users and promotes adoption of MD techniques in everyday research. Beyond general-purpose pipelines, some tools cater to specialized MD tasks. Admiral (Automated Docking and Molecular Dynamics Informatics and Analysis) is a platform that automates not only MD simulations but also upstream docking and downstream reporting in a drug discovery context [ 18 ] . Developed at a pharmaceutical company, Admiral can take a proposed compound, perform docking and MD on the protein–ligand system, then analyze the trajectory and other properties to automatically generate a comprehensive report (including simulation metrics, predicted ADME properties, and even an animated visualization) for medicinal chemists. Likewise, focusing on free energy calculations, PyAutoFEP automates the setup and execution of alchemical free energy perturbation simulations in GROMACS [ 19 ] . This open-source tool generates the required perturbation maps and dual-topology inputs, builds the simulation systems, runs enhanced-sampling MD, and processes the results, thus streamlining what would otherwise be a labor-intensive series of steps in binding affinity estimation. These examples illustrate the breadth of automation efforts in MD: from general workflow management to GUI-assisted pipelines and task-specific tools, the goal is to reduce human effort in simulation preparation and analysis across different MD engines. 2.3 Large Language Models for MD Simulations Recent advances in artificial intelligence suggest that large language models (LLMs) can further enhance automation in MD simulations. Traditional MD automation tools are typically rule-based and limited to predefined protocols, whereas LLMs can interpret flexible user instructions and make context-dependent decisions. For instance, Campbell et al. introduced MDCrow, an LLM-driven assistant that uses a chain-of-thought approach with a suite of specialized tools to autonomously carry out MD simulation tasks [ 20 ] . Given a high-level goal, an agent like MDCrow can prepare input files, select force fields and parameters, execute simulations, analyze trajectory outputs, and even query literature or databases to put the results in context. Such an LLM-based system effectively acts as a researcher’s “co-pilot,” capable of generating or optimizing MD inputs on the