Skip to main content

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
Worked example a complete campaign, start to finish, that you can copy
Configuration every YAML key: meaning, default, when to change it
Commands 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.13. 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).

Pre-release: until pyiron_workflow_vasp 0.2.0 and pyiron_workflow_assyst 0.2.0 are on PyPI, install those two from their wheels first — see installation.

Quick start

assystant --help
assystant gen examples/Al_tutorial.yaml --root ./al_campaign --no-progress

gen needs neither SLURM nor VASP, so this works on any machine: it writes 43 POSCARs and a manifest.csv under ./al_campaign/Al/. --root overrides the cluster path in the YAML. To go further — run, status, collect — edit the slurm: and vasp: sections to point at your partition, environment and VASP binary, and set up the POTCAR config.

examples/Al_tutorial.yaml is a small, complete, minutes-long campaign walked through in docs/worked-example.md. examples/Fe_unary.yaml shows production settings. 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

  1. 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.
  2. IBRION is required whenever assyst.ionic_steps > 0. A missing one makes VASP default to molecular dynamics and refuse the job. Use IBRION: 2.
  3. ionic_steps now 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.

Tests

python -m pip install "assystant[test]"
pytest tests/ -q

108 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.

  1. Bump __version__ in assystant/__init__.py (the only place the version lives) and add an entry to CHANGELOG.md.
  2. Open a PR and merge it to main. The release workflow builds the sdist and wheel and runs twine check --strict on every PR as a dry run.
  3. 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 (a v or assystant- 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.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for assystant 0.1.0
File Size Uploaded Provenance Actions
assystant-0.1.0.tar.gz 134.9 kB With provenance Details for assystant-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for assystant 0.1.0
File Interpreter ABI Platform Actions
assystant-0.1.0-py3-none-any.whl Python 3 none any Details for assystant-0.1.0-py3-none-any.whl

Total release size: 170.7 kB

Release files / assystant-0.1.0.tar.gz

Download URL assystant-0.1.0.tar.gz
Size 134.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7cce32aa2609d72dc81836fe9599dd714f82b375078266871459fce6a60631fa
BLAKE2b-256 checksum
How to use checksums
568d42f1d4db9a0669b39ec7f44c6f42fee96d0a1204ed62419210824e0ba4a9
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 22, 2026.

Transparency log

Release files / assystant-0.1.0-py3-none-any.whl

Download URL assystant-0.1.0-py3-none-any.whl
Size 35.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2be68493f6e8d4bd0176af2233167a23e61362f69fb9f5afcf9c3169b8024e2c
BLAKE2b-256 checksum
How to use checksums
f489101fd49afeb1d1bae535bda06e3fc116b41b7f681b76a3fb3528c6b4700a
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 22, 2026.

Transparency log

Security for assystant 0.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for assystant-0.1.0.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 22, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page