cs.AIAug 27, 2026

AgentFold: Closed-Loop Agentic Search for Protein Folding Model Design

Authors: Mingquan Liu, Jiangyu Chen, Hanqun Cao, Xujun Zhang, Pengsen Ma, Xiangru Tang, Shuting Jin, Zhuo Yang, +4 more

Organizations: State Key Lab. of Chemo & Biosensing, Coll. of Comp. Sci. & Electron. Eng., Hunan University · State Key Laboratory for Novel Software Technology, Sch. of Comput. Sci., Nanjing University · The Chinese University of Hong Kong · Zhejiang University · Yale University · Wuhan University of Science and Technology · South China Normal University Affiliated High School · Southeast University · Stanford University

Abstract

Scientific LLM agents have shown promise in literature reasoning, tool use, and experiment planning, but it remains unclear whether they can autonomously improve large, tightly coupled scientific machine-learning systems through executable code changes and computationally expensive validation. We study this question in protein folding, where progress requires coordinated architectural modifications, multi-objective evaluation, and domain-aware interpretation. We present AgentFold, a multi-agent framework that formulates folding-model development as a closed-loop search over executable code variants. Starting from ESMFold, AgentFold proposes hypotheses, implements and debugs code-level modifications, evaluates model variants, analyzes experimental outcomes, and stores both successful and failed interventions in structured memory. An MCTS-style policy allocates computational resources across high-scoring search branches. On an engineering-scale protein-folding codebase comprising more than 2,000 lines of code, AgentFold explores approximately 80 model variants using approximately 5,000 GPU-hours and 170 million LLM tokens. Under a matched computational budget, AgentFold improves the best lDDT by 7.5% over independent Codex proposals and outperforms a random-search control. Beyond model improvement, the resulting intervention traces reveal recurring empirical design patterns: stable gains tend to arise from early, soft, learnable priors and gated refinement, whereas direct geometric perturbations and geometry-conditioned feedback often destabilize training. The code and experimental resources are publicly available at https://github.com/lmqfly/AgentFold.

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Protein Design with Agent Rosetta: A Case Study for Specialized Scientific Agents

    Mar 16, 2026Jacopo Teneggi, S. M. Bargeen A. Turzo, Tanya Marwah +4Tool-Augmented Language Model AgentsAI Agents for Scientific Discovery

  2. AgentPLM: Agentic Protein Language Models with Reasoning-Augmented Decoding for Protein Sequence Design

    Jun 1, 2026Sahil Rahman, Maxx Richard RahmanRL for Language ModelsDirect Preference Optimization

  3. Agentic BAIM-LLM Evaluation (ABLE): Benchmarking LLM Use of Protein Design Tools

    Sep 5, 2026Bryce Cai, Geetha Jeyapragasan, Samira Nedungadi +2LLM Tool UseLLM Agent Evaluation