@LangChain: 50 million Deep Agents downloads, and counting! Get started: https://docs.langchain.com/oss/python/deepagents/overview…

X AI KOLs Timeline Tools

Summary

LangChain announces that Deep Agents has surpassed 50 million downloads, highlighting its agent harness capabilities including planning, virtual filesystem, subagent spawning, and long-term memory built on LangChain and LangGraph.

50 million Deep Agents downloads, and counting! Get started: https://docs.langchain.com/oss/python/deepagents/overview…
Original Article
View Cached Full Text

Cached at: 11/19/26, 11:42 AM

50 million Deep Agents downloads, and counting! Get started: https://docs.langchain.com/oss/python/deepagents/overview…


Deep Agents overview - Docs by LangChain

Source: https://docs.langchain.com/oss/python/deepagents/overview Deep Agents is theagent harnessfor complex, multi-step work. It adds planning, a virtual filesystem for context, subagent spawning, and long-term memory on top of LangChain and LangGraph.Start withManaged Deep Agentsto run production agents without having to manage infrastructure. Alternatively, for maximum flexibility while using the same Deep Agents harness, use theDeep Agents SDKand host agents yourself, or run a customAgent Server.

https://docs.langchain.com/oss/python/deepagents/overview#choose-how-to-run-deep-agentsChoose how to run Deep Agents

Deep Agents includes the following capabilities:

  • Take actions in an environment: Take actions via tools, read and write files, execute code
  • Connect to your data: Load memories, skills, and domain knowledge at the right moment
  • Manage growing context: Summarize history and offload large results across long runs
  • Parallelize tasks: Delegate to general or specialized subagents running in isolated context windows
  • Stay in the loop: Pause for human approval at critical decision points
  • Improve over time: Update memory, skills, and prompts based on real usage

Optional capabilities such astask planningandskillsextend the harness when your use case needs them. SeeCore capabilitiesfor a full breakdown of each component.

https://docs.langchain.com/oss/python/deepagents/overview#self-host-with-the-sdkSelf-host with the SDK

Use the open source SDK when you run the agent in your own process or container, need a custombackend, store, or checkpointer, or want anAgent Serveryou configure yourself. For managed deployment instead, seeManaged Deep Agents.

https://docs.langchain.com/oss/python/deepagents/overview#try-itTry it

https://docs.langchain.com/oss/python/deepagents/overview#quickstartQuickstart

See theQuickstartandCustomization guideto build with the SDK.

https://docs.langchain.com/oss/python/deepagents/overview#core-capabilitiesCore capabilities

Agent harness capabilities by categoryDeep Agents is an“agent harness”. It is the same core tool calling loop as other agent frameworks, but with built-in capabilities that make agents reliable for real tasks:

deepagentsis a standalone library built on top ofLangChain’s core building blocks for agents. It uses theLangGraphruntime for durable execution, streaming, human-in-the-loop, and other features.LangChainis the framework that provides the core building blocks for your agents. To learn more about the differences between LangChain, LangGraph, and Deep Agents, seeFrameworks, runtimes, and harnesses. For a side-by-side comparison with Anthropic’s harness, seeDeep Agents vs. Claude Agent SDK.For building custom agents without these built-in capabilities, consider using LangChain’screate\_agentor building a customLangGraphworkflow.

https://docs.langchain.com/oss/python/deepagents/overview#execution-environmentExecution environment

The execution environment is where an agent acts. It has four layers:

  • Tools: custom functions, APIs, and databases the agent can call
  • Virtual filesystem: file tools backed by pluggable backends
  • Filesystem permissions: declarative access control over which paths agents can read or write
  • Code execution: sandboxed shell execution and an in-process JavaScript interpreter

**Streaming**allows you to keep up with everything happening using typed event streams for messages, tools, values, and delegated tasks.

https://docs.langchain.com/oss/python/deepagents/overview#tools-and-mcpTools and MCP

Pass custom functions, LangChain tools, or tools from anyMCP serverwith thetools=parameter. Deep Agents fully support theModel Context Protocol (MCP), letting you connect to databases, APIs, file systems, and more through a standard interface.

For more information on defining custom tools, using MCP servers, and the full list of built-in harness tools, seeTools.

https://docs.langchain.com/oss/python/deepagents/overview#virtual-filesystem-accessVirtual filesystem access

The harness provides a configurable virtual filesystem which can be backed by differentpluggable backends: in-memory state, local disk, LangGraph store, composite routing, or a custom backend withpermission rulesfor read and write access.The backends support the following file system operations:

Supported multimodal file extensions

Running without the default filesystem tools

Restricting filesystem tools

The virtual filesystem is used by several other harness capabilities such as skills, memory, code execution, and context management. You can also use the file system when building custom tools and middleware for Deep Agents.For more information, seebackends. To generate a durable repository wiki that agents can read from the filesystem, seeOpenWiki.

https://docs.langchain.com/oss/python/deepagents/overview#filesystem-permissionsFilesystem permissions

The harness supports declarative permission rules that control which files and directories the agent can read or write. Permissions apply to the built-in filesystem tools listed above and are evaluated in declaration order with first-match-wins semantics.Define permissions by passing a list of rules topermissions=when creating the agent. Each rule includes:

  • operations:"read"and/or"write"
  • paths: Glob patterns for files or directories
  • mode:"allow"or"deny"

Rules are evaluated top to bottom, and the first matching rule wins. If no rule matches, the operation is allowed.This model lets you restrict agents to specific directories (for example,/workspace/), protect sensitive files such as\.envor credentials, and give subagents narrower access than the parent agent.Permissions do not apply tosandbox backends, which support arbitrary command execution via theexecutetool. For custom validation logic, usebackend policy hooks.For the full rule structure, examples, and subagent inheritance, seePermissions.

https://docs.langchain.com/oss/python/deepagents/overview#code-executionCode execution

Deep Agents supports code execution in two ways:

  • Sandbox backendsexpose anexecutetool for shell commands in an isolated environment.
  • Interpretersadd anevaltool that runs JavaScript in a scoped QuickJS runtime.

Use sandbox backends when the agent needs to install dependencies, run tests, call CLIs, or work with an operating-system filesystem. Sandbox backends implement theSandboxBackendProtocolV2; when detected, the harness adds theexecutetool to the agent’s available tools.Use interpreters when the agent needs a lightweight programmable layer for loops, batching, deterministic data transformations, or programmatic tool calling. Interpreters do not provide shell access, package installs, or filesystem and network access.For sandbox setup, providers, and file transfer APIs, seeSandboxes. For the QuickJS runtime and programmatic tool calling, seeInterpreters.

https://docs.langchain.com/oss/python/deepagents/overview#streamingStreaming

Event streamingexposes agent runs as typed projections for messages, tool calls, values, and output. Deep Agents addstream\.subagentsso each delegated task gets its own handle with independent message, tool-call, and nested subagent streams.

https://docs.langchain.com/oss/python/deepagents/overview#context-managementContext management

The context management component controls what the agent knows, how long it can operate within token limits, and what it retains across sessions. It has four layers:

  • Skills: on-demand domain knowledge loaded progressively from skill files
  • Memory: persistent instructions and preferences loaded at startup fromAGENTS\.mdfiles
  • Summarization and context offloading: automatic compression of conversation history and large tool results
  • Prompt caching: static prompt sections are cache-eligible to speed up inference and reduce cost on supported models

https://docs.langchain.com/oss/python/deepagents/overview#skillsSkills

Skills package specialized workflows, domain knowledge, and custom instructions for your deep agent.Each skill follows theAgent Skills standardand lives in a directory with aSKILL\.mdfile. Skills can also include scripts, templates, reference docs, and other supporting resources.Deep Agents load skills with progressive disclosure: the agent readsSKILL\.mdfrontmatter at startup, then reads full skill content only when a task needs it. This keeps startup context compact while still making rich capabilities available on demand.For more information, seeSkills.

https://docs.langchain.com/oss/python/deepagents/overview#memoryMemory

Memory gives your deep agent persistent context across conversations, such as coding style, preferences, conventions, and project guidelines.Memory usesAGENTS\.mdfilesthat you pass through thememoryparameter when creating the agent. Unlike skills, memory files are always loaded, and the content is stored in the configured backend (StateBackend,StoreBackend, orFilesystemBackend).The agent can also update memory based on interactions and feedback, so preferences and patterns can carry forward without needing to restate them in each thread.For configuration details and examples, seeMemory. To generate a repository wiki that coding agents discover throughAGENTS\.md, seeOpenWiki.

https://docs.langchain.com/oss/python/deepagents/overview#summarization-and-context-offloadingSummarization and context offloading

The harness manages context so deep agents can handle long-running work within token limits while keeping the most relevant information in scope.This context flow has four parts:

  • Input context: System prompt, memory, skills, and tool prompts define what the agent starts with.
  • Compression: Built-in offloading and summarization compress conversation history and large intermediate results.
  • Isolation: Subagents quarantine heavy subtasks and return only final results (seeDelegation).
  • Long-term memory: Persistent storage in the virtual filesystem carries information across threads.

Together, these mechanisms support multi-step tasks that exceed a single context window while reducing manual context trimming and token usage.For configuration details, seeContext engineering. For multimodal inputs and tool outputs, seeMultimodal.

https://docs.langchain.com/oss/python/deepagents/overview#prompt-cachingPrompt caching

For Anthropic and Amazon Bedrock models,create\_deep\_agentautomatically applies prompt caching to static sections of the system prompt—the base agent instructions, memory, and skill content that repeat on every turn. This avoids reprocessing the same tokens across calls, reducing both latency and cost on long-running agents.Prompt caching is enabled by default when using an Anthropic model, or a Bedrock model (Claude or Nova). No configuration is required.For other providers, seeMiddleware integrationsfor available provider-specific caching middleware.

https://docs.langchain.com/oss/python/deepagents/overview#delegationDelegation

The delegation component enables agents to break large problems into smaller, parallelizable units of work. It has two layers:

  • Task planning: an opt-inwrite\_todostool for structured task tracking
  • Subagents: ephemeral child agents that handle isolated subtasks

https://docs.langchain.com/oss/python/deepagents/overview#task-planningTask planning

Task planning is an opt-in harness capability that lets agents maintain a structured task list during execution.Starting in v0.7 task planning is opt-in only. In earlier versions, task planning middleware was included by default.Planning is often useful for:

  • Long or complicated multi-step tasks
  • Less capable models that benefit from an explicit accountability tool
  • UIs that stream progress from agent state (seeTodo list)

PassTodoListMiddlewareto the middleware parameter to give the agent awrite\_todostool for maintaining a structured task list during execution.

Tasks support status tracking ('pending','in\_progress','completed') and are persisted in agent state. This gives agents a lightweight planning layer for organizing long-running and multi-step work.For configuration options and behavior details, seeTo-do list.

https://docs.langchain.com/oss/python/deepagents/overview#subagentsSubagents

The harness includes a built-intasktool that lets the main agent create ephemeral subagents for isolated, long-running, multi-step, or parallel tasks. Two subagent types are available: synchronous subagents (the default) block the supervisor until they return a single report, andasync subagentsrun in parallel and support mid-flight steering via launch, check, update, and cancel tools.Subagent execution provides:

  • Isolated or inherited context: By default, each invocation creates a new agent instance with its own context (mode: "isolated"). Usemode: "fork"to inherit the parent’s full conversation history instead. SeeForked subagents.
  • Autonomous execution: The subagent runs independently until completion.
  • Single handoff: It returns one final report to the main agent.
  • Configurable strategy: Use thedefaultgeneral\-purposesubagent(enabled by default) or definecustom subagents.
  • Stateless messaging: Subagents are stateless and cannot send multiple messages back.
  • Context and token efficiency: Heavy subtask work stays isolated and is compressed into a compact result.

For more information, seeSubagents. To remove thetasktool, seeRunning without subagents.

https://docs.langchain.com/oss/python/deepagents/overview#steeringSteering

The steering component gives humans control over agent behavior at runtime and sets filesystem permissions for agent work.

https://docs.langchain.com/oss/python/deepagents/overview#human-in-the-loopHuman-in-the-loop

Deep Agents integrate with LangGraph interrupts so you can pause for approval on sensitive tool calls. Enable this behavior with theinterrupt\_onparameter increate\_deep\_agent.interrupt\_onaccepts a mapping of tool names to interrupt configurations. For example,interrupt\_on=\{"edit\_file": True\}pauses before every edit, letting you approve the call, add guidance, or modify tool inputs before execution.This gives you a runtime safety and control layer for destructive operations, expensive API calls, and interactive debugging.For more information, seeHuman-in-the-loop.

https://docs.langchain.com/oss/python/deepagents/overview#get-startedGet started


Sydney Runkle (@sydneyrunkle): deepagents just hit 50M downloads!!!

we started it a bit over a year ago, back before “harness” was an industry term

we bet on a provider agnostic, open source harness for production agents that can take on long running, complex work in any domain

Similar Articles

@LangChain: Everything you need to know about Managed Deep Agents:

X AI KOLs Timeline

LangChain announces Managed Deep Agents in private beta, a hosted API-first runtime for building, running, and operating deep agents in production, leveraging the open-source Deep Agents harness and integrating with LangSmith for durable execution, streaming, and human-in-the-loop workflows.

Managed Deep Agents is now in public beta (9 minute read)

TLDR AI

LangChain announces the public beta of Managed Deep Agents, a managed runtime for deploying and scaling Deep Agents without managing infrastructure. It supports Python/TypeScript, local testing, one-command deployment, and integrates with LangSmith for production features like persistence, sandboxes, and evals.