Dream-Folding-Bench evaluates general-purpose coding agents on structure prediction; this page is its RNA part. A shared evaluation framework enforces the resource limits, records the execution traces, and scores the predicted structures against experimentally determined references.
The new era of RNA folding:Fable 5.2 folds RNA nearly as well as AlphaFold 3
In three hours on one CPU core and without a specialised RNA folding model, a general-purpose coding agent reaches 95% of AlphaFold 3's score on 20 RNA targets of CASP16. Dream-Folding-Bench measures how well coding agents fold RNA on their own.
A general-purpose coding agent now folds RNA nearly as well as AlphaFold 3. On 20 RNA targets of CASP16 (2024), Claude Fable 5.2 reaches a mean TM-score of 0.438 in three hours on one CPU core; on the same targets the AlphaFold 3 server scored 0.461, and Vfold, the best group of CASP16, 0.473. The agent calls no specialised RNA folding model: it searches the databases with standard programs and builds its models with programs it writes during the session. Where the Protein Data Bank holds a relative of the target (8 targets) the agent is level with the best group, 0.789 against 0.783; where it holds none (12 targets) it stays behind, 0.204 against 0.267 for AlphaFold 3. To measure this systematically we ran 11 frontier coding agents with Dream-Folding-Bench: seven of them score between 0.406 and 0.438 with the databases, and the best 0.233 without them. The targets date from 2024, so knowledge leakage is possible (see Limitations).
Motivation
In recent weeks, frontier labs and independent researchers have reported that general-purpose models know a surprising amount about proteins. They design protein structures and sequences with ordinary coding tools (OpenAI), help determine the structure of a protein assembly (Anthropic), predict the next residue of little-studied protein sequences (Tu), and reconstruct the fold of ubiquitin from predicted contacts (Ovchinnikov). Dream-Folding-Bench measured whether frontier coding agents can do the field's central task on their own: turn a protein sequence into its three-dimensional structure.
RNA is a different test. The Protein Data Bank holds 258,828 structures with protein and 10,663 with RNA (PDB statistics). In CASP15 (2022), the first CASP with RNA, the four leading groups used no deep learning (Das et al.). In CASP16 (2024) the assessors found that nucleic-acid structure prediction “remains dependent on the availability of previously solved experimental 3D structural templates”; all top-performing groups were human experts, and the AlphaFold 3 server, the assessors' baseline, was outperformed by 12 groups in the nucleic-acid monomer category (Kretsch et al.). So we asked frontier coding agents to fold RNA on their own and scored their all-atom structures against experimental ones. We gave them no RNA folding tool, and they call no specialised model.
The answer is that agents fold RNA too. With a terminal and the programs it writes itself, Fable 5.2 comes close to AlphaFold 3, and is level with the best groups of CASP16 where a relative of the target is known.
Benchmark Approach
An agent gets one RNA sequence, one CPU core and three hours in a sandbox, and must leave an all-atom model.pdb. After the session we score that file against the experimental structure with three metrics: TM-score, GDT_TS and lDDT.
Agent folds RNA
- RNA sequence
- Task instructions
- 3 hours on 1 CPU core
- Open-book / closed-book
- Terminal access
- Renderer: 3D visual feedback
- Evaluator: geometry + energy
- No auxiliary neural nets
- No internet access
model.pdb
Submission check
at session end?
Post-session scoring
TM-score per evaluation unit
We run every agent in two settings. Closed-book: the agent has only the sequence and what it knows. Open-book: it may also search the Protein Data Bank, restricted to entries released before the target, and databases of RNA sequences and families.
| Closed-book | Open-book | |
|---|---|---|
| Terminal and Python with NumPy, SciPy, Numba, Matplotlib | ✓ | ✓ |
| Renderer: pictures of its own model, as 3D visual feedback | ✓ | ✓ |
| Evaluator: stereochemical checks and a force-field energy computed with OpenMM, which the agent's programs can import too | ✓ | ✓ |
| Databases and search programs: PDB, RNAcentral and Rfam; MMseqs2, nhmmer, Infernal | ✗ | ✓ |
| Structure predictors: AlphaFold 3, RoseTTAFoldNA, trRosettaRNA, RNA language models, any neural-network library | ✗ | ✗ |
| RNA modelling software: ViennaRNA, FARFAR2 (Rosetta), SimRNA, RNAComposer | ✗ | ✗ |
| Internet, the experimental structure, any score | ✗ | ✗ |
Everything else the agent writes itself during the session: secondary structure from family alignments, model building from related structures, helices and their assembly in three dimensions, and refinement, for which its programs call OpenMM in more than half of the sessions. An open-book session leaves a median of 18 to 107 Python files of its own (899 to 6,134 lines), depending on the agent.
More details of the benchmark
Task and targets
20 single-chain RNA targets of the nucleic-acid assessment of CASP16 (2024), 58 to 833 nucleotides long, each one official evaluation unit. A bio-safety review excluded RNAs of eukaryotic viruses; targets whose own sequence already had a structure in the Protein Data Bank at their release were excluded too. The agent must submit one chain with all heavy atoms for every nucleotide of the sequence.
Tools and feedback
3D visual feedback: a renderer draws any candidate structure from several viewpoints as an image the agent can look at (below). Evaluator: stereochemical checks and an energy computed with OpenMM (Amber14 with the OL3 parameters for RNA, GBn2 implicit solvent). Open-book data: the pre-release Protein Data Bank, the sequence database RNAcentral (release 24) and the family database Rfam (release 14.10).
Post-session scoring
After the session, the final model.pdb is compared with the experimental structure, the whole chain in one superposition. The TM-score on the C3′ atoms is the primary metric: it is the measure the CASP16 assessors mainly report. We also report GDT_TS on the C4′ atoms and all-atom lDDT.
Session isolation
Each session runs in its own sandbox, in a container of its own. The agent can call the language model, but has no access to the internet or to provider-side tools. Reference structures, scoring code, scores and the files of other sessions stay outside.
Agents
11 models in two agent harnesses: Claude Code (Claude Fable 5.2, Opus 5.5, Fable 5.1, Sonnet 5.5, Opus 5) and Gemini CLI (Gemini 4 Neon, Carbon, Argon, Hydrogen; Gemini 3.8 Flash, 3.1 Pro).
Runs and reporting
A run is one session per target under one agent and database setting: 20 sessions. The results rest on 22 runs (440 sessions), one per agent and setting. A run's score is the mean over the 20 units; a target without a model counts zero. A session that ends without a model because of a provider's safeguard or filter, or an infrastructure error, is run once more.
3D visual feedback: the agent can look at its structure
A coding agent works in a terminal, but an RNA structure is a three-dimensional object. Every session therefore has a renderer: view/view.py FILE.pdb draws a candidate structure from the front, the top and the side, together with its base-pair map, saves the picture as an image file the agent can open and look at, and prints a text summary. The agent decides when to look. 8 of the 11 agents call the renderer in at least 85% of their open-book sessions.
The full task text every open-book session receives
Comparison with the predictors of CASP16: expert groups and AlphaFold 3
We are first interested in how coding agents compare with the predictors the field has for RNA. So we evaluated Claude Fable 5.2 and Gemini 4 Neon, the leading agent of each provider, beside the groups of CASP16 (2024): human expert groups, automated servers and the AlphaFold 3 server.
Setting. 20 single-chain RNA targets of CASP16, each one evaluation unit (after excluding RNAs of eukaryotic viruses in a bio-safety review, and targets whose own sequence already had a structure in the Protein Data Bank); open-book, one run of three hours on one CPU core per target, with the Protein Data Bank as of each target's release date and the databases RNAcentral (release 24) and Rfam (release 14.10). The baselines are the organisers' official scores of each group's first model on the same targets, for the 11 groups with a first model on every target; AlphaFold 3 is the group AF3-server, the public AlphaFold 3 server as it ran during CASP16. Servers had three days per target, human groups two weeks.
Findings.
- A general coding agent comes close to AlphaFold 3. With three hours and no specialised RNA folding model, Claude Fable 5.2 scores 0.438 and Gemini 4 Neon 0.417; AlphaFold 3 scored 0.461, and Vfold, the best group, 0.473. Target by target, Claude Fable 5.2 differs from AlphaFold 3 by −0.022 ± 0.027 (standard error over the 20 targets) and is better on 10 of them (Figure 1a, b).
- Where a relative is known, it is level with the best groups. On the 8 targets with a relative in the Protein Data Bank it scores 0.789; Vfold, the best group there, scored 0.783 and AlphaFold 3 0.751; its sessions reach the best group's level after 106 minutes (Figure 1a, d).
- Where none is known, it stays behind. On the other 12 targets it scores 0.204; AlphaFold 3 scored 0.267 and KiharaLab, the best group there, 0.273 (Figure 1a, b).
aClose behind AlphaFold 3 and the best groups
bBetter than AlphaFold 3 on 10 of 20 targets
cPast five of the 11 groups after 27 minutes
dWith a relative: at the best group's level after 106 minutes
Benchmarking 11 frontier agents from Anthropic and Google on CASP16 RNA
We then measure systematically how well frontier coding agents fold RNA on their own, on the same targets.
Setting. The same 20 targets (20 evaluation units); closed-book and open-book, three hours on one CPU core per target, one run per agent and setting, 22 runs in all. The reference is the official CASP16 score of the AlphaFold 3 server.
Findings.
- Agents can fold RNA, and the leading ones are close together. The best agent, Claude Fable 5.2, reaches 0.438 open-book; seven of the 11 agents score between 0.406 and 0.438, and AlphaFold 3 reaches 0.461 (Figure 2a; full results).
- What an agent can look up matters most. Without databases the best score is 0.233. With a relative in the Protein Data Bank, eight agents score above AlphaFold 3; without one the median agent reaches 61% of its score (Figure 2b; more details).
- The agents pace a session differently. Every agent in Claude Code holds half of its final score within 33 minutes; in Gemini CLI this takes between 20 and 146 minutes, the longest for Gemini 4 Hydrogen† (Figure 2c; more details).
aClaude Fable 5.2 leads the leaderboard in both settings
bWith a relative in the PDB, eight agents score above AlphaFold 3
cHalf of the final score: Claude agents within 33 minutes, Gemini agents within 146
More details: full results of all 11 agents on TM-score, GDT_TS and lDDT
Mean over the 20 evaluation units; one run per agent and setting. Rows are ordered by open-book TM-score. Average: the mean of the closed-book and the open-book TM-score. All agents use the geometry + physics evaluator. A session is ended three minutes after its limit; a model written in those minutes counts for the score and lies beyond the axis of Figure 2c (Gemini 4 Carbon). Below the agents: the 11 groups of CASP16 with a first model on every target, with their published scores (AF3-server is the AlphaFold 3 server), and a baseline without any language model: the chain written as one strand of a helix. † Gemini 4 Hydrogen frequently returned empty responses, possibly because of the agent harness; its scores may underestimate its ability. ‡ Claude Fable 5.1: in 4 closed-book and 5 open-book sessions the fallback model Claude Opus 5 answered 664 of the 773 calls.
More details: how targets are grouped by template availability
We group the 20 targets by what a sequence search finds among the RNA chains of the PDB released before the target (nhmmer, E-value below 0.01). A class's score is the unweighted mean over its targets.
More details: how each agent works in a session
For each agent in the open-book setting, we measure how many minutes it takes to write its first model, how many versions of the model it writes, which search programs it uses, and how often it asks the evaluator and the renderer for feedback, as shown below.
Open-book sessions. Minutes, versions and evaluator calls are medians over the sessions that deliver a model; an evaluator call is a shell command that runs the evaluator or one of its two programs (geometry, physics). For the search programs and the renderer, the number is the percentage of sessions that use them at least once; HMMER is nhmmer or another search of the same package.
More details: the score of every agent on each of the 20 targets
We provide the TM-score of every agent on every target, grouped by template availability, beside AlphaFold 3 and Vfold at CASP16. Darker is higher.
Hover over a target for its best match in the pre-release PDB.
Limitations
Although we carefully cut the structure and sequence databases off in time (the Protein Data Bank as of each target's release date; RNAcentral 24 and Rfam 14.10 are releases from before the targets), the models may have seen these RNAs and their structures during training. Each agent was run once in each setting.
Demo: How a coding agent folds an RNA
We provide a concrete demo of how a coding agent folds an RNA: two open-book sessions of Claude Fable 5.2, replayed from their traces, one for a target without a relative in the Protein Data Bank and one with a relative.
The grey trace is the experimental structure of the assessed part of the chain. The ribbon runs through the backbone, with every base as a rung; it is coloured by how far each nucleotide is from its experimental position after a superposition of the kind the TM-score uses. The passage from one version to the next is interpolated for display.
Without a relative · R1252
The search names the family, ROOL; the archive holds no relative to copy. The session builds its own model: it takes the family's base pairs, corrects them with the covariation it computes from the family's alignment, builds ideal helices, places them as rigid bodies by simulated annealing, and fits all atoms with a minimiser it writes itself. The first model, after 31 minutes, scores 0.187. A flatter arrangement of the helices takes it to 0.214; from then on the versions bend and polish that arrangement and stay there. AlphaFold 3 scores 0.198 on this target.
With a relative · R1289
The session searches the archive first and finds the intron at the centre of this chain in a crystal structure from 2004 (97% identical over nucleotides 47 to 228 in our own search). It takes the intron from that structure and the tRNA at the two ends from another, and writes its first model after 25 minutes. That model scores 0.736. No template shows where the tRNA sits against the intron; the session docks it within the reach of the two linkers, 6 versions in all, and the delivered model scores 0.758. AlphaFold 3 scores 0.790 on this target.
Read the agent's closing report for this session
Citation
If you use Dream-Folding-Bench, please cite:
@misc{dreamfoldingbench2026,
title = {Dream-Folding-Bench: Can Coding Agents Fold Proteins on Their Own?},
year = {2026},
howpublished = {\url{https://github.com/zhengkid/dream-folding-bench}},
note = {GitHub repository}
}