A local-first multi-agent app development platform, built on PenguinHarness
Subagent thinking level: thinking_level on run_subagent
The run_subagent tool gained an optional thinking_level argument, so the model can pick the thinking level a subagent runs at — lower for cheap mechanical subtasks, higher for hard analysis — instead of every child Session always running at the parent Session's level. Changing the default tool entry advanced the config kernel to a new generation, so existing Agents take a kernel update.
Details
- The tool schema declares
thinking_levelas an enum of the four selectable tiers,low/medium/high/xhigh, mirroring the thinking-level pickers.nonewas left out of the offered set because many models cannot disable thinking, and stayed valid as a stored and wire value. - Omitting the argument reproduces the previous behavior exactly: the child inherits the parent Session's effective level, including the tri-state
nullthat stands for "no level" when the parent has none. A JSONnullcounts as omitted. - An unrecognized value fails the call and names the valid options, instead of quietly running the child at an inherited level the caller did not ask for.
- The override travels through a new optional
thinkingLevelonSubagentRunner.spawninto the spawn closure'screateSessioncall, resolved above the inherit-or-null fallback, so an explicit level also applies when the parent Session has no level of its own. - The four tiers were exported as
SUBAGENT_THINKING_LEVELSand pinned by a test against the project-default tier list and the shipped tool schema, so the parallel copies of that set cannot drift apart.
Compatibility
- The default
run_subagenttool entry changed, soKERNEL_VERSIONadvanced to generation2026-08-18, withtools.builtin.run_subagentas its only changed leaf. Every existing Agent therefore takes a kernel update. - An Agent whose stored
run_subagententry still matches an older default advances to the new schema on its own. An entry the user edited is kept untouched, and an entry the user deleted to switch the tool off stays deleted rather than being re-added. Nothing has to be done by hand either way. - This was the first generation whose defaults differ from the previous one in a tool leaf, which brought the kernel update's "a stored tool entry matching an older generation advances" branch under test for the first time, driven through the history seam so the coverage cannot rot. The pre-toggles reconstruction proof was rescoped to retire per leaf rather than per generation, so it kept proving
system_prompt, the leaf its frozenLEGACY_*constants are about.
Docs
- The bilingual tools and interfaces pages documented the new argument and the matching
spawnfield. TheSubagentRunnersnippet also caught up on theproviderhalf of the model pair it had been missing.