Module api

Module api 

Source
Expand description

Public API functions that mirror the Python SDK exactly

This module provides the main entry points for creating Deep Agents, matching the Python create_deep_agent() and async_create_deep_agent() functions.

Functionsยง

create_async_deep_agent
Async constructor alias to mirror the Python API surface.
create_deep_agent
Create a deep agent - matches Python create_deep_agent() API exactly
get_default_model
Returns the default language model configured Uses Claude Sonnet 4 with 64000 max tokens, mirroring the Python SDK defaults.