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.
Inherited by a mode: "fork" declarative or compiled subagent
A list of additional subagents to provide to the agent
Full system prompt override
Custom description for the task tool
Options for creating subagent middleware