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

Mingquan Liu, Jiangyu Chen, Hanqun Cao, Xujun Zhang, Pengsen Ma +6 more
8/27/2026
cs.AI

Official code: lmqfly/AgentFold (0 stars, last commit 2026-08-26).

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.

View on arXivView PDF

Code Implementations(1)

lmqfly/AgentFoldOfficial100%
00C, C++Aug 24, 20261 months ago

Similar Papers

Cite this paper

@article{liu2026agentfold,
  title  = {AgentFold: Closed-Loop Agentic Search for Protein Folding Model Design},
  author = {Mingquan Liu and Jiangyu Chen and Hanqun Cao and Xujun Zhang and Pengsen Ma and Xiangru Tang and Shuting Jin and Zhuo Yang and Tianfan Fu and Fang Wu and Xiangxiang Zeng},
  year   = {2026},
  eprint = {2608.26747},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.26747v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.26747.svg)](https://codeofpaper.com/paper/2608.26747)

Discussion