DeepAgent extends ReactAgent with additional subagent type information.
This type wraps ReactAgent but includes the DeepAgentTypeConfig which contains subagent types for type-safe streaming and delegation.
Type brand for DeepAgent type inference
Optional checkpointer for persisting agent state between runs
Optional BaseStore for persistent cross-conversation storage
const agent: DeepAgent<DeepAgentTypeConfig<...>> = createDeepAgent({ ... });
// Access subagent types for streaming
type Subagents = InferDeepAgentSubagents<typeof agent>;