Managed Deep Agents is in private beta, available on LangSmith Cloud in the US region only. Join the waitlist to request access.
Prerequisites
Before you start, make sure you have:- Managed Deep Agents private beta access.
- A LangSmith API key for a workspace with private beta access.
- The
deepagents-cli>=0.2.2package.
Create and deploy an agent
1
Install the CLI
Install To upgrade an existing CLI installation, run
deepagents-cli with uv (preferred) or pip:uv tool upgrade deepagents-cli (or pip install -U "deepagents-cli" if you installed with pip).2
Set your API key
Set a LangSmith API key for a workspace with private beta access:
If a request returns 401 or 403, confirm your API key belongs to a workspace with private beta access.
3
Create a project
Create a Managed Deep Agents project:The CLI creates:
4
Edit the instructions
Open The generated project uses the
AGENTS.md and replace the generated instructions with the behavior you want:AGENTS.md
state backend so the agent can deploy without sandbox-specific configuration. Switch to the sandbox backend when the agent needs a LangSmith sandbox for code execution, filesystem work, or long-running tasks. For options, see Choose a backend.If the agent calls MCP tools, connect tools before deploying the agent.5
Deploy the agent
Deploy the local project:On success, the CLI prints the agent name, ID, short revision, agent URL, and a post-deploy MCP health check:Open the printed agent URL in LangSmith to inspect the deployed agent, managed files, revisions, traces, and runtime behavior.
Next steps
Connect tools
Register MCP servers and reference their tools from
tools.json.Deploy an agent
Review the complete CLI deploy workflow and project file layout.
CLI reference
Review all deploy commands, flags, and validation rules.
LangSmith sandboxes
Learn how sandboxes provide isolated execution environments.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

