Logo Boltz

Boltz

Tổ chức
K-Dense-AI
boltz

Cofold protein-ligand, protein-protein, and nucleic-acid complexes with Boltz-2, and predict binding affinity with its trained affinity head. Use this skill to build Boltz input YAML, run structure prediction with MSAs, pocket constraints, templates, and modified residues, screen compound libraries by cofolding, and interpret confidence scores (pLDDT, pTM, ipTM, PDE) and affinity output (binder probability and log10 IC50). Also trigger on Boltz, Boltz-1, Boltz-2, cofolding, boltz predict, affinity_pred_value, affinity_probability_binary, ipTM, or open-weights AlphaFold3 alternatives.

Tổng quan

Nhà phát hànhK-Dense-AI
Kho mãdrug-discovery-agent-skills
Tên kỹ năngboltz
Sao
51
Bản fork
5
Tệp đi kèm
6
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 6 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được K-Dense-AI công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Boltz trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/K-Dense-AI/drug-discovery-agent-skills/tree/main/skills/boltz
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/K-Dense-AI/drug-discovery-agent-skills.git /tmp/drug-discovery-agent-skills
mkdir -p .claude/skills
cp -r /tmp/drug-discovery-agent-skills/skills/boltz .claude/skills/boltz
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Boltz trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Boltz ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Boltz với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Boltz-2

An open-weights cofolding model in the AlphaFold3 family, plus something AlphaFold3 does not have: a trained binding-affinity head. Give it a protein sequence and a ligand SMILES and it returns a complex structure, per-interface confidence, and a predicted potency — with weights licensed for commercial use.

Repo: github.com/jwohlwend/boltz Checked against: boltz 2.2.1 (PyPI), Python ≥3.10 <3.13.

Read references/yaml-schema.md before writing an input, references/confidence-and-affinity.md before believing an output, and references/running.md for install, GPU sizing, flags, and errors.

When to reach for this

SituationUse
No experimental structure, and you need a ligand in the pocketBoltz — folding and docking in one step
Experimental structure exists, defined site, need to rank thousandsautodock-vina
Experimental structure exists, need a pose without a boxdiffdock
Need a defensible free energy for a congeneric seriesAlchemical FEP, not this
No GPUtamarind runs Boltz as a service

The loop

bash
# 1. write the input
python skills/boltz/scripts/make_boltz_yaml.py \
    --protein-fasta target.fasta \
    --ligand-smiles "Cc1ccc(cc1Nc1nccc(n1)c1cccnc1)NC(=O)c1ccc(CN2CCN(C)CC2)cc1" \
    --affinity --out complex.yaml

# 2. predict (external, needs a GPU)
boltz predict complex.yaml --out_dir predictions/ --use_msa_server \
    --use_potentials --diffusion_samples 5

# 3. read the results with the units converted
python skills/boltz/scripts/collect_results.py predictions/
name  sample  confidence_score  iptm  ligand_iptm  binder_probability  pIC50  IC50_uM  dG_kcal_mol
lig1  0       0.84              0.82  0.79         0.93                8.10   0.0079   -11.05
lig2  0       0.51              0.42  0.31         0.21                4.60   25.1189  -6.27

make_boltz_yaml.py catches at write time the four things that otherwise fail after the GPU has already spun up: non-amino-acid characters in a sequence, an affinity binder that is not a ligand chain, --pocket with no ligand, and an out-of-range max_distance. It also quotes SMILES — an unquoted # (an alkyne) starts a YAML comment and silently truncates the molecule.

The affinity number, and its sign

affinity_pred_value is log10 of an IC50 in micromolar. It runs the opposite way to everything else in the field: −3 is a nanomolar binder, +2 is a decoy.

pIC50 = 6 - value        IC50 = 10**value  µM        ΔG = -1.364 × pIC50  kcal/mol

collect_results.py emits pIC50, IC50_uM, and dG_kcal_mol so the sign cannot be misread downstream. Report those, never the raw value.

There are two affinity outputs and they answer different questions:

  • affinity_probability_binary — probability the ligand binds at all. This is the hit-discovery output; use it to triage a screen.
  • affinity_pred_value — relative potency. Only meaningful between active molecules, for hit-to-lead and lead optimisation. Applying it to inactives is a category error.

The two ensemble members are reported separately in the JSON; collect_results.py turns their disagreement into an ensemble_spread column, which is the cheapest uncertainty estimate on offer. More than one log unit of spread means the number should not be quoted alone.

Read ipTM before anything else

complex_plddt high and iptm low is the classic trap: both partners folded correctly, and their arrangement is a guess. For a binding question, the interface score is the score.

ipTM / ligand_ipTMReading
> 0.8Confident interface; the pose is usable
0.6 – 0.8Plausible; check it against known site residues
< 0.6The model does not believe its own interface — an affinity computed on it is meaningless

collect_results.py --min-iptm 0.6 filters, and warns about what it dropped. Note that pde and ipde are in Angstrom, so for those alone lower is better.

Constrain the pocket when you know it

Without a pocket constraint, Boltz decides where the ligand goes — usually right for a well-defined site, less so for a shallow or multi-site protein.

bash
python skills/boltz/scripts/make_boltz_yaml.py --protein-fasta target.fasta \
    --ligand-ccd SAH --pocket A:790,A:797,A:855 --pocket-distance 6 --out cofactor.yaml

--pocket-force makes it a hard constraint rather than a bias. Use it only when you are sure: forcing a wrong pocket produces a confident wrong answer, which is worse than an unconstrained one.

Screening a library

bash
python skills/boltz/scripts/screen_library.py --protein-fasta target.fasta \
    --smiles library.smi --out-dir screen/ --affinity --msa-path target.a3m

boltz predict screen/ --out_dir screen/predictions --use_potentials --diffusion_samples 5
python skills/boltz/scripts/collect_results.py screen/predictions --min-iptm 0.6 --out hits.tsv

One YAML per ligand, plus a manifest. Precompute the MSA and pass --msa-path — every input shares the same protein, and rebuilding its MSA N times is the single largest waste in a screen. The script says so if you forget.

It also flags compounds above the affinity head's 128-atom limit (--skip-oversized drops them); past that limit Boltz returns a number that means nothing.

Scale honestly: a few minutes per ligand on a 24 GB GPU with a precomputed MSA. This is a hundreds-to-low-thousands method. Filter a large library with autodock-vina or medchem first and bring the survivors here.

What it is, and is not

The affinity head is trained on measured bioactivity, so it behaves like a very good structure-aware QSAR model, not a physics calculation. It reflects the chemistry and target classes in its training data; a novel scaffold against an under-studied target is extrapolation, and there is no thermodynamic cycle to check it against.

Treat agreement with an orthogonal method as the evidence — a docking score from autodock-vina, measured analogues from chembl, or a stability check in molecular-dynamics. Report the release, the ipTM, and the pIC50 with its ensemble spread.

Composing with the rest of the bundle

  • uniprot-rcsb → here: the sequence, and a template CIF if an apo structure exists.
  • binding-site-analysis → before: which site to focus on, and whether it is druggable.
  • chembl → here: known actives against the target, to calibrate what the affinity head says about chemistry you already have data for.
  • medchem / rdkit → before: triage and standardise the library.
  • autodock-vina → alongside: an orthogonal score on the same compounds.
  • molecular-dynamics → after: does the predicted pose survive 10 ns?
  • tamarind → instead: hosted Boltz when there is no local GPU.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

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

Kỹ năng AI Boltz làm được gì?

Cofold protein-ligand, protein-protein, and nucleic-acid complexes with Boltz-2, and predict binding affinity with its trained affinity head. Use this skill to build Boltz input YAML, run structure prediction with MSAs, pocket constraints, templates, and modified residues, screen compound libraries by cofolding, and interpret confidence scores (pLDDT, pTM, ipTM, PDE) and affinity output (binder probability and log10 IC50). Also trigger on Boltz, Boltz-1, Boltz-2, cofolding, boltz predict, affinity_pred_value, affinity_probability_binary, ipTM, or open-weights AlphaFold3 alternatives.

Vì sao nên dùng Boltz trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Boltz là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Boltz trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/K-Dense-AI/drug-discovery-agent-skills/tree/main/skills/boltz. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Boltz?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Boltz với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Boltz với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Boltz có miễn phí không?

Có. Kỹ năng này được K-Dense-AI phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇