Managed Deep Agents is in public beta and available on LangSmith Cloud in the US region only.
agent.tsx.
For the full project layout, see Project structure.
To define the agent, use defineDeepAgent:
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 Claude, VSCode, and more via MCP for real-time answers.

