The Managed Deep Agents API is a private preview API for creating, updating, connecting, and invoking Managed Deep Agents. Use the API when you need a custom client, automation that cannot shell out to the CLI, or direct control over request payloads.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. Join the waitlist to request access. For the recommended end-to-end workflow, see the quickstart.
Set request defaults
The private preview API uses/v1/deepagents:
X-Api-Key header:
Configure sandboxes
Create and update agent payloads can include abackend object. Use default when the agent does not need sandbox-specific backend behavior:
thread_scoped_sandbox or agent_scoped_sandbox when the agent needs a LangSmith sandbox for code execution, filesystem work, or long-running tasks. Sandbox backend settings live under backend.sandbox and are valid only when backend.type is thread_scoped_sandbox or agent_scoped_sandbox:
Use common REST commands
Understand resource groups
| Resource group | Purpose |
|---|---|
| Agents | Create and manage Managed Deep Agent resources, including runtime and backend configuration. |
| Threads | Create and manage durable thread state for Managed Deep Agents. |
| Runs | Start and stream Managed Deep Agent runs on threads. |
| MCP servers | Register MCP servers and store credentials referenced by agent tools. |
| MCP tools | List tools exposed by a registered MCP server so clients can build tools.json entries. |
| Auth sessions | Start and poll user OAuth sessions for OAuth MCP servers. |
API stability
Routes are versioned at/v1/, but the surface is in private preview and may change in backwards-incompatible ways before general availability. See API stability for breaking-change communication.
The API does not mirror every LangSmith Deployment endpoint in private preview. Endpoint groups such as integrations, triggers, skills, sandboxes, auth providers, and auth tokens are not mirrored yet.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

