Skip to content

API reference

simrun is its binaries (the command line, the services, the harness of the pods and the MCP server, written in Rust, crates/ of the repository) and a small python package, simrun, with which python task types are written: the plugin interface and the bridge through which the binaries find and run the task types of python plugins. This reference is generated from the docstrings of that package; the binaries are described in Command line, Service and Unit ABI.

module description
plugins the plugin interface: task types, their resource hints, their discovery and the paths of a command (paths_from_env)
plugins_builtin the built-in task type command
demo the demo plugin: sums of squares, split into one unit per number
manifest the manifests of the task types (simrun.task-type/1, python -m simrun.manifest) and the environment of the plugins (--environment)
unit_serve a python task type as a process of the unit ABI, python -m simrun.unit_serve <type>