LangChain

Share your Managed Deep Agent with your team using Slack

Published 2026-09-14 · Duration 5:04

Summary

This guide details the process of deploying a Managed Deep Agent, initially developed in LangSmith Studio, to a production environment using Slack as the primary interaction layer. The process involves running `slack init` to configure the connection, executing a deployment, completing the Slack authorization step, and finally customizing the agent's appearance and message trigger logic for optimal team integration.

Download summary

Key takeaways

  1. Agent Deployment Workflow

    To connect an existing agent to Slack, run the `slack init` command, followed by a redeployment. The first deployment requires completing a Slack authorization step to link the agent to the internal workspace.

  2. Monitoring and Tracing 0:01

    When the agent is live, all user interactions (requests) are logged and traceable within the LangSmith dashboard, allowing engineers to monitor complete request traces even though the user only sees the final answer in Slack.

  3. Agent Customization 0:02

    The agent's name, description, icon, and background color can be customized by modifying the setup code in the channels directory and redeploying the agent.

  4. Message Trigger Configuration 0:03

    Two key trigger options exist: manual tagging (default) or 'trigger on all messages' (setting `trigger_on_all_messages` to true). Enabling the latter allows the agent to respond to any message in a dedicated channel, not just those directly addressed to it.

Technical details

  • Initialization Command 0s

    The `slack init` command is used to add a Slack channel connection to an existing LangSmith project, creating a `channels` directory and defining the connection in `slack.py`.

  • Deployment Requirement 1s

    After running `slack init`, a redeployment is mandatory for the new Slack channel connection to activate and for the agent to be added to the Slack workspace.

  • Agent Interaction 1s

    The agent processes user queries by utilizing 'tool calls' to find answers, and the full execution trace is visible in the LangSmith Studio dashboard.

  • Trigger Logic 3s

    Setting 'trigger on all messages' (if enabled) allows the agent to respond to any message in the channel, regardless of whether the agent was directly tagged, making it useful for always-on support channels.

Mentioned resources

Channel & topics

Watch on YouTube · Back to latest

This independent, AI-assisted summary is provided for commentary and informational purposes. It may contain errors or omit important context. Please watch the original video for the creator's complete presentation. Video, thumbnail, and related copyrights belong to their respective owners.