Options for creating subagent middleware
interface SubAgentMiddlewareOptionsDefault middleware to apply to custom subagents (WITHOUT skills from main agent)
The model to use for subagents
The tools to use for the default general-purpose subagent
Whether to include the general-purpose agent
Middleware specifically for the general-purpose subagent (includes skills from main agent). If not provided, falls back to defaultMiddleware.
A list of additional subagents to provide to the agent
Optional custom system prompt override
Custom description for the task tool