mda CLI to test and deploy it to the managed runtime.
The managed runtime provides:
- Durable runs
- LangSmith sandboxes
- Context Hub-backed instructions, skills, and memory
- Traces
- Hosted LangGraph deployment
Managed Deep Agents is in private beta, available on LangSmith Cloud in the US region only. Join the waitlist to request access.Private beta access: During private beta, Managed Deep Agents is CLI-first while LangChain finalizes the supported API. API-driven creation, update, and invocation examples have been removed. To use agents programmatically, contact your LangChain team at the address in your beta access email.
When to use Managed Deep Agents
Choose the path that matches your control and infrastructure needs:| Path | Use when | You manage | LangSmith manages |
|---|---|---|---|
| Managed Deep Agents | You want a code-first Deep Agent deployed quickly on managed infrastructure. | Agent code, tools, middleware, instructions, schedules. | Backend, store, checkpointer, memory, skills, sandbox, hosted deployment. |
| LangSmith Deployment | You need custom application code, custom routes, advanced authentication, stronger isolation controls, or maximum scalability. | Application code, server, deployment configuration. | Hosted infrastructure and scaling. |
| OSS Deep Agents | You want to run the Deep Agents harness in your own environment. | Everything, including hosting and persistence. | Nothing (self-managed). |
Structure your agent project
A Managed Deep Agent is a local project directory. A file’s location determines its role: the CLI reads the directory to find the agent entry, managed instructions, skills, connectors, schedules, and sandbox configuration, then packages everything into a hosted deployment. For the full directory layout and packaging rules, see the CLI project file reference. For how the CLI compiles this directory and what a deploy creates, see How Managed Deep Agents work.Recommended workflow
- Install
managed-deepagentsfor Python or TypeScript. - Create a local code-first agent project with
mda init. - Put the agent system prompt in
instructions.md. - Add authored tools, middleware, schedules, skills, MCP connectors, and an optional sandbox.
- Use
mda devto test your agent locally in LangSmith Studio, thenmda deployto deploy to LangSmith. - Inspect the deployment, traces, and runtime state in LangSmith.
Beta notes and limits
Operational notes that apply during private beta. Behavior may change before general availability.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, as long as the runtime has credentials for that provider. See Supported providers and models for the current list.
Put local keys in .env, export them in your shell, or configure them as LangSmith workspace secrets before deploying.
Context Hub memory
Managed memory is stored in the same Context Hub repo as the deployed instructions and skills, at/memories/AGENTS.md. Deploy syncs instructions.md and skills/**, but preserves existing memories/** files and does not overwrite runtime-created memory. Set disableMemory: true or disable_memory=True to disable only the built-in agent-scoped memory. For how memory persists, see How Managed Deep Agents work.
Rate limits and quotas
During private beta, Managed Deep Agents does not publish per-key, per-workspace, or per-agent request rate limits. For workspace-specific limits, contact your LangChain team at the address in your beta access email.Support and feedback
Beta access includes direct support. The contact for bug reports and feature requests is included in the email you receive when access is granted.Private beta scope
Managed Deep Agents is available on LangSmith Cloud in the US region only during private beta. Self-hosted and Hybrid deployments are not supported.Next steps
Quickstart
Deploy a first code-first agent with the
mda CLI.Tutorial
Build a scheduled research agent from an empty directory.
How it works
Understand compilation, the deploy lifecycle, and Context Hub.
Custom tools
Add authored LangChain tools from your project source.
Custom middleware
Add built-in or custom middleware around model and tool calls.
Connect MCP tools
Declare remote MCP servers with Managed Deep Agents connectors.
Schedules
Run agents on managed cron schedules.
Deploy an agent
Test and deploy Managed Deep Agents with
mda.Examples
Explore a complete project that uses every primitive.
CLI reference
Review
mda init, mda dev, and mda deploy.Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

