Skip to content

novak CLI reference

One command for everything you touch after setup. It lives at scripts/novak. bootstrap.sh symlinks it onto PATH at ~/.local/bin/novak, not /usr/local/bin: the service account has no sudo, and /usr/local/bin needs root to write to. A stale /usr/local/bin/novak symlink from an old checkout path is also unfixable by this account, since removing it needs root too, which is what happened on the mini after the repo moved and is why ~/.local/bin (writable, and already earlier on PATH) is the answer rather than a workaround.

If you ever need to link it by hand:

Terminal window
mkdir -p ~/.local/bin
ln -sf "$PWD/scripts/novak" ~/.local/bin/novak

Run with no arguments and it opens an interactive menu instead of printing status, as described in The menu below. Every command in this reference still works exactly as shown when typed directly; the menu is a second way in, not a replacement for scripting against these.

Every command in this reference works the same way on Unraid, including novak adopt, novak drift and novak status. Two things differ, both because the platform has no equivalent, not by choice:

  • Where it’s linked from. scripts/bootstrap-unraid.sh (run once, as root, after cloning the repo) symlinks it at /usr/local/bin/novak and adds a line to /boot/config/go to re-create that symlink on every boot. That is required on Unraid because /usr/local/bin sits on a RAM-based overlay rebuilt from the flash image at each boot, unlike a normal Linux root filesystem. It also writes NOVAK_HOME to /boot/config/novak/novak_home, since $HOME (/root) is not a safe default the way it is on macOS. Unraid’s Compose Manager plugin always derives its own project directory from wherever docker-compose.yml lives, so NOVAK_HOME has to be that exact path.
  • Where secrets live. No OS keychain exists to use headlessly on Unraid, because there’s no logged-in desktop session to unlock one. novak secret set writes the real value directly into .env instead (protected by file permissions, 600, checked by novak secret verify) rather than the macOS Keychain. This is a lower security bar, not a disguised equivalent. See scripts/lib/secrets.sh for the reasoning. Every other command that touches a secret (config, status, omlx apply’s OMLX_API_KEY read, the checklist’s live probes) goes through the same abstraction and needs no per-platform handling.

novak omlx apply refuses outright on Linux (oMLX is Apple Silicon only); everything else, including novak router apply for Ollama/engines.yaml, works identically on both platforms.


Command What it does
novak interactive menu with everything below, no arguments needed (aliases: menu, tui)
novak status what’s configured, what’s running
novak doctor the same checks, explicitly starting nothing
novak ports what’s listening, and whether it’s reachable
novak config every setting, and where its value came from
novak config get KEY one setting
novak config set KEY VAL edit .env in place, preserving comments
novak secret list which secrets exist, never their values
novak secret set KEY store one, prompting without echo
novak secret set KEY --generate generate and store one, never displaying it
novak secret migrate Linux: move any secret still in .env into secrets.env (names only are printed). novak up does this by itself, so it rarely needs running by hand
novak secret verify do they read back unattended, or would a prompt hang boot?
novak secret show KEY print one, for pasting into a client
novak up apply config and start
novak update [SERVICE...] adopt (pull the checkout and add new settings), pull the images it pins, recreate what changed; --no-adopt skips the git step
novak down stop, keep data
novak restart [SERVICE] restart everything, or one service
novak logs [SERVICE] follow logs
novak registry what the reconciler thinks it should start
novak add [KIND] [NAME] add another account or instance of an integration (see “More than one of anything” below)
novak instances which instance of each service is which, and whose accounts are on it
novak rename OLD NEW rename a registry entry everywhere it is named and move its credential
novak drift where this deployment differs from the repo (aliases: verify, check)
novak drift --live also greps router logs for persona injection silently skipped (decision #38)
novak omlx apply apply registry/omlx.yaml (models, profiles, TTLs)
novak owui drift / apply check, or make, Open WebUI’s tool connections and model presets match registry/openwebui.yaml (decision #66); needs OWUI_ADMIN_API_KEY. drift also fails when the live file is behind the repository
novak owui reset / keep for a live registry/openwebui.yaml that was edited: take the repository’s version (yours is backed up), or keep yours until the repository changes again (decision #83)
novak warm load the voice and chat models into the GPU now, so the first request after a restart doesn’t wait (decision #81)
novak bench [options] time to first token and speed through the router, per role and prompt size, with GPU and CPU use on the host (decision #81)
novak backup [--dest DIR] write one consistent copy of settings, secrets, the registry and every database into a single directory (default $NOVAK_HOME/backup/staging) for a backup tool to pick up (decision #80)
novak router apply apply registry/engines.yaml -> router/config.yaml (decision #28); needs novak restart router after

Ingest, the gateway, the persona server and the router hook run from files in the checkout, so a pull changes them without changing their image or their compose config, and docker compose up would leave the running container on the old code. up.sh therefore gives each of those services the git revision that last changed its code (GATEWAY_CODE_REV and so on), which makes a code change a config change and recreates that one service, and only it, on the next up or update.

novak up prints in sections, each with an icon and colour: 📄 first-run files it seeded, 🔐 secrets (a count and the names, never values), 🧩 optional services (on, and skipped with the reason), 🔌 MCP servers, ⚠️ accepted risk (each elevated or dangerous entry, who accepted it and when, and the reasons under it; 🚨 for dangerous), 🐳 containers, and 📋 status (✓ up, ✗ unhealthy or exited). The oMLX step only appears on a deployment that actually uses oMLX.

Colour is on at a terminal and off when output is piped; NO_COLOR=1 forces it off and FORCE_COLOR=1 forces it on (useful over ssh without a terminal). NOVAK_VERBOSE=1 lists every secret on its own line. Piped output keeps the plain running: / external: lines that novak registry --check reads.

novak add adds another instance of an integration without hand-editing the registry. Run it bare for a menu, or name what you want:

Terminal window
novak add hindsight ushy # a memory bank for another person
novak add tududi tmeuze # tmeuze's account on a Tududi instance
novak add tududi ushy # ushy's account on the same instance
novak add outline tmeuze # an account on an Outline wiki
novak add vikunja partner # another Vikunja (its own container)
novak add super-productivity home
novak add mcp # any other MCP server, by URL

For the account kinds (Tududi, Outline, Vikunja) the name you give is whose account it is. It also asks which instance, meaning which server: a number or a short name. With one instance known it reuses that one and its address; with none it starts at 1.

It asks only what that kind needs, appends an entry to $NOVAK_HOME/registry/mcp-servers.yaml (comments above it are left alone, and the old file is kept as .bak-<time>), validates the result with the reconciler and puts the old file back if it does not load, then prompts for any new secret with the usual no-echo prompt. Anything above standard risk shows its reasons and asks you to accept them, which records who and when, as before. --yes takes defaults, --set field=value answers a prompt, --dry-run shows the entry without writing it.

Naming: a credential is told apart by three separate facts, and every name says all three in the same order: the service (tududi), the instance (which server: 1, or a short name such as tui) and the user (whose account: ushy). So the entry is tududi-1-ushy, its credential is TUDUDI_1_USHY_API_TOKEN, and tududi-1-tmeuze / TUDUDI_1_TMEUZE_API_TOKEN is the same server for someone else. Nothing tells you what “instance 1” is except the registry, so novak instances lists each instance with its address and whose accounts are on it, and novak secret list describes each variable (“ushy’s tududi account on instance 1 (tui.example.com)”). The entry also records service, instance and user as fields, and the gateway refuses to list an account entry for anyone but its user. A Hindsight bank is the one exception: its credential is the shared tenant key, so it is just hindsight-<person>.

Entries made before this scheme (tududi-tui, outline-everything) keep working. novak rename OLD NEW --auth NEWVAR --service tududi --instance 1 --user tmeuze converts one: it renames the registry entry, each person’s list and any gateway override that names it, and moves the credential’s value to the new variable without printing it. Then novak up.

Check what you have with novak secret list (each one says what it belongs to, and a leftover placeholder reads as missing) and novak registry --check (a real call per endpoint with its key: 200 means it authenticates, 401 means the key is wrong).

Two details about instances:

  • A Hindsight bank is not a container. All banks live in the one Hindsight container; the bank is a path in the URL (/mcp/<bank>/) and every bank shares the one tenant key. Adding a person is a registry entry, not more memory use. Say whether it is safe for voice satellites (a shared bank) or personal; personal banks must never go on the Home Assistant pipeline. The console maps a signed-in person to the bank of the same name.
  • Per-instance credentials are named <KIND>_<NAME>_API_KEY (or _TOKEN), for example OUTLINE_WORK_API_KEY. novak secret learns them from the registry, so they can be set, shown and verified like any other. Services that read their own credential inside a container (ingest sinks) still need that variable passed through in docker-compose.yml.

Super Productivity has no official MCP server; the community ones need its desktop app running, so novak add super-productivity points at an endpoint you run yourself and says so.

Run novak with no arguments (or novak menu, novak tui, identical) and you get this instead of a status printout:

1) Status
2) Ports
3) Drift / verify
4) Guided setup: configure what's missing
5) Deployment checklist: phase by phase, with live checks
6) Config: view or change a setting
7) Secrets: view, set, or verify one
8) Registry: MCP servers the reconciler sees
9) oMLX: apply models and profiles
10) Stack: up / update / down / restart / logs
11) Quit

No new dependency for this. gum was tried first, since it already solves “menu in a shell script” well, but installing it failed here, because this account has no write access to /opt/homebrew, the same class of problem bootstrap.sh’s CLI-symlink and LaunchAgent fixes exist to avoid. A brew-installed binary as a hard dependency of the CLI’s default invocation would reintroduce that for every fresh deployment, so the menu is plain read and case: nothing to install, works the moment bootstrap.sh has run.

Every entry runs the same command you’d type directly. The menu is a second way in, not a separate implementation. Numbers 1, 2, 3, 8 just call status/ports/drift/registry; the rest ask a short follow-up question (which key, generate or paste, which service) and then call config, secret, omlx, or the stack commands the same way.

Walks through whatever novak status would otherwise just list as missing, asking for each value instead of making you go run the command yourself. If the repo has added settings this deployment’s .env doesn’t have yet (check novak drift reports this too), it offers to adopt them first. If you refuse, anything needing one of those lines reports “Unknown setting” instead of prompting, same as running config set on an unrecognized key directly would.

Required settings and secrets first, then the console and the portal as separate opt-in passes. Each one is a real yes/no question, not assumed from being present in the menu.

A phase-by-phase read-through of deploy-checklist.md, pausing between phases. Where a step is something this CLI can actually check (a file present, a port answering, a process running), it runs that check and reports pass or fail, rather than just repeating the markdown. Where the step is inherently manual (clicking through Pocket ID’s own admin UI, downloading a model file), it prints the instruction and asks you to confirm you did it.

Nothing here is saved between runs. It’s a guided walk with real checks where checks are possible, not a persisted checklist. Rerun it any time to recheck everything from the top.

Two of its checks are worth knowing about because they were wrong on the first pass and are recorded here rather than quietly fixed: the oMLX check originally sent no API key and didn’t handle a non-2xx response, so an API key required error looked identical to “reachable, no models loaded.” The Hindsight check originally sent a bare GET, which Hindsight answers with 200 {} regardless of authentication (a handshake response, not a tool call), so it read as “wide open” when a real unauthenticated tool call correctly gets refused with 401. Both were reproduced directly against the running stack before being fixed, which is the reason to trust the numbers this reports over a first instinct about what a health check like this “should” do.

The checkout holds definitions; $NOVAK_HOME (default ~/.novak) holds this deployment. That split is why git pull never fights a running stack.

~/.novak/.env settings novak config
~/.novak/registry/mcp-servers.yaml which MCP servers edit by hand or via the console
macOS Keychain, as novak/<VAR> secrets novak secret

The Keychain is per-user. Items added from your admin account are invisible to novak, and this is the single most common reason a secret reads as missing when you are sure you set it.


Terminal window
novak config # every setting, and where the value came from
novak config get HOST_NAME
novak config set OMLX_PORT 8000

config never prints a secret’s value, and config set refuses to write one. It redirects you to novak secret set, so a real secret cannot end up in .env by accident.

Changes are not live. novak up applies them, and recreates only the containers whose values actually changed.


Three places, and which one you want depends on what the thing is. This trips people up on MCP servers in particular, because the URL and the token do not live together.

Lives in Example
Stack settings ~/.novak/.env HOST_NAME, OMLX_PORT
Secrets macOS Keychain HINDSIGHT_API_KEY
URL of an external MCP server registry/mcp-servers.yaml Tududi, Outline, Hindsight
URL of a container MCP server .env VIKUNJA_URL, HA_MCP_URL

There is no TUDUDI_URL, and that is not an omission. Tududi is an external entry (something already running elsewhere that Novak only points clients at), so its address is the url: field in the registry. novak add tududi writes the entry and asks for the token, which it stores as TUDUDI_<INSTANCE>_<USER>_API_TOKEN.

A container entry is the other case: Novak runs it, so it needs both halves as variables: VIKUNJA_URL and VIKUNJA_API_TOKEN. The reconciler skips a container entry whose variables are unset and says which ones, so an unconfigured integration never blocks the rest.

auth: in an external entry is informational. Nothing injects it. The token goes into the client’s registration, as an Authorization header. It is recorded so the registry can answer “what do I need to wire this up”.

HOST_NAME is how machines in this stack reach each other. It is not how a person reaches a service through a proxy. That name lives on another host and nothing here can discover it. Set it explicitly:

Terminal window
novak config set OWUI_PUBLIC_URL https://cas.example.tld
novak config set KONZOL_PUBLIC_URL https://konzol.example.tld

Blank means “no proxy, use HOST_NAME”, which is right for direct access.

This is worth getting right because it fails softly. Open WebUI derives its OIDC callback from the incoming request’s Host header when nothing pins it, so a login started at one hostname returns you to whichever name you happened to type, and every such name is a separate redirect URI the IdP must have registered. The symptom is being bounced to a URL you never asked for rather than an error. Setting OWUI_PUBLIC_URL pins both the site URL and the callback, leaving one URI to register.

Check what a service actually ended up with:

Terminal window
docker compose config | grep -E 'WEBUI_URL|OPENID_REDIRECT_URI'

Configured through .env, not in Open WebUI’s admin panel. It reads these at startup and has no UI for them:

OWUI_OIDC_ISSUER=https://<pocket-id-host>/.well-known/openid-configuration
OWUI_OIDC_CLIENT_ID=...
novak secret set OWUI_OIDC_CLIENT_SECRET

Note the issuer is the discovery document, not the bare issuer URL, and this needs a second Pocket ID client separate from the console’s, because the redirect URI differs: http://<HOST_NAME>:3000/oauth/oidc/callback.

Leave them unset for local accounts. OAuth turns on only when client id, secret and provider URL are all present.

Three kinds, because who else knows the value decides how you may set it.

Externally owned: OMLX_API_KEY, OIDC_CLIENT_SECRET, OUTLINE_<INSTANCE>_<USER>_API_KEY, VIKUNJA_API_TOKEN, and the per-account Tududi tokens.

The value must match what another system already holds. --generate is refused here, deliberately: a fresh random value is not a shortcut, it is an outage that looks like a permissions problem.

Terminal window
novak secret set OMLX_API_KEY # paste the value from oMLX's own settings

Shared: HINDSIGHT_API_KEY.

We generate it, but Open WebUI and Home Assistant each register the MCP endpoint using it as a bearer token. Generating is fine; rotating it means re-registering every client that held the old one, and secret set says so when you do.

Terminal window
novak secret set HINDSIGHT_API_KEY --generate
novak secret show HINDSIGHT_API_KEY # then paste into each client

Internal: CONSOLE_AUTH_SECRET, WEBUI_SECRET_KEY, and anything else in neither list.

One container reads it and nobody else ever needs it. Generate it and never look at it. Rotating costs you nothing but the sessions it signed.

Terminal window
novak secret set CONSOLE_AUTH_SECRET --generate

novak secret show is the only command that prints a secret, and only for the key you name. list and config never do.


Terminal window
novak up # apply config and start
novak down # stop, keep data
novak restart hindsight # one service
novak logs open-webui # follow

up is the only thing that applies configuration. It is safe to re-run, and that is the intended way to pick up any change, and it recreates only what changed.

It refuses to start if a required setting or secret is missing, rather than starting something half-configured. Optional pieces are not a reason to refuse. Anything that only it needs is skipped, with a line saying which values were missing, and everything else starts:

skipped: vikunja, not configured: VIKUNJA_URL, VIKUNJA_API_TOKEN
skipped: console, not configured: OIDC_ISSUER, OIDC_CLIENT_SECRET

That covers MCP servers (skipped by the reconciler) and the console (gated behind a compose profile). Set the values and re-run novak up to add one later, and nothing else is disturbed.

Only values that every service shares make it refuse: HOST_NAME, which every service builds its URLs from, and HINDSIGHT_API_KEY, without which the memory endpoint would be open to anything that can reach the port.

Every image in docker-compose.yml is pinned by digest (decision #45), and up never pulls, so a new release does not reach a running stack until a pin moves in the repo and something pulls it. update is that something:

Terminal window
novak update # adopt, pull every pinned image, recreate whatever changed
novak update open-webui # just one image
novak update --no-adopt # skip the git step

It runs adopt first (a fast-forward git pull and any new .env settings, which it only ever adds), because the pins and the compose file are in the checkout and pulling images against a stale one is a half update. Adopt refuses, rather than guesses, over uncommitted changes or diverged history; when it does, update says so and carries on with the checkout as it is. Then it runs docker compose pull, then re-runs up.sh, which is what actually recreates containers, re-applies the MCP registry, and re-applies the oMLX profiles. That last part matters more than it looks: pulling a newer app image and skipping the reapply is how a stack ends up running new code against an old registry. docker compose up -d only recreates a container whose image or config actually changed, so running update when nothing is new is a clean no-op.

Being unpinned cuts both ways. It also means an upstream breaking change reaches you the next time you happen to run this, with no version to roll back to. If that becomes a real problem, the fix is pinning digests in docker-compose.yml, which turns an update from an automatic pull into a deliberate, reviewable edit. It is worth a decision entry if you go that route, not a CLI flag.


novak status shows what is configured and what is running. novak doctor runs identical checks and is named for when you want to be sure nothing starts.

novak ports probes each port by connecting, rather than reading sockets: lsof without sudo only sees your own processes, so a service run by another account looks absent when it is merely invisible.

SERVICE PORT LOCALHOST <host-ts-ip>
oMLX (host app) 8000 yes no
Console 3002 yes yes

Reading that table:

  • both yes: reachable from other machines.
  • localhost yes, tailscale no: bound to 127.0.0.1 only. For oMLX that is its own server.host setting, not anything Novak controls. HOST_NAME affects no binding anywhere; it only builds URLs.
  • both no: not running. Try novak status, then novak logs <service>.

The Tailscale column asks the system daemon by its socket. On macOS a bare tailscale command may answer from a per-user GUI app instead, which can report NeedsLogin while the daemon underneath is perfectly online.


Terminal window
novak omlx apply # apply registry/omlx.yaml
novak omlx apply --dry-run # show what would change
Terminal window
novak router apply # apply registry/engines.yaml -> router/config.yaml
novak router apply --dry-run # show what would change
novak restart router # required after, because LiteLLM reads config.yaml
# at container start, not on a hot reload

See engines.md for what qualifies as an engine and ollama-settings.md / omlx-settings.md for the two documented today.

Writes oMLX’s own JSON files rather than calling its admin API, which would need a second credential (decision 17). Because oMLX keeps this state in memory and rewrites it on its own saves, applying stops oMLX, writes, and starts it again, dropping loaded models.

So it diffs first and does nothing when nothing differs. up.sh calls it on every run for that reason, and non-fatally: oMLX is a host app the stack does not manage, and at boot it may not be up yet. A missing inference server should no more stop the stack than a missing task tracker.

Unknown field names are refused, never dropped. A profile that quietly did not take is the failure this exists to prevent. The accepted list is read from the installed oMLX itself, so it tracks the version actually running.

After writing it restarts oMLX and checks the profiles really are served, rather than assuming. Profiles appear to clients as <model>:<profile>:

Qwen3-4B-Instruct-2507-4bit:ha-voice
Qwen3-14B-4bit:chat

up.sh seeds $NOVAK_HOME once and never overwrites it, because your config and your registry belong to you. The cost is that a repo-side change never reaches an existing install, and nothing says so.

That failure is silent by construction: the stack stays healthy, every file stays valid, and the deployment simply describes an older system. This one ran for a while on a registry that still listed a memory backend replaced two migrations earlier, and carried no Hindsight endpoints at all, so nothing advertised memory to any client. Nothing looked wrong.

Terminal window
novak drift

Compares settings against .env.example and the deployed registry against the repo’s, and prints what differs.

Terminal window
novak drift --adopt

Copies settings the repo has added into your .env, with the comments that explain them, and never touches a value already set (it backs the file up first regardless). This matters more than it sounds: novak config set only accepts keys already present in .env, so a setting the repo added is unreachable until the file gains the line:

$ novak config set OWUI_OIDC_ISSUER https://...
Unknown setting 'OWUI_OIDC_ISSUER'. 'novak config' lists them.

Without --adopt the only way through is hand-editing .env, which is the interface this CLI exists to replace.

Adopting only adds the lines. Values stay at the repo’s defaults until you set them, and any secrets among them still need novak secret set. novak status shows a one-line pointer when the registry differs, since nobody thinks to look for a silent problem.

It is read-only and credential-free. It opens two files and prints the difference, so it is safe to run anywhere and cannot cause the drift it reports. Adopting the repo’s registry is left to you, with the commands printed, because your local choices get overwritten.

Terminal window
novak drift --live

Everything above compares files. This instead greps the router’s own logs (docker compose logs router, last 24h) for PERSONA_DRIFT, a warning that router/persona_hook.py logs whenever a request for chat or deep arrives with its own system message already attached, which makes the router skip injecting prompts/*.md for that call (decision #38’s actual failure mode: Open WebUI’s own Builtin Tools/Memory capabilities silently sending one). Needs docker reachability to wherever the stack runs, not “anywhere”, which is why it’s opt-in rather than part of the default check. ha-voice is excluded on purpose: HA’s native litellm integration is expected to send its own system message (decision #42), so a hit there would be noise, not signal.

The same --live run also checks the pull that feeds Home Assistant’s voice persona (decision #53). Home Assistant reads prompts/novak-voice.md through a small persona server, so there is no pasted copy to drift. What can still go wrong is the pull itself, so this confirms that sensor.novak_voice_persona exists, is available, and holds the same text as the file. It reads one entity’s state with its own credential (HA_URL and HA_DRIFT_TOKEN, a non-admin user’s token and never an admin one) and skips quietly, with a pointer to docs/home-assistant.md, when that isn’t configured. It cannot prove the agent’s Instructions field contains the template, because Home Assistant gives no read access to that, so ask ha-voice who it is once to confirm.

Terminal window
novak status # what's configured, what's running
novak logs <service> # why a container is unhappy
novak registry # what the reconciler thinks it should start
novak config # every setting and where its value came from

If a rebuild is easier than a diagnosis, scripts/reset.sh removes containers and keeps your config, secrets and data. --purge-data and --purge-config exist and both ask first.

novak backup makes one consistent copy of everything Novak keeps and puts it in a single directory, so a backup tool has one plain place to read from. You can’t just copy the data folders while the stack runs, because Hindsight is an embedded Postgres and Open WebUI, ingest and the gateway use SQLite files with changes that may not be in the main file yet. So the command asks each SQLite database for its own online backup and takes a Postgres dump of Hindsight, then copies the plain files beside them: .env, secrets.env, the registry (profiles included), router config, and the Open WebUI uploads and ingest recordings. It leaves out models/, the checkout, and dated .bak files.

Terminal window
novak backup # into $NOVAK_HOME/backup/staging
novak backup --dest /some/dir

It builds the copy in a temporary directory beside the destination and renames it into place when it finishes, so a run that stops halfway is never what gets backed up, and the previous copy stays. It keeps only the latest copy (the backup tool keeps the history), the directory is mode 700 and secrets.env keeps mode 600, and it exits non-zero if anything failed. It prints names and sizes and never a value. manifest.json in the copy lists what was taken, with sizes and the time. Run it as root on the host, because it reads the gateway’s Docker volume. Schedule it a little before your backup job, for example nightly. Restoring is a copy back plus pg_restore for hindsight.dump, and it’s worth trying once into a scratch directory before you need it.

After a restart nothing is loaded into the GPU, so the first voice or chat request waits while a model comes off disk: about 7 seconds for the 4B and 30 to 40 for a 14B on the reference host. novak up now avoids that in two ways. A small warmup container starts with the stack, waits for Ollama, loads each model in warm-models.txt with an empty request, and then sits idle, so it runs again after every reboot of the host. And novak up itself loads them at the end (and skips any already loaded), because recreating Ollama empties it. The models are the chat and ha-voice roles from registry/engines.yaml, loaded in that order (larger first), the pair that fits in video memory together. To choose others, set OLLAMA_WARM_MODELS in .env to a space-separated list of Ollama tags, or set it empty to turn warming off. novak warm runs the same step by hand. Warm-up only loads the models. To keep them loaded while idle, set a long OLLAMA_KEEP_ALIVE such as 8760h (not -1, which stalls ingest, decision #83).

novak bench measures what a person feels in Open WebUI. It sends a realistic request (the persona and tool rules as a system prompt, then a short question) through the router and prints, for each role and prompt size, the time to the first word, the speed after that, and, on the host with the GPU, how busy the GPU and CPU were and how much video memory was used.

Terminal window
novak bench # chat, code and task, at about 2k, 3k and 5k tokens of prompt
novak bench --roles chat --sizes 0,3 # one role, a small and a large prompt
novak bench --cold # unload each role's model first, to include its load time

It only adds the load of its own requests, except with --cold, which unloads models other people may be using. Run it before and after changing Ollama’s settings, a model or the context size, and compare the lines. Pass --url to point it at a router on another machine. On the reference host a warm 14B model answers a short question in about two seconds, at about 31 tokens a second, and a 4B model at 85 to 100.