本文へスキップ
Skillpedia
エージェント51k · #3420

adaptyv

できること

Adaptyv Bio Foundryを使って、タンパク質の配列を実験データに変えるツールです。実験の計画、費用の見積もり、サンプルの研究所への提出、結果の取得を支援します。

使う場面

  • ✓タンパク質の配列を持っていて、その性質を試験したいとき。
  • ✓タンパク質の特性評価実験を計画し、予算を立てたいとき。
  • ✓研究所にサンプルを提出して、進捗を追跡したいとき。

スキルのリンク

https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/adaptyv/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/adaptyv/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“EGFRターゲットに対してタンパク質配列を検証する実験を計画し、費用を見積もって、研究所に提出したいです。”

毎週5つの新しいスキル。1分で読めます。

仕組み

まず、Adaptyvのアカウントを接続し、実験の内容(試験の種類や使用する配列など)を定義します。すると、ツールがAdaptyv APIとやり取りし、実験の作成、見積もり、提出を行います。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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)


…
よくある質問

Adaptyv Bio Foundryとは何ですか?

タンパク質の実験を行うクラウド型の研究所です。

アカウントはどのように接続しますか?

Adaptyvのアカウント設定でAPIトークンを作成し、それを認証に使用します。

実験結果を見ることはできますか?

はい。実験が完了した後、このツールで結果を取得できます。

詳細

作者による元の説明

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

repo: K-Dense-AI/scientific-agent-skills

人気

GitHubのスター
51k
ランキング
#3420
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル