Cookbooks

Code Examples & Recipes

Copy-paste examples for common scientific computing tasks. Available in Python and TypeScript.

Python
pip install scirouter
TypeScript
npm install @scirouter/sdk

Quickstart: Your First API Call

beginner 2 min

Get molecular properties in 3 lines of code.

Predict Protein Structure

beginner 5 min

Fold a protein sequence and get PDB coordinates + confidence scores.

Drug Discovery Pipeline

intermediate 10 min

Evaluate a drug candidate against a protein target end-to-end.

Protein Engineering: Design Better Variants

intermediate 10 min

Use ProteinMPNN to design optimized sequences, then rank by stability and solubility.

Antibody CDR Design

advanced 15 min

Fold an antibody and redesign CDR loops for improved binding.

Generate Novel Drug Candidates

advanced 15 min

Use REINVENT4 to generate molecules with desired properties, then check synthetic feasibility.

Need more examples?

Check the full API reference or browse the SDK source code.