Millrace OS is a local service, command-line client, and dashboard for operating independent Millrace workflow instances. Inspect runs, submit exact control requests, and publish workflow edits through one authenticated loopback API.
Core owns instance inventory, execution, receipts, planes, and writer state. OS owns named state-home selections, drafts, and the lifetime of its controller calls.
Install
Millrace OS 0.23.2 requires Python 3.12 or newer. Install the base service with:
python -m pip install 'millrace-os==0.23.2'
For the router operations below, install the router extra:
python -m pip install 'millrace-os[router]==0.23.2'
The router extra selects millrace-plus[router]>=0.23.2,<0.24.0, which brings in Core. The 0.23.2 release pairs Core, Plus, and OS 0.23.2 with the millrace-router-execution/v2 contract. The base service starts independently of Core and Plus. Router operations require compatible components.
The optional mcp extra provides a foreground bridge for Python 3.12 and 3.13. See MCP configuration and transports.
Operate a Core home
On Linux, start the foreground service without a PID file. Send the first shutdown signal with Ctrl+C in the serving terminal.
millrace-os serve --no-pid-file --router-state-home main=/absolute/path/to/core-state
On macOS, the following command records the native process identity for verified millrace-os stop from another terminal.
millrace-os serve --router-state-home main=/absolute/path/to/core-state
The service creates an owner-only bearer credential. Open the stock dashboard from another terminal to choose an instance and run. The dashboard shows the run's graph, activity, reports, revisions, and available controls. See the stock dashboard guide.
millrace-os open --stock --home main
The browser is optional. Authenticated clients of a service share its saved presentation preferences. OS stores these preferences in its configuration directory, separate from execution settings and control requests. See the presentation guide.
The headless client uses the same API. See headless router operation for control requests and deterministic authoring.
millrace-os router instances --home main
millrace-os router inspect --home main --instance INSTANCE_ID --run RUN_ID
millrace-os router request --home main --file saved-request.json
Try the zero-key demo
Install the matching Core, Plus, and OS packages, then run the demo without a model or provider key.
python -m pip install 'millrace-ai==0.23.2' 'millrace-plus==0.23.2' 'millrace-os==0.23.2'
millrace demo --no-open --output ./millrace-demo-results
Open the printed loopback URL. After the report appears, select Finish and wait for the terminal to report completion. The output directory contains report.html, report.json, and execution.json. The demo owns a separate temporary service and workspace. See owned demo sessions.
Receipts and controller ownership
A request file contains the complete millrace-router-request/v2 envelope, including its request ID, target IDs, expected state version, and payload. OS forwards it unchanged. A queued receipt means Core admitted the request. It does not mean the request applied or its writers stopped.
OS tracks every public call that could acquire Core's controller lock. The first shutdown requests pause and drains those calls before closing HTTP and local storage. A second deliberate shutdown requests Core cancellation. Unrelated provider-hosted processes retain their own lifecycle.
Workflow Apply freezes a draft, pauses its exact run, observes quiescence and final call drain, validates, publishes the files, and submits the revision. It leaves the run paused with a pending revision. Acceptance requires an explicit later request. Core decides whether acceptance can continue runnable planes.
Source boundaries
router_client.pycalls public Plus controls and catalog functions.router_workers.pyowns bounded controller and control-ingress calls.workflow_drafts.pystores drafts and serializes cooperating OS publications.api.py,contracts.py, andcli.pydefine the shared HTTP and headless client surface.
The API and service foundations document trust, storage, and recovery. The package includes prebuilt dashboard assets and license notices.
Metadata
Release files for millrace-os 0.23.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 |
|---|---|---|---|---|
| millrace_os-0.23.2.tar.gz | 810.6 kB | With provenance | Details for millrace_os-0.23.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| millrace_os-0.23.2-py3-none-any.whl | Python 3 | none | any | Details for millrace_os-0.23.2-py3-none-any.whl |
Total release size: 1.2 MB
Release files / millrace_os-0.23.2.tar.gz
| Download URL | millrace_os-0.23.2.tar.gz |
|---|---|
| Size | 810.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f693143574d37150cee2af03b8ce7354a648b273288a613b2bf2cd7a0b703a2
|
|
BLAKE2b-256 checksum How to use checksums |
ab973dac4266cb1135270124d079eb5423bce089688b67b559bb871eddc215f1
|
| 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 Nov 24, 2026.
Transparency logRelease files / millrace_os-0.23.2-py3-none-any.whl
| Download URL | millrace_os-0.23.2-py3-none-any.whl |
|---|---|
| Size | 415.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
643fed8b5cc0fea1d88db35a1e6c2a9f04bbba3eca758721e57fdec5fdceba52
|
|
BLAKE2b-256 checksum How to use checksums |
aeb61a91cbe54cbad66f5d30b77cc713938a2f567a02c80d935b243995050967
|
| 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 Nov 24, 2026.
Transparency logSecurity for millrace-os 0.23.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 millrace_os-0.23.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 Nov 24, 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.