Skip to content

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].

[subagents.BrowseWeb]
model = "inherit" # Use parent agent's model
maxIterations = 20
headless = true

[key: string]: unknown

Additional subagent-specific options

optional maxIterations: number

Defined in: gadgets/types.ts:910

Maximum iterations for the subagent loop


optional model: 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”)