Skip to content

Installation

simrun is one wheel on PyPI: its binaries, written in Rust, and a small python package. The binaries are the client (the command line simrun and the MCP server simrun-mcp), the services (simrun-serve of a cluster and simrun-local of the local mode), the harness of the pods (simrun-worker, simrun-merge, simrun-exec) and the conformance kit of a unit module (simrun-abi); the wheel also carries the built web app. The python package simrun is the interface of the python task types (Plugins), its only dependency is pydantic. Install it with pip:

pip install simrun

Platforms

platform wheel
Linux x86_64 and aarch64 manylinux_2_28 (glibc 2.28 or newer) and musllinux_1_2 (Alpine)
macOS arm64 and x86_64 macosx (macOS 11 or newer): the local mode, the command line, the MCP server and the web app; a worker's memory is its physical footprint, with no cgroup limit and no CPU pinning
Windows not supported: there is no wheel, and a build from the sdist stops with a message. Use WSL 2 and install simrun there

The cluster (k3s, Argo Workflows, Kueue) is Linux. simrun needs python 3.14 or newer, for the python task types of the plugins; the binaries themselves run without python.

With uv

With uv, install the command line as a tool:

uv tool install simrun

add simrun to a project, e.g. the one of a plugin, which locks it together with the rest of the environment:

uv add simrun

or run it from a checkout of the repository, which builds the binaries with cargo first (see Development):

git clone https://github.com/matthiaskoenig/simrun.git
uv run --project simrun simrun --help

The python of the plugins

The binaries run the task types of the python plugins (e.g. sbmlsim) with a python which has simrun and the plugins installed: SIMRUN_PYTHON, else the python beside the binaries (the environment the wheel was installed into), else python3 of the PATH. An installation into a virtual environment or with uv tool finds it by itself; set SIMRUN_PYTHON when the binaries are not beside the python of the plugins (e.g. pip install --user).

Check the installation

simrun --help
python -c "import simrun; print(simrun.__version__)"

The command line needs a running service, see Command line, or runs everything on this machine with --local, see Local mode; the service and the cluster are set up as described in Cluster deployment.

Optional packages

feature install
the tools of development: tests, lint, types, documentation, release pip install "simrun[dev]", see Development