Extract the Subagents array type from a DeepAgent.
const agent = createDeepAgent({ subagents: [researcher, writer] as const });type Subagents = InferDeepAgentSubagents<typeof agent>;// Subagents is the readonly tuple of subagent definitions Copy
const agent = createDeepAgent({ subagents: [researcher, writer] as const });type Subagents = InferDeepAgentSubagents<typeof agent>;// Subagents is the readonly tuple of subagent definitions
Extract the Subagents array type from a DeepAgent.