Managed Deep Agents is in public beta and available on LangSmith Cloud in the US region only.
Project structure
Keep the agent entry point at the project root and the sandbox declaration undersandbox/:
Configure a sandbox
mda init scaffolds a sandbox declaration. Managed Deep Agents enables the sandbox only while the sandbox/ directory is present. Delete the directory to opt out, such as for an agent that only needs its prompt, memory, and tools.
Managed Deep Agents currently supports LangSmith sandboxes:
sandbox/__init__.py
template_name or snapshot_id to set the creation source.
Choose a scope
Use
idle_ttl_seconds to control when an idle sandbox can be reclaimed. Use default_timeout to bound each command.
How the agent use the sandbox
The agent uses filesystem tools such asls, read_file, write_file, edit_file, glob, and grep, and runs shell commands with execute. Use instructions.md to specify where the agent should work and what it must not modify.
Sandbox lifecycle
Managed Deep Agents owns sandbox naming, reuse, recovery, and cleanup. Deleting the deployment withmda delete also deletes the managed sandboxes associated with it. For platform-level lifecycle details, see Sandboxes.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

