adaptyv
Designs protein characterization experiments using the Adaptyv API. It helps estimate costs, submit sequences, and monitor lab results.
What it does
This tool uses Adaptyv Bio Foundry to turn protein sequences into experimental data. It helps plan experiments, estimate costs, submit samples to the lab, and retrieve results.
When to use it
- ✓When you have protein sequences and want to test their properties.
- ✓To plan and budget protein characterization experiments.
- ✓To submit samples to a lab and track progress.
Example of what to ask your AI
“I want to plan an experiment to test protein sequences against the EGFR target, estimate the cost, and submit it to the lab.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
You connect your Adaptyv account, define the experiment details (like the type of test and sequences to use), and the tool interacts with the Adaptyv API to create, estimate, and submit your experiment.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add K-Dense-AI/scientific-agent-skills --skill adaptyvOr download just the file:
curl -L https://raw.githubusercontent.com/K-Dense-AI/scientific-agent-skills/main/skills/adaptyv/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
Adaptyv Bio Foundry API
Use this skill to turn protein sequences into experimentally measured data through Adaptyv's cloud laboratory. Confirm the target construct, assay conditions, controls, and replicate plan before submitting a batch; turnaround depends on the experiment.
Reviewed against the deployed OpenAPI schema
(info.version: 0.0.2) and official SDK 0.1.0 at commit
cdf207819ed5a58e0c127453626d2bce125c8064. The schema version alone does not identify
all changes. See the endpoint reference for current
request/response details and discrepancies in upstream examples.
Connect
Base URL: https://devs.adaptyvbio.com/api/v1. The schema is at
/openapi.json; never append that filename to normal endpoint requests.
Create a bearer token in Foundry under
Organization → Settings → Tokens. Use Viewer for reads and Member for experiment
writes. Read credentials from ADAPTYV_API_KEY; the documentation's
FOUNDRY_API_TOKEN is an alternative variable name for the same token. If using a
project .env, explicitly call python-dotenv.load_dotenv() before SDK setup;
the SDK does not load that file automatically. Never print or commit tokens.
# ADAPTYV_API_KEY is already set in the environment.
curl --fail-with-body 'https://devs.adaptyvbio.com/api/v1/targets?limit=3' \
-H "Authorization: Bearer $ADAPTYV_API_KEY"
Resource endpoints require bearer authentication. The schema and liveness endpoint
GET /info/health are public. GET /whoami reports the active organization and
permissions; check it when account scope is unclear.
Python SDK
Install the reviewed revision in your project environment (requires Python 3.11+):
uv pip install "git+https://github.com/adaptyvbio/adaptyv-sdk.git@cdf207819ed5a58e0c127453626d2bce125c8064"
Import from adaptyv, not adaptyv_sdk. FoundryClient requires explicit api_key
and base_url; the lab convenience object reads ADAPTYV_API_KEY and
ADAPTYV_API_URL. Set the latter to the base URL above to override the SDK's
older hostname default.
The following examples are illustrative for authenticated use. Their request construction and parsing were checked with mocked HTTP responses, not a paid lab run. Replace environment inputs with real, reviewed sequence data and catalog IDs.
Browse, estimate, create a draft
import json
import os
from pathlib import Path
from adaptyv import FoundryClient
client = FoundryClient(
api_key=os.environ["ADAPTYV_API_KEY"],
base_url="https://devs.adaptyvbio.com/api/v1",
)
# Review vendor, catalog number, construct, and pricing before selecting an ID.
targets = client.targets.list(search="EGFR", selfservice_only=True, detailed=True)
for target in targets.items:
print(target.id, target.name, target.vendor_name, target.catalog_number)
# candidates.json is a map of unique names to full amino acid sequences.
sequences = json.loads(Path("candidates.json").read_text())
spec = {
"experiment_type": "screening",
"method": "bli",
"target_id": os.environ["ADAPTYV_TARGET_ID"],
"sequences": sequences,
"n_replicates": 3,
}
# SDK takes the spec itself; REST takes {"experiment_spec": spec}.
estimate = client.experiments.cost_estimate(spec)
if estimate.breakdown is None:
raise ValueError("Incomplete estimate: review warnings and obtain a full quote")
print("Estimated USD cents, excluding VAT:", estimate.breakdown.total_cents)
# After the batch and estimated cost have been reviewed:
exp = client.experiments.create(name="EGFR binder screen batch 1", experiment_spec=spec)
experiment_id = exp.experiment_id
client.close()
create(name=..., experiment_spec=...) does not accept a single REST-body dictionary.
cost_estimate(spec) wraps the spec itself; do not wrap it a second time.
For an affinity experiment, the SDK additionally requires explicit
antigen_concentrations, even though REST supplies a default when omitted.
Submit, then inspect and confirm the quote
With a configured client and the saved experiment_id:
client.experiments.submit(experiment_id)
# Quote generation is asynchronous. Retry get_quote with a bounded timeout if it
# returns 404 after successful submission; a draft has no forthcoming quote.
quote = client.experiments.get_quote(experiment_id)
print(quote.amount_total, quote.currency, quote.expires_at)
…
FAQ
What is Adaptyv Bio Foundry?
It is a cloud-based laboratory that performs protein experiments.
How do I connect my account?
You need to create an API token in your Adaptyv account settings and use it for authentication.
Can I see the experiment results?
Yes, the tool allows you to retrieve experimental results after completion.
Details
Original description by the author
Uses the Adaptyv Bio Foundry API and Python SDK to design protein characterization experiments, estimate costs, submit sequences, monitor laboratory progress, and retrieve results. Applies to Adaptyv Foundry, its target catalog, binding screening and affinity assays, thermostability, expression, fluorescence, epitope binning, and enzyme activity workflows, including code using adaptyv or FoundryCl
Popularity
- GitHub stars
- 51k
- Ranking position
- #1828
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
13c-metabolic-flux
Estimates metabolic fluxes using carbon-13 isotope tracing data. It is useful for analyzing cellular metabolism and biochemical pathways.
K-Dense-AI/scientific-agent-skills
aeon
Performs machine learning tasks on time series data. It is useful for classifying, forecasting, detecting anomalies, and finding patterns in sequential data.
K-Dense-AI/scientific-agent-skills
alphagenome
Looks up precomputed genomic effects for genetic variants. It provides scores and explanations to understand the impact of variants on the genome.
K-Dense-AI/scientific-agent-skills
analytical-method-validation
Helps your agent validate scientific analysis methods. This ensures tests and results are reliable and accurate for lab use.
K-Dense-AI/scientific-agent-skills
Similar skills
agent-architecture-audit
Makes your agent check if everything is working correctly. It finds and fixes problems in AI systems, ensuring they perform as expected.
affaan-m/ECC
agent-eval
Helps your agent compare different AI coding tools. It measures which one is faster, cheaper, and more reliable for specific tasks.
affaan-m/ECC
agent-harness-construction
Makes your agent better understand how to perform tasks. It optimizes the tools and instructions the agent uses to increase its chances of success.
affaan-m/ECC