Uploaded September 2026 | Updated November 2026, 1 day ago
Nathan Drezner, Product Manager at LangChain, walks through Connections for Managed Deep Agents.
Keep watching for three ways to wire credentials into a deep agent so it can act on real tools and data. He covers agent-owned secrets (one shared key), user-owned OAuth through MCP, and user-owned OAuth with a custom app, showing the MDA connections CLI, LangSmith Studio, and the OAuth flow that runs automatically on the user's behalf.
Chapters:
0:00 The problem with one hardcoded API key
0:30 Method 1: Agent-owned secrets (one shared key)
0:48 Creating a connection with MDA connections create
1:41 Pulling the secret at runtime with connections.get
2:15 Running the tool in LangSmith Studio
2:48 Method 2: User-owned OAuth through MCP
3:06 Connecting Linear's MCP server
4:07 Triggering the OAuth flow from Studio
5:23 Method 3: User-owned OAuth with a custom app
6:22 Registering the OAuth app in the connections catalog
7:32 Writing custom tools that use the user's token
8:25 Running search and create issue on the user's behalf
10:09 Getting started with the connections catalog
Resources:
→ Deep Agents: langchain.com/deep-agents
→ LangSmith: langchain.com/langsmith
→ LangChain Academy: academy.langchain.com
Nathan Drezner, Product Manager at LangChain, walks through Connections for Managed Deep Agents.
Keep watching for three ways to wire credentials into a deep agent so it can act on real tools and data. He covers agent-owned secrets (one shared key), user-owned OAuth through MCP, and user-owned OAuth with a custom app, showing the MDA connections CLI, LangSmith Studio, and the OAuth flow that runs automatically on the user's behalf.
Chapters:
0:00 The problem with one hardcoded API key
0:30 Method 1: Agent-owned secrets (one shared key)
0:48 Creating a connection with MDA connections create
1:41 Pulling the secret at runtime with connections.get
2:15 Running the tool in LangSmith Studio
2:48 Method 2: User-owned OAuth through MCP
3:06 Connecting Linear's MCP server
4:07 Triggering the OAuth flow from Studio
5:23 Method 3: User-owned OAuth with a custom app
6:22 Registering the OAuth app in the connections catalog
7:32 Writing custom tools that use the user's token
8:25 Running search and create issue on the user's behalf
10:09 Getting started with the connections catalog
Resources:
→ Deep Agents: langchain.com/deep-agents
→ LangSmith: langchain.com/langsmith
→ LangChain Academy: academy.langchain.com










