# Managed Deep Agents - Quickstart <!-- ref: @content/youtube/langchain/managed-deep-agents-quickstart tags: [Managed Deep Agents, LangSmith, agent deployment, Context Hub, local development, web search tools, LangChain] version: 2 updated_at: 2026-11-24T06:14:00.298Z --> **[Watch on YouTube](https://www.youtube.com/watch?v=L54dR9qMKzc)** # Managed Deep Agents - Quickstart *Synthesized from LangChain, 2026-08-19; speakers are not named in the source.* A single presenter, not named in the transcript, walks through the first steps with Managed Deep Agents, the LangChain/LangSmith product for creating and deploying an agent environment, and says that later videos cover the components in depth. ## Core Thesis The presenter argues that a Managed Deep Agents project can be created, run locally and deployed in a few commands, and that its instructions and skills live in a Context Hub where they can be changed without redeploying. The quickstart builds a research-assistant agent that uses a web search tool and an OpenAI model. ## Key Insights - Prerequisites: a LangSmith API key (created under Settings), uv installed, and an API key for the chosen model provider. The demo uses OpenAI. - Install the tool with `uv tool install`, which adds the `mda` executable; `mda init research-assistant` creates the project folder. - `mda init` found the LangSmith key in the environment and wrote it to the `.env` file. The generated files are `.env`, `.gitignore`, a readme, `agent.py` (the agent definition), an identity file (covered in a later video), an instructions file (Markdown), `pyproject.toml` and a `sandbox` folder. - Instructions are always placed in the agent's context window while it runs, so they are the main place to shape behavior. - Models: code snippets are provided for OpenAI, Google and Anthropic. Web search is added to `agent.py` by pasting a snippet. - The `name` parameter in `agent.py` sets the deployment name, and each deployed agent needs a different name. The demo renames it to "research assistant-1". - Local run: `uv sync` installs dependencies, then `mda dev` starts a local server and opens LangSmith Studio. The demo asks for the latest LangChain release, and the agent makes several web searches before answering with details of LangChain 1.3.15. - Deployment needs a paid LangSmith account. `mda deploy` syncs the instructions to Context Hub, builds the deployment and makes it visible on the Deployments page, where it can be opened in Studio and its traces viewed. ## Actionable Takeaways 1. Put the LangSmith key in `.env` before running `mda init`, so the CLI picks it up. 2. Give each deployed agent a unique `name` in `agent.py`. 3. Test locally with `uv sync` and `mda dev` before running `mda deploy`. 4. Edit instructions in Context Hub to change a running agent without redeploying. ## Notable Quotes > "In particular, we will give him a web search tool." — LangChain presenter (not named in the source) --- *Related: `@content/youtube/langchain/langsmith-preview-builds-test-agent-changes-before-production` · `@content/youtube/langchain/how-credit-genie-debugs-thousands-of-agent-traces-with-langsmith` · `@content/youtube/langchain/inside-toyotas-manufacturing-ai-langchain-langsmith-and-six-figure-roi` · `@content/youtube/cole-medin/you-built-your-ai-second-brain-now-what-here-s-how-to-evolve-it` · `@content/youtube/langchain/managed-deep-agents-conceptual-video`* --- *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).*