Inspiration
Between 2020 and 2023, COVID-19 killed almost 8 million people. The pathogen spread across the world in under 11 months, and 11 months is also how long it took to develop a vaccine, the fastest in history. The previous record holder, the mumps vaccine, took 4 years. Had COVID followed that timeline, an estimated 51.6 million additional deaths would have occurred.
What made the difference was de novo design of proteins and antibodies: the ability to compute a molecule rather than discover one.
That's what de novo design means. Building a molecule from scratch instead of hunting for one that already exists. It's been real since 2003, when a protein called Top7 was designed on a computer, built in a lab, and folded exactly as predicted. Today the tools to do this are open source and genuinely good.
The problem is that they're also a pile of command-line scripts that emit files nobody can read. We built the thing that sits on top.
What it does
FoldStudio is a flight simulator for molecules: a browser workspace where you design, inspect and compare protein candidates before anyone commits lab time.
The design loop has three steps, and FoldStudio shows all three:
- Draw a backbone. RFdiffusion generates a 3D shape with no sequence, the frame of the building.
- Fill in a sequence. ProteinMPNN proposes amino acids that should fold into that frame.
- Check it folds. ESMFold predicts what the sequence would actually fold into. If it matches the frame, the design is self-consistent.
In the app you can:
- Look at any structure in 3D, colored by the model's own per-residue confidence (pLDDT), with a legend that states what the colors do and don't mean.
- Read the harder confidence signal. A PAE map shows whether the model knows how the parts sit relative to each other, not just whether each part is right.
- Overlay two structures and read RMSD and TM-score together with exactly which atoms were aligned.
- Walk a real design run stage by stage, with the status the pipeline actually recorded for each stage.
- Compare experiments side by side: settings, metrics, provenance.
Every record carries a label, executed, imported or demo, so you always know whether a number was produced here, brought in from outside, or is illustrative.
The honesty layer
This is the part we're proudest of, and it's the part that's easy to skip.
Predicted structures store confidence in the B-factor column. Experimental structures store something completely different in that same column, on the same 0-to-100 scale. A careless viewer paints it on and calls it confidence, and you end up trusting a crystallography artifact.
FoldStudio refuses. Ask for confidence on an experimental structure and you get an error explaining why, not a pretty gradient. Ask for a PAE map that doesn't exist and you get a 404, not an empty grid that looks like data.
The same rule runs all the way down:
- A metric the model never reported is stored as empty with its reason, never a plausible fill-in.
- A stage that didn't run says so.
- Our own run is labelled partial, not complete, because one metric couldn't be computed, and the bundle records why.
pLDDT is the model's own guess about itself. It is not evidence that a design folds, binds, or does anything useful. The app says that out loud, on screen.
How we built it
Pipeline. RFdiffusion, then ProteinMPNN, then ESMFold, run as a staged batch pipeline. Every stage checkpoints and resumes, and an append-only ledger records how each one ended.
Backend. FastAPI serving structures, confidence data, alignments, interfaces and experiment bundles.
Frontend. React, TypeScript and Tailwind, with Mol* for 3D rendering behind a viewer adapter. One file is the only thing that talks to Mol*, so the renderer stays swappable.
Data. Real public structures from RCSB and the AlphaFold Database, plus our own executed run, imported through the real API as a bundle.
The run
| Backbones generated | 100 (60 residues each) |
| Sequences designed | 800 (8 per backbone) |
| Structures predicted | 900 |
| Best candidate | mean pLDDT 94.83, pTM 0.804 |
| Across all predictions | mean pLDDT 77.04 |
| Total compute | about 2 h 24 min on a single GPU |
Every stage exited cleanly. The app reads those exact files. Nothing in the demo is mocked.
Challenges we ran into
Getting the pipeline to run reliably. Batch jobs start with a blank environment, so conda wasn't on the path and our stages died in seconds, leaving dependent jobs queued behind failures that had already happened. We added an environment loader, a preflight check that validates the request before submitting, and automatic cancellation of dependents.
Repairing ESMFold. The install fought us: a C++ build that needed explicit flags, a dependency importing a module PyTorch had removed, a pinned upstream commit with a broken import. Every fix is now scripted and tested instead of living in somebody's shell history.
Merging parallel work. We built the backend, frontend, pipeline, data and docs at the same time. Agreeing on one data contract, then importing a real bundle through the real API, took more integration work than any single piece.
What we learned
Plumbing matters as much as models. Environments, dependencies and data formats cost us far too much time, more than the science did, and we'd budget for that differently next time.
We also learned to keep labels honest from the first commit. "We ran this" and "we imported this" are different claims, and retrofitting that distinction into a codebase is painful. Designing for it is nearly free.
What's next
De novo design works for proteins today, but the same approach applies to any molecule with a use. Our goal is to grow FoldStudio beyond proteins and antibodies to any molecule that matters, and to get smarter as we go. We’ve built the tool, and now we learn to use it well.