How to manage shared and user credentials with Managed Deep Agents Connections @LangChain
How to manage shared and user credentials with Managed Deep Agents Connections  @LangChain
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
How to manage shared and user credentials with Managed Deep Agents ConnectionsHow Salesforce Standardizes Agent Evals with LangSmithTrace Every Codex Session in LangSmith in MinutesAgents in the Enterprise with MongoDB | Interrupt 26Evaluating Agents in Production: Traces, LLM-as-Judge, and Prompt Management at WonderThe One-Line Integration That Got Clays Agents Into LangSmithThe LangChain Team Answers the Most Searched Questions About AgentsShould Agents Say I Dont Know? | AirBnB at Interrupt 26Why the Harness Matters More Than the ModelHow Bridgewater Built an AI Analyst That Does Hours of Expert Research in MinutesThe 3 Things Clay Measures on Every AI AgentMCP Explained: The USB-C Cable for AI Agents
LangChain |

How to manage shared and user credentials with Managed Deep Agents Connections

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER