LangChain

HTTP Channels for Managed Deep Agents

Sep 30, 2026LangChain
SummaryAI, from the source post

This post details how to build a custom HTTP channel for a Managed Deep Agent, enabling it to receive inbound requests from external services like HubSpot, Salesforce, or texting providers. It demonstrates this with an expense-reporting agent (Reflex) that processes receipt photos received via iMessage through Photon. Key technical contributions include: implementing verify and parse functions for incoming data, managing thread IDs per user for stateful interactions, utilizing a post hook for sending replies, and integrating with LangSmith for trace checking and Context Hub for durable memory. The post also discusses hashing phone numbers into durable user IDs and provides guidance on when to opt for HTTP channels versus custom UIs on the LangGraph SDK.

More from the Deep Agents Harness trail