/nvidia-bionemo:boltz2-nimfrom NVIDIA BioNeMo Agent Toolkit
Predicts biomolecular structures and binding affinity using Boltz2 NIM. Supports protein-ligand/DNA/RNA complexes, SMILES or CCD ligands, pIC50/IC50 scoring, mmCIF output, hosted NVIDIA API, or local Docker deployment.
Ships in NVIDIA BioNeMo Agent Toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Predict biomolecular structures and optional ligand affinity. Use this guide for first-pass hosted/local usage; load supplemental files only when needed:
references/api.md: exact endpoints, schemas, Docker flags, response fields.references/science.md: purpose, strengths, limitations, and handoffs.references/parameters.md: prediction, sampling, MSA, template, affinity tuning.references/validation.md: mmCIF, confidence, affinity, and chemistry checks.references/examples.md: compact hosted/local payload patterns.Read credentials from the environment only when needed. Check presence with
bool(os.getenv("NGC_API_KEY")); keep key values and Authorization headers out of
terminal output, logs, saved artifacts, and the final response. Avoid environment
dumps when diagnosing authentication. If the hosted key is absent, report the
missing variable before submitting a request.
Ask only when context is unclear:
Hosted NVIDIA API or local Docker NIM?
https://health.api.nvidia.com/v1/biology/mit/boltz2/predicthttp://localhost:8000/biology/mit/boltz2/predictHosted requests use Authorization: Bearer $NGC_API_KEY. Supported local Docker
startup uses NGC_API_KEY (or NVIDIA_API_KEY via the preflight) for
registry login, entitlement checks, and first-run model downloads; pass it
into the container with -e NGC_API_KEY. Local inference requests use no
auth header after readiness. Warm-cache key-free startup varies by
image/version and should not be assumed.
For local setup answers, copy the preflight below before docker login,
docker run, readiness, and the no-auth local request. Do not invent a cache
default or drop the .env load or NVIDIA_API_KEY fallback.
set -a
[ -f .env ] && . ./.env
set +a
if [ -z "${NGC_API_KEY:-}" ] && [ -n "${NVIDIA_API_KEY:-}" ]; then
export NGC_API_KEY="$NVIDIA_API_KEY"
fi
: "${NGC_API_KEY:?Set NGC_API_KEY or NVIDIA_API_KEY}"
: "${LOCAL_NIM_CACHE:?Set LOCAL_NIM_CACHE}"
echo "$NGC_API_KEY" | docker login nvcr.io --username '$oauthtoken' --password-stdin
mkdir -p "${LOCAL_NIM_CACHE}"
chmod 755 "${LOCAL_NIM_CACHE}"
docker run --rm --name boltz2 --gpus all \
--shm-size=16G \
-e NGC_API_KEY \
-v "${LOCAL_NIM_CACHE}:/opt/nim/.cache" \
-p 8000:8000 \
nvcr.io/nim/mit/boltz2:1.6.0
Readiness:
until curl -sf http://localhost:8000/v1/health/ready; do sleep 5; done
First startup downloads about 30 GB of model weights.
import os
import requests
HOSTED = True
url = (
"https://health.api.nvidia.com/v1/biology/mit/boltz2/predict"
if HOSTED else "http://localhost:8000/biology/mit/boltz2/predict"
)
headers = {"Content-Type": "application/json"}
if HOSTED:
api_key = os.getenv("NGC_API_KEY")
if not api_key:
raise SystemExit("NGC_API_KEY is required for the hosted API")
headers["Authorization"] = f"Bearer {api_key}"
payload = {
"polymers": [{
"id": "A",
"molecule_type": "protein",
"sequence": "MTEYKLVVVGACGVGKSALTIQLIQNHFVDEYDPT",
}],
"recycling_steps": 3,
"sampling_steps": 50,
"diffusion_samples": 1,
"step_scale": 1.638,
"output_format": "mmcif",
}
response = requests.post(url, headers=headers, json=payload, timeout=300)
response.raise_for_status()
result = response.json()
Payload essentials:
{"molecule_type": "protein", "sequence": "..."}.molecule_type "dna" or "rna".{"id": "L1", "smiles": "CC(=O)OC1=CC=CC=C1C(=O)O"}.{"id": "L1", "ccd": "ATP"}."predict_affinity": True on exactly one ligand; report
affinity_pic50, affinity_pred_value, and affinity_probability_binary.alignment, format, and rank; do not use a stale data field.protein_with_msa = {
"id": "A",
"molecule_type": "protein",
"sequence": "MTEYKLVVVGAGGVGKSALTIQLIQNHFVDEYDPT",
"msa": {"msa_search": {"a3m": {
"alignment": ">query\nMTEYKLVVVGAGGVGKSALTIQLIQNHFVDEYDPT",
"format": "a3m",
"rank": 0,
}}},
}
Save every .cif artifact and read the confidence/affinity fields using the
snippet in references/examples.md under Save
Structures And Affinity. Visualize in PyMOL, ChimeraX, or UCSF Chimera. For
confidence/affinity sanity checks, read references/validation.md.
422: invalid sequence, invalid CCD/SMILES, malformed MSA, or multiple
affinity ligands./v1/health/ready.--gpus all, --shm-size=16G, and the /opt/nim/.cache mount.BENCHMARK.md (opens in a new tab)config/skillspector-baseline.yml (opens in a new tab)evals/config.yml (opens in a new tab)evals/evals.json (opens in a new tab)evals/trigger_evals.json (opens in a new tab)references/api.md (opens in a new tab)references/examples.md (opens in a new tab)references/parameters.md (opens in a new tab)references/science.md (opens in a new tab)references/validation.md (opens in a new tab)skill-card.md (opens in a new tab)skill.oms.sig (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub nvidia-bionemo/bionemo-agent-toolkit --plugin nvidia-bionemo43 skills in this plugin
/codonfm-embedValidate coding-sequence CSVs, extract public CodonFM/Encodon embeddings, and choose checkpoints for downstream property modeling./codonfm-finetuneFine-tune public CodonFM Encodon checkpoints on labeled coding-sequence or coding-variant data using LoRA, head-only, or full fine-tuning. Use when a user explicitly asks to fine-tune CodonFM or Encodon for regression or classification. Support generic public-v1 Encodon workflows only; reject Decodon, MissenseDataset, missense_synom_agg, and generation workflows./codonfm-scoreUse for CodonFM/Encodon source audits and variant scoring. This includes public-source and CLI compatibility reviews and unsupported missense or synonymous-codon aggregation workflows. For generic variant scoring without established CodonFM/Encodon context, ask for the intended analysis first.Other plugins' skills for the same job