Skip to content

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.

Terminal window
uvx --from onpar onpar fit

That 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.

Terminal window
uv tool install onpar # or: pipx install onpar, pip install onpar
brew install dshakes/tap/onpar # macOS, from the shared tap
npx onpar-cli fit # the npm shim execs uvx --from onpar underneath

fit is one package. Capturing and scoring your own traffic needs two more, the capture gateway and the compiled extension that reads captures back:

Terminal window
pip install onpar onpar-gateway onpar-core

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.2

Every 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.

The commands above fetch the newest release. When a build has to stay put:

Terminal window
uvx --from onpar==1.4.0 onpar fit
npx onpar-cli@1.4.0 fit

onpar 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.