@usine/core/agent/brain
Classes
Section titled “Classes”BrainSpec
Section titled “BrainSpec”How an Agent session runs: its coding harness, model, and reasoning effort.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new BrainSpec(…
args):BrainSpec
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”effort
Section titled “effort”
readonlyeffort:"off"|"minimal"|"low"|"medium"|"high"|"xhigh"|"max"
harness
Section titled “harness”
readonlyharness:"claude"|"codex"|"pi"
readonlymodel:string&Brand<"ModelId">
Type Aliases
Section titled “Type Aliases”Effort
Section titled “Effort”Effort = typeof
Effort.Type
The requested amount of reasoning for a session; available levels depend on its harness and model.
Harness
Section titled “Harness”Harness = typeof
Harness.Type
The coding runtime that executes an Agent session.
ModelId
Section titled “ModelId”ModelId = typeof
ModelId.Type
A provider’s model name; the selected harness checks its availability when the session starts.
Variables
Section titled “Variables”Effort
Section titled “Effort”
constEffort:Schema.Literals<readonly ["off","minimal","low","medium","high","xhigh","max"]>
The requested amount of reasoning for a session; available levels depend on its harness and model.
EFFORTS
Section titled “EFFORTS”
constEFFORTS: readonly ["off","minimal","low","medium","high","xhigh","max"]
Reasoning levels accepted in Agent files; support depends on the chosen harness and model.
Harness
Section titled “Harness”
constHarness:Schema.Literals<readonly ["claude","codex","pi"]>
The coding runtime that executes an Agent session.
HARNESSES
Section titled “HARNESSES”
constHARNESSES: readonly ["claude","codex","pi"]
Coding runtimes an Agent can select for delegated work.
ModelId
Section titled “ModelId”
constModelId:Schema.brand<Schema.String,"ModelId">
A provider’s model name; the selected harness checks its availability when the session starts.