SubagentConfig
Defined in: gadgets/types.ts:902
Configuration for a single subagent.
Can be defined globally in [subagents.Name] or per-profile in [profile.subagents.Name].
Example
Section titled “Example”[subagents.BrowseWeb]model = "inherit" # Use parent agent's modelmaxIterations = 20headless = trueIndexable
Section titled “Indexable”[key: string]: unknown
Additional subagent-specific options
Properties
Section titled “Properties”maxIterations?
Section titled “maxIterations?”
optionalmaxIterations:number
Defined in: gadgets/types.ts:910
Maximum iterations for the subagent loop
model?
Section titled “model?”
optionalmodel:string
Defined in: gadgets/types.ts:908
Model to use for this subagent.
- “inherit”: Use parent agent’s model (default behavior)
- Any model ID: Use specific model (e.g., “sonnet”, “haiku”, “gpt-4o”)