Install VeriGym from PyPI using uv package manager:
uv pip install verigym # alternatively using pip pip install verigym Supported: Python 3.12–3.15 on Linux and macOS. Windows is supported through Windows Subsystem for Linux (WSL).
On Python 3.14 and newer, the Box2D environments (e.g. LunarLander) are not installed automatically, because Box2D has to be compiled for that Python version. To use them, install SWIG (brew install swig or sudo apt install swig), then run pip install "gymnasium[box2d]" with the activated venv (alternatively just run uv add verigym).
The Dockerfile in the docker directory builds an image for Linux and macOS (amd64 and arm64) with Python 3.14, the locked dependencies from uv.lock, and Julia 1.11.5 with the packages for the external-tools workflow. The Python, uv, and Julia versions can be set as build arguments.
Use ./docker/run-docker.sh build to build a localhost/verigym:latest Docker image (--prism optionally installs Java and PRISM).
To create the archives, build and save the image natively on each architecture, with Podman or with Docker as UID 1000: ./docker/run-docker.sh build && ./docker/run-docker.sh save writes verigym- .tar.gz.
A multi-platform image for a registry can be built with docker buildx build --platform linux/amd64,linux/arm64 -f docker/Dockerfile -t /verigym: --push ., which emulates the other architecture and is slow.
Use ./docker/run-docker.sh test to run the tests, ./docker/run-docker.sh repro to run the example workflows (examples/run_workflows.sh), and ./docker/run-docker.sh shell for a shell. The repository is mounted at /workspace, so the image also works as a devcontainer image.
Prefix a command in ./docker/run-docker.sh with OFFLINE=1, e.g., OFFLINE=1 ./docker/run-docker.sh test to run the command without network access. The container can reproduce the paper without internet access, only building the image requires internet access. That means that with a given image, the artefact does not require internet access.
With a prebuilt image, use the repository at the same commit as the image and do not run build (it needs network access and replaces the image):
./docker/run-docker.sh load verigym-amd64.tar.gz # Intel/AMD; use verigym-arm64.tar.gz on Apple Silicon and other ARM machines OFFLINE=1 ./docker/run-docker.sh test OFFLINE=1 ./docker/run-docker.sh repro If you want to use the image that was published to GitHub's registry, use ./docker/run-docker.sh pull ghcr.io/ai-fm/verigym: instead of load. It needs network access once, and Docker or Podman picks the image for your architecture.
The image runs as UID 1000. Docker Desktop (macOS) and Podman work for any user; with Docker Engine on Linux your UID must be 1000 (usually the first account), otherwise build the image yourself with ./docker/run-docker.sh build (requires internet access).
Please check out the contribution guide for branch naming, testing, naming conventions, etc.
Author: julemarie, Joshua Wendland, Maris F. L. Galesloot, Merlijn Krale, Nils Jansen, Ossmos
All 2 files in this release have provenance metadata.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.
All 2 files in this release have been uploaded with provenance metadata.
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.




