ProteinsESMFold

AI Antibody Design: From Target to Candidate in Minutes

Design therapeutic antibodies computationally with ImmuneBuilder, AntiFold, and SciRouter's Antibody Design Lab. CDR design, structure prediction, and humanization in one workflow.

Ryan Bethencourt
May 6, 2026
11 min read

The Antibody Design Challenge

Antibodies are the workhorses of modern therapeutics. Over 100 antibody drugs are approved worldwide, treating cancer, autoimmune diseases, and infections. But developing a therapeutic antibody traditionally requires months of animal immunization, hybridoma screening, and iterative affinity maturation — a slow and expensive process.

Computational antibody design aims to compress this timeline from months to days. By combining AI structure prediction with inverse folding, researchers can now generate antibody candidates in silico, predict their structures, optimize their binding regions, and assess developability — all before touching a pipette.

The AI Antibody Design Pipeline

A modern computational antibody design workflow involves three key stages, each powered by a specialized AI model:

  • Structure prediction (ImmuneBuilder): Predict the 3D structure of your starting antibody from its heavy and light chain sequences
  • CDR design (AntiFold): Generate optimized CDR loop sequences that maintain the structural scaffold while improving binding properties
  • Validation (ESMFold): Verify that designed sequences fold into the expected structure by running structure prediction on the new variants
Note
SciRouter's Antibody Design Lab chains these three steps into a single workflow. You provide an antibody sequence and get back optimized variants with predicted structures — no infrastructure setup required.

Step 1: Predict Antibody Structure with ImmuneBuilder

ImmuneBuilder is a deep learning model specifically trained to predict antibody 3D structures. Unlike general-purpose protein structure predictors, it understands the unique architecture of immunoglobulins — the conserved framework regions and the highly variable CDR loops.

Given heavy and light chain sequences, ImmuneBuilder predicts the paired antibody structure including accurate CDR loop conformations. This is the foundation for downstream CDR design, because AntiFold needs a 3D structure as input.

Predict antibody structure with ImmuneBuilder
import os, requests, time

API_KEY = os.environ["SCIROUTER_API_KEY"]
BASE = "https://api.scirouter.ai/v1"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

# Predict antibody structure
job = requests.post(f"{BASE}/antibodies/structure", headers=HEADERS, json={
    "model": "immunebuilder",
    "heavy_chain": "EVQLVESGGGLVQPGGSLRLSCAASGFTFSDYWMHWVRQAPGKGLVWVSRIN"
                   "SDGSSTSYADSVKGRFTISRDNAKNTLYLQMNSLRAEDTAVYYCAR",
    "light_chain": "DIQMTQSPSSLSASVGDRVTITCRASQSISSYLNWYQQKPGKAPKLLIYAAS"
                   "SLQSGVPSRFSGSGSGTDFTLTISSLQPEDFATYYCQQSYSTPLT",
}).json()

# Poll for results
while True:
    result = requests.get(
        f"{BASE}/antibodies/structure/{job['job_id']}", headers=HEADERS
    ).json()
    if result["status"] == "completed":
        break
    if result["status"] == "failed":
        raise RuntimeError(result.get("error"))
    time.sleep(3)

print(f"Structure confidence: {result['confidence']:.2f}")
print(f"CDR-H3 pLDDT: {result['cdr_scores']['H3']:.1f}")

with open("antibody.pdb", "w") as f:
    f.write(result["pdb"])
print("Antibody structure saved")

Step 2: Design CDR Sequences with AntiFold

With the antibody structure in hand, AntiFold can design new CDR sequences optimized for the target binding geometry. AntiFold is an inverse folding model fine-tuned on antibody structures — it understands which sequence changes are compatible with the CDR loop conformations required for binding.

You can design all six CDRs simultaneously or focus on specific loops. CDR-H3, the most variable and often most critical loop, is the most common target for design.

Design CDR variants with AntiFold
# Design new CDR sequences
design_resp = requests.post(f"{BASE}/antibodies/design", headers=HEADERS, json={
    "model": "antifold",
    "pdb": result["pdb"],        # Structure from ImmuneBuilder
    "target_cdrs": ["H3"],       # Focus on CDR-H3
    "num_designs": 16,           # Generate 16 variants
    "temperature": 0.2,          # Moderate diversity
}).json()

print(f"Generated {len(design_resp['designs'])} CDR-H3 variants:\n")
for i, design in enumerate(design_resp["designs"]):
    print(f"  Variant {i+1}: {design['cdr_h3_sequence']}")
    print(f"    Score: {design['score']:.3f}")
    print(f"    Mutations vs parent: {design['num_mutations']}")
Tip
Start with a low temperature (0.1-0.2) for conservative designs close to the parent sequence. Increase to 0.3-0.5 for more diverse libraries suitable for experimental screening campaigns.

Step 3: Validate Designs

After generating CDR variants, validate that the full antibody with the new CDR sequence still folds correctly. Run each variant through structure prediction and check that the overall fold is maintained and the CDR loop adopts the desired conformation.

Validate top designs with structure prediction
# Validate top 3 designs
for design in design_resp["designs"][:3]:
    full_sequence = design["full_heavy_chain"]  # Includes new CDR-H3

    fold_job = requests.post(f"{BASE}/proteins/fold", headers=HEADERS, json={
        "sequence": full_sequence,
        "model": "esmfold",
    }).json()

    while True:
        fold_result = requests.get(
            f"{BASE}/proteins/fold/{fold_job['job_id']}", headers=HEADERS
        ).json()
        if fold_result["status"] in ("completed", "failed"):
            break
        time.sleep(3)

    if fold_result["status"] == "completed":
        print(f"CDR-H3: {design['cdr_h3_sequence']}")
        print(f"  Mean pLDDT: {fold_result['mean_plddt']:.1f}")
        print()

The Antibody Design Lab on SciRouter

SciRouter's Antibody Design Lab wraps the entire pipeline described above into a single workflow accessible from the dashboard. You paste in your antibody sequences, select which CDRs to optimize, and the platform runs structure prediction, CDR design, and validation automatically.

The lab provides a visual comparison of designed variants, highlighting mutations relative to the parent sequence and flagging any designs with structural concerns. This makes it accessible to researchers who want AI-powered antibody design without writing code.

When to Use Computational Antibody Design

  • Affinity maturation: Generate CDR variants to improve binding affinity to a known target
  • Humanization: Redesign non-human antibody frameworks to reduce immunogenicity while preserving binding
  • Cross-reactivity engineering: Design variants that bind related targets or avoid off-target interactions
  • Library design: Create focused libraries for phage display or yeast display screening campaigns

Next Steps

Antibody design is one component of a broader drug discovery pipeline. After generating candidates, you may want to predict their binding to the target using Chai-1 complex prediction or assess developability properties with molecular property calculations.

For sequence design on non-antibody proteins, see our ProteinMPNN tutorial. Or sign up for a free SciRouter API key and try the Antibody Design Lab today with 500 free credits per month.

Frequently Asked Questions

What are CDRs and why do they matter?

CDRs (Complementarity Determining Regions) are the six hypervariable loops on an antibody that directly contact the antigen. Three are on the heavy chain (H1, H2, H3) and three on the light chain (L1, L2, L3). CDR-H3 is the most variable and often the most critical for binding specificity. Designing CDRs is the core challenge of computational antibody engineering.

What is ImmuneBuilder?

ImmuneBuilder is an AI model for predicting antibody 3D structures from sequence. It is specifically trained on antibody structures and handles CDR loop modeling more accurately than general-purpose tools like AlphaFold2. It predicts structures for both paired and unpaired antibody sequences.

What is AntiFold?

AntiFold is an inverse folding model specialized for antibodies. Given an antibody structure, it designs CDR sequences optimized to maintain the structural scaffold while introducing diversity for binding affinity maturation. Think of it as ProteinMPNN but fine-tuned specifically for antibody design.

How long does the full pipeline take?

The complete pipeline — structure prediction with ImmuneBuilder, CDR design with AntiFold, and validation with ESMFold — typically completes in 2 to 5 minutes via the SciRouter API. This compares to weeks or months of wet lab antibody maturation cycles.

Can AI-designed antibodies actually work in the lab?

Yes. Multiple studies have shown that computationally designed antibody variants bind their targets with comparable or improved affinity relative to the parent antibody. However, experimental validation is always required. AI design is best used to narrow the search space before wet lab testing.

Try It Free

No Login Required

Try this yourself

500 free credits. No credit card required.