Skip to content

ThinkingLevel ​

Type, in @jr2/orchestrator/src/agent.ts. It is an export of @jr2/orchestrator, on the Authoring surface page, in Agents.

ts
type ThinkingLevel = "off" | "minimal" | "low" | "medium" | "high" | "xhigh";

How hard the model thinks before it answers: "off", "minimal", "low", "medium", "high" or "xhigh". Set it on an Agent's definition (thinkingLevel), or for one Turn in the invoke's input.

A model can lack a level. Claude Sonnet 5.5 has no "off", and at "off" the Harness's request then sends effort "high". The Harness does not refuse such a level: it runs the Turn, and the printed conversation names the level that the model ran at.

Example

ts
import { agent, type ThinkingLevel } from "@jr2/orchestrator";

const effort: ThinkingLevel = "high";

export const reviewer = agent({
  model: "anthropic/claude-haiku-5-5",
  instructions: "You review diffs for correctness.",
  thinkingLevel: effort,
});

See also

The docs of Kit version 0.5.1. Each page is also at its .md URL.