Use this quickstart to deploy a first Managed Deep Agent with the CLI, then run it with the REST API.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.
Prerequisites
Before you start, make sure you have:- Managed Deep Agents private preview access.
- A LangSmith API key for a workspace with private preview access.
- The beta release of
deepagents-cli.
The Managed Deep Agents deploy flow requires the beta release of
deepagents-cli. The stable Deep Agents deploy experience remains available and unchanged while Managed Deep Agents is in private preview.CLI: deploy a first agent
Install the CLI
Install or upgrade the beta CLI with If you already installed the tool, upgrade it:If you were given an exact beta version, pin that version:As a fallback, install the CLI with
uv:pip:Create a project
Scaffold a project:The command creates
agent.json, AGENTS.md, skills/, and .gitignore.Edit the agent
Edit The generated project uses a LangSmith sandbox backend by default. Keep
AGENTS.md to define the agent’s behavior.The generated agent.json uses the readable local CLI shape:thread_scoped_sandbox unless the agent needs a different sandbox scope. LangSmith sandboxes give the agent an isolated environment for code execution, filesystem work, and long-running tasks. For other options, see Choose a backend.If the agent calls MCP tools, connect tools before you deploy.If
deepagents init, deploy, agents, or mcp-servers are missing or behave unexpectedly, confirm the beta is active with deepagents --version. A previously installed stable deepagents can shadow the beta release on your PATH.API: run the agent
Running a Managed Deep Agent is currently available through the REST API. Set request defaults:Next steps
Connect tools
Add MCP-backed tools before deploying an agent that needs external capabilities.
Deploy an agent
Learn the full CLI and REST API deploy workflow.
CLI reference
Review all commands, flags, project files, and validation rules.
API reference
Review generated endpoint reference pages and common REST commands.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

