# Managed Deep Agents - Instructions and Context Hub
<!--
ref: @content/youtube/langchain/managed-deep-agents-instructions-and-context-hub
tags: [agent instructions, system prompt, Context Hub, managed deployment, Deep Agents, configuration sync]
version: 2
updated_at: 2026-11-24T06:08:26.653Z
-->

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

# Managed Deep Agents - Instructions and Context Hub

*Synthesized from LangChain, 2026-08-19; speakers are not named in the source.*

An unnamed narrator walks through a LangChain product tutorial on editing a Deep Agents instance's instructions locally and in the managed Context Hub. The episode continues from a quick start that is not covered.

## Core Thesis
The narrator argues that an agent's instructions determine its behaviour, and that in managed Deep Agents those instructions can live in a Context Hub. Edits made there change the deployed agent without a code redeploy, while local edits stay separate until they are synced.

## Key Insights
- **Instructions file.** The agent's instructions are in an instructions.mmd file. A line such as "answer in Italian" changes replies after a local run with `mda dev`.
- **Verification through the trace.** The model-call step in the trace shows the full input, including the system prompt, the built-in tools and the inserted instructions.
- **Built-in tools are on by default.** Deep Agents tools are part of the environment and turn on without manual setup.
- **Minimal system prompt.** The narrator says the Deep Agents system prompt was deliberately made smaller and more modular, giving faster responses with about the same quality, and it still covers the points agents often get wrong.
- **Context Hub links.** A deployment is linked to a Context Hub entry. Local edits do not reach the production agent, but a change saved in the hub does, so a reply in Spanish appeared in the studio without a redeploy.
- **Conflict on redeploy.** When both the hub and the local file changed, `mda deploy` stopped because the instructions hash no longer matched. The user chose whether to overwrite the hub with the local version; choosing yes made the local Italian instruction the live one.

## Actionable Takeaways
1. Change agent behaviour in instructions.mmd, then confirm the change in the model-call input of the trace.
2. Use Context Hub to change a production agent's instructions without a code redeploy.
3. Before redeploying, check for hub edits, since `mda deploy` stops when the instructions hash differs and you must choose to overwrite the hub or keep it.

## Notable Quotes
> "make changes that affect the agent without having to redeploy the code." — video narrator (speaker not named in the source)

> "Instructions are a key part of defining agent behavior." — video narrator (speaker not named in the source)

---

*Related: `@content/youtube/langchain/managed-deep-agents-skills` · `@content/youtube/langchain/managed-deep-agents-quickstart` · `@content/youtube/cole-medin/11-tiny-coding-agent-fixes-with-a-stupid-amount-of-payoff`*

---

*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).*