Managed Deep Agents is a hosted runtime for creating, running, and operating deep agents in LangSmith. Use it to run durable, long-running agents without standing up your own agent server. It pairs the Deep Agents harness with managed infrastructure: durable runs, LangSmith sandboxes, thread state, MCP tools, file trees, traces, and agent revisions.Documentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.
Managed Deep Agents is in private preview, available on LangSmith Cloud in the US region only. Join the waitlist to request access.
- Create or edit a local Managed Deep Agents project.
- Keep the default backend or opt into a LangSmith sandbox backend.
- Connect MCP tools when the agent needs external capabilities.
- Deploy the project to Managed Deep Agents.
- Run the agent through the REST API.
- Inspect traces, files, tool calls, runtime state, and revisions in LangSmith.
Follow the workflow
Quickstart
Deploy a first agent with the CLI, then run it with the REST API.
Connect tools
Register static-header or OAuth MCP servers and reference their tools from agents.
Deploy an agent
Create or update Managed Deep Agents with the CLI or REST API.
Run an agent
Create threads and stream Managed Deep Agent runs through the REST API.
CLI reference
Review all deploy commands, project files, flags, and validation rules.
API reference
Review common REST commands and generated endpoint reference pages.
Use Managed Deep Agents
Use Managed Deep Agents to:- Create and manage deep agents from local project files.
- Run long-running agents without standing up a custom agent server.
- Give each thread or agent isolated LangSmith sandbox resources for code execution, filesystem work, and long-running tasks.
- Stream runs and persist thread state.
- Use a managed file tree for instructions, skills, subagents, tools, and runtime files.
- Register workspace-level MCP servers, including OAuth MCP servers, and list their available tools.
- Inspect traces and agent behavior in LangSmith.
Created resources
When you create a Managed Deep Agent, LangSmith provisions:- A Managed Deep Agent resource.
- A separate LangSmith tracing project for the agent.
- A Context Hub agent repo that stores the managed file tree.
LangSmith sandbox backends
Managed Deep Agents projects generated by the CLI use thedefault backend:
default: applies no sandbox-specific backend behavior.thread_scoped_sandbox: scopes sandbox resources to each thread.agent_scoped_sandbox: scopes the sandbox to the agent rather than to individual threads.
Limits and notes
Operational notes that apply during private preview. Behavior may change before general availability.Stable deploy experience
Managed Deep Agents deploy is available through the beta CLI release during private preview. The stable Deep Agents deploy experience continues to work until Managed Deep Agents reaches public beta and the deploy command switches to the new behavior.Supported models
Pass model identifiers in the form{provider}:{model_id}. For example, openai:gpt-5.5. The runtime resolves models with init_chat_model, so any provider that init_chat_model supports is usable from Managed Deep Agents. See Supported providers and models for the current list.
Values without a colon are interpreted as references to a saved Playground configuration rather than as model identifiers. Always supply the full {provider}:{model_id} form when configuring a model directly.
Thread retention
Threads have no retention window or per-workspace cap during private preview. Create as many as you need. Existing threads remain accessible for the duration of the preview.Rate limits and quotas
The Managed Deep Agents endpoints do not enforce per-key, per-workspace, or per-agent request rate limits during private preview.Agent limits
Free LangSmith workspaces are limited to one Managed Deep Agent. Paid LangSmith plans can create unlimited agents. When a free workspace is already at its limit,deepagents deploy and POST /v1/deepagents/agents fail with HTTP 409 and a message to delete the existing agent or upgrade your plan.
Delete agents
DELETE /v1/deepagents/agents/{agent_id} does not cascade to threads. Threads created against a deleted agent remain queryable but cannot start new runs. Track and delete threads explicitly when you want to clean them up.
API stability
Routes live under/v1/deepagents, but the surface is in private preview and may change before general availability. Breaking changes are communicated to preview customers directly through the contact provided when access was granted.
Support and feedback
Preview access includes direct support. The contact for bug reports and feature requests is included in the email you receive when access is granted.Private preview scope
Managed Deep Agents is available on LangSmith Cloud in the US region only during private preview. Self-hosted and Hybrid deployments are not supported, and EU and other regions are planned after general availability. The API also does not mirror every LangSmith Deployment endpoint in private preview. A Managed Deep Agent is not a LangSmith Deployment.Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

