---
title: "Connections: managed credentials and per-caller identity for Managed Deep Agents"
description: "Connections in Managed Deep Agents (v0.7.0+) store named credentials in the LangSmith workspace instead of `.env` or the build, and tools fetch them at run time by slug via `connections.get()`."
url: "https://swe.quest/articles/connections-managed-credentials-and-per-caller-identity-for-managed-deep-agents-ce54a93aff5fdc9f"
canonical: "https://www.langchain.com/blog/connections-managed-credentials-and-per-caller-identity-for-managed-deep-agents"
source: "LangChain"
published: "2026-09-14"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 6
tags: ["ai-agents","identity-auth","llms"]
---

# Connections: managed credentials and per-caller identity for Managed Deep Agents

A post on [LangChain](https://swe.quest/sources/langchain.md), published 2026-09-14, 6 min read, Announcement. Original: [https://www.langchain.com/blog/connections-managed-credentials-and-per-caller-identity-for-managed-deep-agents](https://www.langchain.com/blog/connections-managed-credentials-and-per-caller-identity-for-managed-deep-agents)

## Summary

Connections in Managed Deep Agents (v0.7.0+) store named credentials in the LangSmith workspace instead of \`.env\` or the build, and tools fetch them at run time by slug via \`connections.get()\`. Each connection has an owner (agent or caller) and a credential type (static secret or OAuth grant), chosen independently. Agent-owned secrets suit shared capabilities like web search and can be rotated without redeploying. User-owned OAuth connections resolve per caller, so actions such as filing a GitHub issue carry the requesting user's identity. When grants are missing, the platform pauses the run with a single interrupt, so the project needs no callback route, token store or refresh logic, and MCP servers with dynamic client registration need only a URL.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Identity & auth](https://swe.quest/tags/identity-auth.md) (Security)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)

## Prerequisites

- OAuth 2.0 basics ([easy posts on Identity & auth](https://swe.quest/tags/identity-auth.md?difficulty=easy))
- LangChain tools
- Python async ([easy posts on Python](https://swe.quest/tags/python.md?difficulty=easy))

## Keywords

Managed Deep Agents, LangSmith, LangChain, OAuth, MCP, GitHub, Tavily, Linear

## Related posts

- [Managed Deep Agents delivers a better user experience for agents in production](https://swe.quest/articles/managed-deep-agents-delivers-a-better-user-experience-for-agents-in-production-3b6bfb172c71ce79.md): LangChain · 2026-10-08 · Medium · 8 min read · AI agents, Identity & auth, LLMs
  Managed Deep Agents 0.8 adds user-level memory, user-owned credentials, HTTP webhook channels, Slack file transfer and built-in Parallel web search.
- [The five components of building a "company harness"](https://swe.quest/articles/the-five-components-of-building-a-company-harness-32441ca325d05592.md): LangChain · 2026-11-17 · Easy · 5 min read · AI agents, Identity & auth, Sandboxing & isolation
  Internal company agents at LangChain (GTM Agent, OpenSWE, Content Studio) converge on five primitives for a multiplayer "company harness": living in Slack (with thread breakouts and a custom UI for backlogs), identity handled per tool as either on-behalf-of the user or fixed service credentials, two-tier global and per-user memory, sandboxed code execution with a secret proxy for authenticated requests, and scheduled or event-triggered runs.
- [Managed Deep Agents v0.10: Browser Use and Async Subagents](https://swe.quest/articles/managed-deep-agents-v0-10-browser-use-and-async-subagents-caa80843ada4cda7.md): LangChain · 2026-11-07 · Medium · 6 min read · AI agents, LLMs
  Managed Deep Agents v0.10 adds browser use, so agents can operate websites without APIs, and async subagents that run long tasks in the background while the orchestrator keeps talking to the user.
- [What's New in Managed Deep Agents: schedules, per-run configuration, and Slack reactions](https://swe.quest/articles/what-s-new-in-managed-deep-agents-schedules-per-run-configuration-and-slack-e27b691eaef19a3a.md): LangChain · 2026-10-07 · Medium · 4 min read · AI agents, Configuration management, Communications
  Managed Deep Agents v0.9 adds three features: a Schedules SDK, per-run agent configuration, and Slack reactions.
- [Our approach to building the Agent Interaction SDK](https://swe.quest/articles/our-approach-to-building-the-agent-interaction-sdk-9a9972a058846fdd.md): Linear · 2025-08-01 · Medium · 7 min read · AI agents, API design, Identity & auth, Product engineering
  Linear integrates AI agents into its workspace as first-class users through a new OAuth actor mode (actor=app), which creates a dedicated agent user with its own token, developer-requested scopes and admin-controlled team access.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
