assystant
Run an ASSYST campaign end to end from a single YAML file: PyXtal structure generation → one SLURM job per structure running the ISIF7 → ISIF5 → ISIF2 relaxation and permutation-statics chain → a single collated training dataset.
ASSYST generates DFT training data for interatomic potentials: random crystals across all 230 spacegroups, relaxed through a three-stage ISIF chain, then high-accuracy statics on the relaxed images and on rattled, triaxially strained and sheared permutations of them — the off-equilibrium configurations a potential needs and that ordinary MD never visits.
assystant drives that per campaign, replacing hand-copied
2025_03_16_Unaries.py scripts, element lists hardcoded in notebook cells, and a
submit_temp.sh maintained by hand with one line per element.
assystant gen camp.yaml # PyXtal scan -> POSCARs + manifest
assystant run camp.yaml --dry-run --limit 1 # render one job; read it
assystant run camp.yaml # submit; also the resume command
assystant status camp.yaml --watch 300 # progress
assystant collect camp.yaml -o train.pkl # one dataframe
Documentation
| Overview | what ASSYST does, what assystant adds, how the three repos fit together |
| Installation | dependencies, install order, the POTCAR config |
| New machine | first setup on a cluster: POTCAR library, VASP binary and modules, SLURM, one site file per machine (--site), moments per element |
| Worked example | a complete campaign, start to finish, that you can copy |
| Several elements | many unaries, binaries and ternaries in one campaign: species, stoichiometry, magmom.host, adding elements later |
| Configuration | every YAML key: meaning, default, when to change it |
| Commands | example / gen / run / status / collect reference |
| Operations | content-hashed directories, the staleness guard, --from-scratch, smoke testing — the part that saves days |
| Behaviour changes | read before comparing new data against pre-2026 campaigns |
| Troubleshooting | real failure modes and their actual error text |
Background: design spec · implementation report
Install
python -m pip install assystant
Python 3.11–3.14. No --no-build-isolation, no pre-installed scientific stack:
pip, uv pip install assystant, a venv, a conda/mamba env or a pixi project
all work the same way. See installation for each variant,
the POTCAR configuration and what a real run additionally needs (SLURM, a VASP
binary).
Quick start
python -m pip install assystant
assystant example Al_tutorial -o camp.yaml # bundled tutorial campaign
assystant gen camp.yaml --no-progress # PyXtal scan -> ./Al_campaign/Al/
assystant run camp.yaml --dry-run --limit 1 # render one job script; read it
This works from any directory on any machine: gen and run --dry-run need
neither SLURM nor VASP, and the bundled template carries no site-specific paths.
gen writes 43 POSCARs and a manifest.csv under ./Al_campaign/Al/; the
rendered job script runs the Python environment assystant is installed in.
assystant example with no name lists the bundled templates: AlCu_tutorial
is the same campaign over several elements at once — two unaries and the Al–Cu
binary, from species: [[Al], [Cu], [Al, Cu]] — and is walked through in
docs/multi-element.md.
To go further — a real run, then status and collect — fill in the
"<EDIT ...>" placeholders in camp.yaml (SLURM partition, VASP binary; a real
run refuses to submit while any is left) and set up the
POTCAR config. The campaign is walked
through in docs/worked-example.md. On a cluster you
will use more than once, put the machine-specific parts in a site file instead
(assystant example site -o site_mycluster.yaml, then --site site_mycluster.yaml
on every command) — see docs/new-machine.md.
The repository's examples/ directory holds the configs of the
real MPIE cluster setup, with its absolute paths:
examples/Al_tutorial.yaml is the same tutorial
campaign as run there, examples/Fe_unary.yaml shows
production settings, and examples/Fe_smoke.yaml
proves an install actually runs DFT, on a login node, in under a minute.
Layout on disk
<root>/
assystant_config.yaml the resolved config `run` was launched with
Fe/
manifest.csv index, hash, spacegroup, composition, n_atoms, V/atom
structures/00000_structure.vasp ...
struct_00000_3f9c1a20/ one per structure, content-hashed
assystant_job.sh
assystant.out / assystant.err
ISIF7.tar.gz ISIF5.tar.gz ISIF2.tar.gz ...
df_ASSYST_jobs.pkl present == finished
The _3f9c1a20 is the first eight hex digits of the SHA-256 of the POSCAR. That
is a correctness mechanism, not a naming convention — the caching layer
underneath keys on directory path and never hashes its inputs, so a
content-derived name is what stops one structure's results from being served for
another. See
content-hashed run directories.
Three things to know before your first campaign
- Start with
--limit 1. A dry run proves the script renders; it cannot prove the VASP binary, the modules, the POTCAR library or your INCAR work on a compute node. Submit one, check it, then submit the rest. IBRIONis required wheneverassyst.ionic_steps > 0. A missing one makes VASP default to molecular dynamics and refuse the job. UseIBRION: 2.ionic_stepsnow applies to all three ISIF stages, where pre-2026 campaigns applied it to ISIF7 only. New ISIF5/ISIF2 data is not directly comparable with old datasets — see behaviour changes.- The relaxation and the labels have separate INCARs.
incaris the relaxation; the accurate statics that produce the training data run onincarplusincar_static(by defaultKSPACING 0.25,EDIFF 1e-5,EDIFFG 1e-4,LREAL false), so a production-gradeENCUTor k-mesh for the labels costs nothing in the relaxation.
Tests
python -m pip install "assystant[test]"
pytest tests/ -q
158 tests. None call SLURM or VASP; submit_campaign takes queued_dirs and
submit_fn injection seams for exactly that reason. For an end-to-end check that
runs real DFT, use examples/Fe_smoke.yaml.
Releasing
Releases go to PyPI from GitHub Actions via trusted publishing, so no API token is stored anywhere.
- Bump
__version__inassystant/__init__.py(the only place the version lives) and add an entry toCHANGELOG.md. - Open a PR and merge it to
main. Thereleaseworkflow builds the sdist and wheel and runstwine check --stricton every PR as a dry run. - Create a GitHub release with tag
v<version>(e.g.v0.1.0). Publishing the release builds again, checks that the tag matches the package version (avorassystant-prefix is stripped), and uploads to PyPI.
One-time setup: on PyPI, add a trusted publisher for assystant with owner
ligerzero-ai, repository assystant, workflow release.yml and environment
pypi, and create a pypi environment in the GitHub repository settings
(optionally with required reviewers).
Metadata
Release files for assystant 0.1.2
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 |
|---|---|---|---|---|
| assystant-0.1.2.tar.gz | 174.6 kB | With provenance | Details for assystant-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| assystant-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for assystant-0.1.2-py3-none-any.whl |
Total release size: 225.6 kB
Release files / assystant-0.1.2.tar.gz
| Download URL | assystant-0.1.2.tar.gz |
|---|---|
| Size | 174.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d420622ce3790c23e6dcfa408658f7fcb12aa0b2849ae86cbd1db7e378b0e3eb
|
|
BLAKE2b-256 checksum How to use checksums |
b139b03e91c2649d40d9bdbee1ab36f6ca65839cfe7140ce40bbfa8dd624ab46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logRelease files / assystant-0.1.2-py3-none-any.whl
| Download URL | assystant-0.1.2-py3-none-any.whl |
|---|---|
| Size | 51.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d76c7b1409852036b3b46c3ecc541f25c4c4cc5e9eb8639bebe09b12158c193
|
|
BLAKE2b-256 checksum How to use checksums |
c5756b6246ac2992817a6a02d3a38e1387774780d63857cfa1e8f07e6fcf3897
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logSecurity for assystant 0.1.2
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for assystant-0.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logA 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.