betaFeedback

WorksComputer Science

MoLRSI: A Recursive Self-Improving AI agent for Molecular Discovery

Abstract

Molecular discovery requires navigating vast combinatorial search spaces while balancing competing biological objectives. AI agents can automate expert-defined molecular design protocols, but automation alone does not address how to optimize workflows for new tasks or improve their development through experience. Here we introduce MoLRSI, an AI agent that combines systematic optimization of workflows and model architectures with persistent cross-task memory to recursively improve its search policy for molecular discovery. Workflow performance, refinement outcomes, and execution feedback guide subsequent searches, allowing the agent to improve both its workflows and its strategy for developing them. We evaluate MoLRSI in two challenging molecular discovery settings that require balancing competing properties. In antibiotic discovery, MoLRSI developed a screening workflow balancing antibacterial activity, cytotoxicity and structural novelty, achieving an experimental hit rate of 15.9%, compared with 8.7% for a previous expert-led workflow using the same training data and screening library. In de novo peptide-MHC binder design, MoLRSI developed workflows that jointly consider target binding and specificity, producing eight experimentally validated hits against MART-1 and SARS-CoV-1 pMHCs with preferential binding over tested off-targets while Claude Science completely failed. These findings demonstrate how experience-guided workflow optimization can address competing discovery objectives while improving the search strategies used in subsequent campaigns.

Introduction

Molecular discovery requires searching vast chemical and biological spaces for candidates that satisfy multiple competing objectives, including potency, binding specificity, toxicity, structural novelty, and stability [1, 2, 3, 4]. These demands have been traditionally addressed by experimental workflows comprised of library preparation, screening, counter-screening, and hit validation [1, 2]. Recently, computational workflows have shown great success in molecular design [5, 2, 3]. They often involve different molecular representations, model architectures, training objectives, and optimization strategies with the available data [6, 7]. They must also be integrated with evaluation and selection procedures that reflect the discovery objectives [1, 2]. Virtual screening, for example, requires jointly considering predictions of activity [8] and toxicity alongside structural constraints [1, 9], while protein design requires the coordination of target preparation, backbone generation [5], sequence design [4], and evaluation of binding and specificity [2]. Decisions about both the models and their integration determine which candidates advance to experimental testing [1, 3], making task-specific model and workflow optimization central to successful discovery.

Finding an effective workflow for a given task is a challenging search problem [10, 11]. The growing diversity of molecular representations, model architectures, training strategies, and optimization strategies creates a vast space of possible configurations whose performance varies across biological targets, available data, and desired properties (Figure 1a) [6, 3, 7]. Navigating this space requires an effective search policy for designing and training models, evaluating candidate workflows, and deciding how to customize them [12, 13]. For human scientists, this policy is shaped by experience across projects. Previous successes and failures provide lessons in workflow and model engineering: which architectures suit the available data, which training strategies improve generalization, and which practical constraints must be addressed. These lessons help researchers identify strong starting points and prioritize beneficial changes (Figure 1b). As experience accumulates, scientists can adapt models and workflows to new problems with fewer rounds of trial and error. This expertise is particularly valuable, as the evaluation of each candidate requires expensive wet lab validation. Each project can contribute not only a workflow for a given task but also experience that improves the strategy used to develop future workflows.

MolRSI motivation and architecture

Figure 1. MolRSI motivation and architecture. (a) Molecular discovery involves a combinatorial space of decisions across preparation, generation and prioritization, illustrated for de novo protein binder design. Nodes represent options at each stage. The orange path traces one possible workflow. (b) Scientists accumulate lessons from experimental outcomes across projects, learning to avoid unproductive choices and focus exploration on promising regions. (c) MolRSI couples systematic workflow search with persistent cross-task memory. The Explore agent retrieves relevant resources from scientific literature and code repositories, then converts them into reusable, executable skills through implementation and validation. Workflow evaluations update solution memory (workflows and performance), refinement memory (modifications and their effects) and execution memory (execution strategies and repairs). Accumulated experience guides subsequent workflow selection, refinement and execution, recursively improving the effective search policy from πt\pi_t to πt+1\pi_{t+1}. Colored paths indicate evaluated workflows, faded elements denote deprioritized choices, and orange-outlined nodes represent new local options. Projects, outcomes and memory entries are illustrative.

Recent advances in scientific agents have begun to automate aspects of model and workflow development that traditionally depend on human expertise [14, 15, 16, 17, 18, 13, 19, 20]. Biomni retrieves relevant tools, databases and software from a unified biomedical environment, then uses language model reasoning and code execution to compose them into workflows [21]. In protein design, Claude Science has produced experimentally validated binders through campaigns guided by expert-written protocols specifying design objectives and evaluation criteria [22, 23]. Developing and executing these workflows produces evidence about which approaches succeed and which attempts fail [17]. However, the reported studies do not establish how this experience improves workflow development in subsequent problems. When campaigns remain isolated, lessons from one project cannot inform the search policy for the next. Retaining and applying these lessons across tasks would allow agents to build on earlier work [24, 25] and develop new workflows with less repeated trial and error.

Here we introduce MoLRSI, a molecular discovery agent that couples model and workflow engineering with persistent cross-task memory to improve its search policy (Figure 1c). The agent converts scientific methods and associated code into validated, executable skills, then uses experience-guided Monte Carlo tree search (MCTS) to assemble and refine candidate workflows, including their model architectures and training strategies. Inspired by how experienced researchers draw lessons from past projects, MoLRSI records these choices and their outcomes in persistent memory together with the context of each task. Past workflow performance and modification outcomes guide selection and refinement on subsequent tasks, while records of execution failures and verified repairs help the agent resolve similar problems. Each search adds to this experience and changes how later models and workflows are developed, forming a cycle of recursive self-improvement (RSI).

We evaluate MoLRSI in virtual antibiotic screening and de novo peptide–MHC (pMHC) binder design, two challenging problems that require balancing competing objectives. These applications test our hypothesis that systematic optimization of models and workflows, guided by experience from previous tasks, can improve discovery under these constraints. In antibiotic discovery, MoLRSI draws on experience from 25 molecular property prediction tasks to develop a customized screening workflow balancing antibacterial activity, cytotoxicity and structural novelty. Experimental testing against Staphylococcus aureus identifies 17 of 107 compounds with minimum inhibitory concentrations of 32 μg/mL32\,\mu\mathrm{g}/\mathrm{mL} or lower. The observed hit rate of 15.9% is substantially higher than the 8.7% achieved by our previous expert-driven workflow using the same training data and screening library [1]. In pMHC binder design, MoLRSI draws on experience from 14 minibinder design tasks to develop customized workflows for pMHCs. Experimental screening identifies eight hits against MART-1 and SARS-CoV-1 pMHCs, each showing preferential enrichment for its intended target over the tested off-targets, whereas the workflow developed by Claude Science yields no hits. These results highlight the value of accumulated experience and task-specific optimization for molecular discovery under competing objectives.

Results

Overview of MolRSI

MolRSI combines workflow search with persistent memory to implement recursive self-improvement (RSI) for molecular discovery (Figure 1c). Each task specifies a biological problem, available data, an evaluation criterion and a computational budget. An Explore Agent organizes task-relevant scientific papers and associated code, tools, benchmarks and algorithms into validated, executable skills. These skills form the resource library from which MolRSI constructs candidate workflows.

MolRSI develops these workflows through experience-guided Monte Carlo tree search (MCTS), starting from configurations assembled from the resource library or retrieved from solution memory. Its search policy determines which workflows to explore, how to allocate search effort and how to refine and execute candidates. At each iteration, selection rules draw on workflows and scores in solution memory, combining performance on the current and related tasks with an exploration bonus [26] for less-visited alternatives. Refinement memory supplies previous modifications and their outcomes to guide changes to the selected workflow. The agent then executes and evaluates the revised candidate, using execution memory to allocate resources and resolve errors. Search returns the workflow with the best development score within the task’s computational budget.

Persistent memory carries the outcomes of these searches forward to guide later decisions. Each attempt updates the stored workflows, performance scores, modification outcomes and execution records. These updates change subsequent search decisions within the task and remain available for later tasks. Search experience can also lead to revised or additional skills. Searches on new tasks therefore use a policy informed by earlier outcomes and generate further experience that revises the policy applied to subsequent tasks, completing the RSI cycle (Methods and § 10.1 to § 10.3).

We assess the contribution of this cross-task policy adaptation by comparing MolRSI with and without RSI. Both settings use experiences obtained during the current task to guide search, whereas only MolRSI with RSI also draws on experience from previous tasks. Zero-search transfer tests direct reuse of previously developed workflow configurations without new search. Model fitting on target training data and evaluation on target validation data are retained.

MolRSI for antibiotic discovery

Antimicrobial resistance (AMR) is one of the most pressing global public health threats, steadily eroding our ability to treat common bacterial infections and imposing a large and growing burden of mortality worldwide[27]. The spread of antibiotic resistance creates an urgent need for compounds that inhibit bacterial growth while limiting toxicity to human cells. In our previous work [1], we built an expert-driven virtual screening workflow that combined ensembles of Chemprop graph neural networks predicting activity against Methicillin-Resistant Staphylococcus aureus (MRSA) with separate ensembles predicting cytotoxicity in human cell lines such as HepG2. We applied these models to more than 12 million compounds and used additional filters for undesirable substructures and similarity to known active compounds, followed by graph-based

analyses that identified chemical substructures associated with predicted antibacterial activity. This workflow enabled the discovery of a new structural class of antibiotics. Developing such workflows requires navigating interdependent choices in molecular representation, model selection and training, screening criteria and candidate prioritization[6, 1]. We therefore use antibiotic discovery to assess whether MolRSI can autonomously find better virtual screening workflows and learn from its own searches to improve the search policy applied to subsequent tasks. We first benchmark its workflow search and then experimentally test compounds selected by the resulting virtual screening workflow.

MolRSI outperforms existing agents in antibacterial activity prediction benchmarks. Accurate prediction of antibacterial activity is central to prioritizing compounds for experimental testing. We therefore benchmarked MolRSI and existing agents on six antibacterial activity prediction tasks, each corresponding to a different bacterial species (Figure 2a). We compared MolRSI with the scientific research agents Biomni, Claude Science and STELLA and general-purpose coding agents Codex and Claude Code [28]. For this comparison, we first evaluated MolRSI without RSI, starting each task without experience from previous tasks. This establishes a baseline for assessing the contribution of RSI. MolRSI develops workflows by selecting and refining combinations of models and methods from the full resource library of 110 reusable skills, comprising 55 models, 48 methods and seven tools or resources (Figure 2b). All agents used the same five similarity-based data splits. Mean validation area under the precision–recall curve (AUPRC) guides workflow selection, and mean held-out test AUPRC measures predictive performance (Methods and § 14.1 and supplementary information S2). MolRSI achieves the highest mean test AUPRC among the evaluated agents, ranking first on four tasks and second on the remaining two.

Figure 2. Computational evaluation of MolRSI for antibiotic discovery. (a) Test AUPRC and rankings of MolRSI without RSI and baseline agents across six antibacterial tasks. (b) Resource library. (c) Experience from 25 source tasks, excluding the antibacterial targets. (d) Search trajectories over 20 iterations. (e) Search with and without RSI and zero-search transfer, which retains model fitting and validation. (f) Zero-search transfer performance versus memory-pool size. The line shows test AUPRC averaged analytically across the six held-out antibacterial tasks and all possible subsets of each size from the 25-task memory pool. Darker and lighter shading indicate the interquartile range (IQR; 25th–75th percentiles) and the 5th–95th percentile range, respectively, across 2,000 sampled memory subsets at each pool size. In (a,d,e), means and ±1 sample SD are shown across five data splits. Circles in (a) denote individual splits.

MolRSI’s performance and search efficiency improves as it accumulates experience from more tasks. We next tested whether experience from other molecular prediction tasks improves the search policy used to develop antibacterial workflows. MolRSI first searched independently on 25 source tasks, comprising 22 Therapeutics Data Commons (TDC) [29] tasks and three cytotoxicity tasks for HepG2, HSkMC and IMR-90 cells[1] (Supplementary Table S3). The six antibacterial benchmark tasks were excluded from this experience pool (Figure 2c). MolRSI used workflow performance, refinement outcomes and execution feedback from these searches to guide workflow selection, refinement and execution on the antibacterial tasks (Methods and § 14.2). Under the same search budget, MolRSI generally achieves higher mean test AUPRC than the baseline agents across the search trajectories (Figure 2d). On E. coli and N. gonorrhoeae, its first evaluated workflow already outperforms the final workflows selected by every baseline agent after 20 search iterations. To assess the contribution of RSI, we compared searches with and without experience from previous tasks using the same initial resource library, backbone model and search budget (Figure 2e). RSI improves mean test AUPRC on all six antibacterial tasks. We also included zero-search transfer to test whether previously developed workflows can be applied without further workflow optimization. This setting retains model fitting and validation on target data (Section S3.3). Zero-search transfer outperforms search without RSI on S. aureus, A. baumannii and K. pneumoniae, achieving the highest mean test AUPRC among the three conditions on K. pneumoniae. Experience therefore improves subsequent search and, on several targets, provides workflows that outperform search from scratch without further optimization.

We further examined whether the benefits of accumulated experience increase as more tasks contribute to it (Figure 2f). We increased the number of source tasks contributing experience from 2 to 25 and assessed workflow transfer to the six antibacterial targets. We averaged performance across all combinations containing the same number of source tasks to ensure that the observed trend is not driven by a particular task order. The mean test AUPRC of the transferred workflows increases from approximately 0.32 with two source tasks to approximately 0.37 with all 25. With experience from all 25 tasks, this performance exceeds the mean AUPRC of 0.361 achieved by search without RSI after 20 iterations. These results show that accumulating experience across more tasks makes increasingly effective workflows available for subsequent tasks, extending the benefits of RSI from improved search to better performance (§ 14.2).

MolRSI identifies compounds with potent in vitro activity against MRSA. We next evaluated whether the screening workflow developed by MolRSI can identify antibacterial compounds while balancing activity, cytotoxicity and structural novelty. We used the same training datasets and screening library of approximately 12.1 million compounds as in our previous expert-driven study [1]. The workflow integrates optimized antibacterial activity and cytotoxicity predictors with structural filtering and diversity-based selection. Structural filters exclude specified antibiotic cores and compounds similar to known antibiotics, while cytotoxicity predictions for HepG2, HSkMC and IMR-90 cells inform candidate prioritization. Antibacterial activity ranking followed by selection across structural clusters yields 107 compounds for experimental testing (Figure 3a; Methods; Section S3.4).

Figure 3. Virtual screening and experimental validation with MolRSI. (a) Screening workflow yielding 107 tested compounds; cytotoxicity-filter exceptions are detailed in Section S3.4. (b) t-SNE projection [30] of training and tested compounds; stars indicate hits. (c) Activity-score ranking of tested compounds. (d) MSSA and MRSA MICs and HepG2, HSkMC and IMR-90 CC50_{50} values for two selected hits, C3_3 and C32_{32}; dots show individual MIC measurements. (e) Hit rates for 107 MolRSI-selected and 241 expert-selected compounds [1], with 95% Wilson confidence intervals. (f) AUROC and AUPRC on the shared 271-compound held-out S. aureus test set. (g) Chemical structures and dose–response curves of C3_3 and C32_{32}. Symbols show responses; lines indicate descriptive logistic fits. Two response series are shown per curve. Hits are defined by an MSSA MIC of 32 µg/mL or lower.

Experimental validation identifies 17 compounds with minimum inhibitory concentrations (MICs) of 32 μg/mL32\,\mu\mathrm{g}/\mathrm{mL} or lower against methicillin-susceptible S. aureus (MSSA). The hits occupy multiple regions of the chemical space (Figure 3b). Among these hits, C3C_{3} and C32C_{32} also exhibit potent activity against methicillin-resistant S. aureus (MRSA), with MICs of 1 and 8 μg/mL8\,\mu\mathrm{g}/\mathrm{mL}, respectively. C3C_{3} and C32C_{32} are ranked at 28th and 5th by predicted antibacterial activity among the tested compounds (Figure 3c). Both compounds inhibit MRSA at concentrations that do not cause cytotoxicity in each of the three types of human cells. Their half-maximal cytotoxic concentrations (CC₅₀) range from 6.4 to 17.5 μg/mL17.5\,\mu\mathrm{g}/\mathrm{mL} for C3C_{3} and from 24.2 to 54.7 μg/mL54.7\,\mu\mathrm{g}/\mathrm{mL} for C32C_{32}. These measurements establish a separation between antibacterial potency and mammalian cytotoxicity under the tested conditions (Figure 3d,Figure 3g; Section S3.6).

MolRSI improves experimental hit rate and antibacterial activity prediction over the previous expert-driven workflow. The 17 hits among 107 tested compounds correspond to an experimental hit rate of 15.9%, compared with 8.7% (21 of 241 compounds) in the previous expert-driven study at the same MSSA MIC threshold [1]. Thus, using the same training datasets and screening library, the workflow developed by MolRSI achieves an approximately 82% relative increase in observed hit rate (Figure 3e; § 14.6.3).

To assess predictive performance independently of differences in compound selection, we compared the antibacterial activity predictors on a shared held-out set of 271 compounds experimentally evaluated in the previous study (§ 14.1). MolRSI achieves an area under the receiver operating characteristic curve (AUROC) of 0.828, compared with 0.590 for the previous predictor, and an area under the precision–recall curve (AUPRC) of 0.300, compared with 0.090 (Figure 3f). The improved predictive discrimination on a common test set complements the higher prospective hit rate, demonstrating gains in both activity prediction and the yield of experimentally active compounds.

MolRSI for de novo peptide–MHC binder design

Class I major histocompatibility complex (MHC-I) molecules display intracellular peptides on cell surfaces, providing access to disease-associated antigens for engineered cell therapies and protein therapeutics [2, 31]. Designing binders for these pMHC complexes requires recognition of the exposed peptide while avoiding the same MHC presenting peptides from healthy cells. This task is demanding because target and off-target complexes share the large MHC scaffold and may differ only in a few exposed peptide residues. In our previous work, an expert-driven workflow combined RFdiffusion [5], ProteinMPNN [4] and a pMHC-specialized AlphaFold2 model [32, 33] to generate small proteins that contact the presented peptide [2]. The workflow produced binders that distinguished target pMHCs from closely related peptide-swapped off-targets and supported antigen-dependent T-cell activation when used in chimeric antigen receptors. Reaching this outcome required experts to choose peptide hotspots, generation strategies and criteria for both target binding and off-target discrimination. Here, we use this application to test whether MolRSI can automate and improve this process in three stages: benchmarking binder prioritization across protein targets, applying the

accumulated experience to pMHC ranking and prospective design, and experimentally screening the resulting candidates.

MolRSI improves binder prioritization than existing agents on a 14 target benchmark. Accurate candidate prioritization is central to recovering experimental hits from protein-design campaigns [3]. Across 14 miniprotein targets, MolRSI more effectively prioritizes experimentally confirmed binders than the comparison agents. We asked MolRSI and four leading scientific or general-purpose agents [21, 34, 35, 36] to rank candidates in experimentally annotated tasks assembled from previous studies [37, 38, 3]. Each task represents a different protein target, and all agents received the same inputs, objective and computational budget (Sections S2.3 and § 4.5). We first evaluated MolRSI without drawing on experience from previous tasks, while retaining access to the full resource library of 65 executable skills spanning candidate generation, structure prediction and scoring (Figure 4b). We assessed how effectively each workflow prioritizes experimentally confirmed binders using the Enrichment Factor (EF) at the top-ranked 1% and 2% of candidates (§ 4.4.1). MolRSI achieved the highest macro EF at both cutoffs: 8.01 at 1%, compared with 7.62 for the next-best agent, and 7.29 at 2%, compared with 6.71 for the next-best agent (Figure 4a). Thus, even without prior-task memory, MolRSI develops a stronger binder-ranking workflow than the comparison agents. Additional benchmark results and comparisons with fixed expert-defined objectives are reported in § 15.2 and § 15.3.

Benchmarking and experience-guided optimization of pMHC binder-design workflows

Figure 4. Benchmarking and experience-guided optimization of pMHC binder-design workflows. (a) Enrichment Factor (EF) at the top-ranked 1% and 2% cutoffs (EF@1% and EF@2%) for MolRSI and four agent baselines across 14 miniprotein-binder tasks. Heatmaps show individual tasks; bars show the unweighted macro average across tasks. (b) Protein resource library organized into input preparation, generation, sequence design and assessment, structure prediction, scoring and score combination. (c) EF@1% and EF@2% on the held-out MART-1 pMHC target for MolRSI with and without RSI and four agent baselines. (d) Best-so-far search objective, defined as the mean ranking score among the top 5% of candidates, during MART-1 and SARS-CoV-1 design-workflow optimization. (e) On-target versus off-target scores for selected MART-1 and SARS-CoV-1 designs from MolRSI and Claude Science, evaluated with the MolRSI ranking score (left) and Claude Science score (right).

Cross-task experience helps MolRSI develop better pMHC binder design workflows. Drawing on experience from the miniprotein tasks, MolRSI achieves better candidate ranking on a new pMHC task. MolRSI developed and validated the pMHC ranking workflow using two gp100 datasets. MART-1 was reserved to test whether the resulting workflow generalizes to an unseen pMHC target (§ 15.1 and § 4.4.1). We compared the resulting workflow with those developed by the four agent baselines. MolRSI achieves the highest MART-1 test enrichment, with EF@1% and EF@2% of 3.65 and 5.55, respectively (Figure 4c). None of the comparison agents identifies an experimentally confirmed binder among the top-ranked 1% of candidates, and the highest baseline EF@2% is 1.85. To isolate the contribution of RSI, we also compared against an otherwise identical MolRSI workflow search without access to accumulated experience from the 14 miniprotein tasks. Without this experience, the same system achieves an EF of 0.00 at both cutoffs. Additional AUPRC and EF results are reported in § 15.3.

We next used the ranking workflow developed with accumulated experience to guide pMHC design workflow optimization for MART-1 and SARS-CoV-1. For each target, a peptide-swapped off-target retains the same MHC molecule, making peptide discrimination part of the design setting (§ 4.6 and § 15.4). MolRSI kept the ranking procedure fixed while conducting a 30-round search over generation methods and settings, using the mean score of the top-ranked 5% of candidates as the search objective. The best observed objective reaches 6.76 for MART-1 and 7.56 for SARS-CoV-1, improvements of 66% and 28% over the initial configurations, respectively (Figure 4d).

We then compared the resulting pMHC design pipelines with Claude Science under the same target and off-target specifications, design constraints and computational budget. We selected Claude Science for this comparison because it achieves the highest average macro EF among the agent baselines on the miniprotein benchmark and previously demonstrated autonomous design of experimentally validated protein binders [22]. Each agent retained its own design workflow (§ 4.6 and S4.5). To compare their outputs, we evaluated the top 500 selected candidates using the fixed MolRSI ranking score and the sum of ipSAEmin⁡_{\min} z-scores [39] from the three prediction models used by Claude Science. Z-scores were calculated separately for each target and prediction model, pooling candidates from both design methods. By both measures, MolRSI designs have higher median on-target scores than Claude Science designs for MART-1 and SARS-CoV-1 (Figure 4e).

Prospective experimental screening identifies specific pMHC binders designed by MolRSI. We next ask whether the computational advantages of MolRSI translate into experimental binding. Candidates from MolRSI and Claude Science are screened using an E. coli phage-display system through two rounds of in vitro selection against MART-1 (ELAGIGILTV) and SARS-CoV-1 (GLMWLSYFV) pMHCs. Sequencing-based enrichment is quantified for each design–pMHC pair, with hits requiring strong on-target enrichment (log⁡2FC>4\log_{2}\mathrm{FC} > 4) that exceeds the highest measurable off-target enrichment. MolRSI yielded five MART-1 hits among 251 evaluable designs and three SARS-CoV-1 hits among 266, whereas Claude Science yielded no hits among 288 and 267 evaluable designs, respectively. Removing the learned ranking procedure likewise yielded no hits among 479 evaluable designs across the two targets, supporting the contribution of candidate prioritization to experimental success (Figure 5a). This difference emerged within a broadly shared structural landscape: designs from all three methods occupied overlapping regions of the structural-similarity map, while the recovered hits spanned multiple structural neighborhoods (Figure 5b). Experimental hits also tended to receive high MolRSI scores. When evaluable designs from all three groups were ranked together, all five MART-1 hits

Prospective experimental validation of pMHC binder designs

Figure 5. Prospective experimental validation of pMHC binder designs. Upper and lower rows in a–c show MART-1 and SARS-CoV-1, respectively. (a) On-target log⁡2FC\log_{2}\mathrm{FC} and its difference from the maximum available off-target log⁡2FC\log_{2}\mathrm{FC}. Dashed lines mark hit thresholds (x>4x > 4, y>0y > 0); legend values indicate hits/evaluable designs. (b) UMAP [40] of predicted minibinder structures based on TM-align [41] similarity; stars mark experimental hits. (c) Designs ranked by MolRSI score, with hits highlighted in green. (d) Predicted complexes of sars1_0101 and mart1_0014. Minibinders, MHC and peptides are blue, orange and pink, respectively; yellow dashed lines indicate candidate polar contacts.

fell within the highest-scoring 9% of 767 designs, and the three SARS-CoV-1 hits fell within approximately the highest-scoring quarter of 784 designs, linking the computational score to prospective hit recovery (Figure 5c). Predicted complexes of representative hits, mart1_0014 and sars1_0101, positioned the minibinders over the exposed peptide and suggested contacts with multiple peptide residues, including potential polar interactions (Figure 5d). These models are consistent with the peptide-engaging recognition mode sought by the workflow, while the screening results establish experimental enrichment and target preference for designs recovered by MolRSI.

Discussion

MolRSI improves molecular-discovery workflows through recursive self-improvement of the search policy used to develop them. Performance on related tasks changes the selection scores that determine where the agent directs further exploration. Current-task evaluations revise these priorities, while earlier modifications and execution outcomes guide refinement and repair. The policy therefore changes throughout workflow development and carries the effects of earlier searches into subsequent tasks. Those searches produce new results that revise later decisions, completing the recursive process. This links two levels of improvement. At the task level, the agent selects and refines computational methods to produce an effective workflow. Across tasks, the results of these attempts change how it approaches the next search.

The computational comparisons show that adapting this policy helps the agent make better use of a fixed search budget. Under matched conditions, incorporating prior-task results improves the workflows selected for antibacterial prediction and pMHC ranking. The antibacterial search trajectories also show that effective workflows can be found early, sometimes exceeding the final performance of baseline searches at the first evaluation. The resulting workflows can also remain useful beyond their original tasks. Direct transfer outperforms search from scratch on several antibacterial targets, providing an additional benefit of earlier workflow development. The retrospective pool analysis further identifies better available workflows as experience covers more source tasks. Together, these findings show how earlier searches can supply effective configurations and improve the policy used to develop new ones.

The experimental studies demonstrate why improved workflow development matters for molecular discovery. In antibiotic discovery, the MolRSI workflow achieves a higher observed hit rate than the previous expert-driven workflow using the same training data and screening library [1]. Evaluation on a shared held-out compound set supports the predictive value of the workflow alongside its ability to prioritize active compounds for testing. The pMHC application extends the framework to design, where selecting candidates requires considering both target binding and discrimination against related off-targets. The ranking workflow developed with prior experience guides subsequent generation and selection, yielding binders with preferential binding to their intended complexes over tested off-targets. The workflow developed by Claude Science yields no hits under the same screening conditions. These experiments assess complete workflows that coordinate several computational methods. Their outcomes show the practical value of improving how such methods are selected, combined and refined before candidates advance to experimental testing.

These results also suggest how scientific agents that improve through use should be assessed. A successful final workflow establishes performance on a particular biological problem. Policy improvement concerns how the agent conducts subsequent searches, including which alternatives it explores and how effectively it uses the available budget. Comparisons between search with prior experience, search from scratch and direct transfer help distinguish the value of inherited configurations from the benefit of further workflow development. This makes the decisions involved in developing workflows open to systematic evaluation. Which methods are combined, which modifications are pursued and which attempts fail all provide evidence that can change later search priorities. Such evidence complements the scientific knowledge embodied in existing models and tools. Future benchmarks could assess how effectively an agent adapts its search policy over successive tasks.

Further progress depends on whether policy updates remain useful as biological targets and evaluation criteria change. The variation among experience pools highlights the importance of the contributing tasks, while current-task evaluation provides a way to reassess priorities inherited from earlier searches. Biological validation remains necessary to establish whether better computational scores lead to more effective molecular candidates. Future systems could incorporate experimental outcomes into policy updates, allowing laboratory successes and failures to influence which workflows receive further exploration. This would connect the improvement of search strategies more closely to the biological goals of discovery. More broadly, MolRSI shows that scientific experience can be transferred between related tasks to improve the policy that guides workflow development. This provides a basis for discovery systems that refine their search strategies through use, with each project contributing to how future problems are approached.

Methods

MolRSI framework

Resource library construction

MolRSI uses an Explore Agent to build the resource library. The agent searches for scientific papers and their associated code repositories, tools, benchmarks and algorithms relevant to the task. It uses the task description and data characteristics to formulate queries about data representations, model architectures, training objectives and domain constraints. For each retrieved resource, the Explore Agent creates a reusable skill describing how to use it. Each skill specifies the resource’s purpose, software dependencies, input and output requirements and execution steps, with references to available code, documentation and usage examples. The agent checks each skill’s syntax, dependencies and interfaces during library construction. When a newly constructed skill is first used for a task, the agent runs a usage example in an isolated environment. If execution fails, it uses the error messages and repository information to revise the code, dependencies or environment settings, then reruns the example. Skills that pass execution validation are tagged as validated and retained for reuse. Skills that still fail after repair are removed, so that only validated skills are available for subsequent tasks. Full implementation details are given in § 10.1.

Persistent memory

MolRSI retains experience from workflow development and evaluation in solution, refinement and execution memory. These memories are updated during each task and retained for use in later tasks. MolRSI uses the accumulated experience to guide later iterations of the same search and searches on new tasks. Experience from previous tasks could also be used to select an existing workflow without a new search, a mode referred to as zero-search transfer.

Solution memory. Solution memory stores each workflow’s executable code, configuration, execution status and any available development scores. Development scores are calculated using the task-specific evaluation criterion to compare workflows during search. The configuration specifies the component methods, data processing, model architecture, parameter settings and training or generation procedures. Each score is stored with the task, dataset, evaluation metric, and data split and random seed identifiers where applicable. MolRSI uses the stored workflows and scores to select workflows for further refinement on the current task or transfer to a new task.

Refinement memory. Refinement memory stores the original and revised workflows, the changes made and the reasons for proposing them. For revisions that complete evaluation, it also stores the development scores before and after the change, measured under the same task-specific evaluation protocol, and their difference. Modifications are retained whether performance improves, declines or remains unchanged. Revisions that fail during execution are stored with their failure status. MolRSI uses these previous modifications and their outcomes when proposing further changes on the current task or related tasks.

Execution memory. Execution memory stores the computational requirements of workflows and the skills available in the resource library. Runtime, GPU time, processing speed and GPU memory use are stored together with the dataset, dataset size, hardware configuration and software environment. MolRSI uses these measurements and their associated execution conditions to plan computing resources for later runs. When execution fails, execution memory stores the stage at which the failure occurs, the error messages and logs, and the cause when identified. It also stores each attempted repair, including changes to code, dependencies, environment settings or resource allocation, and whether the repair succeeds. When similar errors occur in the same or later tasks, MolRSI retrieves the previous repairs and their outcomes to guide further debugging. Details of memory storage and updates are given in § 10.2.

Recursive self-improvement of the search policy

MolRSI uses experience from its own workflow searches to improve its search policy. Evaluation results from the current task and experience retained in persistent memory guide which workflows to explore, which modifications to pursue and how to resolve execution failures. Each attempt provides further evidence about workflow performance, the effects of modifications and execution requirements. This experience informs subsequent search decisions within and across tasks, completing the feedback loop through which recursive self-improvement occurs.

Workflow search uses experience-guided Monte Carlo tree search (MCTS) [26]. Initial workflows form the roots of separate trees, with each node representing a workflow. A workflow selected for modification is the parent, and a revised version is its child. Workflows based on a common model or computational approach are grouped into families. Each search iteration comprises the following five steps:

Step 1: Selecting workflow families. MolRSI selects a workflow family using current task performance, an exploration bonus and a historical transfer score. For families already evaluated on the current task, the performance term uses the best development score obtained in earlier iterations. The exploration bonus [26] is larger for less visited families. The historical transfer score summarizes the family’s performance on related tasks using solution memory. Historical experience guides initial exploration, and current task scores are incorporated as evaluations become available. The family with the highest combined score is selected. The selection rule and historical transfer score calculations are given in § 10.3.

Step 2: Selecting parent workflows. MolRSI samples a parent workflow from those already evaluated on the current task. Sampling favours better development performance, penalizes workflows that have already produced more candidates, and incorporates historical transfer scores from solution memory. The sampling rule and eligibility criteria are given in § 10.3.

Step 3: Proposing workflow modifications. MolRSI retrieves previous modifications and their outcomes on related tasks from refinement memory. It uses these modifications and outcomes to propose changes to the selected parent workflow, such as replacing a method, changing how components are combined or adjusting parameter settings. Each proposal specifies the changes and their rationale. Before execution, MolRSI checks that the proposed workflow follows the required format, does not duplicate an existing candidate and is feasible to run.

Step 4: Executing and evaluating workflows. Using the resource requirements stored in execution memory, MolRSI configures the runtime environment and allocates computing resources. It then runs the revised workflow and assesses its performance using the task-specific evaluation procedure. If execution fails, MolRSI first searches execution memory for similar errors and the repairs that have resolved them. When relevant experience is available, it uses the previous repair to guide changes to the code, dependencies or environment settings. Otherwise, it diagnoses the problem from the current error messages and makes the necessary changes. The workflow is rerun after each repair. If execution still fails, MolRSI uses the new error messages to guide further changes, up to a predefined limit on repair attempts and within the task’s computational limits. Successful evaluations provide development scores for subsequent search iterations.

Step 5: Updating search policy to guide subsequent searches. After each execution attempt, MolRSI stores the workflow, its execution status and any available development score in solution memory. It adds the modification and its outcome to refinement memory and stores runtime, resource use, errors and repair outcomes in execution memory. MolRSI then uses the updated memories to select families and parents, propose modifications, allocate resources and repair execution failures in later iterations (Steps 1–4).

We denote the effective policy governing the decisions in Steps 1–4 by πt(a∣s)\pi_t(a \mid s), the distribution over search actions aa for the current task and search state ss. Let MtM_t denote persistent memory after tt updates and EtE_t the new execution and evaluation experience. The policy before and after a memory update is expressed as

πt(a∣s)=π(a∣s;Mt),Mt+1=Update⁡(Mt,Et),πt+1(a∣s)=π(a∣s;Mt+1).(1)\begin{aligned} \pi_t(a \mid s) &= \pi(a \mid s; M_t), \\ M_{t+1} &= \operatorname{Update}(M_t, E_t), \\ \pi_{t+1}(a \mid s) &= \pi(a \mid s; M_{t+1}). \tag*{(1)} \end{aligned}

The updated policy guides further searches, whose results supply experience for the next memory update (Figure 1). This feedback loop implements recursive self-improvement of the effective search policy. MolRSI uses the outcomes of its own searches to focus exploration on promising workflows, reduce repeated unsuccessful modifications and reuse effective repairs. The same process operates within a task and across tasks as experience accumulates. Search stops when the task-specific limit on evaluation attempts or computation time is reached. MolRSI returns the successfully evaluated workflow with the best development score on the current task.

MolRSI uses experience from previous tasks to select a workflow for direct transfer or as the starting point for a new search. It first identifies the best matching previously completed task, referred to as the source task, using task type, evaluation metric, dataset size and task description similarity. It then retrieves the workflow with the best development score on that source task from solution memory. In zero-search mode, the retrieved configuration is applied to the new task without searching over alternative workflows. Model parameters are fitted using the new task’s training data where required. Alternatively, the retrieved workflow serves as the starting point for further search using Steps 1–5, within the task-specific limits on evaluation attempts or computation time.

MolRSI for antibiotic discovery

Datasets and benchmark evaluation

Source tasks for experience accumulation. We used 25 source tasks to accumulate experience for antibiotic workflow development: 22 absorption, distribution, metabolism, excretion and toxicity tasks from the Therapeutics Data Commons (TDC) [29], together with three cytotoxicity tasks for HepG2, HSkMC and IMR-90 cells from our previous study[1]. The TDC tasks used the official benchmark partitions and task-specific evaluation metrics. The cytotoxicity datasets were obtained from our previous study, with the same compound structures and experimental measurements. Each cytotoxicity dataset was divided into training, validation and test sets at proportions of 8:1:1 using molecular similarity, with a Tanimoto threshold of 0.40. Five splits were generated using different random seeds.

Antibacterial target tasks. We evaluated MolRSI on six antibacterial activity prediction tasks for Staphylococcus aureus, Pseudomonas aeruginosa, Acinetobacter baumannii, Escherichia coli, Klebsiella pneumoniae and Neisseria gonorrhoeae. These tasks were excluded from the source experience pool. The datasets were obtained from our previous study, with the same compound structures and experimental measurements. Each dataset used five similarity-based training, validation and test splits with a Tanimoto threshold of 0.40, proportions of 8:1:1 and the same five random seeds used for the cytotoxicity tasks. All methods used identical splits. Each task involved a single workflow search, during which every candidate was fitted and evaluated across all five splits. Mean validation AUPRC guided the search, and the workflow with the highest value was selected. Test AUPRC is reported as the mean and sample standard deviation across the five splits. Test outcomes were not used to guide workflow search.

Activity S. aureus held-out test set. For the predictive comparison in Figure 3f, we used a held-out set of 271 compounds from our previous study [1]. This set comprised 241 candidate compounds and 30 low predicted activity controls; the 12 known antibiotic class positive controls were excluded. MolRSI and the published antibacterial activity model were evaluated on the same compounds using the same experimental activity labels. AUROC and AUPRC are reported for both models.

Dataset sizes and evaluation metrics for all datasets are provided in § 14.1, together with the split sizes and random seeds used for workflow development.

We benchmarked MolRSI with RSI and MolRSI without RSI against Biomni, Claude Science, STELLA, Codex and Claude Code on the six antibacterial target tasks (Figure 2). All agents received the same task prompt, datasets and development objective, with up to 20 attempted workflow evaluations per task. Each agent retained its native tools and workflow development procedures. MolRSI and all agent baselines except Codex used Claude Sonnet 5; Codex used GPT-5.5. MolRSI accessed its backbone model through the Anthropic API, whereas Biomni ran on its own platform. Complete task prompts, model identifiers, API settings and baseline configurations are provided in Section S2.2.

Evaluation of recursive self-improvement

MolRSI searched for workflows independently on the 25 source tasks described in § 4.2.1. Experience from these searches was pooled in persistent memory before evaluation on the antibacterial target tasks.

We compared MolRSI with and without RSI. MolRSI with RSI began with the accumulated source memory, whereas MolRSI without RSI began without experience from previous tasks. Both conditions used the same resource library and backbone model, together with the data partitions, evaluation procedure and workflow evaluation budget specified in § 4.2.1. Memory was updated during each search to guide subsequent iterations. Experience generated on one antibacterial task was not passed to the other antibacterial tasks. For the search trajectories in Figure 2d, we identified the workflow with the highest mean validation AUPRC obtained so far at each iteration. Its test performance was calculated after the search to construct the plotted trajectory.

For zero-search transfer (Figure 2e), MolRSI first identified the best matching source task using task type, evaluation metric, dataset size and task description similarity. It then selected the workflow with the best validation performance on that source task. Both selections were made before evaluating the workflow on the antibacterial task. Model parameters were fitted using the target task’s training data where required, and the transferred workflow was evaluated without further workflow search.

We compared the transfer performance available from different numbers of source tasks with the performance of MolRSI without RSI after workflow search (Figure 2f). One workflow from each of the 25 source tasks was transferred to each antibacterial task, yielding 150 source target evaluations. Experience pools contained 2–25 source tasks. For each pool, the transfer test AUPRC on each antibacterial task was identified retrospectively, and these values were averaged across the six tasks. The mean was calculated over all source task combinations of each size, with variation among combinations estimated from 2,000 random orderings of the source tasks. The transfer evaluations and calculation of means and percentile ranges are described in § 14.2.

Virtual screening and compound selection

MolRSI uses the experience accumulated across source tasks to guide the development of a virtual screening workflow for identifying candidate antibiotics against methicillin-resistant Staphylococcus aureus (MRSA). The workflow combines antibacterial activity prediction with cytotoxicity prediction for HepG2, HSkMC and IMR-90 cells. The activity models were trained on methicillin-susceptible S. aureus (MSSA; strain RN4220). All activity and cytotoxicity models used the same training datasets as our previous study [1] and both studies used the same screening library.

Screening began with structural filtering. Compounds with a maximum Tanimoto similarity of 0.40 or greater to the antibacterial reference set were excluded. Structural filtering also removed compounds matching PAINS [42] or Brenk alerts [43] and specified antibiotic cores. Cytotoxicity was then predicted separately for the three cell types. The HepG2 and IMR-90 predictors combined MiniMol embeddings [44] with Morgan fingerprints [45] and RDKit descriptors [46], whereas the HSkMC predictor used MiniMol embeddings. Cytotoxicity filtering used a score threshold of 0.40 for each cell type. Model architectures, reference compounds and filter settings are described in Section S3.4.

The remaining compounds were ranked by a weighted combination of predictions from two MiniMol-based variants and a LANTERN–RADR ensemble, with weights of 0.55, 0.30 and 0.15, respectively. Each component prediction was averaged across five fitted models. Butina clustering [47] grouped structurally similar compounds, and candidates were selected across clusters to retain chemical diversity.

We selected and experimentally tested 107 compounds. Activity against MRSA was assessed during experimental validation. Compound identities, prediction scores and sourcing details, including supplier substitutions and exceptions to the cytotoxicity criterion, are provided in Section S3.4.

Experimental validation

Antibacterial activity assays. Antibacterial activity was measured against methicillin-susceptible Staphylococcus aureus RN4220 (MSSA; DSM 26309) and methicillin-resistant S. aureus USA300 FPR3757 (MRSA; ATCC BAA-1556). Compounds were first screened at a single dose of 128 μ\mug mL−1^{-1}, and those that inhibited growth were advanced to two-fold dose–response testing from 128 μ\mug mL−1^{-1} (8–9 concentrations, to 1 or 0.5 μ\mug mL−1^{-1}). Overnight LB cultures grown from single colonies were diluted to approximately 10510^{5} CFU mL−1^{-1} in fresh LB and added to plates containing compound in DMSO (final DMSO ≤1%\leq1\%). Plates were covered with a lid and incubated for 18–24 h at 37 °C with 5% CO2_2. Growth was measured as OD600_{600}. The minimum inhibitory concentration (MIC) was defined as the lowest concentration giving ≥90%\geq90\% growth inhibition relative to untreated growth controls, and compounds with an MSSA MIC ≤32\leq32 μ\mug mL−1^{-1} were defined as hits. DMSO vehicle, untreated growth and Triton X-100 kill controls were included. MICs were determined in technical replicate (n=2n = 2–3) in a single experiment, and the higher replicate value was reported.

Cytotoxicity assays. Cytotoxicity was measured in human hepatocellular carcinoma (HepG2; ATCC HB-8065), primary human skeletal muscle (HSkMC; ATCC PCS-950-010) and human fetal lung fibroblast (IMR-90; ATCC CCL-186) cells. Cells were seeded at 55–10×10310 \times10^{3} cells per well in 96-well clear flat-bottom black tissue-culture-treated plates (100 μL100\ \mu\mathrm{L} per well) and incubated for 24 h at 37 ∘C37\,^{\circ}\mathrm{C} and 5% CO2\mathrm{CO}_{2} before dosing. Compounds were added as a two-fold dilution series from 128 to 0.5 μg mL−10.5\ \mu\mathrm{g}\ \mathrm{mL}^{-1}, with 1% DMSO at the highest concentration diluted in step with compound, and cells were incubated for 48–72 h. Viability was quantified with PrestoBlue HS (10 μL10\ \mu\mathrm{L} per well, 4 h at 37 ∘C37\,^{\circ}\mathrm{C}) by fluorescence (excitation/emission, 550/590 nm). Untreated cells defined 100% viability, with a matched DMSO series and Triton X-100 (0.1%) lysis wells as vehicle and floor controls and media-only wells as background. The half-maximal cytotoxic concentration (CC50\mathrm{CC}_{50}) was calculated by log-linear interpolation between the two concentrations bracketing 50% viability. Each compound and concentration was tested in two technical wells in a single experiment.

MolRSI for peptide–MHC binder design

Datasets and benchmark evaluation

The protein study instantiated the cross-task update framework in three stages. First, ranking workflow development on 14 miniprotein-binder tasks supplied protein-domain source experience. Second, MolRSI used the resulting experience memory to develop workflows for one pMHC binder design task. Third, the selected pMHC workflow guided prospective binder design workflow optimization for MART-1 and SARS-CoV-1 pMHC complexes.

Miniprotein-binder tasks. We assembled experimentally annotated de novo miniprotein-binder datasets for 14 protein targets from three published studies [37, 38, 3]. Each target defined a task using a leave-one-target-out partition: workflow search used the other 13 targets, and the selected workflow was then evaluated on the held-out target. We retained all 1,565 positive designs and sampled up to ten negatives per positive within each target, yielding 17,215 designs. Target identities, sample counts and label definitions are reported in § 15.1.

pMHC task. The pMHC benchmark comprised three target datasets: two for gp100 and one for MART-1. Both gp100 datasets were used directly for workflow search, while MART-1 was reserved for testing. Each candidate was represented as a four-chain complex comprising the HLA heavy chain, β2\beta_{2}-microglobulin, the presented peptide and the designed binder. The datasets were generated using the experimental screening procedure described by Liu et al. [2]. Peptide identities, dataset sizes and label definitions are reported in § 15.1.

Ranking metrics. We evaluated candidate rankings using the area under the precision–recall curve (AUPRC), the area under the receiver operating characteristic curve (AUROC) and the Enrichment Factor (EF). EF measures the positive fraction among top-ranked candidates relative to the positive fraction in the full target dataset. For a target with NN candidates and N+N_{+} experimentally positive binders, let nfn_f be the number retained at the top-ranked fraction ff and n+,fn_{+,f} the number of positives among them. We calculated

EFf=n+,f/nfN+/N,f∈{0.01,0.02,0.05,0.1}.(2)\mathrm{EF}_{f} = \frac{n_{+,f}/n_f}{N_{+}/N}, \qquad f \in\{0.01, 0.02, 0.05, 0.1\}. \tag*{(2)}

We denote these metrics as EF@1%, EF@2%, EF@5% and EF@10%, respectively. Random ranking has an expected EF of 1. At each cutoff, macro EF is the unweighted average across the 14 miniprotein tasks (Figure 4a). For the pMHC benchmark, EF is reported separately for the held-out MART-1 target (Figure 4c). Full EF results at all four cutoffs and AUPRC results are reported in § 15.3. Comparisons with fixed expert-defined scoring criteria are provided in § 15.2.

Design targets. We designed binders for HLA-A*02:01 complexes presenting MART-1 (ELAGIGILTV) and SARS-CoV1 (GLMWLSYFV). Each intended pMHC was paired with an off-target complex presenting a different peptide while retaining the same HLA heavy chain and β2\beta_2-microglobulin. Target sequences and exposed peptide hotspots were derived from source structures. The source coordinates were not supplied as design inputs. Off-target peptide sequences, source structures and hotspot definitions are given in Supplementary Table S14.

Evaluation of recursive self-improvement

Resource library and workflow search. MolRSI selected and configured components from the protein resource library, which contained 65 executable skills comprising 28 models and 37 registered scoring terms (Figure 4b). For ranking workflow development, these components covered input and feature preparation, complex-structure prediction, sequence and interface scoring, and score aggregation. Each candidate workflow mapped a target–binder pair to a scalar ranking score. AUPRC on development data from the 13 non-held-out targets guided workflow search and selection within each miniprotein-binder task, whereas AUROC guided search and selection for the single pMHC task.

Benchmark baselines and budget. We compared MolRSI with Biomni [21], Claude Science [34], STELLA [35] and Codex [36]. For each benchmark task, all agents received the same task inputs, data partitions, and evaluation objective, with a budget of 300 A100 GPU-hours and 20 attempted workflow evaluations. Each agent retained its native tools and workflow-development procedures. Folded structures and the scores produced by each model were cached and reused across workflow evaluations to avoid repeated computation. Task instructions and baseline configurations are provided in Supplementary Information S2 and section S2.3.

Memory ablation. We compared pMHC workflow search initialized with pooled experience from the 14 miniprotein-binder tasks against search without this prior experience. The initial memory contained no pMHC or prospective design outcomes. Both conditions used identical resource libraries, candidate data, search controllers, evaluation objectives and procedures, and the per-task budget specified above. Memory was updated during search in both conditions, so the comparison isolated the contribution of prior cross-task experience.

Binder generation and candidate selection

Generation-workflow optimization. The prospective pipeline combined candidate generation, hotspot-contact filtering, inverse folding and ranking. MolRSI optimized generation methods and configurations separately for each target, using RFdiffusion3 [48], Proteina-Complexa [49], PXDesign [50], BoltzGen [51] and the MOSAIC [52] simplex accelerated proximal gradient method (APGM). Each target-specific search received up to 30 attempted rounds and 1,000 A100 GPU-hours. The searches ran in parallel without sharing evaluations or search records.

For each evaluated configuration, we generated 20 backbones with binder lengths of 80–120 residues. SolubleMPNN [53] generated eight sequences per retained backbone, with cysteine excluded from the sequence alphabet. The ranking procedure selected in the memory-guided pMHC search remained fixed throughout prospective search and candidate selection. The mean score among the top-ranked 5% of generated candidates served as the configuration-selection objective.

Final candidate generation and selection. After each target-specific search, the three highest-scoring workflows each generated 8,000 additional designs. Candidates from the search and expansion stages were pooled and deduplicated. Final MolRSI candidates were required to satisfy on_target_ipsae_min ≥0.50\ge0.50, monomer_plddt ≥0.80\ge0.80, at least 15 HLA contacts (hla_res_contact ≥15\ge15), and son−soff>0s_{\mathrm{on}} - s_{\mathrm{off}} > 0. Passing designs were ranked by the on-target frozen-verifier score sons_{\mathrm{on}}. Experimental outcomes are reported separately over evaluable designs, as defined below. Detailed generation and selection settings are provided in § 15.4. The Claude Science protocol is described in Sections S2.3 and S4.5.

Experimental validation

Biotinylated pMHC monomers were purchased from KACTUS Bio and comprised HLA-A*02:01 (Gly25–Thr305), β2\beta_2-microglobulin (Ile21–Met119) and the MART-1 (ELAGIGILTV) and SARS-CoV-1 (GLMWLSYFV) peptide. Binder designs were synthesized by Twist Biosciences and cloned into engineered M13 bacteriophage lacking gIII as previously described [54]. Phage libraries were then selected for specific binding activity using host E. coli cells encoding positive selection circuits for on-target pMHC binding activity and negative selection circuits for off-target pMHC binding using an adaptation of previously described methods [55, 56]. Next generation sequencing of phage-encoded designs was used to assess enrichment of functional designs throughout selection.

Data Availability

The molecular property prediction, antibacterial activity, human-cell cytotoxicity and miniprotein-binder datasets used for computational workflow development and benchmarking are publicly available. Molecular-property prediction datasets were obtained from the Therapeutics Data Commons [29]. Antibacterial activity and human-cell cytotoxicity datasets, including the 271-compound held-out S. aureus test set, were obtained from our previous study [1]. Miniprotein-binder datasets were obtained from the studies by Cao et al. [37, 38] and Bennett et al. [3]. The pMHC binder datasets from Liu et al. [2] are available from the corresponding authors upon reasonable request. Dataset sources, composition and partitions are described in § 14.1 and § 15.1.

Acknowledgments

Wengong Jin acknowledges support from the Google Research Scholar Award, the NVIDIA Academic Grant Program, the Google TPU Research Cloud Award, and NSF ACCESS. Nir Hacohen acknowledges support from the Torrey Coast Foundation and NIH/NCI IMAT R61 CA281807.

Author Contributions

Coordination and planning: Wengong Jin; Agent framework implementation: Yikun Zhang, Xiwei Cheng; Computational design of antibiotics: Xiwei Cheng, Yikun Zhang; Computational design of proteins: Xiwei Cheng, Yikun Zhang, Mingze Yuan; Antibiotic benchmark data provision: Yu Zhang, Aarti Krishnan, James J Collins; pMHC binder data provision: Bingxu Liu; Experimental validation of antibiotics: Yu Zhang, Aarti Krishnan; Experimental validation of pMHC binders: Brian Shim, Daniel Rosen; Supervision on experimental validation: David Liu, Nir Hacohen, James J Collins. Supervision of methodology: Tianyu Liu, Yuanqi Du, Wengong Jin. All authors reviewed and edited the manuscript.

Competing Interests

The authors declare that they have no conflict of interests at this time.

Supplementary Information for MolRSI

Supplementary Figures

Contents and uses of persistent memory

Figure S1. Contents and uses of persistent memory. Solution memory links a workflow’s code, configuration and development performance to its task and evaluation conditions. This information supports workflow-family selection, parent selection and workflow transfer. Refinement memory links original and revised workflows to the proposed changes, their rationale and observed outcomes. Previous modifications, including unsuccessful ones, inform subsequent proposals. Execution memory links runtime measurements and failures to the conditions under which they occurred, the repairs attempted and the results of rerunning the workflow. It supports resource allocation and reuse of successful repairs. Examples illustrate the types of information stored, rather than new performance measurements. The same memories inform later iterations within a task and searches on subsequent tasks, subject to the evaluation protocol. DILI, drug-induced liver injury; AUROC, area under the receiver operating characteristic curve; MLP, multilayer perceptron. IA₃ denotes a parameter-efficient fine-tuning method [1].

Figure S2. Comparison of the previous expert-driven and MolRSI antibiotic-screening workflows. Both workflows used the same prospective training datasets and screening library. The expert-driven workflow applied activity prediction before cytotoxicity and structural filtering, and used substructure rationales to inform compound selection. The MolRSI workflow applied structural filtering before cell-type-specific cytotoxicity prediction, antibacterial-activity ranking and selection across structural clusters. The displayed models, thresholds and selection steps are described in Sections S3.4 to § 14.5. The campaigns tested 241 expert-selected and 107 MolRSI-selected compounds, respectively. The displayed cytotoxicity thresholds denote nominal criteria; final compound selection included documented exceptions.

MolRSI framework

Resource library construction

Resource retrieval and synthesis. The Explore Agent generates task-specific queries about scientific methods, software and benchmark evaluation using the task description and available dataset information. It searches literature and web sources, removes duplicate results and ranks the remaining resources by relevance to the task. The retrieved material is summarized to identify models, methods, tools, benchmarks and associated implementations for skill construction.

Resource analysis and skill construction. The Explore Agent examines the retrieved resources and their available code, documentation and usage examples. It prioritizes resources for skill construction according to task relevance and the requested skill categories. When repository code is available, static analysis of Python abstract syntax trees recovers public interfaces and their arguments. These interfaces, together with model definitions and training or inference examples, inform the skill instructions. Additional searches supply supporting repositories or documentation when the initial material is incomplete.

Library organization and skill contents. A shared index lists each skill’s name, category and purpose. Each skill describes how to use the resource and links these instructions to available implementations, dependencies, usage examples and source references. Where relevant, it also specifies feature representations and whether computed features could be reused. The contents are summarized in Supplementary Table S1.

Checks during construction. The Explore Agent checks package identity and examines Python usage examples for syntax and import-name inconsistencies. When an execution environment is available, it also checks dependency availability and selected interfaces. Detected problems prompt revisions to installation instructions, dependencies or usage examples. These checks precede execution validation when a skill is first used.

Execution validation and reuse. When a newly constructed skill is first used, MolRSI runs a usage example in an isolated environment. Execution errors guide repairs to the code, dependencies or environment settings. The example is rerun until it completes successfully or reaches the repair-attempt limit. Skills that pass are tagged as validated and retained in the resource library for reuse. Skills that remain unsuccessful are removed.

Incremental expansion. The Explore Agent could expand an existing resource library by retrieving additional resources and identifying skills not already present. Existing skills are retained. New skills undergo the same construction checks and first-use execution validation, and the shared index is updated to include them.

Persistent memory

Workflow development generates experience about candidate performance, proposed modifications and execution. MolRSI retains this experience in solution, refinement and execution memory, together with the tasks and conditions under which it was obtained. These memories guide later search decisions within and across tasks (Supplementary Figure S1).

Solution memory. For each evaluated workflow, solution memory stores the task description, task type, dataset and dataset size, together with the workflow’s executable code, configuration and execution status. The configuration specifies the workflow family, component models and methods, architecture, hyperparameters, data processing, training objective and training or generation procedure. Development scores are retained with their evaluation metric and, where applicable, data split and random seed. A workflow that failed before evaluation retains its failure status without receiving a development score. Scores from completed workflows provide evidence about which families performed well on related tasks and which individual workflows are suitable for further refinement or transfer. The historical score normalization, family selection and parent selection procedures are specified in § 10.3.

ComponentInformation provided
Shared indexSkill names, categories, purposes and links to the corresponding instructions.
Skill instructionsResource description, intended use, installation, supported operations and usage examples.
ImplementationAvailable source code, model definitions, dependencies and supporting scripts.
Source informationScientific references, repository location, revision and package information.
Interfaces and examplesAvailable operations and examples of feature extraction, model fitting or inference, as appropriate to the resource.
Validation informationValidation status, checks performed and their outcomes.

Table S1. Contents of the resource library. The shared index identifies available skills. Each skill combines instructions with the implementation, source information and validation results available for that resource. The supporting material depends on the resource.

Refinement memory. Refinement memory stores the original workflow, the revised workflow, the task and the proposed changes. Changes are described by the affected component and its settings, such as an architecture change, the use of parameter-efficient fine-tuning, a different loss function, altered data processing or a change in learning rate. The agent’s reason for proposing a change is retained alongside the result of testing it. When the original and revised workflows are evaluated under the same protocol, both development scores and their difference are stored. Improvements, declines, unchanged scores and execution failures are all retained. If a proposal changes several components, its outcome is associated with the combined modification. For a subsequent proposal, the agent retrieves relevant earlier changes and their outcomes, including previous attempts derived from the selected parent workflow.

Execution memory. Execution memory stores the execution history of workflows and the usable skills in the resource library. For each attempt, it retains the dataset and its size, hardware and software environment, execution status and available runtime measurements. Resource measurements include elapsed time, GPU time, processing speed and GPU memory use. Where measured, training time per sample per epoch relates runtime to dataset size and training duration. These measurements inform later resource allocation and timeout settings. For each failure, the memory retains the failed stage, error messages, execution logs and the cause when identified. It also stores each attempted repair, including changes to code, dependencies or environment settings, and whether re-execution succeeded. This experience guides repairs when similar errors recur.

Updates within and across tasks. Memory is updated after each execution attempt and used to guide subsequent iterations. Experience retained from completed tasks could also guide later searches or direct workflow transfer. When an evaluation used fixed source-task experience, each target began with the same experience, and updates from one target were not shared with other targets. Application-specific experience pools are described in § 14.2 and § 15.1. Held-out test scores are excluded from memory updates and search decisions. § 10.3 describes how the updated memory guides the search policy.

Recursive self-improvement of the search policy

Search representation. MolRSI uses experience-guided Monte Carlo tree search over a forest of executable workflows. Initial workflows form the roots of separate trees, and each node represents a concrete workflow with its specification, execution status, development scores, resource use, logs and generated artifacts. A workflow selected for modification is the parent, and the revised workflow is its child. An edge represents the proposed changes, such as a different representation, architecture, objective, data-processing procedure or composition of methods. Workflows based on a common model or computational approach are grouped into families. The five steps below specify how current-task observations and historical experience guide search decisions.

Step 1: Selecting workflow families. Family selection combines the best available current-task development performance, an exploration bonus and a historical transfer score. Historical workflow scores are first standardized within each source task and then aggregated using task-similarity weights. The family-level score enters selection as an additive term. A corresponding workflow-level historical score enters parent sampling in Step 2 as a multiplicative factor. The normalization and aggregation used by both steps are defined together below.

Historical score normalization. Let xτ(v)x_{\tau}(v) denote the development score of workflow vv on source task τ\tau, and let Vτ\mathcal{V}_{\tau} contain completed workflows with finite development scores on that task. Scores are first oriented so that larger values indicate better performance:

sτ(v)={xτ(v),for a higher-is-better metric,−xτ(v),for a lower-is-better metric.(3)s_{\tau}(v) = \begin{cases} x_{\tau}(v), & \text{for a higher-is-better metric},\\ -x_{\tau}(v), & \text{for a lower-is-better metric}. \end{cases} \tag*{(3)}

Each score is then normalized relative to the other completed workflows on the same source task:

s~τ(v)=sτ(v)−median⁡u∈Vτsτ(u)max⁡{MAD⁡u∈Vτ(sτ(u)),ϵ}.(4)\widetilde{s}_{\tau}(v) = \frac{s_{\tau}(v)-\operatorname{median}_{u\in\mathcal{V}_{\tau}}s_{\tau}(u)} {\max\{\operatorname{MAD}_{u\in\mathcal{V}_{\tau}}(s_{\tau}(u)),\epsilon\}}. \tag*{(4)}

Here, MAD⁡(s)=median⁡∣s−median⁡(s)∣\operatorname{MAD}(s)=\operatorname{median}|s-\operatorname{median}(s)| is the median absolute deviation from the median, and ϵ>0\epsilon>0 prevents division by zero. The normalized score is mapped to a bounded utility:

s‾τ(v)=2σ(s~τ(v))−1,σ(x)=11+e−x.(5)\overline{s}_{\tau}(v)=2\sigma(\widetilde{s}_{\tau}(v))-1,\qquad \sigma(x)=\frac{1}{1+e^{-x}}. \tag*{(5)}

The resulting utility lies in [−1,1][-1,1], allowing historical outcomes measured on different scales to be aggregated without an unbounded contribution from a single task. All scores used in this calculation were available during development of the source workflow; held-out test scores are excluded.

Task-similarity weights. For a target task τ0\tau_0, the contribution of source task τ\tau is weighted according to evaluation-metric compatibility, task type, dataset size and task-description similarity:

w(τ,τ0)=wmetric(τ,τ0) wtype(τ,τ0) wsize(τ,τ0) wemb(τ,τ0).(6)w(\tau,\tau_0)=w_{\mathrm{metric}}(\tau,\tau_0)\,w_{\mathrm{type}}(\tau,\tau_0)\,w_{\mathrm{size}}(\tau,\tau_0)\,w_{\mathrm{emb}}(\tau,\tau_0). \tag*{(6)}

The non-negative factors wmetricw_{\mathrm{metric}} and wtypew_{\mathrm{type}} encode compatibility of evaluation metrics and task types. Dataset-size similarity is calculated as

wsize(τ,τ0)=exp⁡[−γ∣log⁡∣Dτ∣−log⁡∣Dτ0∣∣],(7)w_{\mathrm{size}}(\tau,\tau_0)=\exp\left[-\gamma\left|\log|\mathcal{D}_{\tau}|-\log|\mathcal{D}_{\tau_0}|\right|\right], \tag*{(7)}

where ∣Dτ∣|\mathcal{D}_{\tau}| denotes the dataset size associated with task τ\tau, and γ>0\gamma>0 controls the penalty for size differences. Description similarity is calculated from task-description embeddings eτ\mathbf{e}_{\tau} and eτ0\mathbf{e}_{\tau_0}:

wemb(τ,τ0)=max⁡{cos⁡(eτ,eτ0),0}.(8)w_{\mathrm{emb}}(\tau,\tau_0)=\max\{\cos(\mathbf{e}_{\tau},\mathbf{e}_{\tau_0}),0\}. \tag*{(8)}

Family and workflow transfer scores. Let Tf\mathcal{T}_f denote the eligible source tasks containing an evaluated workflow from family ff, and let Vτ,f\mathcal{V}_{\tau,f} denote the evaluated workflows from that family on source task τ\tau. The family-level transfer score is

transfer⁡(f)=∑τ∈Tfw(τ,τ0)mean⁡v∈Vτ,fsˉτ(v)∑τ∈Tfw(τ,τ0).(9)\operatorname{transfer}(f)=\frac{\sum_{\tau\in\mathcal{T}_f}w(\tau,\tau_0)\operatorname{mean}_{v\in\mathcal{V}_{\tau,f}}\bar{s}_{\tau}(v)}{\sum_{\tau\in\mathcal{T}_f}w(\tau,\tau_0)}. \tag*{(9)}

This calculation first averages performance within each source task and then combines those task-level averages. For a target-task workflow viv_i, let Ti\mathcal{T}_i denote source tasks containing an eligible historical match. The matching rule uses workflow family and modification type, and matched⁡(vi,τ)\operatorname{matched}(v_i,\tau) denotes the historical workflow identified on source task τ\tau. The workflow-level transfer score is

transfer⁡(vi)=∑τ∈Tiw(τ,τ0)sˉτ(matched⁡(vi,τ))∑τ∈Tiw(τ,τ0).(10)\operatorname{transfer}(v_i)=\frac{\sum_{\tau\in\mathcal{T}_i}w(\tau,\tau_0)\bar{s}_{\tau}\bigl(\operatorname{matched}(v_i,\tau)\bigr)}{\sum_{\tau\in\mathcal{T}_i}w(\tau,\tau_0)}. \tag*{(10)}

Tasks without an eligible record are excluded from the corresponding numerator and denominator. These weighted averages are defined when the total task weight is positive. With non-negative task weights and utilities in [−1,1][-1,1], each defined transfer score also lies in [−1,1][-1,1].

Family-selection rule. Let bb index family-selection decisions, Feligible\mathcal{F}_{\mathrm{eligible}} denote the eligible workflow families and nb(f)≥1n_b(f)\geq1 denote the visit count for family ff. The next family is selected according to

fb=arg⁡max⁡f∈Feligible[exploit⁡b(f)+αln⁡(b+1)nb(f)+transfer⁡(f)].(11)f_b=\arg\max_{f\in\mathcal{F}_{\mathrm{eligible}}}\left[\operatorname{exploit}_b(f)+\alpha\sqrt{\frac{\ln(b+1)}{n_b(f)}}+\operatorname{transfer}(f)\right]. \tag*{(11)}

The exploitation term summarizes the best current-task development performance within family ff, including stability and overfitting adjustments, on a scale from zero to one. The coefficient α\alpha controls exploration, with larger bonuses for less-visited families [2]. Historical evidence enters through the family-level transfer score defined above. Historical experience guides initial exploration, and current-task scores are incorporated as evaluations become available.

Step 2: Selecting parent workflows. Let V\mathcal{V} contain completed, non-ensemble workflows with finite development scores on the current task. For workflow vi∈Vv_i\in\mathcal{V}, let qiq_i denote the current-task score supplied to the sampler and cic_i the number of existing children. Sampling weights and probabilities are

wi=σ(βqi−median⁡vj∈Vqjmax⁡{MAD⁡vj∈V(qj),ϵ})11+ci[1+λtransfer⁡(vi)],w_i=\sigma\left(\beta\frac{q_i-\operatorname{median}_{v_j\in\mathcal{V}}q_j}{\max\{\operatorname{MAD}_{v_j\in\mathcal{V}}(q_j),\epsilon\}}\right)\frac{1}{1+c_i}\left[1+\lambda\operatorname{transfer}(v_i)\right],
p(vi)=wi∑vj∈Vwj.(12)p(v_i)=\frac{w_i}{\sum_{v_j\in\mathcal{V}}w_j}. \tag*{(12)}

The coefficient β\beta controls sensitivity to standardized current-task scores. The factor 1/(1+ci)1/(1+c_i) reduces repeated expansion of the same parent, and λ\lambda controls the contribution of historical transfer. The normalized sampler requires non-negative weights and a positive total weight.

Step 3: Proposing workflow modifications. The agent retrieves previous modifications, their rationales and their outcomes from refinement memory to guide changes to the selected parent workflow. Each proposal specifies the changes and their rationale. The proposed workflow is checked for the required format, duplication of an existing candidate and feasibility of execution. Malformed, duplicate or infeasible proposals do not become completed workflow nodes. The proposed modification and its observed outcome are added to refinement memory after execution, including changes that reduced performance or failed to execute.

Step 4: Executing and evaluating workflows. The proposed child workflow is implemented and run in an isolated environment using the task-specific evaluation procedure. Execution memory informs environment settings and resource allocation. If setup or execution fails, the agent first searches execution memory for similar errors and successful repairs. Relevant experience guides changes to the code, dependencies or environment settings. If no suitable repair is available or the problem persists, the agent diagnoses the current failure and proposes further changes. The workflow is rerun after each repair, within the repair-attempt limit and computational budget. Successful evaluations supply development scores; all attempts retain their execution status, logs, resource measurements and repair outcomes. Failed evaluations count toward the workflow-evaluation allowance, but repairs of the same candidate do not consume additional evaluations.

Step 5: Updating search policy to guide subsequent searches. After each attempt, MolRSI adds the workflow and its development score or failure status to solution memory. It stores the proposed modification and its outcome in refinement memory, and runtime, resource use, errors and repair outcomes in execution memory. The corresponding node and edge in the search forest are also updated. The updated memories guide subsequent family selection, parent sampling, modification proposals and execution. These updates change the effective search policy πt\pi_t, whose subsequent evaluations generate experience for the next memory update. This feedback implements the RSI loop expressed by MtM_t, EtE_t and πt\pi_t in Equation (1).

Historical and current task updates. Current task executions update development scores, visit counts and the experience used for subsequent refinement and execution. When the source memory was fixed for an evaluation, its historical transfer scores remained unchanged during that target-task search. Under continued use across tasks, experience from newly completed tasks could contribute to transfer estimates for later searches. The bounded transfer scores serve as empirical selection priors; their boundedness alone does not establish a standard target-task or node-level regret guarantee.

Search termination and returned workflow. Search stops when the task-specific limit on evaluation attempts or computation time is reached. MolRSI returns the successfully evaluated workflow with the best current-task development score. This is the best evaluated workflow under the stated criterion and budget, rather than a global optimum. The evaluation unit and accounting for failed attempts and repairs are specified in Supplementary Information S2.

Workflow transfer with and without further search. MolRSI could use experience from previous tasks to retrieve a workflow for direct transfer or initialize a new search. It first identifies the best matching previously completed task using task type, evaluation metric, dataset size and task description similarity. It then retrieves that source task’s workflow with the best development score from solution memory. This source task routing is distinct from the family- and workflow-level transfer scores used in Steps 1 and 2. In zero-search mode, the retrieved configuration is applied to the new task without proposing or comparing alternative workflows. Model parameters are fitted using the new task’s training data where required, and fitting and execution still incur computational cost. Alternatively, the retrieved workflow becomes a starting point for Steps 1–5 under the new task’s limits on evaluation attempts and computation time.

Comparison with baseline agents

Shared evaluation protocol

Agents and comparison settings. We compared MolRSI with Biomni [3], Claude Science [4], STELLA [5] and Codex [6] on antibacterial prediction and protein binder ranking workflow development. The antibacterial benchmark additionally included Claude Code [7]. Within each benchmark, agents received the same task inputs, permitted development data, evaluation objective and workflow-evaluation allowance. Each agent used its native tools and workflow development procedures without a common predefined workflow search space. The task-specific instructions and permitted tools are described below.

Task instructions and permitted tools. For baseline searches in antibacterial prediction and protein ranking, prompts specified the task inputs, fixed data partitions, development objective and metric, evaluation allowance, required outputs and permitted tools. No starting prediction model or ranking workflow was prescribed. The instructions prohibited changes to the fixed data, partitions, and data-loading or evaluation code, hidden candidate evaluations, and the use of held-out labels or performance for workflow development or selection. Independent baseline runs also prohibited reuse of results, code or model choices from another baseline run.

Search permissions and execution records. These baseline agents could search using their native capabilities, and local agents could install software packages. Search, installation, environment inspection and deterministic feature caching independent of the labels did not consume candidate evaluations. Candidates were evaluated sequentially, with subsequent choices based on the preceding development results. Each candidate’s code, outputs, execution status, logs, runtime, development scores and held-out test predictions were retained.

Evaluation allowance and repair. A candidate counted as one workflow evaluation once its evaluation began, including evaluations that failed or timed out. Repair attempts for the same candidate did not count as additional workflow evaluations. The authors supplied the task inputs and evaluation interfaces without selecting workflow components, repairing candidates or granting additional retries during the runs.

LLM backbones. MolRSI used Claude Sonnet 5 throughout the antibacterial and protein studies. In the antibacterial prediction and protein ranking benchmarks, the baseline agents also used Claude Sonnet 5, except Codex, which used GPT-5.5. Claude Science used Claude Opus 5 for prospective binder design.

API access and agent interfaces. MolRSI accessed its model through the Anthropic API. Biomni ran on its own platform and used its platform-provided environment for workflow planning and execution. Its outputs were not independently reproduced outside that platform. Claude Science used its scientific workflow-development interface. STELLA ran in self-evolve mode using the implementation available at https://github.com/asfarasimconcerned/STELLA. Codex and Claude Code [7] used their native coding-agent interfaces, with writable workflow directories and fixed data and evaluation helpers.

Computational resources. Across antibacterial prediction, protein ranking and prospective binder design, the authors provided GPUs to agent baselines, and each agent controlled job scheduling and GPU use within its task-specific budget. Their prompts imposed no hard wall-clock limit. These hardware assignments describe the four local baselines and do not specify the resources provided by the Biomni platform.

Antibacterial task instructions and permitted tools

Task inputs and evaluation. We evaluated MolRSI with and without RSI alongside the baseline agents on the six antibacterial target tasks. Systems received the same molecular inputs, fixed partitions, development objective and allowance of 20 attempted workflow evaluations per task. A completed candidate evaluation covered all five fixed splits in § 14.1, rather than counting each split as a separate attempt. Mean validation AUPRC guided search and final workflow selection; test predictions were scored after search.

Search permissions and execution records. Antibacterial baselines followed the shared search permissions and execution-record requirements in Section S2.1, using validation scores as their development feedback.

Computational resources. Claude Code, Claude Science, STELLA and Codex were each assigned one NVIDIA L40S GPU and 20 CPU threads. Scheduling followed the shared protocol in Section S2.1.

Complete task prompt and substitutions. The Claude Code prompt for the E. coli task is reproduced below, with machine-specific paths anonymized and device indices omitted. Path prefixes are represented by <BASELINE_ROOT>; the remaining instructions are unchanged. Biomni received the same task instructions through its native interface. Dataset names, identifiers, split sizes and loading checks were adjusted for each task (Supplementary Table S2).

DatasetTask nameTrain/validation poolTest set
S. aureusactivity_S_aureus35,4513,939
P. aeruginosaactivity_P_aeurignosa35,340–35,3413,926–3,927
A. baumanniiactivity_A_baumanii35,3413,926
E. coliactivity_E_coli35,340–35,3413,926–3,927
K. pneumoniaeactivity_K_pneumoniae35,340–35,3413,926–3,927
N. gonorrhoeaeactivity_N_gonorrhea34,7853,865

Table S2. Table S2: Dataset-specific fields in the antibacterial baseline prompts. The dataset identifier was formed by prefixing the task name with antibiotic__. Names retain the spelling used in the input files. Train/validation pool sizes combine the training and validation partitions; ranges reflect the five fixed splits.

Complete antibacterial task prompt: Claude Code, E. coli

You are participating in the antibiotic activity benchmark. Your job is to find the best model you can for one task, under a fixed protocol.

BENCHMARK INSTRUCTIONS


  • The task-specific description is provided below. Follow it exactly.

  • Work in ‘<BASELINE_ROOT>/claude_code/activity_E_coli‘. The dataset is at ‘<BASELINE_ROOT>/ claude_code/activity_E_coli/dataset_activity_E_coli/‘.

  • The fixed helper ‘prepare.py‘ is at ‘<BASELINE_ROOT>/claude_code/activity_E_coli/prepare.py‘. Import and use it. Do not modify it:

    import sys; sys.path.insert(0, "<BASELINE_ROOT>/claude_code/activity_E_coli") from prepare import (load_seed_split, load_seed_test, evaluate, save_predictions, record_step, SEEDS, METRIC, budget_remaining)

    load_seed_split(seed) -> (train_df, val_df) both carry y load_seed_test(seed) -> test_df carries y, for scoring only evaluate(y_true, y_pred) -> float uses this task’s metric save_predictions(step, seed, test_df, y_pred) -> submission/step_NN/ record_step(step, val_scores, description) closes one candidate budget_remaining() -> int

  • You must train and evaluate on all five fixed seed splits ‘1, 2, 3, 4, 5‘.

  • For every candidate, number it (1, 2, 3, ...), call ‘save_predictions(step, seed, ...)‘ for each of the five seeds, then call ‘record_step(step, val_scores, description)‘ once. Nothing is overwritten between steps, so every candidate stays scoreable afterwards.

  • For each seed print exactly: [seed N] val_auprc=VALUE

  • Your final message must contain the result line in the exact format: ‘[result] AUPRC = MEAN +/- STD‘ reporting the VALIDATION mean and standard deviation of your selected candidate, and must state which step number you selected.

  • The mean validation metric across the 5 seed splits is the sole optimization and model-selection target.

  • ‘test.csv‘ carries ‘Y‘ so that predictions can be scored offline after this run. Never read it, train on it, or compute a test score during the search – model selection is validation-only.

  • Do not modify dataset files.

ADDITIONAL NOTES


  • Compute: NVIDIA L40S GPU and 20 CPU threads. ‘prepare.py‘ pins both on import; do not override them.

  • Host folder access: if you need it, call ‘request_host_access‘ for exactly ‘<BASELINE_ROOT>/claude_code‘ with mode ‘rw‘. That one grant covers this task’s dataset, prepare.py and submission directory, so do not request any narrower or additional path.

  • Total runtime: there is no hard wall-clock limit. Your budget is the experiment count below, so spend it on better ideas rather than rushing.

  • Total steps: at most 20 candidate experiments. This is enforced, not advisory: ‘record_step‘ raises once the 20th is recorded. Call ‘budget_remaining()‘ to check, and plan so your best configuration is measured before the budget runs out.

  • No starting method is prescribed. Deciding what to try is part of the task.

  • Live web search is available in this Claude Code session. You may search online for the models and methods that actually work for this kind of endpoint – recent molecular representation models, pretrained embeddings, domain-specific architectures – before committing budget to a candidate. You may install and use any package or published method you judge promising. Searching and installing do not consume experiment budget; only a recorded candidate does. This is optional, not required.

  • Use the budget to iterate and improve, but keep each candidate reasonably efficient.

  • Work one candidate at a time. Do not plan or fix the whole sequence in advance: after each ‘record_step‘, read that candidate’s five validation scores and let what you just learned decide the next candidate. Each candidate should be a focused change motivated by the results so far, not the next item on a pre-made list.

TASK DESCRIPTION


Molecular Property Prediction Benchmark – activity_E_coli

Task

Predict the molecular property endpoint activity_E_coli from molecular SMILES strings.

  • Dataset id: ‘antibiotic__activity_E_coli‘

  • Dataset family: antibiotic

  • Category: activity

  • Task type: classification

  • Primary metric: AUPRC (higher is better)

  • Train/validation pool: 35340–35341 molecules depending on seed

  • Held-out test set: 3926–3927 molecules depending on seed; you must produce per-seed test

predictions for every candidate

  • Split: {"fingerprint": {"nbits": 2048, "radius": 2, "type": "Morgan"}, "method": "greedy_leader_tanimoto", "similarity_threshold": 0.4, "stratified_by": "Y", "test_fraction": 0.1, "val_fraction": 0.1}

Data

The uploaded dataset_activity_E_coli/ directory belongs only to activity_E_coli. It contains meta.json and five fixed split directories, seed_1/ through seed_5/. Before running any experiment, verify that dataset_activity_E_coli/meta.json has name equal to activity_E_coli, dataset_id equal to antibiotic__activity_E_coli, and primary metric equal to AUPRC; stop and report a dataset mismatch if any value differs. Each seed directory contains train.csv, val.csv, and test.csv. The labeled training and validation files contain Drug_ID, Drug (SMILES), Y (label/target), and may contain precomputed molecule-derived descriptor columns. The test files contain the same columns, including Y; Y is present only so that predictions can be aligned and scored afterwards, and must never be read during training, tuning, or model selection.

Use the fixed split files directly:

import pandas as pd

SEEDS = [1, 2, 3, 4, 5]

for seed in SEEDS:
    train_df = pd.read_csv(f"dataset_activity_E_coli/seed_{seed}/train.csv")
    val_df = pd.read_csv(f"dataset_activity_E_coli/seed_{seed}/val.csv")

Model selection is validation-only: never let test labels or test performance influence training, tuning, search, or candidate choice. For every candidate you evaluate, do generate and save per-seed test predictions via prepare.save_predictions — they are scored afterwards, outside this run. Do not create alternative train/validation splits and do not merge train and validation during search.

Evaluation

The primary validation metric is AUPRC (higher is better). Evaluate each candidate independently on all five fixed seed splits. Compute the metric separately for each seed, then report the arithmetic mean and sample standard deviation (ddof=1) across the five values. Use roc_auc_score for AUROC, average_precision_score for AUPRC, mean_absolute_error for MAE, and spearmanr(...).statistic for Spearman. Classification metrics must be computed from positive-class probabilities, not hard class labels.

For every candidate, print exactly one validation line for each seed followed by the aggregate result:

[seed 1] val_auprc=VALUE
[seed 2] val_auprc=VALUE
[seed 3] val_auprc=VALUE
[seed 4] val_auprc=VALUE
[seed 5] val_auprc=VALUE
[result] AUPRC = MEAN +/- STD

All five seed lines and the final result line are mandatory. The five-seed validation mean is the sole optimization and model-selection target.

Experiment Budget

Run exactly 20 complete candidate experiments, named ‘step_01‘ through ‘step_20‘. One budget unit is one candidate method trained and evaluated on all five fixed seed splits. Evaluate one candidate at a time. A candidate whose evaluation starts but crashes or times out still consumes its numbered step. Environment inspection and deterministic label-independent feature caching do not consume a step, but unlogged pilot experiments, hidden parameter sweeps, and extra candidate evaluations are not allowed.

After each step, record the candidate description, complete source code, command, stdout/stderr, runtime, status, five validation values, validation mean, and sample standard deviation. Preserve every step’s artifacts without overwriting earlier steps. After ‘step_20‘, select the completed candidate with the best five-seed validation mean according to the stated metric direction and preserve its source code as the final solution.

Constraints

  • Do not modify the dataset files, labels, fixed splits, primary metric, or evaluation definition.

  • Do not use test labels, test predictions, or test performance for training, tuning, search, or model selection.

  • Keep the five-seed protocol intact; every candidate must run on seeds ‘[1, 2, 3, 4, 5]‘.

  • Do not add extra search steps.

Final Response

At the end, report the selected step, its five per-seed validation values, validation mean +/- sample standard deviation, the number of completed steps out of 20, failed steps, and the paths to the selected source code and complete step logs.

Protein task instructions and permitted tools

Task inputs and evaluation.

Ranking workflow search. Claude Science, Biomni, STELLA and Codex received target structures, candidate collections, permitted development labels and a task-specific ranking objective. Each baseline was asked to return a workflow assigning a scalar score to each target–binder complex. AUPRC on the 13 search targets guided workflow selection for each miniprotein-binder task. AUROC on the two gp100 collections guided selection for the pMHC task. Selected workflows were fixed before held-out evaluation using the partitions in § 15.1.

Prospective design workflow. The recorded Claude Science protocol used an independent session per target. The recorded instructions supplied HLA heavy-chain and β2\beta_2-microglobulin sequences and MSAs, on- and off-target peptide sequences, an 80–120-residue binder range, epitope hints and novelty references. Target coordinates were not supplied. The requested output was 500 ranked designs, with the prescribed on- and off-target scoring criterion and diversity constraints described in Section S4.5.

Search permissions and execution records.

Ranking workflow search. All four protein ranking baselines followed the same search permissions and execution-record requirements as the antibacterial baselines (Section S2.1), using scores on the permitted search targets as their development feedback.

Prospective design workflow. Claude Science accessed and installed tools under its own platform rules. It chose generator settings, additional sampling and refinement steps within the task’s sampling, scoring and diversity requirements. Following Anthropic’s published prompt (source below), the agent was asked to save design sequences and structures, records of how each design was generated and refined, scores, run configurations and logs. Failed checks and runs were also to be recorded (Section S4.5).

Computational resources. Both ranking and prospective design followed the shared scheduling and wall-clock policy in Section S2.1.

Ranking workflow search. Claude Science, STELLA and Codex each received 300 A100 GPU-hours and 20 attempted workflow evaluations per benchmark task. Folded structures and model scores were cached and reused across evaluations.

Prospective design workflow. Claude Science received a budget of 1,000 A100 GPU-hours per target, matching MolRSI. The agent determined how to schedule jobs within this budget.

Task prompts and substitutions.

Ranking workflow search. The Codex prompt for the pMHC task is reproduced below, with machine-specific paths anonymized. Path prefixes are represented by <BASELINE_ROOT>; the remaining instructions are unchanged. Claude Science, Biomni and STELLA received the same task instructions through their native interfaces. The 14 miniprotein-binder ranking tasks used the same prompt with the candidate collections, the leave-one-target-out partition of Supplementary Table S9 and AUPRC as the selection metric substituted for those tasks.

Complete pMHC ranking task prompt: Codex, pmhc

You are participating in the protein binder ranking benchmark. Your job is to find the best ranking workflow you can for one task, under a fixed protocol.

BENCHMARK INSTRUCTIONS
------

- The task-specific description is provided below. Follow it exactly.
- Work in ‘<BASELINE_ROOT>/codex/pmhc_binder_ranking‘. The dataset is at ‘<BASELINE_ROOT>/codex/pmhc_binder_ranking/dataset_pmhc_binder_ranking/‘.
- The fixed helper ‘prepare.py‘ is at ‘<BASELINE_ROOT>/codex/pmhc_binder_ranking/prepare.py‘.
  Import and use it. Do not modify it:

      import sys; sys.path.insert(0, "<BASELINE_ROOT>/codex/pmhc_binder_ranking")
      from prepare import (load_search, load_test, evaluate,
                           save_predictions, record_step, SEARCH, METRIC,
                           budget_remaining)

      load_search(collection) -> df              carries Y
      load_test()            -> df              carries Y, for scoring only
      evaluate(y_true, y_score) -> float        uses this task’s metric
      save_predictions(step, collection, df, y_score) -> submission/step_NN/<collection>.csv
                                                   with design_id and score
      record_step(step, search_scores, description) closes one candidate
      budget_remaining() -> int

- You must score every candidate on both search collections in ‘SEARCH‘.
- For every candidate, number it (1, 2, 3, ...), call ‘save_predictions(step, collection, ...)‘
  for both search collections and for the held-out test collection, then call
  ‘record_step(step, search_scores, description)‘ once. Nothing is overwritten between

steps, so every candidate stays scoreable afterwards.

  • For each search collection print exactly: [COLLECTION] val_auroc=VALUE

  • Your final message must contain the result line in the exact format: ‘[result] AUROC = MEAN +/- STD‘ reporting the SEARCH mean and standard deviation of your selected candidate, and must state which step number you selected.

  • The mean search AUROC over the two gp100 collections is the sole optimization and model-selection target.

  • The test collection carries ‘Y‘ so that predictions can be scored offline after this run. Never read it, train on it, or compute a test score during the search — workflow selection uses the search collections only.

  • Do not modify dataset files.

ADDITIONAL NOTES


  • Compute: 300 A100 GPU-hours. Jobs are single-GPU and independent; pin ‘CUDA_VISIBLE_DEVICES‘ on every one of them, because several folding stacks open every visible GPU on import and one unpinned job destroys throughput on its whole host.

  • Folded structures and model scores may be cached and reused across candidates. Label-free caching of this kind does not consume an experiment, so fold once and score many times rather than refolding per candidate.

  • Workspace: ‘<BASELINE_ROOT>/codex/pmhc_binder_ranking‘ is writable and network access is enabled, so you can install packages and fetch model weights. Write nothing outside that directory, and treat the dataset directory inside it as read-only.

  • Total runtime: there is no hard wall-clock limit. Your budget is the experiment count below and the GPU-hours above, so spend them on better ideas rather than rushing.

  • Total steps: at most 20 candidate experiments. This is enforced, not advisory: ‘record_step‘ raises once the 20th is recorded. Call ‘budget_remaining()‘ to check, and plan so your best workflow is measured before the budget runs out.

  • No starting workflow is prescribed. Deciding what to try is part of the task.

  • Web search is available in this session. You may search online for the models and methods that actually work for this kind of endpoint — structure predictors, interface-confidence metrics, published ranking criteria, pMHC-specific scoring — before committing budget to a candidate. You may install and use any package or published method you judge promising. Searching and installing do not consume experiment budget; only a recorded candidate does. This is optional, not required.

  • Use the budget to iterate and improve, but keep each candidate reasonably efficient.

  • Work one candidate at a time. Do not plan or fix the whole sequence in advance: after each ‘record_step‘, read that candidate’s search scores and let what you just learned decide the next candidate. Each candidate should be a focused change motivated by the results so far, not the next item on a pre-made list.

TASK DESCRIPTION


Protein Binder Ranking Benchmark — pmhc_binder_ranking

Task

Rank designed miniprotein binders against peptide–MHC class I complexes: assign a scalar score to each target–binder complex, higher for candidates that were selected in the screen.

  • Dataset id: ‘protein__pmhc_binder_ranking‘

  • Dataset family: protein binder ranking

  • Category: pMHC

  • Task type: classification (binary selection outcome)

  • Primary metric: AUROC (higher is better)

  • Search collections: two gp100 HLA-A2 complexes, 2,611 and 3,271 candidates

  • Held-out test collection: MART-1 (A2L; ELAGIGILTV), 3,845 candidates; you must produce test predictions for every candidate

  • Partition: fixed and given -- both gp100 collections are the search set, MART-1 is the test set

Data

The uploaded dataset_pmhc_binder_ranking/ directory belongs only to pmhc_binder_ranking. It contains meta.json and three collection directories: gp100_YLEPGPVTA/ and gp100_IMDQVPFSV/, which are the search collections, and mart1_ELAGIGILTV/, which is the test collection. Before running any experiment, verify that dataset_pmhc_binder_ranking/meta.json has name equal to pmhc_binder_ranking, dataset_id equal to protein__pmhc_binder_ranking and primary metric equal to AUROC, and that the two search collections hold 2,611 candidates with 14 positives and 3,271 candidates with 4 positives respectively; stop and report a dataset mismatch if any value differs.

Each collection directory contains candidates.csv and the target specification it was screened against: target.yaml, carrying the hla_allele, hla_sequence, b2m_sequence and peptide fields; msa/hla.a3m and msa/b2m.a3m, the frozen target-chain alignments; and target.cif, the reference complex structure for that pMHC. candidates.csv carries design_id, binder_seq (102 aa, 20 canonical residues) and Y, the binary outcome of the sorting experiment, where 1 means the candidate was selected. The test collection has the same columns, including Y; Y is present only so that predictions can be aligned and scored afterwards, and must never be read during workflow development, tuning or selection.

Use the fixed collections directly:

import pandas as pd

SEARCH = ["gp100_YLEPGPVTA", "gp100_IMDQVPFSV"]

for collection in SEARCH:
    df = pd.read_csv(f"dataset_pmhc_binder_ranking/{collection}/candidates.csv")

Workflow selection is search-only: never let test labels or test performance influence scoring, tuning, search or candidate choice. For every candidate you evaluate, do generate and save test predictions via prepare.save_predictions -- they are scored afterwards, outside this run. Do not create alternative partitions, and do not merge the search and test collections during search.

Three properties of this data decide what a result here means. Positives are scarce: 18 across the two search collections, so a handful of candidates moves the metric and a difference of a few points of AUROC is not a reliable ordering of two workflows. The two search collections present different gp100 peptides on the same HLA-A2 scaffold and differ only in the peptide chain, while the test collection presents an unrelated peptide, so a workflow fitted to gp100-specific features will not transfer. The negatives are hard by construction: every candidate in every collection was a design that a generative pipeline already ranked highly enough to be worth ordering, so separation here will not reproduce on a designed-versus-random task.

Evaluation

The primary metric is AUROC (higher is better). Evaluate each candidate independently on both search collections. Compute the metric separately for each collection, then report the arithmetic mean and sample standard deviation (ddof=1) across the two values. Use ``

roc_auc_score‘ for AUROC and ‘average_precision_score‘ for AUPRC, and compute both from
continuous scores, not hard class labels. AUPRC and enrichment factor may be recorded as
diagnostics, but the search mean AUROC is the selection target.

For every candidate, print exactly one validation line for each search collection followed by the
aggregate result:

‘‘‘text
[gp100_YLEPGPVTA] val_auroc=VALUE
[gp100_IMDQVPFSV] val_auroc=VALUE
[result] AUROC = MEAN +/- STD
‘‘‘

Both search lines and the final result line are mandatory. The search mean AUROC is the sole
optimization and model-selection target.

## Experiment Budget

Run at most 20 complete candidate experiments, named ‘step_01‘ through ‘step_20‘. One budget unit
is one candidate ranking workflow evaluated on both search collections. Evaluate one candidate
at a time. A candidate whose evaluation starts but crashes or times out still consumes its
numbered step; repair attempts on the same candidate do not consume an additional step.
Environment inspection and deterministic label-independent caching of folded structures and
model scores do not consume a step, but unlogged pilot experiments, hidden parameter sweeps
and extra candidate evaluations are not allowed.

After each step, record the candidate description, complete source code, command, stdout/stderr,
runtime, GPU-hours used, status, both search values, the search mean and the sample standard
deviation. Preserve every step’s artifacts without overwriting earlier steps. After the final
step, select the completed candidate with the best search mean AUROC and preserve its source
code as the final solution.

## Constraints

- Do not modify the dataset files, labels, fixed partition, primary metric or evaluation
  definition.
- Do not use test labels, test predictions or test performance for scoring, tuning, search or
  workflow selection.
- Keep the partition intact; every candidate must be scored on both search collections and must
  produce test predictions.
- Do not exceed 300 A100 GPU-hours, and pin ‘CUDA_VISIBLE_DEVICES‘ on every job.
- Do not add extra search steps.

## Final Response

At the end, report the selected step, its two per-collection search AUROC values, the search mean
+/- sample standard deviation, the number of completed steps out of 20, failed steps, the GPU-
hours used out of 300, and the paths to the selected source code and complete step logs.

Prospective design workflow. The Claude Science instructions were adapted from Anthropic’s published multi-target binder-design prompt [8].2 pMHC-specific modifications and run settings are described in Section 4.5.

MolRSI for antibiotic discovery

Datasets and benchmark evaluation

Dataset roles. We used 25 source tasks to accumulate experience for antibiotic workflow development and six antibacterial target tasks to evaluate its transfer. The source tasks comprised 22 absorption, distribution, metabolism, excretion and toxicity (ADMET) tasks from the Therapeutics Data Commons (TDC) [9] and three cytotoxicity tasks for HepG2, HSkMC and IMR-90 cells. The antibacterial targets were activity prediction for Staphylococcus aureus, Pseudomonas aeruginosa, Acinetobacter baumannii, Escherichia coli, Klebsiella pneumoniae and Neisseria gonorrhoeae. The cytotoxicity and antibacterial data were obtained from our previous study [10]. Experience accumulated on the source tasks was used to initialize searches on the antibacterial targets; outcomes from the six target tasks were excluded from this initial memory. Supplementary Table S3 lists the source tasks and their evaluation metrics.

Table S3: The 25 source tasks used for memory accumulation. The first 22 tasks are from the TDC ADMET benchmark, and the remaining three are mammalian cytotoxicity tasks. TDC sizes are the reported benchmark sizes; these tasks used the official benchmark partitions.

CategoryDatasetEndpointSizeMetric
AbsorptionCaco-2Intestinal permeability in a Caco-2 assay906MAE
AbsorptionHIAHuman intestinal absorption578AUROC
AbsorptionPgpP-glycoprotein inhibition1,212AUROC
AbsorptionBioavailabilityOral bioavailability640AUROC
AbsorptionLipophilicityOctanol–water distribution coefficient4,200MAE
AbsorptionSolubilityAqueous solubility9,982MAE
DistributionBBB (Martins)Blood–brain barrier penetration1,975AUROC
DistributionPPBRHuman plasma-protein binding rate1,797MAE
DistributionVDssVolume of distribution at steady state1,130Spearman
MetabolismCYP2C9 substrateCYP2C9 substrate classification666AUPRC
MetabolismCYP2D6 substrateCYP2D6 substrate classification664AUPRC
MetabolismCYP3A4 substrateCYP3A4 substrate classification667AUROC
MetabolismCYP2C9 inhibitionCYP2C9 inhibitor classification12,092AUPRC
MetabolismCYP2D6 inhibitionCYP2D6 inhibitor classification13,130AUPRC
MetabolismCYP3A4 inhibitionCYP3A4 inhibitor classification12,328AUPRC
ExcretionHalf lifeDrug half-life667Spearman
ExcretionClearance (hepatocyte)Hepatocyte intrinsic clearance1,020Spearman
ExcretionClearance (microsome)Microsomal intrinsic clearance1,102Spearman
ToxicityhERGhERG-channel blockade648AUROC
ToxicityDILIDrug-induced liver injury475AUROC
ToxicityAmesMutagenicity in the Ames assay7,255AUROC
ToxicityLD50LD_{50}Acute oral toxicity7,385MAE
CytotoxicityHepG2Human hepatocellular cytotoxicity39,312AUPRC
CytotoxicityHSkMCHuman skeletal-muscle cytotoxicity39,312AUPRC
CytotoxicityIMR-90Human lung-fibroblast cytotoxicity39,312AUPRC

Table S3.

Dataset sizes and class distributions. The six antibacterial datasets contained between 38,650 and 39,390 labelled entries each (Supplementary Table S4). Positive labels were rare, ranging from 109 for P. aeruginosa to 1,321 for N. gonorrhoeae. Their prevalence varied more than tenfold across species, from 0.28% to 3.42%; negative labels accounted for the remaining 96.58–99.72%. AUPRC was used to evaluate the retrieval of these rare positives. Dataset sizes count labelled entries rather than unique molecular structures. Repeated SMILES entries were retained in the benchmark files, and their numbers are reported alongside the numbers of unique SMILES strings.

DatasetSizePositiveNegativePositive (%)Unique SMILESRepeated entries
S. aureus39,39047038,9201.1939,266124
P. aeruginosa39,26710939,1580.2839,2661
A. baumannii39,26722139,0460.5639,2661
E. coli39,26722239,0450.5739,2661
K. pneumoniae39,26718539,0820.4739,2661
N. gonorrhoeae38,6501,32137,3293.4238,62228

Table S4. Dataset sizes and class distributions for the six antibacterial target tasks. Size denotes the number of labelled entries, and positive labels indicate antibacterial activity. Unique SMILES were counted by exact string matching; repeated entries equal the total size minus the number of unique SMILES strings. All six tasks used AUPRC as their primary evaluation metric.

Similarity-based data partitions. The 22 TDC tasks used the official benchmark partitions and task-specific evaluation metrics. For each of the six antibacterial and three cytotoxicity tasks, we generated five fixed partitions using random seeds 1, 2, 3, 4 and 5. Molecules were represented by 2,048-bit Morgan fingerprints with radius 2 and grouped by greedy leader clustering at a Tanimoto threshold of 0.40 (greedy_leader_tanimoto). Clusters were assigned to training, validation and test sets with stratification by the binary label and target proportions of 8:1:1. All methods used the same partitions for a given task. Supplementary Table S5 reports the actual sizes and positive counts for all 45 dataset–seed combinations; negative counts are obtained by subtracting positives from the corresponding split size. Within each seed, the training, validation and test sets had no overlapping dataset identifiers or exact SMILES strings.

The five seeds repartitioned the same dataset, with partially overlapping training and test sets across seeds. They therefore provided repeated evaluations on different partitions of the same data. Positive counts could vary between partitions despite label stratification. For example, S. aureus test sets contained 72–82 positives, and E. coli validation sets contained 22–50 positives. These counts are reported separately for each seed so that the class distributions underlying the validation and test scores are explicit.

Compound overlap across tasks. Compound identity across datasets was assessed by exact matching of the supplied SMILES strings. The nine antibacterial and cytotoxicity tasks contained 39,274 distinct SMILES strings in total, of which 38,583 (98.2%) were present in all nine tasks. The three cytotoxicity datasets contained the same 39,224 unique SMILES strings; 39,219 were also present in each of the P. aeruginosa, A. baumannii, E. coli and K. pneumoniae datasets. Source and target tasks thus differed in biological endpoints while drawing largely on the same compound library. These counts refer to exact SMILES strings, without additional structure standardization for the overlap analysis.

Precomputed molecular features. Each split included 2,048-bit Morgan fingerprints [11] and 210 RDKit descriptors [12]. Missing descriptor values were replaced by the median for that descriptor in the training set. Descriptors were standardized using means and standard deviations estimated from the training set, and the same transformation was applied to the validation and test sets. Raw and standardized descriptors were provided in the same row order as the corresponding input data.

Table S5: Training, validation and test sizes for the nine datasets. Total gives the number of samples and Positive gives the number with a positive label. Negative counts equal Total minus Positive. Seeds are grouped only when all partition sizes and positive counts are identical; grouped seeds retain different sample assignments.

DatasetSeedTraining TotalTraining PositiveValidation TotalValidation PositiveTest TotalTest Positive
S. aureus131,5123403,939483,93982
231,5123473,939483,93975
331,5123433,939553,93972
431,5123353,939593,93976
531,5123373,939543,93979
P. aeruginosa1, 531,414803,927123,92617
231,414803,927133,92616
331,414853,926113,92713
431,414813,926113,92717
A. baumannii1–531,4141773,927223,92622
E. coli131,4131773,927223,92723
231,4141543,927413,92627
331,4141783,927223,92622
431,4141443,927503,92628
531,4141603,927353,92627
K. pneumoniae131,4141353,927203,92630
231,4141263,927203,92639
331,4141363,926183,92731
431,4141383,926183,92729
531,4141373,927193,92629
N. gonorrhoeae1–530,9201,0573,8651323,865132
HepG21–531,4502,6733,9313343,931334
HSkMC1, 3–531,4501,1923,9311493,931149
231,4491,1923,9311493,932149
IMR-90131,4502,6923,9313453,931410
231,4502,6973,9313453,931405
331,4502,6993,9313453,931403
431,4502,7573,9313453,931345
531,4502,7153,9313453,931387

Table S5. Training, validation and test sizes for the nine datasets. Total gives the number of samples and Positive gives the number with a positive label. Negative counts equal Total minus Positive. Seeds are grouped only when all partition sizes and positive counts are identical; grouped seeds retain different sample assignments.

Workflow selection and statistical reporting. Each antibacterial target involved a single workflow search. Every candidate was fitted and evaluated on all five fixed splits, and mean validation AUPRC guided search and selected the final workflow. Held-out test outcomes were not supplied as search feedback or used for workflow selection. Test AUPRC was summarized as the mean and sample standard deviation across the five splits. The standard deviation describes variation across the five data partitions. Systems were ranked separately within each task, with ties assigned their average rank. Mean ranks and mean AUPRC values gave all six tasks equal weight. AUROC denotes the area under the receiver-operating-characteristic curve, and AUPRC denotes the area under the precision–recall curve.

Held-out S. aureus activity test set. The predictive comparison in Figure 3f used 271 compounds from the All tested compounds worksheet of Supplementary Data 2 in our previous study [10]. The worksheet contained 241 screening candidates, 30 low-predicted-activity controls and 12 known-antibiotic-class positive controls. We retained the candidates and low-score controls and excluded the positive controls identified by the BLACTAM_OR_QUINOLONE categories. The resulting set contained 21 active and 250 inactive compounds. Both predictors were evaluated against the same binary labels (ACTIVITY). The published scores (ANTIBIOTIC_PS) gave an AUROC of 0.590 and an average precision of 0.090; average precision was used to calculate the comparator AUPRC. This predictive comparison was distinct from the campaign-level hit-rate comparison, which used 107 MolRSI-selected and 241 expert-selected compounds (§ 14.6.3).

Evaluation of recursive self-improvement

Source experience. MolRSI developed workflows independently on each of the 25 source tasks and pooled the resulting experience in solution, refinement and execution memory. Each antibacterial target began with the same pooled source experience. Experience generated during a target search guided later iterations of that search and was not shared with the other targets.

Resource library and RSI conditions. The small-molecule resource library contained 110 reusable skills: 55 models, 48 methods and seven tools or resources. These covered molecular standardization, feature construction, predictive models, class-imbalance handling, calibration, stacking and ensembling. MolRSI with RSI and MolRSI without RSI used the same resource library, backbone model, data partitions, evaluation procedure and 20-attempt search allowance. MolRSI with RSI began with the pooled source experience; MolRSI without RSI began without experience from previous tasks. In both conditions, memory was updated during the current task to guide later iterations.

Search trajectories. At each iteration, we identified the completed workflow with the highest mean validation AUPRC obtained so far. Its test performance was calculated after workflow search to construct the trajectory in Figure 2d. Test scores were not returned to the agent as feedback and were excluded from memory updates.

Zero-search transfer. For Figure 2e, MolRSI identified the best-matching source task using task type, evaluation metric, dataset size and task-description similarity, and then selected the workflow with the validation performance on that source task. Both selections preceded evaluation on the antibacterial target. Model parameters were fitted on the target training data where required, but no alternative target-workflow configurations were searched.

Resource accounting. One workflow-search iteration comprised construction, execution and validation evaluation of a candidate under the accounting rules in Section S2.2. Zero-search transfer omitted target-workflow search but retained any required model fitting and inference. Skill construction, experience accumulation on source tasks, target search, final fitting and screening-library inference were separate computational stages.

Experience-pool-size analysis. We transferred one workflow from each source task to each of the six antibacterial targets, obtaining a matrix of 150 source–target evaluations. For each subset of 2–25 source tasks, we retrospectively selected the transfer test AUPRC available within that subset separately for each target, then averaged these six task performances. The mean curve in Figure 2f is the analytical expectation of this quantity over all equally sized source-task subsets.

To estimate the percentile bands, we generated 2,000 random permutations of the 25 source tasks using numpy.random.default_rng with seed 20260901. For pool size ZZ, the first ZZ tasks in each permutation defined a sampled pool, producing nested pools across sizes. We calculated the interquartile and 5th–95th percentile ranges of the six-target mean across these pools. The seed affected these sampled bands, not the analytical mean or the underlying source–target scores. The bands describe variation in pool composition, not independent search replicates or confidence intervals for the routing method. At size 25, only the complete pool was available.

Case studies of experience-guided search

Experience-guided workflow reuse for A. baumannii. We examined how a workflow developed on AMES supported workflow selection for A. baumannii. Solution memory retained an equal-weight ensemble of LANTERN–RADR, MiniMol [13], ADMETrix and MapLight GNN, together with their component configurations. MiniMol used IA3-based adaptation [1] of the prediction head, a gated multilayer perceptron and class-balanced sampling. MapLight GNN used a Set2Set readout [14] with three processing steps. The four components achieved AMES AUROCs of 0.8480–0.8633, and their ensemble achieved 0.8731 (Supplementary Table S6). These configurations provided previously evaluated alternatives for the antibacterial task.

We transferred the components and their ensemble without changing their architectures or training settings. Model parameters were fitted on the A. baumannii training data, and target validation performance selected among the five inherited configurations before test evaluation. This selected LANTERN–RADR, which achieved a mean test AUPRC of 0.5356. The unchanged four-component ensemble achieved 0.4742, and the other individual components ranged from 0.3235 to 0.3863. Thus, the ensemble that performed best on AMES did not provide the best transfer performance. Retaining its component configurations allowed target validation to identify a more effective predictor without generating or refining a new workflow.

Search without experience from previous tasks evaluated 20 workflows on A. baumannii, comprising five initial model evaluations, six refinements and nine ensemble evaluations (Supplementary Table S7). The refinements changed molecular features, prediction heads, class-imbalance handling and training procedures. For example, ADMETTBoost–XGBoost [15] incorporated Morgan-fingerprint features, focal loss [16] and bagging. Euclia-ML variants used gradient-boosting heads, class-balanced focal loss and feature selection. Ensemble evaluations combined configurations evaluated earlier in the search.

The highest observed test AUPRC increased from 0.3716 at step 1 to 0.4134 after the ADMETTBoost–XGBoost refinement at step 3. It reached 0.4335 after the Euclia-ML refinement at step 5. Ensembles then achieved 0.4572 at step 6 and 0.4988 at step 7. The remaining 13 evaluations explored additional predictors, training modifications and ensembles but did not exceed 0.4988. These evaluations included gated fusion of molecular descriptors, cosine warm restarts [17], stochastic weight averaging [18] and label smoothing. Additional ensemble configurations achieved test AUPRCs of 0.4005–0.4684, showing that further combinations of the evaluated models did not improve the best observed result in this run.

The validation-selected LANTERN–RADR configuration exceeded the best observed test AUPRC in the 20-step search by 0.0368, corresponding to a relative improvement of 7.4%. This advantage was obtained without further workflow refinement, while retaining target-task model fitting and validation-based selection. Within the RSI framework, solution memory contributed to the effective search policy by supplying previously evaluated configurations for the new task. In this case, selecting and reusing one of these configurations produced a better predictor than the 20-step search. The unchanged source ensemble did not exceed that search, emphasizing the contribution of selecting a suitable configuration from the accumulated experience.

Workflow configurationAMES AUROCA. baumannii test AUPRC
LANTERN–RADR0.86330.5356
MiniMol0.85990.3235
ADMETrix0.85760.3863
MapLight GNN0.84800.3756
Equal-weight ensemble of all four0.87310.4742

Table S6. Transfer of AMES workflow configurations to A. baumannii. Target test AUPRC values are means across five seeds. LANTERN–RADR was selected using target validation performance before test evaluation. Source-task performance is reported as AUROC.

StepConfiguration and modificationTest AUPRC
1Chemprop–RDKit ensemble, initial configuration0.3716
2Euclia-ML, initial configuration0.3561
3ADMETTBoost–XGBoost: Morgan-fingerprint features, focal loss and five-seed bagging0.4134
4Euclia-ML: gradient-boosting head, class-balanced focal loss, feature selection and five-seed bagging0.3869
5Euclia-ML: gradient-boosting head, class-balanced focal loss and feature selection0.4335
6Ensemble of previously evaluated configurations0.4572
7Ensemble of previously evaluated configurations0.4988
8CheMeleon, initial configuration0.3483
9Ensemble of previously evaluated configurations0.4561
10Graph-transformer-QM-pretrain: class-balanced focal loss, gated RDKit-feature fusion and cosine warm restarts0.3707
11Ensemble of previously evaluated configurations0.4451
12Ensemble of previously evaluated configurations0.4632
13ADMETTBoost–XGBoost, initial configuration0.3690
14Ensemble of previously evaluated configurations0.4630
15Frad: gated descriptor fusion, stochastic weight averaging, class-balanced binary cross-entropy and label smoothing0.3669
16Ensemble of previously evaluated configurations0.4465
17MTAN–ADMET, initial configuration0.3578
18Ensemble of previously evaluated configurations0.4684
19Euclia-ML: gradient-boosting head, class-balanced focal loss and feature selection0.3791
20Ensemble of previously evaluated configurations0.4005

Table S7. Twenty step workflow search without experience from previous tasks on A. baumannii. Rows follow the execution order. Test AUPRC values are means across five seeds; bold type identifies the highest observed value. Each ensemble combined configurations evaluated earlier in the run. Workflow selection used validation performance, as described in § 14.2; test scores are shown to compare the resulting predictors.

Virtual screening and compound selection

Training data and screening library. The prospective activity and cytotoxicity models used the same training datasets as our previous study [10]. The activity models were trained on methicillin-susceptible S. aureus (MSSA; strain RN4220), and cytotoxicity was predicted for HepG2, HSkMC and IMR-90 cells. Both studies screened the same library of 12,076,365 compounds, comprising 11,277,225 entries from the Mcule purchasable database and 799,140 entries from the Broad Institute collection.

Selected screening models. The MolRSI workflow used separately optimized predictors for activity and cytotoxicity (Supplementary Figure S2). HepG2 and IMR-90 cytotoxicity predictors combined MiniMol embeddings with Morgan fingerprints and RDKit descriptors and used residual multilayer-perceptron heads. The HSkMC predictor used MiniMol embeddings with gated multilayer-perceptron heads. Activity ranking combined two MiniMol-based variants and a LANTERN–RADR ensemble with weights of 0.55, 0.30 and 0.15, respectively. These weights combined the outputs of the three component-specific ensembles.

Filtering, ranking and diversity selection. Screening proceeded through structural novelty filtering, cytotoxicity filtering, activity ranking, Butina clustering and diverse picking (Supplementary Figure S2). Structural filtering removed compounds matching PAINS or Brenk alerts [19, 20] or established antibiotic cores. It also required a maximum Tanimoto similarity below 0.40 to known antibiotics. The excluded core families were β\beta-lactams, quinolones, oxazolidinones, nitrofurans and sulfonamides. Cytotoxicity filtering required predicted scores of ≤0.40\le0.40 for each of HepG2, HSkMC and IMR-90. The retained compounds were ranked by the weighted antibacterial-activity ensemble described above. Butina clustering [21] grouped structurally similar candidates, and diverse picking selected compounds across clusters to retain chemical diversity. We selected and experimentally tested 107 compounds; the final selection included documented exceptions to the nominal cytotoxicity criterion.

Comparison with the previous expert-driven workflow

Workflow differences. The workflows differed in their predictive models, filter order and thresholds, and compound-selection procedures (Supplementary Figure S2). The expert-driven workflow applied activity prediction before cytotoxicity and structural filtering. MolRSI applied structural filtering before cytotoxicity prediction and activity ranking. Training data and library composition are specified in Section S3.4.

Expert-developed predictors and filtering. The previous study used separate 20-member Chemprop ensembles [22] with RDKit descriptors for S. aureus activity and for each of the three cytotoxicity tasks [10]. Activity-score thresholds of >0.4> 0.4 for Mcule and >0.2> 0.2 for the Broad Institute collection retained 10,310 compounds. Requiring all three cytotoxicity scores to be <0.2< 0.2 reduced this set to 3,646. PAINS/Brenk filtering retained 2,209 compounds, and similarity and antibiotic-core filtering retained 1,261. The similarity filter used a maximum Tanimoto similarity below 0.5 to training actives, and the excluded core families were β\beta-lactams and quinolones.

Candidate selection. In the expert-driven workflow, Monte Carlo tree search identified substructures supporting antibacterial predictions and informed selection of compounds with or without such rationales. Compounds were sourced according to availability and purity greater than 90%, and 241 filtered candidates were tested. The MolRSI workflow instead ranked candidates with its weighted activity ensemble and selected structurally diverse compounds across Butina clusters, leading to 107 selected and tested compounds. The substructure search in the previous study served molecular interpretation and candidate selection; it was a different application of tree search from the workflow-development search performed by MolRSI.

Comparison endpoints. Predictive discrimination was evaluated against shared labels, whereas experimental hit proportions were calculated within each campaign’s selected candidates. These analyses assess prediction and complete-workflow yield, respectively (§ 14.1 and § 14.6.3).

Experimental validation

Antibacterial activity assays

Bacterial strains and culture. S. aureus RN4220 (MSSA) was obtained from DSMZ (DSM 26309) and S. aureus FPR3757/USA300 (MRSA) from ATCC (BAA-1556). Strains were authenticated by the suppliers by next-generation or Sanger sequencing. Single colonies were picked from LB agar (1.5% Difco agar; BD 244520) and grown aerobically in liquid LB (BD 244620; 2–3 mL working volume in 14 mL Falcon tubes) at 37 °C with shaking at 300 rpm, without antibiotic selection.

Compounds. Compounds were purchased from ChemBridge (C3; ID 7359936) and Vitas-M Laboratories (C32; STL235206) and dissolved in DMSO (MilliporeSigma D5879) at 12.8 mg mL−1^{-1}.

Inoculum. A suspension of approximately 10510^{5} CFU mL−1^{-1} was prepared either by a 1:10,000 dilution of an overnight culture picked from a single colony or by a 1:500 dilution of an OD600_{600} 0.08 suspension in fresh LB.

MSSA screen and dose–response plates. Compounds were screened against MSSA at a single dose of 128 μg mL−1^{-1} with a PrestoBlue readout. Compounds that inhibited growth were advanced to an eight-point two-fold dose–response series (128 to 1 μg mL−1^{-1}) in duplicate 384-well plates. Compound was dispensed from DMSO stock by acoustic dispensing (Echo; maximum DMSO 1.0%) before addition of inoculated LB to a final volume of 64 μL. Each plate carried sterility (medium only), untreated growth, Triton X-100 kill and DMSO vehicle (1.000% to 0.008%) controls.

MRSA dose–response plate. The MRSA MIC for C32 was determined in a 96-well plate with a nine-point two-fold series (128 to 0.5 μg mL−1^{-1}) in three replicate rows, a DMSO vehicle series, a Triton X-100 dilution series, untreated growth wells and medium-only outer wells.

Incubation and readout. Plates were covered with a lid (not sealed) and incubated for 18–24 h at 37 °C with 5% CO2_2. OD600_{600} was read on a SpectraMax M3 multi-mode microplate reader (Molecular Devices). MIC was the lowest concentration giving ≥ 90% growth inhibition relative to the untreated growth control.

Cytotoxicity assays

Mammalian cell culture. HepG2, HSkMC and IMR-90 cells were obtained from ATCC and maintained at 37 °C and 5% CO2_2 in humidified incubators. Cells were passaged fewer than 5–10 times before use. All lines were authenticated by ATCC using short tandem repeat profiling. Culture media are listed in Supplementary Table S8.

Cell lineATCC no.Culture medium
HepG2HB-8065DMEM, high glucose (Corning 10-013-CV) + 10% FBS (Thermo Fisher 16140071) + 1% penicillin–streptomycin (Thermo Fisher 15070063)
HSkMCPCS-950-010Mesenchymal Stem Cell Basal Medium for Adipose, Umbilical and Bone Marrow-derived MSCs (ATCC PCS-500-030) + Primary Skeletal Muscle Growth Kit (ATCC PCS-950-040) + 1% penicillin–streptomycin
IMR-90CCL-186Eagle’s Minimum Essential Medium (EMEM; ATCC 30-2003) + 10% FBS + 1% penicillin–streptomycin

Table S8. Human cell lines and culture media.

Dosing and controls. Cells were plated at 5–10 × 10310^{3} cells per well in 96-well clear flat-bottom black tissue-culture-treated plates (Corning 3603), 100 μL per well, and dosed 24 h later. For dosing, column 2 was brought to 198 μL\mu\mathrm{L} with medium and 2 μL\mu\mathrm{L} of 12.8 mg mL−1^{-1} DMSO stock was added (128 μ\mug mL−1^{-1}, 1% DMSO). One hundred microlitres were then carried across nine columns by two-fold serial transfer and the final 100 μL\mu\mathrm{L} was discarded, so that DMSO fell from 1% to 0.004% in step with compound. Untreated wells (n=4n = 4) defined 100% viability. A matched DMSO series was run in separate rows. Triton X-100 (0.1% final) lysis wells defined the assay floor and were added 30–60 min before reading. Media-only wells with dye served as background.

Viability readout and analysis. PrestoBlue HS Cell Viability Reagent (Invitrogen P50200) was added at 10% of the well volume (10 μL\mu\mathrm{L} per 100 μL\mu\mathrm{L}) and plates were incubated for 4 h at 37 °C. Fluorescence (excitation/emission, 550/590 nm) was read on a SpectraMax M3 multi-mode microplate reader (Molecular Devices) from the top and bottom. Viability was calculated as (well − background)/(untreated − background) × 100. CC50_{50} was calculated by log2_2 interpolation across the 50% crossing, and the two bracketing concentrations are reported alongside it. HepG2 values were obtained in separate earlier plates with the same PrestoBlue readout.

Predictive performance and experimental hit rates

Predictive performance was evaluated as described in § 14.1. Experimental hit rates used the 107 MolRSI-selected compounds and the 241 expert-selected candidates as their denominators. Based on the recorded endpoints, the campaigns yielded 17/107 (15.9%) and 21/241 (8.7%) hits, respectively. A hit was defined by an MSSA MIC of ≤ 32 μ\mug mL−1^{-1}, distinct from the binary labels used for predictive evaluation. The comparator denominator excluded low-predicted-activity and known-antibiotic-class controls. Hit proportions were reported with 95% Wilson binomial confidence intervals [23]; no between-group hypothesis tests were reported. The numerical MIC threshold was aligned across studies, without assuming identical experimental protocols.

MolRSI for peptide–MHC binder design

Datasets and benchmark evaluation

The protein study comprised 14 independent miniprotein-binder design tasks, each with one held-out target, followed by one pMHC binder-design task using both gp100 datasets for workflow search and MART-1 for testing. The resulting pipeline was also used for prospective binder generation (§ 4.4). Protein experiments used no small-molecule memory records.

Miniprotein-binder experience tasks. The fibroblast growth factor receptor 2 (FGFR2), insulin receptor (InsulinR), platelet-derived growth factor receptor (PDGFR), transforming growth factor-β\beta (TGFβ\beta), interleukin-7 receptor-α\alpha (IL-7Rα\alpha), VirB8-like protein from Rickettsia typhi (VirB8), epidermal growth factor receptor (EGFR), tropomyosin receptor kinase A (TrkA), influenza A H3 haemagglutinin (H3), and angiopoietin-1 receptor (TIE2) datasets were obtained from Cao et al. [24]. The SARS-CoV-2 spike receptor-binding domain (SARS-CoV-2 RBD) dataset was obtained from Cao et al. [25]. The anaplastic lymphoma kinase (ALK), leukocyte tyrosine kinase (LTK), and interleukin-2 receptor-α\alpha (IL-2Rα\alpha) datasets were obtained from Bennett et al. [26]. The source datasets provide binary binding labels at 4,000 and 400 nM. We used the source-provided 4,000-nM label as the benchmark outcome. Across the 14 retained targets, the source collections contained 901,670 designs. To construct a computationally tractable benchmark while preserving all positive examples, we retained all 1,565 positive designs and sampled up to ten negative designs per positive within each target. The resulting benchmark contained 17,215 designs: 1,565 positives and 15,650 sampled negatives (Supplementary Table S9).

Each of the 14 targets defined a distinct design task under a leave-one-target-out partition. Workflow search used the other 13 targets, with AUPRC guiding selection. The selected workflow was frozen and then evaluated on the held-out target. Held-out-target labels and performance were excluded from search and workflow selection. The tasks ran independently without cross-task memory. Records of the evaluated workflows, modifications and execution outcomes were subsequently pooled into the protein-domain memory Lmini\mathcal{L}_{\mathrm{mini}} used for the pMHC task. This source memory contained no pMHC or prospective-design outcomes.

TargetData sourceSource designsRetained positivesSampled negatives
EGFRCao et al. [24]99,80315150
FGFR2Cao et al. [24]59,9996016,010
H3Cao et al. [24]59,94149490
IL-7Rα\alphaCao et al. [24]14,99922220
InsulinRCao et al. [24]59,9732562,560
PDGFRCao et al. [24]99,9922842,840
SARS-CoV-2 RBDCao et al. [25]99,99818180
TGFβ\betaCao et al. [24]15,0001001,000
TIE2Cao et al. [24]100,000550
TrkACao et al. [24]15,00010100
VirB8Cao et al. [24]15,01172720
ALKBennett et al. [26]99,98028280
IL-2Rα\alphaBennett et al. [26]61,99455550
LTKBennett et al. [26]99,98050500
Total14 retained targets901,6701,56515,650

Table S9. Composition of the 14-task miniprotein-binder benchmark. Each row identifies the held-out test target for one task; workflow search and selection used the other 13 targets. Labels use the source-provided binary binding endpoint at 4,000 nM. All positives were retained, and up to ten negatives per positive were sampled within each target.

pMHC benchmark data. The single pMHC task used datasets generated by the experimental screening procedure described by Liu et al. [27]. For all three candidate collections, the binary outcome indicated whether a candidate was selected in the fluorescence-activated cell sorting (FACS) experiment. Selected candidates were labelled positive and unselected candidates negative.

The task included HLA-A2 complexes presenting the gp100-derived peptides YLEPGPVTA and IMDQVPFSV, and HLA-A*02:01 complexes presenting MART-1 (A2L; ELAGIGILTV). The source structures for the two gp100 complexes were PDB 5EU3 and 6VM9, respectively. All three candidate collections belonged to one pMHC benchmark task. Both gp100 collections were used directly for workflow search, whereas MART-1 comprised the held-out test set. AUROC on the gp100 collections guided workflow selection. The selected workflow was frozen before evaluation on MART-1, whose labels and performance were excluded from workflow search, selection and memory updates. Supplementary Table S10 gives the dataset roles, sizes and class counts. Figure 4c reports test enrichment for MART-1.

Metric calculation and aggregation. EF was calculated as defined in Equation (2). Macro EF and AUPRC gave equal weight to each held-out target for the miniprotein-binder benchmark.

AntigenPeptideRoleCandidatesPositives
gp100YLEPGPVTASearch2,61114
gp100IMDQVPFSVSearch3,2714
MART-1ELAGIGILTVTest3,84527

Table S10. Dataset roles within the single pMHC binder-design task. Both complete gp100 collections were used for workflow search; MART-1 was reserved for test evaluation.

Fixed expert-defined ranking objectives

Fixed objectives from established expert-defined design pipelines. BoltzGen [28], BindCraft [29], and PXDesign [30] are complete binder design pipelines. For the retrospective ranking benchmarks, we isolated a fixed loss or ranking criterion used internally by each pipeline and evaluated it retrospectively on the same target–binder sequence pairs. Thus, these references compare the criteria used to prioritize designs.

BoltzGen used its worst-rank quality criterion on Boltz-2 [31] predictions. If rijr_{ij} is the within-target percentile rank of candidate ii under metric jj, with smaller ranks better, the reported higher-is-better score was qi=−max⁡jrijq_i=-\max_j r_{ij}. The primary three-metric reference used equal rank weights for design_iiptm (which restricts the design side of the pTM calculation to residues within 8 Å of the target), design_ptm, and the negative minimum design-to-target PAE. This is the confidence-only form of the BoltzGen criterion. The complete pipeline additionally ranks PLIP [32] hydrogen bonds, PLIP salt bridges, and Δ\DeltaSASA. We evaluated both the three-confidence-score and six-score forms and report the former as the stronger, and therefore more conservative, fixed comparator.

For BindCraft, we reproduced the default eight-term default_4stage_multimer design loss,

LBindCraft=0.1 ℓpLDDT+0.4 ℓPAE+0.1 ℓiPAE+1.0 ℓcontact+1.0 ℓinterface contact+0.3 ℓRg+0.05 ℓipTM−0.3 ℓhelix,L_{\mathrm{BindCraft}} = 0.1\,\ell_{\mathrm{pLDDT}} + 0.4\,\ell_{\mathrm{PAE}} + 0.1\,\ell_{\mathrm{iPAE}} + 1.0\,\ell_{\mathrm{contact}} + 1.0\,\ell_{\mathrm{interface\ contact}} \\ + 0.3\,\ell_{\mathrm{Rg}} + 0.05\,\ell_{\mathrm{ipTM}} - 0.3\,\ell_{\mathrm{helix}},

with the termini-distance loss disabled as in the default configuration. Terms were evaluated from AlphaFold2-Multimer-v3 [33] predictions with target-chain MSAs. The benchmark score was −LBindCraft-L_{\mathrm{BindCraft}}, so that larger values were better.

For PXDesign, we reproduced the seven-term PXDesign-h hallucination loss on Protenix-Mini [34] predictions,

LPXDesign=0.15 ℓpLDDT+0.4 ℓPAE+0.1 ℓiPAE+1.0 ℓcontact+1.0 ℓinterface contact−0.3 ℓhelix+0.3 ℓRg,L_{\mathrm{PXDesign}} = 0.15\,\ell_{\mathrm{pLDDT}} + 0.4\,\ell_{\mathrm{PAE}} + 0.1\,\ell_{\mathrm{iPAE}} + 1.0\,\ell_{\mathrm{contact}} + 1.0\,\ell_{\mathrm{interface\ contact}} \\ - 0.3\,\ell_{\mathrm{helix}} + 0.3\,\ell_{\mathrm{Rg}},

and again used its negative as the higher-is-better benchmark score.

Because the retrospective candidate collection did not contain pipeline-native starting backbones, this comparison did not reproduce generator-specific initial-guess or design-to-refold RMSD filters, iterative sequence optimization, or final diversity selection. It should therefore be interpreted as a comparison of fixed internal objectives from the three design pipelines rather than an end-to-end comparison of the pipelines themselves.

Ranking benchmark results

Miniprotein-binder benchmark. Supplementary Figure S3 compares the five agent workflows and the three fixed expert-defined objectives using macro EF at the 1%, 2%, 5% and 10% cutoffs and macro AUPRC. Each macro metric gives the 14 targets equal weight. MolRSI achieved macro EF values of 8.01 at 1% and 7.29 at 2%, with Biomni next at 1% (7.62) and Claude Science next at 2% (6.71). At 5%, Claude Science had a macro EF of 5.56, compared with 5.55 for MolRSI. At 10%, MolRSI had the highest macro EF (4.11). MolRSI also achieved the highest macro AUPRC (0.4305), followed by Claude Science (0.4237). Among the eight methods, MolRSI ranked first by AUPRC on six targets, with mean target-level rank 2.43, compared with 2.79 for Claude Science. Supplementary Table S11 summarizes all target-level EF and AUPRC performance.

Figure S3. Miniprotein-binder ranking performance across agent workflows and fixed expert-defined objectives. (a) Macro Enrichment Factor (EF) at four top-ranked fractions; each cutoff is averaged separately across the 14 held-out targets. The dashed line marks EF=1EF = 1. (b) Macro area under the precision–recall curve (AUPRC). Each task used 13 targets for agent workflow search and the remaining target for testing, without cross-task memory. BoltzGen, BindCraft and PXDesign denote the fixed internal ranking criteria described in § 15.2. Bars show point estimates. Supplementary Table S11 provide the target-level numerical results.

MethodEF@1%EF@2%EF@5%EF@10%AUPRC
FGFR2
MolRSI5.584.473.162.610.2041
Claude Science7.065.874.223.220.2871
Biomni6.075.213.792.690.2212
STELLA4.934.713.822.820.2193
Codex4.273.142.692.090.1554
BoltzGen3.283.062.332.240.1636
BindCraft5.254.053.462.630.2091
PXDesign2.462.652.531.980.1523
PDGFR
MolRSI5.845.593.993.160.2529
Claude Science5.845.593.992.880.2405
Biomni5.844.373.712.880.2291
STELLA4.124.193.082.500.1998
Codex4.123.843.082.420.1815
BoltzGen4.124.023.012.460.1818
BindCraft4.474.713.153.060.2277
PXDesign4.123.842.942.850.2118
InsulinR
MolRSI9.869.077.575.930.5854
Claude Science9.869.077.806.440.6364
Biomni9.869.077.726.160.6191
STELLA7.597.917.575.970.5686
Codex9.108.306.795.580.5326
BoltzGen8.727.336.325.070.4618
BindCraft4.935.405.855.110.4176
PXDesign7.976.954.994.210.3831
TGFβ\beta
MolRSI4.004.002.802.000.1994
Claude Science4.004.002.201.800.1766
Biomni4.002.001.401.200.1299
STELLA7.003.502.602.100.1962
Codex4.002.001.201.400.1328
BoltzGen2.002.501.601.600.1260
BindCraft1.000.501.001.000.1054
PXDesign0.001.001.401.400.1027
MethodEF@1%EF@2%EF@5%EF@10%AUPRC
VirB8
MolRSI9.626.193.852.480.2394
Claude Science5.504.123.302.060.2154
Biomni5.503.442.201.930.1511
STELLA1.382.061.931.100.1043
Codex0.002.751.380.820.0957
BoltzGen0.000.001.651.100.0939
BindCraft2.752.752.481.650.1590
PXDesign1.382.061.651.510.1242
IL-2Rα\alpha
MolRSI9.438.467.106.490.5719
Claude Science11.0010.158.525.950.6872
Biomni9.436.777.456.130.5583
STELLA7.865.084.614.330.4159
Codex3.145.085.324.690.3865
BoltzGen4.714.235.325.950.4475
BindCraft1.573.384.975.050.4037
PXDesign3.143.383.904.150.3511
LTK
MolRSI11.0011.008.646.200.6376
Claude Science11.0011.009.046.600.7122
Biomni11.0011.009.436.800.7102
STELLA9.179.007.866.200.6222
Codex9.1710.009.436.800.6761
BoltzGen9.179.008.257.400.6607
BindCraft11.009.007.866.000.5993
PXDesign9.177.006.686.200.5561
H3_3
MolRSI1.831.000.811.020.1378
Claude Science0.002.001.631.430.1282
Biomni0.000.000.811.020.0907
STELLA0.001.000.810.410.0830
Codex0.001.000.810.410.0805
BoltzGen0.001.000.810.410.0824
BindCraft0.002.002.041.630.1267
PXDesign1.832.002.441.430.1118
ALK
MolRSI11.0011.009.628.160.8138
Claude Science11.009.438.256.390.6961
Biomni11.0011.008.256.390.6847
STELLA8.257.866.885.680.5902
Codex8.259.436.885.680.5895
BoltzGen8.259.437.566.030.6290
BindCraft11.009.438.947.450.7032
PXDesign5.506.294.123.550.3184
MethodEF@1%EF@2%EF@5%EF@10%AUPRC
IL-7Rα\alpha
MolRSI11.0011.008.466.600.6778
Claude Science7.338.809.316.160.6721
Biomni11.0011.009.317.040.7550
STELLA7.338.809.317.040.6762
Codex11.0011.009.317.920.7711
BoltzGen11.008.8010.156.600.7188
BindCraft7.334.405.925.720.4634
PXDesign3.672.205.925.720.4362
SARS-CoV-2 RBD
MolRSI11.0011.008.804.950.5757
Claude Science11.008.255.503.300.3523
Biomni11.008.255.503.850.3978
STELLA11.008.256.604.400.4419
Codex11.008.255.503.300.3461
BoltzGen11.008.255.503.300.3596
BindCraft5.505.503.302.750.2438
PXDesign11.0011.006.603.850.4472
EGFR
MolRSI11.008.253.671.940.3256
Claude Science11.008.254.892.590.3288
Biomni11.008.254.892.590.3069
STELLA5.505.503.671.940.2199
Codex5.505.503.671.940.2253
BoltzGen5.505.502.441.940.2178
BindCraft5.502.751.222.590.2002
PXDesign5.505.502.441.290.1643
TrkA
MolRSI11.0011.009.176.000.7168
Claude Science11.007.339.177.000.7128
Biomni11.0011.0011.008.000.8554
STELLA11.0011.007.337.000.7224
Codex11.007.337.338.000.6912
BoltzGen11.0011.009.177.000.7724
BindCraft5.507.337.336.000.5599
PXDesign11.007.337.336.000.5997
TIE2
MolRSI0.000.000.000.000.0886
Claude Science0.000.000.000.000.0865
Biomni0.000.000.000.000.0856
STELLA0.000.000.000.000.1093
Codex0.000.000.000.000.0872
BoltzGen0.000.000.000.000.0850
BindCraft0.000.000.000.000.0839
PXDesign0.000.000.000.000.1102

Table S11. Target-level results for the miniprotein-binder benchmark. Each target was held out during the corresponding agent workflow search; no cross-task memory was used. Fixed objectives were evaluated on the same candidates. The target-specific rows report EF at four cutoffs and AUPRC.

pMHC test results. Supplementary Figure S4 compares test AUPRC for the five agent workflows and the three fixed expert-defined objectives on MART-1. Agent workflows were selected using the gp100 search data and frozen before test evaluation. MolRSI achieved the highest AUPRC on MART-1 (0.0172), compared with positive-fraction references of 0.0070 and the second highest AUPRC values of 0.0122 for BindCraft.

Figure S4. MART-1 test precision–recall performance and the effect of source-task memory. AUPRC for MolRSI with and without RSI, the four agent baselines and the three fixed expert-defined ranking objectives. Agent workflows were selected using the two gp100 collections and frozen before evaluation on MART-1. The dashed line indicates the MART-1 positive fraction, 27/3,845. Supplementary Table S12 and Supplementary Table S13 report EF at four cutoffs and AUPRC.

Supplementary Table S12 reports all four EF cutoffs and AUPRC. MolRSI achieved the highest EF across all four cutoffs among agent baselines on MART-1. Against the three fixed expert-defined objectives, MolRSI achieved higher AUPRC and the highest EF in three of the four EF cutoffs. These results show broadly improved ranking performance across both precision–recall and enrichment metrics.

MethodEF@1%EF@2%EF@5%EF@10%AUPRC
MolRSI3.655.552.212.220.0172
Claude Science0.001.850.741.480.0089
Biomni0.001.850.741.110.0087
STELLA0.001.851.481.480.0095
Codex0.000.001.480.740.0088
BoltzGen0.001.850.740.740.0067
BindCraft7.303.701.481.480.0122
PXDesign0.000.000.740.370.0065

Table S12. Held-out pMHC test performance. Agent workflows were selected using gp100 data; fixed expert-defined objectives used the same test candidates. EF values are shown at four cutoffs, alongside AUPRC. Values retain the precision of the source export.

Effect of source task memory. The pMHC searches with and without miniprotein-binder memory used the same resource library, candidate data, search controller, development objective and evaluation procedure, with a 300 A100 GPU-hour budget and allowance of 20 attempted workflow evaluations. Both conditions used the complete gp100 collections for search and retained memory updates during the current search. The selected workflows were frozen before test evaluation.

Source-task memory increased MART-1 AUPRC from 0.0125 to 0.0172, a relative improvement of approximately 37% (Supplementary Figure S4). It increased EF from 0.00 to 3.65 at the 1% cutoff and from 0.00 to 5.55 at the 2% cutoff. At the 5% and 10% cutoffs, EF increased from 1.48 to 2.21 and from 1.48 to 2.22, respectively (Supplementary Table S13).

ConditionEF@1%EF@2%EF@5%EF@10%AUPRC
With RSI3.655.552.212.220.0172
Without RSI0.000.001.481.480.0125

Table S13. Effect of source task memory on MART-1 test performance. With and without RSI denote searches with and without prior miniprotein-binder experience.

Selected pMHC ranking workflow. MolRSI selected a workflow using ESMFold2-Fast [35] and an equal-weight sum of eight terms: binder_target_contact, helix_score, binder_ptm, binder_target_iptm, ptm_energy, ipsae_min, monomer_plddt and `monomer_helix. Each term was oriented so that a larger value represented a more favorable predicted property before aggregation.

Table S14: Inputs and target-specific constraints for the two prospective pMHC binder-design tasks. Source chains give the HLA heavy-chain, β2\beta_2-microglobulin, and peptide chain identifiers in the corresponding PDB entry. Peptide positions are one-based. Numbers in parentheses are zero-based indices in the concatenated target sequence.

InputMART-1SARS-CoV-1
HLA alleleHLA-A*02:01HLA-A*02:01
On-target peptideELAGIGILTVGLMWLSYFV
Off-target peptideGLMGAGIAQVGLIFSSYFV
Structure provenancePDB 5NHTPDB 3I6G
Source PDB chains (HLA heavy chain / β2\beta_2m / peptide)H/L/PA/B/C
Binder-length range80–120 residues80–120 residues
Peptide hotspotsP4_4 Gly, P5_5 Ile, P8_8 Leu, P9_9 Thr (378, 379, 382, 383)P4_4 Trp, P5_5 Leu, P6_6 Ser, P8_8 Phe (378, 379, 380, 382)

Table S14. Inputs and target-specific constraints for the two prospective pMHC binder-design tasks. Source chains give the HLA heavy-chain, β2\beta_2-microglobulin, and peptide chain identifiers in the corresponding PDB entry. Peptide positions are one-based. Numbers in parentheses are zero-based indices in the concatenated target sequence.

Binder generation and candidate selection

Design targets. Each prospective design task was specified by an HLA allele, an on-target and off-target peptide pair, source structures for sequence and hotspot provenance, chain assignments, a binder-length range, and exposed peptide hotspots (Supplementary Table S14). Within each target pair, the HLA heavy-chain and β2\beta_2-microglobulin sequences were held fixed and only the peptide sequence was changed. The source PDB coordinates were not supplied as design inputs. They were used only to establish the target-chain sequences and select peptide hotspots. Following previous work [27], hotspots were selected from solvent-exposed, upward-facing peptide residues with relative solvent-accessible surface area (relSASA) of at least 20% in the binder-free pMHC complex. Individual binder lengths were sampled within the target-specific allowed range.

Generation workflow search configuration. The available generation methods were RFDiffusion3 [36], Proteina-Complexa [37], PXDesign [30], BoltzGen [28], and the MOSAIC [38] simplex accelerated proximal gradient method (APGM). The methods differed at the generation stage and entered the same inverse-folding and ranking procedure.

The target-specific searches ran in parallel without exchanging evaluations or search records. Each search was allocated 30 attempted rounds and 1,000 A100 GPU-hours. At each node, MolRSI evaluated a generator configuration by generating 20 backbones and applying SolubleMPNN [39] to generate eight sequences for each retained backbone, followed by the remaining scoring steps. Cysteine was excluded from the inverse-folding sequence alphabet in all workflows. The ranking score among the top-ranked 5% of designs defined the configuration’s development reward.

After the 30-round search for each target, the three highest-scoring workflows were each used to generate 8,000 additional designs. The final candidate pool comprised all designs from the search and expansion stages and was then subjected to deduplication, filtering, and ranking. We denote the exported fields on_target_ranking_score and off_target_ranking_score by sons_{\mathrm{on}} and soffs_{\mathrm{off}}, respectively. For final MolRSI selection, designs were retained when on_ipsae_min ≥0.50\ge0.50, monomer_plddt ≥0.80\ge0.80, at least 15 HLA contacts (hla_res ≥15\ge15), and s8_on −- s8_off >0> 0. Passing designs were ranked by s8_on.

Comparison with reference design workflows

Prospective agent comparison. We selected Claude Science as the prospective baseline because it achieved the highest performance on the miniprotein-binder benchmark and had previously demonstrated autonomous design of experimentally validated protein binders [8]. The completed comparison comprised independent target-specific campaigns for MART-1 and SARS-CoV-1. The target and peptide-swapped off-target specifications, binder-length range, design objectives and total computational budget were held fixed, while each system retained its native generation, refinement and ranking procedure. Both systems received 1,000 A100 GPU-hours per target. The 30-round allowance applied to MolRSI’s workflow search; Claude Science instead controlled job scheduling within the shared GPU-hour budget.

Claude Science run configuration for prospective binder design. We initialized one independent Claude Science session per target, using Claude Opus 5 and an adaptation of Anthropic’s multi-target binder-design protocol [8]. The prompt source is provided in Section S2.3; this section summarizes the study-specific adaptations and run configuration.

We adapted the instructions to peptide-specific pMHC design and the available computing platform. Inputs comprised HLA heavy-chain and β2\beta_{2}-microglobulin sequences and MSAs, on- and off-target peptide sequences, an 80–120-residue binder range, epitope hints and novelty references. Every scoring prediction was required to include the HLA heavy chain, β2\beta_{2}-microglobulin, peptide and binder. Epitope positions were hints, not a mandatory hotspot-contact filter.

The campaign was given a computational budget of 1,000 A100 GPU-hours per target, with job state recorded in files on a shared volume. SolubleMPNN [39] and SolubleCaliby [40] were named for designs selected for the final computational output, with their base variants permitted during backbone search. The specified pipeline placed checks for sequence and structural novelty, liabilities, monomer foldability, structural plausibility and redundancy before any complex prediction.

The instructions required retained candidates to be scored against the on- and off-target complexes using ESMFold2-Fast, ESMFold2-Full [35] and Protenix v2 [41]. For each scoring model, the fixed criterion combined minimum ipSAE [42], design-to-prediction scDockQ [43] and the on-target-minus-off-target minimum-ipSAE difference. Scores were standardized within the candidate cohort and combined with relative weights of 4:1:4. The minimum scDockQ across the scoring models used also entered the ranking key at a prespecified pose threshold of 0.23, ordering designs that met it above those that did not. At least two rounds of partial diffusion, prediction followed by redesign, or sequence resampling were required. The requested output was a ranked set of 500 designs per target, excluding exact and near duplicates and limiting representation from individual design lineages and structural clusters. At least three structure generators had to be represented, with no more than 50% of designs from one generator or two-thirds from one sequence-design method.

The authors specified the target inputs, scoring criterion, output format, diversity limits and computational budget. Claude Science chose the generation strategy and parameters, sampling allocation, use of epitope hints, monomer and structural-plausibility thresholds, parent selection and refinement operations. The monomer and structural-plausibility thresholds were fixed after selection. The comparison therefore used its native binder-design protocol with pMHC- and platform-specific adaptations.

References

  1. [1]Haokun Liu, Derek Tam, Mohammed Mueezeth, Jay Mohta, Tenghao Huang, Mohit Bansal, and Colin A. Raffel. Few-shot parameter-efficient fine-tuning is better and cheaper than in-context learning. Advances in Neural Information Processing Systems, volume 35, pages 1950–1965, 2022. doi: 10.52202/068431-0142. URL https://proceedings.neurips.cc/paper_files/paper/2022/hash/0cde695b83bd186c1fd456302888454c-Abstract-Conference.html.DOI
  2. [2]Peter Auer, Nicolò Cesa-Bianchi, and Paul Fischer. Finite-time analysis of the multiarmed bandit problem. Machine Learning, 47(2–3):235–256, 2002. doi: 10.1023/a:1013689704352. URL https://doi.org/10.1023/a:1013689704352.
  3. [3]Kexin Huang, Serena Zhang, Hanchen Wang, Yuanhao Qu, Yingzhou Lu, Ryan Li, Yusuf Roohani, Lin Qiu, Shiyi Cao, Gavin Li, Junze Zhang, Di Yin, Rick Wierenga, Deniz Kavi, Sherry Liu, Tianwei She, Shruti Marwaha, Jennefer N. Carter, Xin Zhou, Matthew T. Wheeler, Jonathan A. Bernstein, Mengdi Wang, Peng He, Jingtian Zhou, Michael P. Snyder, Le Cong, Aviv Regev, and Jure Leskovec. Autonomous biomedical research with an artificial intelligence agent. Science, 393(6813):eadz4351, 2026. doi: 10.1126/science.adz4351. URL https://www.science.org/doi/10.1126/science.adz4351.DOI
  4. [4]Anthropic. Claude science. https://claude.com/product/claude-science, 2026. URL https://claude.com/product/claude-science. Accessed: 2026-10-28.
  5. [5]Ruofan Jin, Zaixi Zhang, Mengdi Wang, and Le Cong. Stella: Self-evolving llm agent for biomedical research. arXiv preprint arXiv:2507.02004, 2025. doi: 10.48550/arXiv.2507.02004. URL https://arxiv.org/abs/2507.02004.
  6. [6]OpenAI. Codex is now generally available. https://openai.com/index/codex-now-generally-available/, 2025. Published October 6, 2025.
  7. [7]Anthropic. Claude code documentation. https://code.claude.com/docs/en/overview, 2025. URL https://code.claude.com/docs/en/overview. Accessed: 2026-10-28.
  8. [8]Claude Science and Amir Shanehsazzadeh. Autonomous de novo protein binder design with claude. Technical report, Anthropic, aug 2026. URL https://www-cdn.anthropic.com/30bf50e22a01388bb29bf077ee3f244531594b7a.pdf.
  9. [9]Kexin Huang, Tianfan Fu, Wenhao Gao, Yue Zhao, Yusuf Roohani, Jure Leskovec, Connor W Coley, Cao Xiao, Jimeng Sun, and Marinka Zitnik. Therapeutics data commons: Machine learning datasets and tasks for drug discovery and development. In Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks, volume 1. Neural information processing systems foundation, 2021. URL https://datasets-benchmarks-proceedings.neurips.cc/paper/2021/hash/4c56ff4ce4aaf9573aa5dff913df997a-Abstract-round1.html.arxiv.org/abs/2102.09548
  10. [10]Felix Wong, Erica J. Zheng, Jacqueline A. Valeri, Nina M. Donghia, Melis N. Anantar, Satotaka Omori, Alicia Li, Andres Cubillos-Ruiz, Aarti Krishnan, Wengong Jin, Abigail L. Manson, Jens Friedrichs, Ralf Helbig, Behnoush Hajian, Dawid K. Fiejtek, Florence F. Wagner, Holly H. Soutter, Ashlee M. Earl, Jonathan M. Stokes, Lars D. Renner, and James J. Collins. Discovery of a structural class of antibiotics with explainable deep learning. Nature, 626(7997):177–185, 2024. doi: 10.1038/s41586-023-06887-8. URL https://doi.org/10.1038/s41586-023-06887-8.
  11. [11]David Rogers and Mathew Hahn. Extended-connectivity fingerprints. Journal of Chemical Information and Modeling, 50(5):742–754, 2010. doi: 10.1021/ci100050t. URL https://pubs.acs.org/doi/10.1021/ci100050t.DOI
  12. [12]RDKit contributors. RDKit: Open-source cheminformatics. https://www.rdkit.org. URL https://www.rdkit.org. Accessed 28 October 2026.
  13. [13]Kerstin Kläser, Błażej Banaszewski, Samuel Maddrell-Mander, Callum McLean, Luis Müller, Ali Parviz, Shenyang Huang, and Andrew Fitzgibbon. MiniMol: A parameter-efficient foundation model for molecular learning. In ICML Workshop on Accessible and Efficient Foundation Models for Biological Discovery, 2024. doi: 10.48550/arXiv.2404.14986. URL https://openreview.net/forum?id=uaA8zvXmiot. Workshop paper; arXiv version: 2404.14986.DOI
  14. [14]Oriol Vinyals, Samy Bengio, and Manjunath Kudlur. Order matters: Sequence to sequence for sets. In International Conference on Learning Representations, 2016. URL https://research.google/pubs/order-matters-sequence-to-sequence-for-sets/.
  15. [15]Tianqi Chen and Carlos Guestrin. XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 785–794, 2016. doi: 10.1145/2939672.2939785. URL https://doi.org/10.1145/2939672.2939785.
  16. [16]Tsung-Yi Lin, Priya Goyal, Ross Girshick, Kaiming He, and Piotr Dollár. Focal loss for dense object detection. In Proceedings of the IEEE International Conference on Computer Vision, pages 2999–3007, 2017. doi: 10.1109/ICCV.2017.324. URL https://openaccess.thecvf.com/content_iccv_2017/html/Lin_Focal_Loss_for_ICCV_2017_paper.html.DOI
  17. [17]Ilya Loshchilov and Frank Hutter. SGDR: Stochastic gradient descent with warm restarts. In International Conference on Learning Representations, 2017. URL https://arxiv.org/abs/1608.03983.
  18. [18]Pavel Izmailov, Dmitrii Podoprikhin, Timur Garipov, Dmitry Vetrov, and Andrew Gordon Wilson. Averaging weights leads to wider optima and better generalization. In Conference on Uncertainty in Artificial Intelligence, 2018. URL https://arxiv.org/abs/1803.05407.
  19. [19]Jonathan B. Baell and Georgina A. Holloway. New substructure filters for removal of pan assay interference compounds (PAINS) from screening libraries and for their exclusion in bioassays. Journal of Medicinal Chemistry, 53(7):2719–2740, 2010. doi: 10.1021/jm901137j. URL https://pubs.acs.org/doi/10.1021/jm901137j.DOI
  20. [20]Ruth Brenk, Alessandro Schipani, Daniel James, Agata Krasowski, Ian Hugh Gilbert, Julie Frearson, and Paul Graham Wyatt. Lessons learnt from assembling screening libraries for drug discovery for neglected diseases. ChemMedChem, 3(3):435–444, 2008. doi: 10.1002/cmdc.200700139. URL https://chemistry-europe.onlinelibrary.wiley.com/doi/10.1002/cmdc.200700139.DOI
  21. [21]Darko Butina. Unsupervised data base clustering based on daylight’s fingerprint and tanimoto similarity: A fast and automated way to cluster small and large data sets. Journal of Chemical Information and Computer Sciences, 39(4):747–750, 1999. doi: 10.1021/ci9803381. URL https://pubs.acs.org/doi/10.1021/ci9803381.DOI
  22. [22]Kevin Yang, Kyle Swanson, Wengong Jin, Connor Coley, Philipp Eiden, Hua Gao, Angel Guzman-Perez, Timothy Hopper, Brian Kelley, Miriam Mathea, Andrew Palmer, Volker Settels, Tommi Jaakkola, Klavs Jensen, and Regina Barzilay. Analyzing learned molecular representations for property prediction. Journal of Chemical Information and Modeling, 59(8):3370–3388, 2019. doi: 10.1021/acs.jcim.9b00237. URL https://pubs.acs.org/doi/10.1021/acs.jcim.9b00237.DOI
  23. [23]Edwin B. Wilson. Probable inference, the law of succession, and statistical inference. Journal of the American Statistical Association, 22(158):209–212, 1927. doi: 10.1080/01621459.1927.10502953. URL https://www.tandfonline.com/doi/abs/10.1080/01621459.1927.10502953.DOI
  24. [24]Longxing Cao, Brian Coventry, Inna Gorshnik, Buwei Huang, William Sheffler, Joon Sung Park, Kevin M. Jude, Iva Marković, Rameshwar U. Kadam, Koen H. G. Verschueren, Kenneth Verstraete, Scott Thomas Russell Walsh, Nathaniel Bennett, Ashish Phal, Aerin Yang, Lisa Kozodoy, Michelle DeWitt, Lora Picton, Lauren Miller, Eva-Maria Strauch, Nicholas D. DeBouver, Allison Pires, Asim K. Bera, Samer Halabiya, Bradley Hammerson, Wei Yang, Steffen Bernard, Lance Stewart, Ian A. Wilson, Hannele Ruohola-Baker, Joseph Schlessinger, Sangwon Lee, Savvas N. Savvides, K. Christopher Garcia, and David Baker. Design of protein-binding proteins from the target structure alone. Nature, 605(7910):551–560, 2022. doi: 10.1038/s41586-022-04654-9. URL https://doi.org/10.1038/s41586-022-04654-9.
  25. [25]Longxing Cao, Inna Gorshnik, Brian Coventry, James Brett Case, Lauren Miller, Lisa Kozodoy, Rita E. Chen, Lauren Carter, Alexandra C. Walls, Young-Jun Park, Eva-Maria Strauch, Lance Stewart, Michael S. Diamond, David Veesler, and David Baker. De novo design of picomolar sars-cov-2 miniprotein inhibitors. Science, 370(6515):426–431, 2020. doi: 10.1126/science.abd9909. URL https://doi.org/10.1126/science.abd9909.
  26. [26]Nathaniel R. Bennett, Brian Coventry, Inna Gorshnik, Buwei Huang, Aza Allen, Dionne Vafeados, Ying Po Peng, Justas Dauparas, Minkyoung Baek, Lance Stewart, Frank DiMaio, Steven De Munck, Savvas N. Savvides, and David Baker. Improving de novo protein binder design with deep learning. Nature Communications, 14(1):2625, 2023. doi: 10.1038/s41467-023-38328-5. URL https://doi.org/10.1038/s41467-023-38328-5.
  27. [27]Bingxu Liu, Nathan E. Greenwood, Julia E. Bonzanini, Amir Motmaen, Jeremy Meyerberg, Tao Dao, Xinyu Xiang, Russell Ault, Jazmin Sharp, Chunyu Wang, Gian Marco Visani, Dionne K. Vafeados, Nicole Roullier, Armita Nourmohammad, David A. Scheinberg, K. Christopher Garcia, and David Baker. Design of high-specificity binders for peptide–mhc-i complexes. Science, 389(6758):386–391, 2025. doi: 10.1126/science.adv0185. URL https://doi.org/10.1126/science.adv0185.
  28. [28]Hannes Stark, Felix Faltings, MinGyu Choi, Yuxin Xie, Eunsu Hur, Timothy O’Donnell, Anton Bushuiev, Talip Uçar, Saro Passaro, Weian Mao, Mateo Reveiz, Roman Bushuiev, Tally Portnoi, Tomáš Pluskal, Josef Sivic, Karsten Kreis, Arash Vahdat, Shamayeeeta Ray, Jonathan T. Goldstein, Andrew Savinov, Jacob A. Hambalek, Anshika Gupta, Diego A. Taquiri-Diaz, Yaotian Zhang, Samuel J. Snyder, A. Katherine Hatstat, Angelika Arada, Nam Hyeong Kim, Haoyu Fan, Ethel Tackie-Yarboi, Dylan Boselli, Lee Schnaider, Chang C. Liu, Gene-Wei Li, Denes Hnisz, David M. Sabatini, William F. DeGrado, Jeremy Wohlwend, Gabriele Corso, Regina Barzilay, and Tommi Jaakkola. Boltzgen: Toward universal binder design. bioRxiv, 2025. doi: 10.1101/2025.11.20.689494. URL https://www.biorxiv.org/content/10.1101/2025.11.20.689494v2. Preprint; version 2 posted 2026-06-16.DOI
  29. [29]Martin Pacesa, Lennart Nickel, Christian Schellhaas, Joseph Schmidt, Ekaterina Pyatova, Lucas Kissling, Patrick Barendse, Jag­rity Choudhury, Srajan Kapoor, Ana Alcaraz-Serna, Yehlin Cho, Kouroush H. Ghamary, Laura Vinué, Brahm J. Yachnin, Andrew M. Wollacott, Stephen Buckley, Adrie H. Westphal, Simon Lindhoud, Sandrine Georgeon, Casper A. Goverde, Georgios N. Hatzopoulos, Pierre Gönczy, Yannick D. Muller, Gerald Schwank, Daan C. Swarts, Alex J. Vecchio, Bernard L. Schneider, Sergey Ovchinnikov, and Bruno E. Correia. One-shot design of functional protein binders with bindcraft. Nature, 646(8084):483–492, 2025. doi: 10.1038/s41586-025-09429-6. URL https://doi.org/10.1038/s41586-025-09429-6.
  30. [30]Protenix Team, Milong Ren, Jinyuan Sun, Jiaqi Guan, Cong Liu, Chengyue Gong, Yuzhe Wang, Lan Wang, Qixu Cai, Wenzhi Ma, Yuxuan Zhang, Zhenyu Liu, Hanyu Zhang, Xinshi Chen, and Wenzhi Xiao. Pxdesign: Fast, modular, and accurate de novo design of protein binders. bioRxiv, 2025. doi: 10.1101/2025.08.15.670450. URL https://www.biorxiv.org/content/10.1101/2025.08.15.670450v3. Preprint; version 3 posted 2025-12-17.
  31. [31]Saro Passaro, Gabriele Corso, Jeremy Wohlwend, Mateo Reveiz, Stephan Thaler, Vignesh Ram Somnath, Noah Getz, Tally Portnoi, Julien Roy, Hannes Stark, David Kwabi-Addo, Dominique Beaini, Tommi Jaakkola, and Regina Barzilay. Boltz-2: Towards accurate and efficient binding affinity prediction. bioRxiv, 2025. doi: 10.1101/2025.06.14.659707. URL https://www.biorxiv.org/content/10.1101/2025.06.14.659707v1. Preprint; version 1 posted 2025-06-18.DOI
  32. [32]Sebastian Salentin, Sven Schreiber, V. Joachim Haupt, Melissa F. Adasme, and Michael Schroeder. PLIP: fully automated protein–ligand interaction profiler. Nucleic Acids Research, 43(W1):W443–W447, 2015. doi: 10.1093/nar/gkv315. URL https://academic.oup.com/nar/article/43/W1/W443/2467865.DOI
  33. [33]Richard Evans, Michael O’Neill, Alexander Pritzel, Natasha Antropova, Andrew Senior, Tim Green, Augustin Žídek, Russ Bates, Sam Blackwell, Jason Yim, Olaf Ronneberger, Sebastian Bodenstein, Michal Zielinski, Alex Bridgland, Anna Potapenko, Andrew Cowie, Kathryn Tunyasuvunakool, Rishub Jain, Ellen Clancy, Pushmeet Kohli, John Jumper, and Demis Hassabis. Protein complex prediction with alphafold-multimer. bioRxiv, 2021. doi: 10.1101/2021.10.04.463034. URL https://www.biorxiv.org/content/10.1101/2021.10.04.463034v2. Preprint; version 2 posted 2022-03-10.DOI
  34. [34]Chengyue Gong, Xinshi Chen, Yuxuan Zhang, Yuxuan Song, Hao Zhou, and Wenzhi Xiao. Protenix-Mini: Efficient structure predictor via compact architecture, few-step diffusion and switchable pLM, 2025. URL https://arxiv.org/abs/2507.11839.
  35. [35]Salvatore Candido, Thomas Hayes, Alexander Derry, Roshan Rao, Zeming Lin, Robert Verkuil, Bryan Wu, Jin Sub Lee, Elise Bruguera, Jehan Keval, Mykhailo Kopylov, John Pak, Wesley Wu, Neil Thomas, Samson Mataraso, Alvin Hsu, Ashton Trotman-Grant, Kilian Fatras, Allan dos Santos Costa, Rohil Badkundri, Halil Akın, Deniz Oktay, Jonathan Deaton, Elizabeth Montabana, Hrishita Sitwala, Yue Yu, Marius Wiggert, Dylan Alexander Carlin, Anthony Goering, Tomasz Blazejewski, McCullen Sandora, Michael Hla, Tina Jia, Leon Kloker, Nicholas Sofroniew, Masatoshi Uehara, Jassi Pannu, Sharrol Bachas, Daniel Liu, Tom Sercu, and Alexander Rives. Language modeling materializes a world model of protein biology. bioRxiv, 2026. doi: 10.64898/2026.06.03.729735. URL https://www.biorxiv.org/content/10.64898/2026.06.03.729735v1. Preprint; version 1 posted 2026-06-04.DOI
  36. [36]Jasper Butcher, Rohith Krishna, Raktim Mitra, Rafael I. Brent, Yanjing Li, Nathaniel Corley, Paul T. Kim, Jonathan Funk, Simon Mathis, Saman Salike, Aiko Muraishi, Helen Eisenach, Tuscan Rock Thompson, Jie Chen, Yuliya Politanska, Enisha Sehgal, Brian Coventry, Odin Zhang, Bo Qiang, Kieran Didi, Max Kazman, Frank DiMaio, and David Baker. De novo design of all-atom biomolecular interactions with rfdiffusion3. bioRxiv, 2025. doi: 10.1101/2025.09.18.676967. URL https://www.biorxiv.org/content/10.1101/2025.09.18.676967v2. Preprint; version 2 posted 2025-11-19.DOI
  37. [37]Kieran Didi, Zuobai Zhang, Guoqing Zhou, Danny Reidenbach, Zhonglin Cao, Sooyoung Cha, Tomas Geffner, Christian Dallago, Jian Tang, Michael Bronstein, Martin Steinegger, Emine Kucukbenli, Arash Vahdat, and Karsten Kreis. Scaling atomistic protein binder design with generative pretraining and test-time compute. In C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust, editors, International Conference on Learning Representations, volume 2026, pages 61056–61109, 2026. URL https://proceedings.iclr.cc/paper_files/paper/2026/file/639d992f819c2b40387d4d5170b8ffd7-Paper-Conference.pdf.arxiv.org/abs/2603.27950
  38. [38]N. Boyd, S. Guns, and Escalante Bio. MOSAIC. https://github.com/escalante-bio/mosaic, 2025. URL https://github.com/escalante-bio/mosaic.
  39. [39]Casper A. Goverde, Martin Pacesa, Nicolas Goldbach, Lars J. Dornfeld, Petra E. M. Balbi, Sandrine Georgeon, Stéphane Rosset, Srajan Kapoor, Jagrit y Choudhury, Justas Dauparas, Christian Schellhaas, Simon Kozlov, David Baker, Sergey Ovchinnikov, Alex J. Vecchio, and Bruno E. Correia. Computational design of soluble and functional membrane protein analogues. Nature, 631(8020):449–458, 2024. doi: 10.1038/s41586-024-07601-y. URL https://doi.org/10.1038/s41586-024-07601-y.
  40. [40]Richard W. Shuai, Tianyu Lu, Subhang Bhatti, Petr Kouba, and Po-Ssu Huang. Ensemble-conditioned protein sequence design with Caliby. bioRxiv, 2025. doi: 10.1101/2025.09.30.679633. URL https://www.biorxiv.org/content/10.1101/2025.09.30.679633. Preprint; also presented at the Machine Learning in Structural Biology workshop (MLSB 2025).
  41. [41]Yuxuan Zhang, Chengyue Gong, Jinyuan Sun, Jiaqi Guan, Milong Ren, Song Xue, Hanyu Zhang, Wenzhi Ma, Zhenyu Liu, Xinshi Chen, and Wenzhi Xiao. Protenix-v2: Broadening the reach of structure prediction and biomolecular design. bioRxiv, 2026. doi: 10.64898/2026.04.10.717613. URL https://www.biorxiv.org/content/10.64898/2026.04.10.717613v1. Preprint; version 1 posted 2026-04-11.DOI
  42. [42]Roland L. Dunbrack, Jr. Rés ipsae loquuntur: What’s wrong with alphafold’s iptm score and how to fix it. bioRxiv, 2025. doi: 10.1101/2025.02.10.637595. URL https://www.biorxiv.org/content/10.1101/2025.02.10.637595v2. Preprint; version 2 posted 2025-12-15.DOI
  43. [43]Sankar Basu and Björn Wallner. DockQ: A quality measure for protein–protein docking models. PLOS ONE, 11(8):e0161879, 2016. doi: 10.1371/journal.pone.0161879. URL https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0161879.DOI

Paper details

vlnc:W_ka3rjr2v
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 2

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents