Seamlessly integrate your local oMLX models into Pi.
This extension discovers models from a local OMLX server and registers them as native Pi providers.
Switch between your local and remote models effortlessly using Pi's built-in /model command.
- Auto discovery: fetches and registers available OMLX models without blocking Pi startup.
- Native integration: login uses Pi's standard
/login, and models use Pi's standard/modelmenu. - Smart overrides: applies per-request thinking controls based on each model's
thinkingDefaultmetadata.
pi install npm:pi-omlx-pickernpm installnpm run checknpm run formatnpm testnpm run test:watch
- Start your local OMLX server.
- Run
/loginin Pi, choose API key, then choose OMLX. - Enter your OMLX API key.
- Type
/modelto see and select your OMLX models.
The default base URL is http://127.0.0.1:8000/v1. Set OMLX_BASE_URL before starting Pi if your OMLX server uses a different URL.
Env-var overrides, model metadata overlay, and stream timeout knobs are documented in docs/CONFIGURATION.md.
