Ask a question to get started
Enter to send•Shift+Enter new line
Subagents allow deep agents to delegate tasks to specialized child agents. This provides context isolation and enables focused problem-solving for complex subtasks.
Learn more: For patterns and best practices, see the Subagents documentation.
Specification for a declarative subagent.
When using createDeepAgent, subagents automatically receive a default middleware stack (filesystemMiddleware, summarizationMiddleware, etc.) before any cus
createDeepAgent
Type definitions for pre-compiled agents.