Large Language Model Agent for Modular TaskExecution in Drug Discovery

Janghoon Ock, Radheesh Sharma Meda, Srivathsan Badrinarayanan, N. R. Aluru, Achuth Chandrasekhar, Amir Barati FarimaniResearch Square 2025

Abstract

We present a modular framework powered by large language models (LLMs) that automates and streamlines key tasks across the early-stage computational drug discovery pipeline. By combining LLM reasoning with domain-specific tools, the framework performs biomedical data retrieval, domain-specific question answering, molecular generation, property prediction, property-aware molecular refinement, and 3D protein–ligand structure generation. In a case study targeting BCL-2 in lymphocytic leukemia, the agent autonomously retrieved relevant biomolecular information—including FASTA sequences, SMILES representations, and literature—and answered mechanistic questions with improved contextual accuracy over standard LLMs. It then generated chemically diverse seed molecules and predicted 67 ADMET-related properties, which guided iterative molecular refinement. Across two refinement rounds, the number of molecules with QED > 0.6 increased from 34 to 55, and those passing at least four out of five empirical drug-likeness rules rose from 29 to 52, within a pool of 194 molecules. The framework also employed Boltz-2 to generate 3D protein–ligand complexes and provide rapid binding affinity estimates for candidate compounds. These results demonstrate that the approach effectively supports molecular screening, prioritization, and structure evaluation. Its modular design enables flexible integration of evolving tools and models, providing a scalable foundation for AI-assisted therapeutic discovery.

Introduction

The journey from identifying a biological target to developing a viable drug candidate is notoriously long, expensive, and fragmented. While powerful computational tools exist for various stages of this process, they often operate as isolated "islands," requiring manual, expert-level orchestration to bridge the gaps. This fragmentation contributes to the high cost and lengthy timelines characteristic of early-stage drug discovery.

To address these challenges, we introduce AgentD, an LLM-powered framework designed to automate the early-stage drug discovery pipeline. By utilizing GPT-4o as a "reasoning engine," AgentD coordinates specialized tools for data retrieval, molecular generation, and 3D structure prediction, turning a manual, iterative process into a unified, autonomous workflow.

Methodology

The core of AgentD is built on the LangChain library, employing GPT-4o as a central controller. Rather than functioning as a simple chatbot, the LLM interprets high-level scientific intent to call upon six specialized modules:

  1. Data Extraction: Interfaces with APIs such as UniProt and ChEMBL to retrieve protein sequences and known small molecule data.
  2. Question Answering: Utilizes Retrieval-Augmented Generation (RAG) to source context from scientific literature via Semantic Scholar, ensuring grounded mechanistic insights.
  3. SMILES Generation: Employs REINVENT for de novo design and Mol2Mol for structural analogs.
  4. Property Prediction: Integrates Deep-PK for ADMET profiling and BAPULM for binding affinity estimation.
  5. Molecule Refinement: Uses zero-shot reasoning to identify molecular flaws and propose structural edits.
  6. Structure Generation: Leverages Boltz-2 to predict 3D protein-ligand complexes and binding metrics.
Overview of the AgentD framework and its six specialized modules.

The framework was validated using targets such as BCL-2 (lymphocytic leukemia), JAK2 (myelofibrosis), and KIT (renal cell carcinoma), drawing data from established bioinformatics databases including UniProt, ChEMBL, and PubChem.

Results and Key Insights

Enhanced Contextual Reasoning

A significant advantage of the AgentD framework is its use of RAG. In the BCL-2 case study, while standard LLMs provided generic information about apoptosis, AgentD correctly identified specific mechanistic details, such as the Integrated Stress Response (ISR) pathway and eIF2α phosphorylation. This demonstrates the framework's ability to provide contextually accurate information grounded in current literature.

Autonomous Molecular Optimization

AgentD demonstrated a remarkable ability to improve the drug-likeness of candidate molecules through iterative refinement. By applying "latent" chemical intuition, the LLM suggested valid bioisosteric replacements to address specific ADMET failures, such as replacing a hydroxyl group with a methyl group to improve permeability.

The Molecule Refinement module uses LLM reasoning to propose structural updates based on predicted properties.

In the BCL-2 study, two rounds of refinement led to:

  • An increase in molecules with a QED (Quantitative Estimate of Drug-likeness) score > 0.6 from 34 to 55.
  • An increase in molecules passing at least four out of five empirical drug-likeness rules from 29 to 52, out of a pool of 194 candidates.

Discussion and Future Work

While AgentD represents a significant step toward autonomous drug discovery, several challenges remain. The current refinement process often faces trade-offs, where improving one property (e.g., permeability) may negatively impact another (e.g., solubility). Future iterations will focus on multi-objective optimization to balance these competing goals more effectively.

Additionally, while the LLM shows strong chemical intuition, occasional "faulty" edits occur where structural changes do not align with the stated intent. Expanding literature access beyond open-access papers and integrating autonomous Molecular Dynamics (MD) simulations for structural validation are key priorities for future development. AgentD's modular design ensures it can scale and adapt as new AI models and computational tools emerge.

Summary updated

BibTeX
@inproceedings{ock2025large,
  author = {Janghoon Ock and Radheesh Sharma Meda and Srivathsan Badrinarayanan and N. R. Aluru and Achuth Chandrasekhar and Amir Barati Farimani},
  title = {{Large Language Model Agent for Modular TaskExecution in Drug Discovery}},
  booktitle = {Research Square},
  year = {2025},
  doi = {10.21203/rs.3.rs-7483304/v1},
}
Figure