Alterlab Chai logo

Alterlab Chai

Community
AlterLab-IEU
alterlab-chai

Predict biomolecular complexes with Chai-1, an open AlphaFold3-style model that folds multi-entity assemblies (proteins, ligands, nucleic acids) from a single typed FASTA — strong on antibody–antigen and protein–ligand complexes, with optional MSA and restraint inputs. Use when predicting an antibody–antigen complex, folding a mixed protein/ligand/nucleic-acid assembly described in one FASTA, or generating a complex with experimental restraints. For binding-affinity prediction or a ligand-focused co-fold prefer alterlab-boltz; for protein-only or protein–protein folding prefer alterlab-alphafold; to dock into a fixed receptor prefer alterlab-diffdock. Part of the AlterLab Academic Skills suite.

Overview

PublisherAlterLab-IEU
RepositoryAlterLab-Academic-Skills
Skill namealterlab-chai
Stars
84
Forks
16
Bundled files
2
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by AlterLab-IEU on GitHub. Read the source before you install it.

Installation

Install the Alterlab Chai AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/AlterLab-IEU/AlterLab-Academic-Skills/tree/main/skills/bioinformatics/alterlab-chai
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AlterLab-IEU/AlterLab-Academic-Skills.git /tmp/AlterLab-Academic-Skills
mkdir -p .claude/skills
cp -r /tmp/AlterLab-Academic-Skills/skills/bioinformatics/alterlab-chai .claude/skills/alterlab-chai
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Alterlab Chai in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Alterlab Chai on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Alterlab Chai is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Chai-1 (open complex prediction)

Overview

Chai-1 (Chai Discovery 2024; chaidiscovery/chai-lab) is an open AlphaFold3-style model that predicts multi-entity biomolecular complexes — proteins, small-molecule ligands, and nucleic acids together — from a single typed FASTA. It is particularly used for antibody–antigen and protein–ligand complexes, can run with or without MSAs, and accepts restraints to guide the prediction.

Its niche relative to the other folders: one FASTA describing a mixed assembly, and antibody–antigen in particular. For a ligand co-fold where you specifically want a binding affinity, use alterlab-boltz; for a bare protein, use alterlab-alphafold.

When to Use This Skill

Use this skill when the user wants to:

  • Predict an antibody–antigen complex structure.
  • Fold a mixed assembly (protein + ligand + nucleic acid) described in one FASTA.
  • Run complex prediction with or without MSAs, optionally guided by restraints.
  • Get an open AlphaFold3-style complex prediction with per-entity confidence.

Does NOT Trigger

ScenarioUse instead
Predict a protein–ligand binding affinityalterlab-boltz
Protein-only or protein–protein foldingalterlab-alphafold
Dock a ligand into a fixed receptor structurealterlab-diffdock
Look up an experimental complex structurealterlab-pdb
Design antibody/interface sequencesalterlab-proteinmpnn / alterlab-ligandmpnn

Core Capabilities

1. Single-FASTA multi-entity input

Chai-1 reads one FASTA whose records are typed by entity. A protein + ligand example:

text
>protein|name=antibody-Fv
EVQ...SS
>protein|name=antigen
MKT...GG
>ligand|name=cofactor
CC(=O)Oc1ccccc1C(=O)O
bash
chai-lab fold input.fasta out/                          # single-sequence, fastest
chai-lab fold --use-msa-server --use-templates-server input.fasta out/   # recommended

Each header is <entity_type>|name=<unique label> (the bare type|label form also parses). Valid entity types: protein, ligand (SMILES), rna, dna, glycan. Names must be unique — a repeated name raises. The output directory must be empty.

2. Antibody–antigen complexes

The common use case: fold an antibody Fv/Fab against its antigen and read the interface confidence (per-model / interface score) to judge whether the predicted epitope/paratope contact is trustworthy. Use restraints when you have partial epitope knowledge.

3. MSA, templates and restraints

  • MSA optional — Chai-1 runs single-sequence by default; --use-msa-server fetches MSAs from the shared ColabFold MMseqs2 server (discloseable for sensitive sequences) and generally improves accuracy at a time cost. Local MSAs are supplied as aligned.pqt files (convert a3m with chai a3m-to-pqt).
  • Templates — --use-templates-server, or your own m8 hit table plus CIFs in CHAI_TEMPLATE_CIF_FOLDER.
  • Restraints — a CSV passed as constraint_path, one row per restraint with columns restraint_id, chainA, res_idxA, chainB, res_idxB, connection_type, confidence, min_distance_angstrom, max_distance_angstrom, comment. connection_type is contact (residue↔residue) or pocket (chain↔residue, so res_idxA is left blank). Residue indices are the residue letter plus its 1-based position (D4), and chains are lettered A–Z in input order. Published example: two ground-truth contacts lifted antibody–antigen interface DockQ from ~0.02 to ~0.4 on PDB 7SYZ.

4. Confidence and GPU dispatch

A run writes pred.model_idx_{0..4}.cif plus scores.model_idx_N.npz holding aggregate_score (the ranking number), ptm, iptm, per_chain_ptm, per_chain_pair_iptm, has_inter_chain_clashes and chain_chain_clashes. For an antibody–antigen job the pair-wise per_chain_pair_iptm entry for the two chains — not the global score — is what tells you whether the predicted epitope is trustworthy; check the clash flags before believing a high score.

The Python entry point is chai_lab.chai1.run_inference(fasta_file=..., output_dir=..., num_diffn_samples=5, num_trunk_recycles=3, seed=..., device="cuda:0"), returning a StructureCandidates with cif_paths and ranking_data. Batch an antibody panel against one antigen via alterlab-remote-compute (submit → poll → harvest out/).

Resources

  • references/chai_usage.md — install/pinning, FASTA type-tag syntax, MSA/restraint options, outputs, and folder-choice guidance. Loaded on demand.

Part of the AlterLab Academic Skills suite.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Alterlab Chai AI skill do?

Predict biomolecular complexes with Chai-1, an open AlphaFold3-style model that folds multi-entity assemblies (proteins, ligands, nucleic acids) from a single typed FASTA — strong on antibody–antigen and protein–ligand complexes, with optional MSA and restraint inputs. Use when predicting an antibody–antigen complex, folding a mixed protein/ligand/nucleic-acid assembly described in one FASTA, or generating a complex with experimental restraints. For binding-affinity prediction or a ligand-focused co-fold prefer alterlab-boltz; for protein-only or protein–protein folding prefer alterlab-alph...

Why use Alterlab Chai on TypingMind?

Because you install it once and use it with any model. Alterlab Chai is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Alterlab Chai in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/AlterLab-IEU/AlterLab-Academic-Skills/tree/main/skills/bioinformatics/alterlab-chai. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Alterlab Chai?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Alterlab Chai?

As many as you like. As long as a model supports skills, you can use Alterlab Chai with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Alterlab Chai AI skill free?

Yes. It is published on GitHub by AlterLab-IEU under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇