DeepAgents is LangChain's open-source agent harness for building AI agents with planning, sub-agents, and context management out of the box.
DeepAgents is an open-source agent harness from LangChain that gives you a production-ready AI agent out of the box. Where LangGraph provides the graph runtime and LangChain’s create_agent provides a minimal scaffold, DeepAgents bundles the full stack on top: built-in planning, filesystem access, sub-agent delegation, automatic context compression, and persistent cross-session memory. The whole thing ships from a single pip install and a one-function call to create_deep_agent(), and it works with any LLM that supports tool calling. For AI developers building long-horizon tasks, research pipelines, coding agents, and multi-step automation workflows, DeepAgents removes weeks of infrastructure wiring and lets you focus on what your agent actually needs to do.
DeepAgents is built on LangGraph, a graph-based runtime for stateful AI applications. When you call create_deep_agent(), you get back a compiled LangGraph state machine that is ready to invoke, stream, or deploy. A configurable middleware pipeline intercepts every model call and tool execution, routing operations through a pluggable backend protocol. That protocol is what lets the same agent code run locally, in a remote cloud sandbox, or in any environment you choose.
Here is how a typical agent run plays out:
write_todos tool to break the task into subtasks. It tracks progress against this plan and revises it as new information arrives.task tool. Sub-agents are themselves full LangGraph graphs and can be fully customised.The framework ships with partner sandbox integrations for Modal, Daytona, and Runloop, plus a JavaScript port at deepagentsjs for TypeScript environments.
deepagents-code CLI (dcode) ships a pre-built version of this that works with any LLM.LangGraph is the graph runtime and LangChain's create_agent is a minimal harness on top of it. DeepAgents is a more opinionated layer above that, bundling filesystem access, sub-agent delegation, context management, and skills so you do not have to wire them up yourself. All three layers compose and interoperate freely.
Yes. Any model that supports tool calling works with DeepAgents, including frontier APIs from OpenAI, Anthropic, and Google, open-weight models hosted on providers like Fireworks or Baseten, and locally run models via Ollama, vLLM, or llama.cpp. Pass any LangChain chat model into create_deep_agent to swap providers.
Yes. DeepAgents runs on LangGraph, which handles streaming, persistence, and checkpointing for production deployments. Pair it with LangSmith for tracing, evaluation, and monitoring. The framework also supports remote execution sandboxes via Modal, Daytona, and Runloop so code runs in a fully isolated environment.
LangChain is an open-source framework for building AI agents and LLM applications, with 1000+ integrations for any model or tool.
FrameworkLlamaIndex is an open-source data framework that connects large language models to your own documents, databases, and APIs.
FrameworkVercel AI SDK is a free, open-source TypeScript toolkit that lets developers build AI-powered apps and agents across any model provider.
FrameworkPydantic AI is a Python-native agent framework built by the Pydantic team for building type-safe, production-ready LLM applications and agents.
FrameworkUpdates from the AI world — what shipped, what we’re using in production, and what’s worth your attention. Two emails a month, no spam.