Thinking Modes Plugin
The Thinking Modes plugin gives every conversation a thinking mode — one
named setting that decides which model answers, which model each background
role uses, and how hard the assistant reasons — plus a reasoning effort
rung the user can move within that mode.
Mode and effort belong to the conversation: switching one conversation never
changes another, and each user can set which mode their new conversations
start in.
Overview
Two modes ship out of the box and need no configuration, named after the two
ways a person works a problem — go and look, or sit and think it through:
| Mode | What it does | Starts at |
|---|---|---|
| ⚡ Fast | Answers from what it can see and look up, without stopping to reason it out first. The fastest setting. | off |
| ◉ Slow | Works the problem out before it acts. For design, subtle bugs and unfamiliar code. | medium |
Per-role combinations (Slow for the developer, a light model at Low for the
summariser) are Background work's per-tier and per-role choices, not a mode;
see below for users who set
them through Model Profiles before.
Both built-ins name no model and the default stays Slow. Neither restricts
the dial: a mode decides where deliberation starts, and every rung the model
offers stays one click away in either (see
rung mapping).
Slow starts at medium, and what that costs is the model's call. The mode
names an intent; the capability record prices it. On the shipped ardincoder-1
/ Qwen 3.8 record medium maps to low — measured indistinguishable from
xhigh (−2.9 pts at p = 0.63) for 42% less per attempt and 40% less wall
clock. On a model whose record maps nothing, medium is simply
the middle, and a deployment that wants deeper writes
thinking_modes.modes.slow.effort.default: high.
balanced and deep are aliases for slow on every surface (/mode deep,
a stored user default, a client). A deployer who declares
their own mode called deep owns that name — a declared mode always wins
over the alias.
Why the modes are named after
Kahneman's book, what we measured,
and the three places the analogy stops being true are on that page. The short
version worth having here: Fast is not a smaller assistant. It starts with
deliberation off, and off is where our own benchmark measured more tool
calls per solved task, not fewer — 70% fewer output tokens, a third of the wall
clock, completion unchanged on that tier. It substitutes looking things up for
reasoning them out. That is why Fast is a usable mode rather than a corner cut,
and why nothing in this plugin's copy grades a mode's intelligence.
And it is not free. That tier was saturated — seven tasks the model
already solves, where completion cannot fall. On tasks the model only partly
solves, the same setting cost most of the completion: 37/105 → 4/105 on one
screen, 45/65 → 26/65 on another, per task 5/20 → 0/20, 10/20 → 0/20, 12/20 →
2/20. So Fast trades completion on hard work for speed, deliberately, and a
deployer replacing these modes should keep that trade visible rather than
describe Fast as the free win. low — Fast's second notch — is the rung with
the flattering numbers (−14% cost per solved task, no detectable completion
difference), and which of the two Fast should start at is being measured:
evals/harness-opt/passes/11-fast-mode-bottom-rung/.
One mechanical caveat too: off is a rung a model may not have. Where the
capability record says control: always, Fast clamps up to the cheapest rung
that model does offer, and the picker says so.
A deployer can replace both with their own curated set (below) — for example a
Slow mode that also switches the main agent to a stronger endpoint while
leaving the summariser on a cheap one.
Reasoning effort — labelled Deliberation in the UI — is a closed
ordinal scale, off · minimal · low · medium · high · xhigh · max, and an
intent, not a token budget. max sits strictly above xhigh. What it moves
is how long the assistant reasons before each step — not how many steps it
takes, and not which model answers. Each rung's behaviour, which is the tooltip
on a selectable segment:
| Rung | What it does |
|---|---|
off | No deliberation — it acts, and looks up what it needs. |
minimal | A glance before it acts. |
low | A brief check before it acts. |
medium | The model's own habit, steered neither way. |
high | Most of the thinking before the first move. |
xhigh | The whole problem worked out before the first move. |
max | As long as it takes before the first move. |
The ordinal words stay on the segments, because a dial has to be ordered — but
read the scale as which instruction the model is given, not as a quantity of
intelligence. On a Qwen 3.8 template the injected instruction measures 41
tokens at low, 11 at medium and 53 at xhigh, constant to the token: the
real ladder is be brief / nothing / think exhaustively. **medium is the
model unsteered, not a midpoint**, and on our own benchmark it completed 22
points fewer tasks than either steered rung — worth knowing before making it a
mode's default.
What a rung means on the wire is decided per model by the reasoning: record
on its profile: levels are that model's own tokens and are sent as-is (see
Model Profiles and the models: section of the admin
configuration). The picker shows those tokens, not a global seven-rung scale.
A rung a model cannot honour is never sent: it is clamped to the nearest one
the model supports, so the endpoint never sees a value it would reject.
Two rules are worth knowing because they are easy to be surprised by:
- Roles a mode does not list inherit its main model, and a mode that names no main model leaves model selection exactly where the
models:block already put it. - Background roles reason at the mode's default effort, not at whatever the user is currently set to. Turning a conversation up to max makes the assistant think harder; it does not make the summariser think harder too.
Choosing a mode
In Settings → Models
Settings → Models is where a user decides what their conversations run on
when they are not choosing per conversation. From top to bottom:
- Default for new conversations — a model (the composer's list, grouped by connection and badged by where it runs) and an effort dial for that model's ladder. It says whether this is the organization's default or the user's own choice, and Use the organization's default hands it back. Nothing here changes a conversation you already have — that is the composer's job, and one conversation never moves another.
- Connections — when the Model Profiles plugin is loaded, its
<x-model-profiles-connections>element: the organization's connections with a per-user "show in picker" toggle, your own ones, and Add connection. Model Profiles does not list its own Extensions row then. - Background work — two tier cards, each with a Model and an Effort (background-work-effort §3.1). Subagents (developer, repository search, general subagent, goal setup): model Same as the chat (the default) or a model; effort Same as the chat (the default — it really follows the chat, Off included), Off · Low · Medium · High · Max, or Model default (no rung sent; the label names the model's own default, "Model default (High)"). Housekeeping (memory curator, titles, compaction, translation, web, …): model Automatic (the default), Same as the chat, or a model; effort Low by default, any rung, or Model default. Use the default returns a tier to
model_selection.background. Each role is a row that expands into an inline override (model and/or effort, ✕ to reset) which beats its tier; per-role assignments migrated from Model Profiles appear there as overrides. Automatic says what it resolves to for the default chat model ("With Sol, Automatic is Luna on Company OpenAI"). A chosen model says under which chat connections it applies: Settings accepts any choice, and the privacy rule (one line under the cards) skips it for a chat on a more private connection. - Who does what — read-only, for the default chat model, or with Preview for → A conversation… for one conversation (its own chat model and effort; the composer's model chip popover links here as Who does what here): each role's model, connection, landed rung ("Medium → Low on ardincoder-1", "Model default: High on ardincoder-1") and why — for the model (tier default, your setting, your override, admin setting, moved: more private, kept on the chat model: context too small) and for the effort (tier default, your setting, your override, same as chat: High) — plus a Last run badge from telemetry. The administrator's per-role pins are listed read-only with where they are configured.
There are no mode cards, no Custom and no role-map editor on the web any more
(thinking-modes-ux-rethink P5); the terminal UI's pane still has them until
P6.
Models is a root Settings item, not an Extensions row. This plugin declares
a settings_pane (id: models, titled Models / Modellek), one of the few
plugins that qualifies for one — see
Settings panes. The pane sits right after
Shared in the sidebar, Extensions lists no Thinking Modes row, and an old link
to that row (openSettings("extensions", { pluginId: "thinking_modes" }))
lands on the pane. The composer's "Manage models…" opens it too. In the
terminal UI it is the Models entry of the Settings sidebar, shown when
Model Profiles is loaded.
These API routes back that page, none of them conversation-scoped:
GET /ui/plugins/thinking_modes/settings
→ { default: { model, effort, resolved_effort, source, model_title,
model_short, connection },
user_default: { model, model_explicit, effort, … } | null,
models: [ …the grouped picker list, see below… ],
edition,
background: { …GET /background… },
connections: { available, element } }
PUT /ui/plugins/thinking_modes/user-default
{ "model": "company-openai/gpt-5.6-sol", "effort": "high" }
(or { "mode": "slow" }) → the same payload, updated
GET /ui/plugins/thinking_modes/background
→ { tiers: [ { id, tier, model, effort, default_model, default_effort,
effective_model, effective_effort, is_default,
model_choices, effort_choices, roles, applies } ],
overrides: { <role>: { model, effort, origin } },
helpers, housekeeping, defaults, effective, deployment_ref,
applies: { helpers, housekeeping },
chat, automatic, roles: [ …who does what… ],
preview: { conversation_id }, admin_pins: [ … ], admin_default,
agent_choice: { enabled, locked, models, ceiling, default_ceiling,
selectable: [ { ref, token, title, short, description,
connection, owner, privacy } ] } }
GET /ui/plugins/thinking_modes/conversations/{conversation_id}/background
→ the same, previewed for that conversation, with its last runs
PUT /ui/plugins/thinking_modes/background
{ "helpers": { "model": "same_as_chat", "effort": "same_as_chat" },
"housekeeping": { "model": "automatic", "effort": "low" } }
PUT /ui/plugins/thinking_modes/background/roles/{role}
{ "model": null, "effort": "medium" } ({} clears the override)
DELETE /ui/plugins/thinking_modes/background/roles/{role} (✕; 404 when none)
DELETE /ui/plugins/thinking_modes/pins[/{role}] (earlier names: clear overrides)
PUT /ui/plugins/thinking_modes/background/agent-choice
{ "enabled": true, "models": ["company-openai/gpt-5.6-luna"], "ceiling": "high" }
→ the same payload as GET /background
GET /ui/plugins/thinking_modes/personal-notice?model_role=<role>&conversation_id=<id>[&effort=<rung>]
→ { connection: "ChatGPT / Codex subscription" | null }
Agent-chosen model and effort (background-work-effort
§3.3). With Let the agent pick a model and effort per subagent on (the
default), agentic_developer, explore and subagent take an optional
model (an enum of the user's agent-selectable list, each with a one-line
description) and effort (off, low, medium, high, max,
same_as_chat). Omitting both is the settings' behaviour. agent_choice.models
is the list (null = every model the picker lists, personal subscriptions
included); ceiling the highest effort the agent may ask for (default
high); a null field in the PUT returns to the deployment default. The
schema is built from the setting alone, so it is byte-stable per setting, and
it carries no model/effort when the feature is off or locked (an access
profile with agent_model_choice: false; turning it on is then a 400). Each
call is judged by the resolver, in order: the privacy rule against the chat,
the personal-connections policy, the list, the ceiling (a name outside the
list is always reported as "not in the user's list", so the reason never
reveals that it exists), against the chat the top-level turn really runs on
— a scheduled run's worker model included — never re-read mid-turn. A refused or
downgraded choice still runs, on the role's own settings (model) or at the
ceiling (effort), and the tool result says so (asked opus/max; ran). A cached subagent (
opus/high: ceilingsubagent_id) is rebuilt when its
chosen model changes. The tool card's subagent_model carries the header
(Developer · opus · High · chosen by agent) and, for an unattended run (a
background agent, a scheduled run) on one of the user's own connections, the
quiet notice "Runs on your ChatGPT / Codex subscription" (§6.2), which
GET /personal-notice answers for a schedule's settings (effort=<rung>
optionally passes a goal worker's pinned effort).
How the agent is told to choose. Each offered model is one line, token;
[cost N]: what — wherewhat is the model's model_selection.picker
description (else its title) and [cost N] the entry's relative cost
(1–3), when set — see Configuration.
One shared sentence follows the list (on effort when no list is offered):
omit model and effort unless the task clearly needs otherwise; cheaper models
and low effort suit searching, reading and collecting; keep the strongest model
or high effort for hard reasoning and code changes.
The worker offer. Every top-level turn also publishes a second list for
goal workers: every model the owner can use (the picker's list,
not filtered by the agent-choice setting, list or ceiling, but still subject
to the personal-connections policy), same tokens and lines. setup_goal,
add_worker and update_worker take it as each worker's model plus an
effort (off…max, no ceiling). A worker run's pinned model becomes its
chat, and its pinned effort (ctx worker_effort) its requested rung, still
landed on the model's ladder. A subagent the worker starts is judged against
that model and effort.
tiers lists Subagents (id: helpers — one tier spelling across config,
API and resolver) then Housekeeping (id: housekeeping). A model choice is
same_as_chat, a model reference (@deployment for the deployment model),
or — for housekeeping only — automatic. An effort choice is same_as_chat
(helpers only),
model_default (send no rung), or a rung. null means "not chosen", i.e.
the deployment's model_selection.background; PUT /background replaces both
tiers (an empty body is Use the default) and leaves the per-role overrides
alone. Earlier spellings are still accepted: subagents for helpers, and
the model-only body { "helpers": "<model>", "housekeeping": "<model>" }. A
role override takes its tier's choices; a role outside the
tier table, or a choice its tier cannot take, is a 400.
applies[tier] is null for a choice that names no model, else {model, — the chat
model_title, available, connection, everywhere, under, not_under}
connections (those the picker may list a model of) the chosen model applies
under, and the more private ones it does not. roles is one row per role for
the model new conversations start on (or the previewed conversation):
{role, tier, tier_id, model, model_id, model_title, connection, rung, —
rung_source, requested_rung, why, why_text, refused, override, effort_choice,
effort_why, effort_why_text, chat_rung, last_run}rung is the landed
rung, effort_choice the choice in force (chat_rung names the chat's rung
when it is same_as_chat), effort_why tier_default · your_setting ·
your_override. Per-role assignments migrated from Model Profiles are
overrides (origin: model_profiles), clearable like any other;
admin_pins are models.subagent_profiles and a declared mode's roles
(origin: models.subagent_profiles, thinking_modes.modes.<mode>), and
admin_default is models.subagent_default — both read-only here.
connections.available is true only when Model Profiles is loaded, enabled,
and exposes user_model_overrides. The UI mounts
<x-model-profiles-connections> only then, once, and re-reads
GET /settings on its codumentor:model-profiles-changed event.
The PUT /user-default replaces the default, so an empty body ({}) clears
it; a body with only effort keeps the model inherited (model_explicit:). An unknown model or a rung off the scale is a 400, one of the user's
false
own connections the policy withholds a 403 with the reason; a rung the model
cannot honour is not refused (it clamps, as everywhere else). The mode cards
and role maps (modes, default_mode, builtin, roles, role_maps) are
gone from GET /settings, and modes from a conversation's snapshot: no
surface read them since the role-map editor went.
In a conversation
Model and effort belong to the conversation, so they are changed with a patch
on it:
PATCH /ui/plugins/thinking_modes/conversations/{conversation_id}/thinking
{ "model": "company-openai/gpt-5.6-sol", "effort": "high", "set_as_user_default": false }
Every field is optional and an omitted one is left alone. model is a model
reference (<connection>/<model>, or a profile name); model: null is the
deployment model. effort: null is the model's default effort. Switching model
without an effort carries the current rung over, or restores the one last
used for that model in this conversation. A mode field is also accepted
and translated (fast → effort off on the conversation's model, slow → the
default effort, a declared mode → its model). set_as_user_default: true also
makes the selection the starting point for your new conversations — for
API callers; the web composer does not offer it (Settings → Models owns the
default).
The response is the same object the conversation snapshot carries under
thinking, plus what changed:
{
"selection": { "mode": "slow", "model": "company-openai/gpt-5.6-sol",
"effort": "high", "source": "conversation" },
"model": "company-openai/gpt-5.6-sol",
"model_title": "GPT-5.6 Sol", "model_short": "Sol",
"connection": { "id": "company-openai", "title": "Company OpenAI",
"owner": "organization", "privacy": "org_cloud" },
"models": [ { "id": "deployment", "title": "llm:1248", "kind": "deployment",
"owner": "organization", "privacy": "private",
"models": [ { "ref": null, "model_id": "ardincoder-1", "title": "…",
"short": "…", "rungs": [ … ], "default_effort": "medium",
"limited": null, "selected": false } ] }, … ],
"resolved": { "effort": "high", "requested_effort": "high",
"main_model": "gpt-5.6-sol", "effort_available": true,
"rungs": [ { "rung": "minimal", "enabled": true, … } ] },
"modes": [ … ],
"user_default": null,
"change": { "changed": true, "model_changed": true, "effort_changed": true,
"mode_changed": false },
"seam": { "text": "Switched to Sol · High (Company OpenAI)" }
}
models is the picker: the deployment model, every model of a declared
connection, and a legacy profile only when a model_selection.picker entry
names it — grouped by connection, the deployment model's group first, then the
user's own connections ("Yours"). The mode-shaped fields (selection.mode,
resolved.title, modes) are kept for the current composer chip and terminal
strip.
When personal connections are off for the caller
(model_selection.personal_connections: false, or their access profile's
personal_connections: false) the "Yours" groups are absent, and naming one
of those models in the PATCH, PUT /user-default or PUT /background answers
403 with the reason (an unknown model stays a 400).
A conversation whose stored model is no longer available runs its next
turn on model_selection.default.model instead (the deployment model when
that is unset), stores that, and gets the seam *ChatGPT is not available
here; using Ardincoder.* — the same plugin.thinking_modes.mode_changed
event, with unavailable naming what it fell back from and previous
describing the old selection (its reference, rung and model id). One path
for three causes:
- the connection became withheld (the policy above;
withheldis set too, and the connection's title is the name); - the reference now names another owner's model: every stored reference records whether it named the organization's model or the user's own (connection ids are one namespace, §4.2), so a
chatgpt/…stored while the organization had achatgptdoes not move onto the user's subscription when the admin removes it — nor the reverse when the organization adds one; - it names nothing any more — the sign-in was disconnected, the model dropped.
Going back is the user's pick, with a seam of its own. A Background work
choice or a legacy pin that became another owner's is skipped like one that
dangles.
GET on the same path returns everything except change and seam.
Two answers are worth reading rather than assuming:
resolved.effortis what will actually be sent, andrequested_effortis what was asked for. They differ when the model cannot honour the rung — asking for one it does not support is never an error, it is clamped.resolved.effort_available: falsemeans the effort control is dead for this conversation's model: either it has no reasoning control, or the endpoint refused one and the plugin stopped sending them.effort_unavailable_reasonsays which.- Each entry in
modescarries bothmainandmain_model.mainis the profile the mode declares (nullwhen it declares none and simply inherits);main_modelis the model id that resolves to for this user, which is what answers "would picking this switch the brain?".main_modelisnullonly forcustom, which declares nothing — see below.
When the model or effort actually changes, a marker is added to the transcript
— "Switched to Sol · High (Company OpenAI)", or "Effort: High" when only the
effort moved — so the conversation records which brain answered which
question. Re-picking what is already in force changes nothing and adds no
marker; markers written before this release keep their wording.
Outside the web UI
| Surface | How |
|---|---|
| Web | The chip at the left of the composer switches this conversation; Settings → Models (above) decides where new ones start. |
| Terminal UI | /model <name>, /effort <rung> and /thinking, typed in the composer — the same words as Telegram. The pair in force is always on screen in the composer's status strip (◉ Slow · High, shortened to ◉ High on a narrow terminal), and a change leaves the same marker in the transcript that the web shows. With the plugin absent there is no strip and /model is an ordinary message. |
| Telegram | /model <name>, /effort <rung>, and /thinking for the current pair. /model on its own lists the models by connection, /effort on its own the rungs. Anything else beginning with / is passed to the assistant untouched. |
codumentor -p | --model <name> and --effort <rung>, e.g. codumentor -p --model Sol --effort high "why is this test flaky?". --model selects a picker model only when the value is exactly its reference, short name or title; any other value is, as before, the agent model id (models.agent) for the run. The pair is echoed on stderr; with --output-format stream-json it also appears in the init event. --effort applies to print mode only. |
| OpenAI-compatible API | Send a picker model's reference, short name or title as the request's model field — {"model": "Sol", …} — exactly, not fuzzily. A mode name ({"model": "fast"}) keeps working. Any other value keeps its existing meaning (the field is otherwise ignored). GET /v1/models lists codumentor-agent, the picker models by reference, and the mode names. |
Naming a model. /model matches the short name, the title or the
reference, ignoring case: an exact name first, then a name it is the start of,
then the closest spelling when one model is clearly closest. When several
models fit equally (/model gpt with two GPT models) it lists them instead of
picking one; the reference always settles it.
/mode and --mode are retiring (one minor release): /mode fast is
/effort off, /mode slow is /effort at the model's default, a declared
mode is its model and rung, and each reply (or, for --mode, a warning on
stderr) says what to type instead. /mode custom points at Settings → Models.
A mode name that does not exist, or a rung that is not on the scale, is
rejected and told to you; a rung that exists but the model cannot honour is
accepted and clamped.
Users who already assign their own models
If a user has set per-role assignments through
Model Profiles, those assignments keep working and appear
as an implicit Custom mode. They are read once (and again whenever they
change) into this plugin's own store: main_agent (else default) becomes the
model new conversations start on, default becomes the Subagents and
Housekeeping model, and each subagent_overrides entry becomes the model of
that role's override in Background work (its effort, if the user set one on
the row, is kept), clearable with ✕. Model Profiles keeps
its copy for rollback. Nothing changes for such a user until they pick another
model; their own named profiles stay available. Per role, use the overrides in
Background work; /mode custom answers with a pointer to Settings → Models.
One writer. This plugin is the only one that decides which model a role
runs on: at every turn it asks Model Profiles — the connection and credential
store — for the user's own models (user_model_overrides), resolves, and
installs the result. Model Profiles installs nothing of its own, so without
this plugin a user's connections and assignments reach no turn.
Configuration
plugins:
- module: codumentor.plugins.thinking_modes
class: ThinkingModesPlugin
priority: 6
args:
enabled: true
Enabled in the default shipped config. Register it after model_profiles
(which ships at 5), whose store it reads.
| Parameter | Type | Default | Description |
|---|---|---|---|
enabled | bool | true | Whether the plugin is active. |
data_dir | string | agent storage dir, else ./data | Where the per-conversation selections are stored. |
max_conversations_per_user | int | 2000 | How many conversations' selections are kept per user before the oldest are dropped. |
Background work defaults (model_selection.background)
What a user who has chosen nothing gets for each Background work tier, and
what Use the default returns to
(background-work-effort
§3.1). A user's tier choice, then their per-role override, beats it.
model_selection:
background:
helpers: same_as_chat # the Subagents tier's model
helpers_effort: same_as_chat # … and its effort
housekeeping: automatic # the Housekeeping tier's model
housekeeping_effort: low # … and its effort
| Key | Values | Default | Description |
|---|---|---|---|
helpers | same_as_chat, a model reference | same_as_chat | Model of the Subagents tier (developer, repository search, general subagent, goal setup). |
helpers_effort | same_as_chat, model_default, a rung | same_as_chat | Effort of the Subagents tier. same_as_chat asks for the chat's rung — Off included — landed on each role's own model. |
housekeeping | automatic, same_as_chat, a model reference | automatic | Model of the Housekeeping tier (memory curator and its verdict repair and alias backfill, experience distiller, titles, compaction, translation, web, repository guidance merge). automatic is the light model. |
housekeeping_effort | model_default, a rung | low | Effort of the Housekeeping tier. same_as_chat is refused here. |
A rung is off, minimal, low, medium, high, xhigh or max (or an
alias); it is resolved onto each model's own ladder (on ardincoder-1,
medium runs as low). model_default sends no rung, so the model's own
default runs — Settings names it ("Model default (High)"). Any model choice is
still subject to the privacy rule. A deployment that declares modes under
thinking_modes: (and no model_selection:) gets same_as_chat for both
tier models — what a mode did with every role it did not list — and these
effort defaults; one that declares no mode gets the defaults above.
Agent-chosen model defaults (model_selection.agent_choice)
model_selection:
agent_choice:
enabled: true # the user's checkbox default
effort_ceiling: high # the highest effort the agent may ask for
| Key | Values | Default | Description |
|---|---|---|---|
enabled | true, false | true | Whether Let the agent pick a model and effort per subagent starts on. A user may change it unless their access profile sets agent_model_choice: false. |
effort_ceiling | a rung | high | The ceiling a user who has chosen none gets. A request above it runs at the ceiling. |
Declaring your own modes
Prefer
model_selection:.thinking_modes:is translated to
model_selection:at load, and the startup warning prints the equivalent
lines. A mode is only a shortcut for a model and an effort: itsrolesare
global per-role pins for every conversation (whichever mode or model is
picked, also whenmodel_selection:is declared),effort.allowedand
promptare not applied, and a mode'smaindoes not override
models.subagent_profiles.
Modes live in a top-level thinking_modes: section of the main configuration,
next to models: — not in the plugin's args:, because they reference the
profiles declared there and are cross-checked against them when the config
loads.
thinking_modes:
default: slow # mode for a user who has expressed no preference
modes:
fast:
title: Fast
description: Answers from what it can see and look up. Quick turns.
icon: bolt
cost: 1 # 1-3 relative badge shown in the picker
main: local-qwen # a name from models.profiles
effort: { default: "off" } # starts at off; the user can still turn it up
slow:
title: Slow
description: Plans before acting, strongest model for code changes.
icon: brain
cost: 3
main: cloud-strong
roles:
context_summarization: local-qwen
explore: local-qwen
effort: { default: medium, allowed: [off, minimal, low, medium, high, xhigh] }
# a ceiling — never `max` on the cloud model
prompt: |
Before editing, write a short plan and verify it against the code.
Declaring any mode replaces both built-ins entirely, and takes the
balanced/deep aliases with them: a set that declares neither slow nor a
mode of its own by those names leaves those two words naming nothing. Keep the
descriptions describing behaviour rather than grading capability — a mode
called "the good one" tells the user their other choice is the bad one, which
is not what the dial does.
| Field | Type | Default | Description |
|---|---|---|---|
title | string | required | Label shown in the picker. |
description | string | "" | One line under the title. |
icon | string | unset | Icon token for the picker. |
cost | int 1–3 | 2 | Relative cost/speed badge. |
main | profile name | unset | Model the chat runs on when the mode is picked; it becomes a picker entry. Unset is the deployment model (models.agent*). |
roles | map | {} | role → profile name: a per-role pin for every conversation, not just this mode's. |
effort.default | rung | unset | Rung the mode starts at. Unset means "whatever the model's own default is". |
effort.allowed | list of rungs | unset | Accepted and ignored: model_selection: has no effort ceiling (named in the startup warning). |
prompt | string | unset | Accepted and ignored: mode prompt fragments are dropped (named in the startup warning). |
Roles you may name in roles: are the rows of the one role table
(config/model_roles.py): subagent, agentic_developer, explore, goal
(Subagents); agentic_memory_store, memory_verdict_repair,
memory_alias_backfill, experience_distiller, context_summarization,
auto_title, translation, agent_instructions_merge, web_retrieve,
web_search (Housekeeping) — plus any role you already point at a profile in
models.subagent_profiles.
A plugin's *_model_role setting (auto_title.model_role,
script_filter.model_role, agenticmemory.storage_verdict_repair_model_role,
…) must name one of those rows. One that does not is warned about at startup:
it still runs — on the admin pin or model it names, else on what unlisted
roles get — but Background work cannot list or tier it. Pin a model to the
row with models.subagent_profiles.<role> instead.
Write "off" in quotes: unquoted off is a YAML boolean. (Both are accepted —
this is a readability note, not a requirement.)
Notes
- A bad mode fails at startup, not at the first turn. A
main:orroles:entry naming a profile that does not exist, a role nobody answers to, a default effort outside the allowed list, or adefault:naming no mode — all of them stop the configuration from loading, and the error names every problem it found at once. - Switching modes mid-conversation is allowed and cheap to reason about, but not free. A different model — or a different effort on the same model — means a cold prompt-prefix cache for that conversation's next request.
- A mode never widens what the assistant may do. It selects models and a reasoning effort; tool access stays whatever the access profile allows.
- What is stored: a mode name and a rung per conversation, plus a per-user default. Nothing sensitive, so unlike Model Profiles' API keys there is nothing here to encrypt.
- Plugin authors can read the active mode for a turn from
ctx["thinking_mode"]andctx["reasoning_effort"], both set beforeonPromptAssemble, and can subscribe to theplugin.thinking_modes.mode_changedconversation event to see a switch as it happens.