Chuyển đến nội dung
Skillpedia
Agent51k · #3420

adaptyv

Skill này làm gì

Công cụ này dùng Adaptyv Bio Foundry để biến trình tự protein thành dữ liệu thí nghiệm. Nó giúp lên kế hoạch thí nghiệm, ước tính chi phí, gửi mẫu đến phòng thí nghiệm và lấy kết quả.

Khi nào nên dùng

  • ✓Khi bạn có trình tự protein và muốn kiểm tra các đặc tính của chúng.
  • ✓Khi bạn muốn lên kế hoạch và ngân sách cho các thí nghiệm đặc trưng protein.
  • ✓Khi bạn muốn gửi mẫu đến phòng thí nghiệm và theo dõi tiến độ.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/adaptyv/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi muốn lên kế hoạch một thí nghiệm để kiểm tra các trình tự protein với mục tiêu EGFR, ước tính chi phí và gửi đến phòng thí nghiệm.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Bạn kết nối tài khoản Adaptyv, xác định chi tiết thí nghiệm (như loại xét nghiệm và trình tự dùng), và công cụ tương tác với Adaptyv API để tạo, ước tính và gửi thí nghiệm.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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)


…
Câu hỏi thường gặp

Adaptyv Bio Foundry là gì?

Đây là một phòng thí nghiệm trên nền tảng đám mây, thực hiện các thí nghiệm protein.

Làm sao để kết nối tài khoản?

Bạn cần tạo một API token trong cài đặt tài khoản Adaptyv và dùng nó để xác thực.

Tôi có thể xem kết quả thí nghiệm không?

Có, công cụ cho phép bạn lấy kết quả thí nghiệm sau khi hoàn tất.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
51k
Vị trí xếp hạng
#3420
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự