K-Fold
Preprint: Predicting conformational changes induced by biomolecular interactions (bioRxiv, 2026).
K-Fold is a biomolecular foundation model that predicts binding-induced conformational changes. Through an apo-to-holo diffusion bridge, it models how unbound molecules assemble and change shape upon binding, including GPCR and kinase systems.
K-Fold is designed to predict how unbound components interact and assemble into a complex. The model excels at predicting interactions central to emerging therapeutic modalities, particularly in antibody–antigen (Ab–Ag) and molecular-glue degrader (MGD) systems. For these challenging biomolecular systems, K-Fold with AtlasFold outperforms conventional co-folding models without MSA.
Model parameters
K-Fold uses pretrained AtlasLM for protein sequence representations and TriProRep for protein structure representations. The parameters for these models and K-Fold are downloaded automatically on first use from Hugging Face.
Installation
K-Fold requires Python 3.11 or later.
Install from PyPI:
pip install kfold
Or install from source:
git clone https://github.com/kaist-ai-bio/kfold.git
cd kfold
pip install -e .
Inference
Run predictions from a YAML or JSON query file, or a directory of query files for bulk runs:
kfold --input examples/8and.yaml --out-dir predictions/ --seeds 42
See kfold --help, the inference guide, or the Python API guide for details.
By default, K-Fold prepares apo structures with AtlasFold, then runs complex structure prediction. You can also provide apo structures from experiments or other prediction tools (e.g., AlphaFold2).
Efficient inference with multiple seeds:
For multi-seed inference, use --share-apo-seeds to generate an apo ensemble for each protein entry and reuse it across all inference seeds.
This is particularly useful for relatively rigid apo structures or runs with many inference seeds; see automatic apo generation.
kfold --input examples/ --out-dir predictions/ --share-apo-seeds 1 2 3 --seeds 1 2 3 4 5 6 7 8 9 10
Multi-stage inference:
Use --stage apo to prepare apo structures only, or --stage complex to predict complexes from prepared apos:
kfold --stage apo --input examples/ --out-dir predictions/ --seeds 42
kfold --stage complex --input examples/ --out-dir predictions/ --seeds 42
Kernel selection:
Use --kernel {auto,triton,cuequiv,torch} to select the backend for AtlasFold apo preparation and K-Fold complex prediction.
The default, auto, prefers Triton, then cuEquivariance, then PyTorch, depending on availability.
Training
See the training guide for data preparation, training commands, and configuration.
Use K-Fold with co-scientist
To use K-Fold with agentic AI, visit HITS Bio Co-Scientist.
Citation
If you use K-Fold in your research, please cite our preprint:
@article{bae2026kfold,
title = {Predicting conformational changes induced by biomolecular interactions},
author = {Bae, Yeongnam and Baek, Jinheon and Choi, Eugene and Choi, Jeong Hun
and Han, Hyeongyu and Jang, Hyosoon and Jeon, Woosung and Jo, Jaehyeong
and Kim, Dongki and Kim, Hyeongwoo and Kim, Jun Hyeong and Kim, Jun Hyeong
and Kim, Shinwoo and Kim, Taewon and Kim, Youngchan and Lee, Joongwon
and Lee, Junyup and Moon, Seokhyun and Park, Minha and Samuel, Calvin
and Seo, Hyunjin and Seo, Jisu and Seo, Seonghwan and Shin, Mingyeong
and Shin, Yunsu and Zhung, Wonho and Ahn, Sungsoo and Han, Dongsu
and Hwang, Sung Ju and Kim, Ho Min and Kim, Woo Youn and Lee, Gyu Rie
and Oh, Byung-Ha},
journal = {bioRxiv},
year = {2026},
doi = {10.64898/2026.10.26.760299},
url = {https://doi.org/10.64898/2026.10.26.760299}
}
Acknowledgements
K-Fold was developed at KAIST as part of the K-Fold initiative supported by the Ministry of Science and ICT (MSIT), Republic of Korea.
Members of Team KAIST are listed below (alphabetical order):
- Project management: Hyeongwoo Kim3,†,‡
- Engineering lead: Seonghwan Seo3,†
- K-Fold architecture: Seokhyun Moon3,†, Jun Hyeong Kim3, Shinwoo Kim3, Minha Park3, Jisu Seo3, Mingyeong Shin3, Wonho Zhung3
- Protein structure encoder: Hyosoon Jang1,†, Taewon Kim1,†, Hyunjin Seo1
- RNA sequence encoder: Dongki Kim1,†, Jun Hyeong Kim1,†, Jinheon Baek1, Jaehyeong Jo1
- Training data preparation: Yeongnam Bae2,†, Woosung Jeon2,†, Joongwon Lee3,†, Junyup Lee2,†, Yunsu Shin2,†, Eugene Choi2, Jeong Hun Choi2, Hyeongyu Han2, Calvin Samuel2
- Kernel optimization: Youngchan Kim4
- Supervision: Sungsoo Ahn1, Dongsu Han4,1, Sung Ju Hwang1, Ho Min Kim2, Woo Youn Kim3, Gyu Rie Lee2, Byung-Ha Oh2
† Core contributor; ‡ Corresponding author; 1 KAIST AI; 2 KAIST Biological Sciences; 3 KAIST Chemistry; 4 KAIST Electrical Engineering.
We thank our collaborators at HITS for their contributions to K-Fold.
License
Copyright © 2026 Korea Advanced Institute of Science and Technology (KAIST).
K-Fold source code and model weights are licensed under the Apache License 2.0.
Metadata
Release files for kfold 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kfold-1.1.0.tar.gz | 379.2 kB | Without provenance | Details for kfold-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kfold-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for kfold-1.1.0-py3-none-any.whl |
Total release size: 893.9 kB
Release files / kfold-1.1.0.tar.gz
| Download URL | kfold-1.1.0.tar.gz |
|---|---|
| Size | 379.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
31cca1cd77759a639514bfb57dcd0e95eca33a06c1913a6ed0963b64d8d393c6
|
|
BLAKE2b-256 checksum How to use checksums |
37f48d8171d50b4964b6bf738e5f5047dae5025fcf369cd5dc051243e45366d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.12 {"installer":{"name":"uv","version":"0.12.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / kfold-1.1.0-py3-none-any.whl
| Download URL | kfold-1.1.0-py3-none-any.whl |
|---|---|
| Size | 514.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f0294cd7fa431f77edc30c524511df4598013ec4df142e9987329d916f2314a
|
|
BLAKE2b-256 checksum How to use checksums |
d4cbfc250117d779ab17167361a9a3240f88de45430775188bbf2d288a5c5f8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.12 {"installer":{"name":"uv","version":"0.12.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for kfold 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.