LangSmith
Managed Agents
Build, deploy, and improve persistent agents on a single platform.








Managed Agents packages a full production runtime behind a single CLI workflow. Every deployment runs on LangSmith Agent Server, giving your team durable execution along with streaming, schedules, and tool access by default.
Every agent ships with:
- One-command deploy: Run mda deploy to compile your project, sync instructions and skills to Context Hub, and deploy a managed agent.
- Durable execution: Checkpointing, event streaming, cron schedules, task queuing, and mid-run message steering come built into every run.
- Extensible agents: Connect pre-built primitives, messaging channels, HTTP webhooks, and Model Context Protocol (MCP) connectors so agents run in the background and reply where teams work.
Define instructions, custom skills, and custom tools in your own codebase, using your preferred language, coding tool or no-code UI. Managed agents are designed to work within your existing development flow.
Develop your way:
- Code and visual DevEx: Write agent logic, skills, and tools in Python or TypeScript, and pair visual inspection in LangSmith Studio with full code in your IDE.
- Local development: Keep agent files inside your repository, iterate locally with mda dev, and validate offline with Harbor evals.
- Batteries included:Durable memory, messaging channels, triggers, tools, sandboxes, tracing, and evals arrive pre-wired in every deployment.
Persistent agents run in the background across sensitive systems and customer records. Managed Agents enforces network boundaries, scoped credentials, isolated code execution, and complete trace logs on every run.
Every run is protected by:
- Private agents: Deploy on LangSmith Cloud, inside your own VPC with Bring Your Own Cloud (BYOC), or self-hosted in your infrastructure so agents and data remain inside your private network.
- Secure access:Agent Auth and Tool Gateway manage OAuth 2.0 tokens per caller, inject credentials without exposing secrets to agent code, and enforce deny or approval policies on every MCP tool call.
- Isolated execution:LangSmith Sandboxes isolate code execution, filesystem edits, and browser actions from your production infrastructure.
- Full visibility:LangSmith Observability traces every reasoning step, subagent handoff, model call, and tool execution, while Tool Gateway logs which tool ran and under which identity.
An agent running the same workflow over weeks should improve its accuracy and judgment with every cycle. Managed Agents combines task, user, and agent memory with automated evaluation and trace-driven refinement.
Learning comes from:
- Model routing: Route calls across any model provider through Model Gateway to enforce spend limits, configure automatic fallbacks, redact sensitive data, and uphold Zero Data Retention (ZDR) policies.
- Self-learning loops: Activate LangSmith Engine to cluster production failures from traces, diagnose root causes, and open GitHub PRs or Context Hub prompt and skill fixes while monitoring for regressions.
- Preview deploys: Agent Server preview builds spin up temporary deployments for pull requests so engineering teams evaluate behavioral changes before merging.
- Automated refinement: Pair datasets, online evals, and the dreaming pattern (scheduled nightly trace reviews that update durable memory and propose instruction improvements) to refine agents automatically.
Build a persistent design agent
Fork the open-source design agent and run it as a persistent agent of your own. A lead agent plans each request from Slack and hands tasks to subagents that work in parallel in the thread’s own sandbox.

FAQs for LangSmith Managed Agents
LangSmith Agent Server (formerly LangSmith Deployment) is the underlying production agent runtime for any LangGraph or wrapped-framework agent, where you wire up your own checkpointer config, sandboxes, and integrations. Managed Agents builds a complete production layer on top of Agent Server with the Deep Agents harness, Context Hub, Sandboxes, Agent Auth, channels, and schedules already connected. Choose Managed Agents to ship persistent agents quickly, or choose Agent Server directly when you want custom control over a LangGraph runtime.
Deep Agents is the open-source harness you use to define planning, filesystem context, tools, skills, and subagent delegation. Managed Agents runs a deep agents harness in a hosted execution environment on LangSmith, supplying the server, durable state, sandboxes, schedules, and observability underneath.
You own your agent's business logic in your repository, including agent.py (or agent.ts), instructions.md, skills/, tools/, and custom middleware. LangSmith manages the Agent Server infrastructure, durable threads and checkpoints, sandboxes, memory storage, resolving identity and access, channels, cron schedules, and trace collection. See the project structure guide for the full directory layout.
No. Managed Agents works with OpenAI, Anthropic, Google, Azure, and any compatible chat model provider, including different models for different subagents. Routing through Model Gateway lets you configure automatic provider fallbacks, spend limits, and Zero Data Retention policies from one endpoint.
Managed Agents supports LangSmith Cloud, Bring Your Own Cloud (BYOC) inside your own AWS, Azure, or GCP VPC, and fully self-hosted deployments in your own Kubernetes environment. Review the LangSmith security overview and deployment guide for architecture and data-residency details.
Managed Agents uses consumption-based pricing across the underlying LangSmith services your agent uses, including Agent Server compute and databases, Sandboxes, and tracing. It is available on the Plus plan and on all Enterprise plans. Visit the LangSmith pricing page for current rates.
Ship your first persistent agent today
Deploy an agent that runs on a message, an event or a schedule, and improves from every trace. LangSmith Managed Agents runs it on any cloud or your own infrastructure.

