Skip to content
Agentmart
Submit a tool
This entry duplicates adaptyv, which is the one we list in search.

adaptyv

Uses the Adaptyv Bio Foundry API and Python SDK to design protein characterization experiments, estimate costs, submit sequences, monitor laboratory progress…

Skill by FridrichMethod

IndexedMIT★ 15
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/fridrichmethod-adaptyv

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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 FoundryClient.

Use cases: design, backend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
adaptyv
Description
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 FoundryClient.
License
MIT
Compatibility
Requires network access, an Adaptyv Foundry account and bearer token. Python examples require Python 3.11+ and adaptyv-sdk installed from its official GitHub repository; direct REST examples use httpx.
Metadata
version: 1.5 · skill-author: K-Dense Inc. · last-reviewed: 2026-09-30
Instructions
266 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Files (2)

  • SKILL.md
  • api-endpoints.md · references/

SKILL.md (first lines)

# 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](https://devs.adaptyvbio.com/api/v1/openapi.json)
(`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](references/api-endpoints.md) 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](https://foundry.adaptyvbio.com/) 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.

```bash
# 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+):

```bash
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

```python
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`:

```python
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)

# Once the quote is accepted within the user's authorized scope:
accepted = client.experiments.confirm_quote(experiment_id)
print(accepted.invoice_id, accepted.hosted_invoice_url)
```

Confirmation creates/finalizes an invoice; it does not settle payment. Use the
returned hosted invoice URL or the current REST payment pointer. SDK 0.1.0 does
not expose invoice payment, organization webhooks, or `whoami` helpers.

Avoid the reviewed SDK's `lab.experiment(target="EGFR")` shortcut: it passes only
UUID-shaped targets and does not resolve a target name. `auto_confirm=True` and
`lab.confirm_experiment()` call submission, not the quote-confirm endpoint. Use

From FridrichMethod/awesome-skills, MIT.

More from FridrichMethod/awesome-skills

Signals

Stars
15
Forks
1
Open issues
2
Last commit (this folder)
Oct 4, 2026 (24 days ago)
Last release
May 20, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.5
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from FridrichMethod

Cite this page

adaptyv skill. Agent Mart. https://agentmart.dev/skills/fridrichmethod-adaptyv (last updated 2026-10-24)