alterlab-adaptyv
Adaptyv
Adaptyv Bio runs the Foundry cloud lab: submit protein sequences and a target, the lab runs the assay, and you retrieve experimental data (binding/affinity, thermostability, expression, fluorescence). The design, sequence optimization, and a validated, ready-to-submit experiment package are produced with no account; only the submission itself and reading results use the Foundry API.
The exact request/response shapes evolve. This skill captures the API contract as published in the OpenAPI doc (v0.0.2, checked 2026-10-22) at
https://foundry-api-public.adaptyvbio.com/api/v1/openapi.json; that spec listshttps://devs.adaptyvbio.comas the production base URL, and both hosts serve the same/api/v1routes. See alsohttps://docs.adaptyvbio.com.
Keyless Path (default — no Foundry account)
- Optimize and pre-screen sequences locally (already keyless): flag unpaired cysteines and aggregation-prone hydrophobic stretches, filter with NetSolP/SoluProt-style solubility scoring, redesign with SolubleMPNN, and score naturalness with ESM —
uv run pythonwith no token. Seereference/protein_optimization.md. - Assemble the experiment payload (
experiment_spec:experiment_type,method,target_id, the{label: aa_string}sequencesmap,n_replicates) from the OpenAPI contract inreference/api_reference.md. - Validate the submission offline with
python3 scripts/validate_submission.py spec.jsonbefore it ever reaches the API — it enforces the Foundry's own per-type matrix with no key:method(bli|spr) required for affinity/screening and rejected otherwise;target_idrequired for affinity/screening/epitope_binning and rejected otherwise;sequencesnon-empty (epitope_binning a multiple of 4, 4..28);n_replicatesrejected for epitope_binning; and every sequence a valid amino-acid string (the 20 AAs plus ':' for multichain). This catches the exact problems the API's 400 would list, without a round trip. - Hand over submission. Give the authenticated
POST /experiments-> review quote ->POST .../quote/confirmflow; it needs the user'sADAPTYV_API_KEY, and the catalogGET /targets(to resolve a realtarget_id) is also token-gated. If the key is unset, deliver the validated package and stop — never claim an experiment was submitted or invent results.
Experiments cost money and run for weeks; nothing is billed until the user confirms the quote.