ALCHEMI Toolkit is a Python framework that uses GPUs to run atomic simulations and train machine-learned models for chemistry and materials science. Researchers and developers use it for molecular dynamics, geometry relaxation, and model training across one or multiple GPUs. Its catalogue add-ons guide coding agents in using the toolkit’s APIs and repository conventions.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add NVIDIA/nvalchemi-toolkit --skill nvalchemi-distillationgit clone --depth 1 https://github.com/NVIDIA/nvalchemi-toolkitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/nvidia/nvalchemi-toolkit/nvalchemi-distillation)<a href="https://agentmods.dev/skills/nvidia/nvalchemi-toolkit/nvalchemi-distillation"><img src="https://agentmods.dev/badge/skills/nvidia/nvalchemi-toolkit/nvalchemi-distillation/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/nvidia/nvalchemi-toolkit/nvalchemi-distillation"><img src="https://agentmods.dev/badge/skills/nvidia/nvalchemi-toolkit/nvalchemi-distillation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00109 | $0.06431 |
| Opus 5.5 | $0.00044 | $0.02572 |
| Sonnet 5.5 | $0.00022 | $0.01286 |
| Haiku 4.5 | $0.00011 | $0.00643 |
Grade A, and why
nvalchemi-distillation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 551 lines — stays where its author put it; the contents beside it link to each section on GitHub.
nvalchemi Distillation
Overview
Distillation trains a small student to reproduce a large frozen
teacher. In nvalchemi it is a TrainingStrategy subclass over two named
models, so everything from nvalchemi-training-api applies: optimizers,
schedulers, validation, hooks, checkpoints, DDP. What distillation adds is a
teacher whose outputs become loss targets.
Read nvalchemi-training-api and nvalchemi-loss-api first.
docs/userguide/distillation.md is the concept guide and
docs/modules/training/distillation.rst is the symbol-by-symbol reference.
import torch
from nvalchemi.dynamics.integrators.nvt_langevin import NVTLangevin
from nvalchemi.training import (
ComposedLossFunction,
EnergyMSELoss,
ForceMSELoss,
OptimizerConfig,
)
from nvalchemi.training.distillation import (
DistillationStrategy,
InProcessTeacherScorer,
OnPolicyConfig,
OnPolicySettings,
AtomicEnergyMatchingLoss,
ReplayBuffer,
InitialStructures,
TeacherLabelHook,
build_mixed_loader,
default_distillation_fn,
label_dataset,
)
Two loops are available:
- Offline — train over a fixed dataset, with the teacher's labels either precomputed into a store or produced on the fly. Start here; it distributes over ranks like ordinary training.
- On-policy — generate frames by running dynamics with the student itself, label them with the teacher, and train on a mixture of those and reference data. Use it when the student is stable on the reference distribution but fails on the states it actually visits.
Minimal Pattern (offline)
strategy = DistillationStrategy(
models={"student": student, "teacher": teacher},
optimizer_configs={
"student": [
OptimizerConfig(
optimizer_cls=torch.optim.AdamW,
optimizer_kwargs={"lr": 1e-4, "weight_decay": 1e-6},
)
]
},
loss_fn=EnergyMSELoss(target_key="teacher_energy")
+ 10.0 * ForceMSELoss(target_key="teacher_forces"),
num_steps=10_000,
)
strategy.run(dataloader)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 14d ago First seen · 551 lines · 109 tokens per session scan A 6fd5f1f5be64
nvalchemi-distillation is a skill published in the GitHub repository NVIDIA/nvalchemi-toolkit (192 stars, last pushed yesterday), licensed Apache-2.0. It adds 109 tokens to every session and 6,431 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-06.
Other skills, from other repositories
arboreto
Infers candidate gene regulatory networks from bulk or single-cell expression data using AertsLab Arboreto GRNBoost2 and GENIE3. Use for transcription factor-target association ranking, compatible Dask execution, sparse expression inputs, and network stability checks.
deepspot-m
Generates transcriptome-wide virtual spatial transcriptomics from H&E histology with DeepSpot-M. Used for predicted log1p-CPM expression from 224x224 tiles at about 20x, querying the released protein-coding gene panel by symbol, and whole-slide prediction after resolution-aware tiling with histolab.
torchdrug
Builds and troubleshoots TorchDrug 0.2.1 workflows for molecular graphs, property prediction, self-supervised pretraining, molecule generation, retrosynthesis, protein representation learning, and knowledge graph reasoning. Use when code imports torchdrug or needs its datasets, models, tasks, or Engine.
pyhealth
Builds and validates PyHealth clinical machine-learning pipelines for EHR, signals, imaging, and medical codes. Use for PyHealth dataset loading, MIMIC-III/IV, eICU or OMOP prediction tasks, patient-level evaluation, mortality/readmission/length-of-stay modeling, medication recommendation, sleep staging, Trainer…
ml-training-recipes
Battle-tested PyTorch training recipes for all domains — LLMs, vision, diffusion, medical imaging, protein/drug discovery, spatial omics, genomics. Covers training loops, optimizer selection (AdamW, Muon), LR scheduling, mixed precision, debugging, and systematic experimentation. Use when training or fine-tuning…
nemo-mbridge-perf-expert-parallel-overlap
Validate and use MoE expert-parallel communication overlap in Megatron-Bridge, including overlapmoeexpertparallelcomm, delaywgradcompute, and flex dispatcher backends such as DeepEP and HybridEP.