Topic

LangSmith UI

All digests tagged LangSmith UI

Managed Deep Agents - Instructions and Context Hub thumbnail

· 5:40

Managed Deep Agents - Instructions and Context Hub

This video details how 'Instructions' define the behavior of Managed Deep Agents. These instructions are stored in a dedicated Context Hub, allowing developers to modify agent behavior directly through the UI without needing to redeploy code. The process involves syncing local changes (e.g., modifying `instructions.md`) with the production Context Hub via commands like `mda deploy`, and understanding how conflicts between local and deployed instructions can be resolved.

Key takeaways

  1. Instructions Define Agent Behavior

    Instructions are the core component defining an agent's behavior, typically placed within the system prompt. Changing these instructions immediately impacts the agent's output (e.g., changing response language from Italian to Spanish).

  2. Context Hub for Non-Code Changes 2:05

    The Context Hub allows agents to be updated by modifying instructions in a UI, which automatically propagates changes to the deployed agent without requiring code redeployment.

  3. Syncing Local and Production Instructions 3:50

    When running `MDA deploy`, if the Context Hub has been manually edited (e.g., in production), the deployment process pauses, allowing the user to choose whether to override the hub-edited instructions with the local version or vice versa.

Watch on YouTube Full article