The create_deep_agent function is the main entry point for creating deep agents.
Learn more: For tutorials and guides on building deep agents, see the Deep Agents documentation.
Specification for a declarative subagent.
By default the subagent is isolated: it receives only the delegated task
description. Setting mode="fork" makes it continue the parent's
conversation inste
A pre-compiled agent spec.
The runnable's state schema must include a 'messages' key.
This is required for the subagent to communicate results back to the main agent.