Managed Deep Agents is in public beta and available on LangSmith Cloud in the US region only.
define_deep_agent:
define_deep_agent does not compile an agent. It returns a definition, and the managed runtime compiles it with create_deep_agent at deploy time. The parameters below are the create_deep_agent surface without the ones the runtime owns. See Relationship to Deep Agents.
Parameters
Use LLM Gateway
You can use LLM Gateway to apply rate limits, fallbacks, and other policies to model calls. Prefix the gateway model ID withlangsmith::
Gateway model IDs use a slash between provider and model (
langsmith:provider/model-name). Model strings that call a provider directly use a colon (provider:model-name).moonshotai/kimi-k3 is a LangChain-hosted model, so it requires no provider secret and draws on Gateway Credits. A model ID that starts with a provider your workspace has configured, such as anthropic/claude-opus-5, uses that provider secret and bills to your own provider account.
For more information, see LLM Gateway.
To scaffold a project that uses Gateway from the start, pass --gateway when initializing:
Connect these docs to your agent of choice via MCP for real-time answers.

