Skip to main content

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:

  1. Log in to biodiscovery.aws.com
  2. Open browser DevTools → Network tab
  3. Find the /getcredentials response
  4. Copy applicationId, credentials.accessKeyId, credentials.secretAccessKey, credentials.sessionToken

API Coverage (v0.2.0 — 55 methods)

Projects

list_projects · get_project · create_project · update_project · delete_project

Experiments

list_experiments · get_experiment · create_experiment · update_experiment · delete_experiment · start_experiment · predict_experiment_configuration

Results

list_results · get_result_data · get_result_metadata

Jobs

list_jobs · get_job · create_job · start_job · update_job · delete_job

Modules & Recipes

list_hosted_modules · get_module · list_hosted_recipes · get_recipe · list_custom_recipes · get_custom_recipe · create_custom_recipe · update_custom_recipe · delete_custom_recipe · start_custom_recipe_publish

Wet Lab (CRO Integration)

list_wetlab_providers · list_wetlab_orders · get_wetlab_order · get_wetlab_order_estimates · create_wetlab_order · cancel_wetlab_order · delete_wetlab_order · export_wetlab_order_results

Datasets & Files

list_datasets · get_dataset_metadata · import_dataset · export_dataset · update_dataset · start_dataset_multipart_upload · resume_dataset_multipart_upload · complete_dataset_multipart_upload · get_file_metadata · export_file · delete_file

Sharing & Permissions

list_resource_permissions · create_resource_permission · update_resource_permission · delete_resource_permission · update_principal_permissions · list_principals

Identity Center

list_idc_users · list_idc_groups · associate_idc_principal · disassociate_idc_principal

Account

get_user_details · list_feature_flags · get_usage

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 status
  • Experiment — experiment config, parameters, EU cost, timing
  • Module — bioFM module with parsed IO specification
  • Recipe — workflow DAG with steps and dependency piping
  • WetLabOrder — 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

Contributions welcome:

  • Async client (httpx.AsyncClient)
  • CLI tool
  • Better credential management (browser cookie extraction, SSO flow)
  • Response model coverage for newer endpoints
  • Integration examples and notebooks

License

Apache 2.0 — see LICENSE.


Built by Nodes Bio, Inc. — AI Synthesis for Science and Medicine.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

biodiscovery-0.3.0.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

biodiscovery-0.3.0-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file biodiscovery-0.3.0.tar.gz.

File metadata

  • Download URL: biodiscovery-0.3.0.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for biodiscovery-0.3.0.tar.gz
Algorithm Hash digest
SHA256 721222d689932e95419bc14d58254a82328f3a72d5d9a71dab1bd5cb689360ad
MD5 fc2e4f104d0a5553f0188bec94655667
BLAKE2b-256 1056bf10ae7b5c952692c96d9be308b15055ab3c7f91f88981b753f4140c5223

See more details on using hashes here.

Provenance

The following attestation bundles were made for biodiscovery-0.3.0.tar.gz:

Publisher: publish.yml on jmg421/biodiscovery-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file biodiscovery-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: biodiscovery-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for biodiscovery-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c735bb022a03d37a690028848121c5d23ca02243903c70aafc2a45faa522219e
MD5 0f9762d35767fc2f0856c3da0caff240
BLAKE2b-256 9ff0c2f76b410e6cb702fa6896466f4e3dd86ee4d7e2b4788aa173fab246e523

See more details on using hashes here.

Provenance

The following attestation bundles were made for biodiscovery-0.3.0-py3-none-any.whl:

Publisher: publish.yml on jmg421/biodiscovery-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page