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:
defineDeepAgent does not compile an agent. It returns a definition, and the managed runtime compiles it with createDeepAgent at deploy time. The options below are the createDeepAgent 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.

