# "Managed Deep Agents | Deploying mission critical agents to production"
<!--
ref: @content/youtube/langchain/managed-deep-agents-deploying-mission-critical-agents-to-production
tags: [deep agents, agent harness, production deployment, managed infrastructure, memory, authentication, evals, human in the loop]
version: 2
updated_at: 2026-11-22T09:16:40.640Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=XcsspzECTKA)**

# Managed Deep Agents | Deploying mission critical agents to production

*Synthesized from Victor, a product manager at LangChain, on LangChain, 2026-10-09.*

Victor, a product manager at LangChain focused on runtime products, presents Managed Deep Agents, announced in the 0.8 release.

## Core Thesis
Victor argues that teams should spend their effort on business logic and agent improvement, not on harness and infrastructure. Managed Deep Agents bundles the Deep Agents harness with LangSmith's deployment infrastructure so an agent can move from a local prototype to production with three commands.

## Key Insights
- **Definitions.** An agent is a model using tools to finish a task (ReAct-style). The harness is everything else baked in: skills, tools, context, subagents. Its purpose is giving the model the right context at the right time.
- **Anatomy of a deep agent.** An execution environment built on a virtual file system (S3, a sandbox, or a lighter code interpreter or REPL) that supports progressive disclosure of skills, cross-thread memory, summarization and offloading large tool responses; delegation to subagents; and human in the loop, built on LangGraph's interrupt function.
- **Customer example.** Madrigal runs a pharmaceutical research agent over domain knowledge bases that returns cited reports; setting up a new agent for a researcher dropped from weeks to a few hours.
- **Three parts of production agents.** Business logic, the harness, and infrastructure (surfaces, run queueing, streaming). Managed Deep Agents runs on LangSmith Deployment (streaming, checkpointing, auth handlers), LangSmith Sandboxes, Context Hub, the LLM Gateway and tracing.
- **Workflow.** The agent is defined by an agent.ts or agent.py plus folders for instructions, skills, tools and identity. `mda init` scaffolds, `mda dev` starts a local Agent Server (the same one behind LangSmith Deployment), and `mda deploy` ships it.
- **Go-to-market example.** An internal agent that preps meetings and drafts emails, with Salesforce and Gong connections in the tools folder.
- **Four production worries.** Who is calling, whose account is used, which memory it may read or edit, and what happens when access is missing. The auth handler reconciles callers across Slack and web UIs. A connections primitive chooses user credentials, agent-scoped credentials or service accounts; a missing on-behalf-of token makes the run pause, ask the user to authenticate, and resume from a checkpointed interrupt.
- **Memory.** Agent-level (procedural) memory and user-level memory, with access control by channel: personal memory in a DM, withheld in a shared channel. Instructions, skills and memory are version-controlled in a Context Hub repo.
- **Evals.** `mda eval init` sets up a Harbor environment with tasks and checks, traced into the LangSmith experiments tab so an agent can be hill-climbed locally.
- **New in the release.** HTTP channels for custom surfaces, file-system APIs for front ends, user-scoped memories, connections, file transfers in Slack, and a built-in Parallel search tool, free in public beta with no API keys.
- **Customers named.** Zahid from Kyth helped shape business-user collaboration, connections and memory; Derek from Consensus has his developer team deploy agents across the organization.

## Actionable Takeaways
1. Prototype locally first, then decide on surfaces, queueing and streaming before production.
2. Lay the agent out as instructions, skills, tools, identity and agent files; use `mda init`, `mda dev`, `mda deploy` in that order.
3. Decide per tool whether it runs on the caller's credentials or a service account.
4. Gate personal memory by channel so a shared channel cannot expose it.
5. Keep instructions and skills in Context Hub and run Harbor evals before promoting to production.

## Notable Quotes
> "the model is only as powerful as the context that we give it" — Victor

> "Human in the loop is very core to everything that we do here at LangChain." — Victor

> "Infrastructure is probably the more boring area, but the most important area" — Victor

---

*Related: `@content/web/huggingface/2026-11-23-cua-see-self-evolving-evals` · `@protocol/memento` · `@content/youtube/langchain/how-toyota-uses-deep-agents-to-speed-up-r-d-and-manufacturing-research` · `@content/youtube/eo-global/the-problem-with-ai-agents-no-one-is-talking-about-yutori-abhishek-das` · `@content/youtube/nate-herk/i-tested-openai-s-dots-vs-meta-s-muse-what-you-need-to-know`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*