---
title: "LangChain’s Managed Deep Agents gives each user their own credentials and memory"
canonical: "https://aiaulis.com/en/juttu/langchain-s-managed-deep-agents-gives-each-user-their-own-credentials-5c2943ae90d1/"
language: "en"
published: "2026-10-21T04:04:34.203400+00:00"
publisher: "AI Aulis"
label: "AI GENERATED"
---

# LangChain’s Managed Deep Agents gives each user their own credentials and memory

**AI GENERATED** · Written by AI

x.com, docs.langchain.com · 5 sources · Sources published: 20–21 October 2026 · Some source publication dates are unknown

LangChain’s Managed Deep Agents runs the company’s open-source Deep Agents harness on the LangSmith platform. When many people use the same agent, each of them gets their own credentials and their own memory.

LangChain now also offers its open-source Deep Agents harness as a service, with the company’s LangSmith platform running the agent. A harness is the program that controls an agent: it gives the model its tools and runs each step of the work.

LangChain’s Harrison Chase described the difference on X on 20 October. In Chase’s words, Deep Agents is the harness, or the agent loop. Managed Deep Agents, Chase wrote, adds what is needed once many people use the same agent: each user gets their own credentials and their own memory.

LangChain’s documentation says developers write the agent as files in a single folder. In agent.py the developer chooses the model and settings, instructions.md holds the system prompt, the skills folder holds task-specific instructions known as skills, and the tools folder holds tools and connections to MCP servers. When the developer uploads the folder with the mda command-line tool (CLI), the agent starts on LangSmith Agent Server, and the developer does not need to maintain any servers.

The developer defines multi-user support in identity.py: every user who calls the agent gets their own private threads, memory and credentials. The agent connects to external services through OAuth, so end users authorise access to their own accounts themselves. The developer does not need to obtain credentials for each user separately. In the same way, the developer uses files to define the sandbox where the agent runs the code it writes, as well as persistent memory, messaging channels such as Slack, and scheduled runs.

The service does not introduce a second framework. It runs the same open-source Deep Agents harness, so developers do not need to learn a new API. In the code, the documentation says, the difference lies in who assembles the agent. The create_deep_agent function returns a finished agent, and the developer is responsible for its backend, storage and server. The define_deep_agent function returns a definition, which the service’s managed runtime then assembles. Developers who want to run the agent themselves should stay with Deep Agents, the documentation advises.

Chase also shared a post by X user Josh Rosen. Rosen wrote that the service’s big advantage over the managed harnesses from OpenAI and Anthropic is that it is not tied to a single model: developers can switch between models from different providers without changing the agent’s structure. The claim is Rosen’s, and Rosen does not back up the comparison in any more detail in the post. In the examples in the Deep Agents documentation, the same code works with models from Google, OpenAI and Anthropic, for example, as well as through OpenRouter, Fireworks, Baseten and Ollama.

On the same day, Chase commented on a write-up about the managed harness that Ramp uses internally. In the excerpts Chase picked out, Ramp justified its own approach by citing model and vendor independence and its own monitoring system, among other reasons, and Chase agreed with this reasoning. Ramp’s Connectors Service brings authentication, credential management, access control and tool execution together behind a single interface. Chase said LangChain is giving a lot of thought to the same issues as it develops Managed Deep Agents. Chase also said LangChain is currently changing Deep Agents so that agents would run in the background by default instead of blocking other work. Developers can already use asynchronous subagents, which run in parallel and can be steered mid-task, the documentation says.

## What this is based on

1. [deep agents is the harness - the agent loop managed deep agents adds what you need once lots of people call the same agent: each user's own credentials and their own…](https://x.com/hwchase17/status/2112602732984938689)
   hwchase17 · Publisher: x.com · published 20 October 2026 at 20:51 (UTC+03:00) · retrieved 21 October 2026 at 04:46 (UTC+03:00) · discovery channel: X
2. [x.com](https://x.com/hwchase17/status/2112619852905034189)
   Josh Rosen · Publisher: x.com · published 20 October 2026 · retrieved 21 October 2026 at 05:32 (UTC+03:00) · discovery channel: X
3. [this is great deepdive into what a managed harness looks like! some quick thoughts while reading: - many diff types of agents built on it. doesnt surprise me - a lot of agents look very similar…](https://x.com/hwchase17/status/2112650555852275951)
   hwchase17 · Publisher: x.com · published 21 October 2026 at 00:01 (UTC+03:00) · retrieved 21 October 2026 at 04:46 (UTC+03:00) · discovery channel: X
4. [Deep Agents overview - Docs by LangChain](https://docs.langchain.com/oss/python/deepagents/overview)
   Publisher: docs.langchain.com · source publication time unknown · retrieved 21 October 2026 at 05:32 (UTC+03:00) · discovery channel: web
5. [Managed Deep Agents - Docs by LangChain](https://docs.langchain.com/langsmith/python/managed-deep-agents-overview)
   Publisher: docs.langchain.com · source publication time unknown · retrieved 21 October 2026 at 05:32 (UTC+03:00) · discovery channel: web

Canonical: <https://aiaulis.com/en/juttu/langchain-s-managed-deep-agents-gives-each-user-their-own-credentials-5c2943ae90d1/>

---

AI Aulis is a newspaper written and checked by artificial intelligence. No human reads the stories before publication, and AI can make mistakes: check important facts in the story's original sources. Publisher: Fiquan Holding Oy. Responsible editor: Jukka Haikala.
