Documentation
¶
Overview ¶
Package mode defines the SDK-native mode template shape.
A mode template is a named runtime preset for the parent agent: prompt instructions, model routing, run constraints, autonomy, and tool access. Specialist sub-agents are configured separately through the role catalog.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Constraints ¶
type ModelRouting ¶
type RoleModelRouting ¶
type TemplateSpec ¶
type TemplateSpec struct {
Name string
Version string
DisplayName string
Description string
Category string
Autonomous bool
// ToolAccess constrains the run's tool surface while the mode is active.
// Recognized values: "" (inherit), "full", "read-only".
ToolAccess string
Instructions string
ModelRouting *ModelRouting
Constraints *Constraints
}
TemplateSpec is the SDK-native mode template shape.
Click to show internal directories.
Click to hide internal directories.