Cloud laboratory platform for automated protein testing and validation; use when you have designed protein sequences and need wet-lab experimental validation (e.g., binding, expression, thermostability, enzyme activity) and API-based submission/status/result retrieval.
62
74%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./scientific-skills/Other/adaptyv/SKILL.mdscripts/validate_skill.py.Python: 3.10+. Repository baseline for current packaged skills.Third-party packages: not explicitly version-pinned in this skill package. Add pinned versions if this skill needs stricter environment control.cd "20260316/scientific-skills/Others/adaptyv"
python -m py_compile scripts/validate_skill.py
python scripts/validate_skill.py --helpExample run plan:
CONFIG block or documented parameters if the script uses fixed settings.python scripts/validate_skill.py with the validated inputs.scripts/validate_skill.py.Run this minimal command first to verify the supported execution path:
python scripts/validate_skill.py --helpAdaptyv is a cloud laboratory platform for automated protein testing and validation. You can submit protein sequences via API (or web UI), track experiment status, and download results (typically delivered in ~21 days).
For additional details, see:
reference/experiments.md (assay types and workflows)reference/protein_optimization.md (sequence optimization workflows)reference/api_reference.md (endpoints, schemas, auth)reference/examples.md (more code examples)Use this skill when you need to:
ADAPTYV_API_KEY).experiment_type.reference/experiments.md):
webhook_url callbacks.reference/api_reference.md and reference/examples.md).reference/protein_optimization.md).python>=3.9requests>=2.31.0python-dotenv>=1.0.0The following example is a minimal, runnable workflow to (1) submit an experiment and (2) poll for completion, then (3) download results. Adjust endpoint paths/fields to match reference/api_reference.md.
Request API access and a token from support@adaptyvbio.com, then set:
export ADAPTYV_API_KEY="your_api_key_here"Or create a .env file:
ADAPTYV_API_KEY=your_api_key_herepython -m pip install "requests>=2.31.0" "python-dotenv>=1.0.0"import os
import time
import requests
from dotenv import load_dotenv
load_dotenv()
API_KEY = os.getenv("ADAPTYV_API_KEY")
if not API_KEY:
raise RuntimeError("Missing ADAPTYV_API_KEY. Set it in your environment or .env file.")
BASE_URL = "https://kq5jp7qj7wdqklhsxmovkzn4l40obksv.lambda-url.eu-central-1.on.aws"
HEADERS = {
"Authorization": f"Bearer {API_KEY}",
"Content-Type": "application/json",
}
# 1) Submit an experiment
submit_payload = {
"sequences": ">protein1\nMKVLWALLGLLGAA...", # FASTA-like string as shown in the original docs
"experiment_type": "binding", # e.g., binding | expression | thermostability | enzyme_activity
"webhook_url": "https://your-webhook.com/callback", # optional but recommended for async workflows
}
submit_resp = requests.post(f"{BASE_URL}/experiments", headers=HEADERS, json=submit_payload, timeout=60)
submit_resp.raise_for_status()
experiment_id = submit_resp.json()["experiment_id"]
print("Submitted experiment:", experiment_id)
# 2) Poll status until completion (use webhook in production to avoid polling)
status = None
for _ in range(120): # e.g., poll up to ~20 minutes at 10s intervals (adjust as needed)
status_resp = requests.get(f"{BASE_URL}/experiments/{experiment_id}", headers=HEADERS, timeout=60)
status_resp.raise_for_status()
data = status_resp.json()
status = data.get("status")
print("Status:", status)
if status in {"completed", "failed", "canceled"}:
break
time.sleep(10)
if status != "completed":
raise RuntimeError(f"Experiment did not complete successfully (status={status}).")
# 3) Download results (endpoint/format may vary; confirm in reference/api_reference.md)
results_resp = requests.get(f"{BASE_URL}/experiments/{experiment_id}/results", headers=HEADERS, timeout=60)
results_resp.raise_for_status()
# Save results (could be JSON, CSV, or a file bundle depending on the API)
with open(f"{experiment_id}_results.json", "wb") as f:
f.write(results_resp.content)
print("Results saved to:", f"{experiment_id}_results.json")ADAPTYV_API_KEY.Authorization: Bearer <token>.sequences: Provided as a FASTA-like string (e.g., >name\nSEQUENCE...). For batch submissions, follow the exact multi-sequence format described in reference/api_reference.md.experiment_type: Select the assay category (binding, expression, thermostability, enzyme activity). Exact allowed values and any assay-specific parameters are defined in reference/experiments.md and reference/api_reference.md.webhook_url (optional): A callback URL to receive asynchronous notifications when experiment state changes or results are ready.Common pre-checks before ordering wet-lab validation (see reference/protein_optimization.md):
Commonly referenced tools in the workflow documentation:
reference/api_reference.md for the authoritative list.adaptyv_result.md unless the skill documentation defines a better convention.Run this minimal verification path before full execution when possible:
No local script validation step is required for this skill.Expected output format:
Result file: adaptyv_result.md
Validation summary: PASS/FAIL with brief notes
Assumptions: explicit list if any63c61d3
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.