
How to manage shared and user credentials with Managed Deep Agents Connections
LangChain9 September 2026Watch on YouTube
Part of series
Ep. 9 · Actually Agent Agents
View the seriesWhat you'll learn
- You learn the three ways to wire credentials into Managed Deep Agents
- Using the MDA connections CLI to create and retrieve agent-owned secrets
- How an OAuth flow through MCP runs automatically on the user's behalf
- Registering a custom OAuth app in the connections catalog for user-owned tokens
- You see how tools are built that use the user's token to run searches and create issues
Frequently asked questions
What is the downside of one hardcoded API key in an agent?
How do you store an agent-owned secret and retrieve it at runtime?
In which three ways can you wire credentials into a deep agent?
How is the OAuth flow for a user triggered?
Topics
In this video
Read next
World Summit AI keert in 2026 terug naar Amsterdam voor tiende editie
Op 7 en 8 oktober 2026 vindt in Amsterdam de tiende editie van de World Summit AI plaats, met meer dan 10.000 verwachte deelnemers, 300 sprekers en 100 exposanten. Het evenement wordt gehouden in Taets Art & Event Park en is onderdeel van de bredere World AI Week.
AI-agentframeworks winnen terrein nu modellen en platforms de markt rijper maken
Frameworks als LangChain, AutoGen en CrewAI worden steeds vaker ingezet voor complexe AI-workflows en multi-agentsystemen. Nieuwe modellen van Meta, Anthropic en het Chinese Meituan versterken die trend.
Een golf van nieuwe AI-agenttools kondigt zich aan rond begin september 2026
Rond 4 september 2026 werden meerdere nieuwe AI-agentframeworks en ontwikkelaarstools gelanceerd of bijgewerkt, van GitHub's multi-model orchestratiepreview HydraFusion tot gespecialiseerde tools voor locatiedata, beveiliging en gedeelde terminal-omgevingen.
World Summit AI keert na tien jaar terug naar Amsterdam met jubileumeditie
Op 7 en 8 oktober 2026 vindt in Amsterdam de tiende editie van World Summit AI plaats, met meer dan 10.000 verwachte bezoekers uit ruim 130 landen en meer dan 300 sprekers. Het evenement is het ankerpunt van World AI Week, die van 5 tot en met 9 oktober meer dan 100 nevenevenementen omvat.
Description from the channel
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: https://www.langchain.com/deep-agents → LangSmith: https://www.langchain.com/langsmith → LangChain Academy: https://academy.langchain.com