Models

Model requirements

"Any model" means any model that meets these:

Adapters for models without native tool calls use a strict JSON reply format, which the adapter parses and checks. The golden conversations are run against each supported adapter.

Status: built (v0.1). src/models.rs, GET/PATCH /v1/models.

Profiles

idWhatWhereKey (secret)
local-lightQwen 3.5 4Bthis server's Ollamanone
localQwen 3.5 9B, the everyday modelthis server's Ollamanone
local-reasoningPhi-4 reasoning 14Bthis server's Ollamanone. Warning: very slow here and takes most of the memory; not recommended
nimNVIDIA NIM, nvidia/nemotron-3-ultra-550b-a55bintegrate.api.nvidia.comNIM_API_KEY, else AGENT_MODEL_API_KEY
geminiGoogle Gemini, gemini-3.5-flashgenerativelanguage.googleapis.com (OpenAI-compatible)GEMINI_API_KEY
ovhOVH AI Endpoints, gpt-oss-120boai.endpoints.kepler.ai.cloud.ovh.netOVH_AI_KEY (optional: works without one at a low rate)
envwhatever AGENT_MODEL_* saysAGENT_MODEL_API_KEY

The local address is AGENT_LOCAL_MODEL_BASE (default http://127.0.0.1:11434/v1). Keys are set with PUT /v1/secrets/{name} and never shown. A profile's model name can be changed: PATCH /v1/models {"set": {"gemini": {"model": "gemini-3.6-flash"}}}.

nim, gemini and ovh are off the list until added: PATCH /v1/models {"add": "nim"} puts one on, {"remove": "nim"} takes it off (and resets cloud, mode or job picks that named it).

GET /v1/models lists them under can_add (the page shows an Add button for each); listed profiles carry removable. One whose key is already saved counts as added unless it was removed. lumo shows when its bridge is set up (Provider notes).

Choosing

PATCH /v1/models (owner):

Per chat. A chat may pick its own: POST /v1/threads {"model": ...} or PATCH /v1/threads/{id} {"model": ...} with auto-local, auto-mix or a profile id; null (or "default") follows mode above.

The chat's pick decides where a turn starts and how far use_bigger_model may go (an auto-local chat never reaches the cloud). Pinning a cloud profile needs the owner; local picks and the two auto modes are fine for a client token.

Jobs and triggers run in system threads and keep the default.

Auto (Smart) (auto-smart): background work (dreaming, scheduled jobs and automations, outside events and the notices they raise) and every chat turn that is not a quick command or small talk start on lumo; quick commands and small talk stay on local-light.

With no Lumo bridge, local takes Lumo's place; while Lumo is limited or its bridge is down, the Lumo adapter hands the turn to local itself. A job with its own model keeps it.

Auto. A turn for a very light message (at most 8 words, nothing to do: "thanks", "hi there", "ok cool") starts on local-light; every other turn, and dreaming and builds, on local. The model has the core tool use_bigger_model {reason}:

Each choice and move is an event: model.chosen {profile, label, why: start | upgrade, from?}.

Cloud and private data

The sensitive-memory rule follows the model answering now: a sensitive entry asks before it reaches a cloud profile, also after an upgrade. Every key a profile may use is scrubbed from history and tool output.

Provider notes

Model tests

Status: built. src/eval.rs, evals/cases.json.

Fixed requests are sent to each local profile in throwaway chats (titled eval: ..., archived after; reminders they made are cancelled) and scored per case:

right tool (any tool in the case's expect was called; [] = no tool should run; left out = not scored), no FAILED (the turn did not end on a [core] RESULT: FAILED tool result; may_fail cases only warn), replied (non-empty reply), plus steps (model calls), seconds and tokens.

A tool that waits for a yes counts as answered and the turn is stopped, so nothing runs without the owner. The cases are the smoke test's ten requests plus evals/cases.json (AGENT_EVAL_CASES to change).

Cloud profiles run only with cloud: true / --cloud (they cost money).