Unofficial Python SDK for Amazon Bio Discovery — AI-powered antibody design
Project description
biodiscovery-python
The unofficial Python SDK for Amazon Bio Discovery.
Design antibodies with AI. Programmatically.
pip install biodiscovery
⚠️ Unofficial. This package is not affiliated with or endorsed by Amazon Web Services. Built by Nodes Bio, Inc. — AI Synthesis for Science and Medicine.
Quick Start
from biodiscovery import BioDiscoveryClient
client = BioDiscoveryClient(
application_id="your-app-id",
access_key_id="AKIA...",
secret_access_key="...",
session_token="...",
)
# Get a project
project = client.get_project("f29a1f5a33504ca885d0bea53d3570ba")
print(project.name, project.status)
# Get experiment results
experiment = client.get_experiment(
project_id=project.project_id,
experiment_id="f4ef6a1e01c84f4ea6bf29bf2028e5e5",
)
print(f"Cost: {experiment.estimated_experiment_units} EU")
print(f"Status: {experiment.status}")
# Inspect a module's IO spec
module = client.get_module("rfantibody")
print(module.description)
print(module.io_spec.inputs)
# Get a recipe DAG
recipe = client.get_recipe("8f2e9b3c7d154aa6b2c8f1e9d0a3b5c4")
for step in recipe.steps:
print(f" {step.step_name} → {step.module_id}")
# List wet lab orders
orders = client.list_wetlab_orders(project.project_id, experiment.experiment_id)
Authentication
Amazon Bio Discovery uses AWS SigV4 signing with temporary credentials obtained via Identity Center SSO. The SDK handles signing automatically — you provide the credentials from your Bio Discovery session.
To get your credentials:
- Log in to biodiscovery.aws.com
- Open browser DevTools → Network tab
- Find the
/getcredentialsresponse - Copy
applicationId,credentials.accessKeyId,credentials.secretAccessKey,credentials.sessionToken
API Coverage
| Endpoint | Method | Description |
|---|---|---|
get_project() |
getproject |
Get project details |
get_experiment() |
getexperiment |
Get experiment details + parameters |
get_module() |
gethostedmodule |
Get module info + IO specification |
get_recipe() |
gethostedrecipe |
Get recipe DAG definition |
list_wetlab_orders() |
listwetlaborders |
List CRO orders for an experiment |
get_user_details() |
getuserdetails |
Get current user info |
list_feature_flags() |
listfrontendfeatures |
List enabled platform features |
Module Catalog
The SDK includes a reference catalog of known Bio Discovery modules:
from biodiscovery.catalog import MODULES, RECIPES, CRO_PARTNERS
# All 40+ hosted bioFMs
for module_id, description in MODULES.items():
print(f"{module_id}: {description}")
# Known recipe IDs
print(RECIPES["de_novo_design"])
# CRO partners
for partner, info in CRO_PARTNERS.items():
print(f"{partner}: {info}")
Models
All API responses are parsed into typed Pydantic models:
Project— project metadata and statusExperiment— experiment config, parameters, EU cost, timingModule— bioFM module with parsed IO specificationRecipe— workflow DAG with steps and dependency pipingWetLabOrder— CRO order status and assay details
Before You Design: Understand the Biology
Amazon Bio Discovery designs antibodies. But which target should you design against?
Jarvis sends your biology question to five AI models simultaneously and returns a consensus answer with a confidence score. Use it to evaluate targets, review literature, and build confidence before you spend Experiment Units.
MedMap turns plain-English biology questions into interactive pathway maps. Visualize the disease mechanism, identify druggable nodes, then take those targets into Bio Discovery.
Research → Visualize → Design → Test. That's the workflow.
Contributing
This is an early-stage SDK built from reverse-engineering the Bio Discovery web application. Contributions welcome:
- Additional endpoint coverage (create project, run experiment, upload files)
- Async client (
httpx.AsyncClient) - CLI tool
- Better credential management (browser cookie extraction, SSO flow)
License
Apache 2.0 — see LICENSE.
Built by Nodes Bio, Inc. — AI Synthesis for Science and Medicine.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file biodiscovery-0.1.0.tar.gz.
File metadata
- Download URL: biodiscovery-0.1.0.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fc91fec1e96118636dfcc7a0f0ebd242242fda04f0da5557969fc6d2d353329
|
|
| MD5 |
666d5bdd7dcf62b559ecf9e8cd37127c
|
|
| BLAKE2b-256 |
4cbb962fbaacce32e608251bd25c629201df3bb826dca4ee99d8b1e31d22fde8
|
Provenance
The following attestation bundles were made for biodiscovery-0.1.0.tar.gz:
Publisher:
publish.yml on jmg421/biodiscovery-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
biodiscovery-0.1.0.tar.gz -
Subject digest:
4fc91fec1e96118636dfcc7a0f0ebd242242fda04f0da5557969fc6d2d353329 - Sigstore transparency entry: 1330910798
- Sigstore integration time:
-
Permalink:
jmg421/biodiscovery-python@05a57e196a54afdcc1038a4213a98d4788326ac5 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/jmg421
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@05a57e196a54afdcc1038a4213a98d4788326ac5 -
Trigger Event:
release
-
Statement type:
File details
Details for the file biodiscovery-0.1.0-py3-none-any.whl.
File metadata
- Download URL: biodiscovery-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
051610d993bdd05e70ce9f8e633fa05ee14088b3fc626579579a327516d42ee1
|
|
| MD5 |
67a49a2a7fbe8bce4ade07b0417130b8
|
|
| BLAKE2b-256 |
ad5d00e8e3078a3fe63882629ffa831478c84b561850cae2a9b190bbf894c047
|
Provenance
The following attestation bundles were made for biodiscovery-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on jmg421/biodiscovery-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
biodiscovery-0.1.0-py3-none-any.whl -
Subject digest:
051610d993bdd05e70ce9f8e633fa05ee14088b3fc626579579a327516d42ee1 - Sigstore transparency entry: 1330910967
- Sigstore integration time:
-
Permalink:
jmg421/biodiscovery-python@05a57e196a54afdcc1038a4213a98d4788326ac5 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/jmg421
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@05a57e196a54afdcc1038a4213a98d4788326ac5 -
Trigger Event:
release
-
Statement type: