Install, and see what this machine can run
You need Python 3.11 or newer. Nothing else: the sizing half of onpar has zero runtime dependencies, so the first command runs before anything is installed.
uvx --from onpar onpar fitThat reads the machine it is on and prints every catalogue model that fits at
the default context and concurrency, with the arithmetic one flag away. The
--from onpar is not optional: the distribution and the command share a name,
and uvx needs to be told which is which.
Put it on your PATH
Section titled “Put it on your PATH”uv tool install onpar # or: pipx install onpar, pip install onparbrew install dshakes/tap/onpar # macOS, from the shared tapnpx onpar-cli fit # the npm shim execs uvx --from onpar underneathfit is one package. Capturing and scoring your own traffic needs two more,
the capture gateway and the compiled extension that reads captures back:
pip install onpar onpar-gateway onpar-coreAsk the machine what it is ready for
Section titled “Ask the machine what it is ready for”onpar doctor checks the pieces in the order the loop needs them and ends with
the one command to run next. This is a real run:
$ onpar doctor
onpar 1.5.2 · what this machine can do
✓ hardware M4 Max · 128 GB, 96 GB usable ✓ capture gateway ~/.local/share/uv/tools/onpar/bin/onpar-gateway ✓ compiled extension _onpar_core 1.5.2 ✓ serving engines llama-server, ollama ✓ captured traffic ~/.onpar/captures.log · 165,403 bytes ✓ eval set ~/workspace/onpar/evalset.json
next: onpar prove evalset.json --candidate-endpoint http://127.0.0.1:8000/v1
# recorded 2026-11-03 on M4 Max · 128 GB · onpar 1.5.2Every stage after this one refuses to start without the piece it needs, and says which. You will not find out at the end that something was missing.
Pin a build
Section titled “Pin a build”The commands above fetch the newest release. When a build has to stay put:
uvx --from onpar==1.4.0 onpar fitnpx onpar-cli@1.4.0 fitonpar version prints the installed version from its metadata, and
onpar upgrade prints the upgrade command for the way you installed it.
Next: ten seconds to a fit, or straight to the walkthrough.