Deep Agents
Read the two badges separately: the first is whether this page is backed by evidence, the second is whether the product is still maintained. An archived product can have complete evidence; complete evidence does not mean the product is active.
30-second check: should it make your shortlist?
Deep Agents is a general-purpose agent harness from LangChain. It ships with…
Local / self-hosted · Framework / SDK
Open licence
Read the original licence before commercial useDirect in mainland · Not in filing list
These four cards help you rule things out, not decide for you. The real differences are in the eight questions and sources below.
Information not confirmed
- LangSmith accompaniment (the README recommends pairing with it, but commercial terms not itemized; quotes not collected by this site per the price-recording policy)
- The concrete options and isolation strength of sandbox backends
- How the interrupt / follow-up-question mechanism is exposed on Deep Agents
- Whether Deep Agents Code shares this repository's license
- File-lock strategy under multi-agent concurrency
Deep Agents is a general-purpose agent harness from LangChain. It ships with filesystem, sub-agents, context management and skills already in place, so it runs out of the box. The official description is "batteries-included agent harness". It is built for long, multi-step tasks, and anything in that pre-bundled layer can be swapped without changing code. The security chapter states the agent follows a "trust the LLM" model and can do anything its tools allow; boundaries must be enforced at the tool/sandbox level, not by expecting the model to self-police. LangGraph is the graph runtime, LangChain's create_agent is a minimal harness on top of it, and Deep Agents is a more opinionated harness on top of create_agent.
When to use it, when not to
Fits: you want a general agent that works out of the box, is tuned by default, and targets long multi-step tasks. You do not want to assemble filesystem, memory and sub-agents yourself. You are already in the LangChain ecosystem.
Not a fit: needing fine-grained permission guardrails — the official docs state these are not provided, so you must build your own sandbox. Needing strict control of the agent loop shape — use a custom LangGraph graph. Wanting a lightweight harness — use LangChain create_agent.
China availability domestic / direct access / CAC filing · snapshot 2026-10-23
- Origin
- foreign-made foreign entity (no matching filing entity in the CAC registry).
- Direct access
- direct OK Hosted on GitHub — direct reachability from mainland fluctuates (200/000 mixed on the same day); npm / PyPI install routes measured stable.
- CAC filing
- not in filing list:not in the CAC public registry (13 batch attachments searched 2026-10-20, https://www.cac.gov.cn/2024-04/02/c_1713729983803145.htm); the product does not serve the mainland public, so filing does not apply.
Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.
8 questions, one table
8 questions, each comparable item by item with its peers.
- Model & openness
Officially self-described as model-agnostic, listed as one of four principles in the README.
Official wording: "Model-agnostic — works with any LLM that supports tool calling: frontier, open-weight, or local"
The FAQ elaborates: any model supporting tool calling works. Including:
- frontier APIs (OpenAI / Anthropic / Google)
- provider-hosted open weights (Baseten / Fireworks)
- models self-hosted via Ollama / vLLM / llama.cpp
The integration path is any LangChain chat model. Switching providers requires no agent-code changes.
- Where it runs
It is a library, not a service — you operate the process yourself.
The README states it is built on LangGraph (streaming, persistence, checkpointing). LangSmith can additionally be configured for tracing/evaluation/deployment.
Responsibility split of the agent loop:
- model decisions and tool calls run on the LangGraph runtime
- Deep Agents presets planning, context management, sub-agent delegation
- Local files
Filesystem capability is the core selling point: read / write / edit / search.
Its backends are pluggable (pluggable local, sandboxed, or remote backends). The official docs also have a standalone Sandboxes page covering isolated execution environments and the
executetool (SandboxBackendProtocolV2; only sandbox backends expose a shell).Important boundary: the official security statement says verbatim "Enforce boundaries at the tool/sandbox level, not by expecting the model to self-police".
That is, the official docs explicitly do not provide a permission-guardrail layer; boundaries must be implemented by you at the tool/sandbox layer.
Not stated officially: conflict handling when multiple agents concurrently write the same file (overview / backends pages checked).
- Tasks after shutdown
Self-hosted = stops when stopped, no hosted execution option (the README makes no such promise).
But resume-after-crash has official support:
- built on LangGraph's persistence + checkpointing
- persistent memory (pluggable state and store backends for cross-session recall)
LangSmith separately provides deployment officially.
- Tools & extensions
The toolchain is positioned "batteries-included." Officially listed capabilities:
- Sub-agents — delegation with isolated sub-contexts
- Filesystem
- Shell access (run commands in your sandbox of choice)
- Skills — reusable behaviors loaded on demand
- Tools — your own functions or any MCP server
MCP support is explicit: the official docs list "bring your own functions or any MCP server".
Human-in-the-loop: tool calls can be approved / edited / rejected, happening before execution.
- Context & memory
The textbook case of this track's "state ≠ context" distinction.
- Context management = summarize long threads and offload tool outputs to disk (offloading, not discarding)
- Persistent memory = pluggable state and store backends, supporting cross-session recall
The official description: defaults are tuned for long-horizon, multi-step work.
Two practices coexist: compressing history + landing large tool outputs on disk + cross-session memory.
- Permissions & limits
The official docs explicitly do not defend against model overreach. Security section wording:
Official wording (three sentences quoted together): "Deep Agents follows a "trust the LLM" model." "The agent can do anything its tools allow." "Enforce boundaries at the tool/sandbox level, not by expecting the model to self-police."
Meaning: it follows a "trust the LLM" model; the agent can do anything its tools allow. Boundaries must be enforced at the tool/sandbox layer — do not expect the model to self-restrain.
The only built-in human intervention point is this:
human-in-the-loop tool-call approval (approve/edit/reject).
This means: after installing Deep Agents, the permission model is your responsibility.
- Best for
Fits three scenarios.
Wanting an out-of-the-box, well-tuned-by-default general Agent for long-horizon multi-step flows. Not wanting to assemble filesystem / memory / sub-agents yourself. Already in the LangChain ecosystem.
Does not fit three scenarios.
Needing fine-grained permission guardrails — the official docs say they do not provide them; you must build your own sandbox. Wanting strict control of the agent loop shape — use LangGraph custom graphs. Wanting a lightweight harness — use LangChain
create_agent.
Licence and terms of use
MIT
Top misconception
- Treating Deep Agents / LangChain / LangGraph as one thing — the official docs are explicit that these are three layers with different responsibilities (see
layer_position) - Reading "trust the LLM" as a product feature rather than a risk warning — the official text tells you to set boundaries at the tool/sandbox layer yourself
- Assuming open source means zero cost — model inference plus LangSmith (the officially recommended tracing/eval) both cost money
- Assuming the latest version is 0.7.0 — a competitor site snapshotted 0.7.0; it is actually 0.7.30 (rolling check 2026-10-23)
Evidence sources
Checked 2026-10-23,Content updated 2026-09-30。This is the date of the entry, not a claim that every field was rechecked that day.
| Type | Name | Link |
|---|---|---|
| repo | LangChain · Deep Agents repository | https://github.com/langchain-ai/deepagents |
| docs | Deep Agents official docs (overview) | https://docs.langchain.com/oss/python/deepagents/overview |
| docs | Deep Agents · Going to production | https://docs.langchain.com/oss/python/deepagents/going-to-production |
| docs | Deep Agents · Security policy (the "trust the LLM" statement verbatim) | https://github.com/langchain-ai/deepagents?tab=security-ov-file |
| docs | LangChain ecosystem relationship notes (how the three layers fit together) | https://docs.langchain.com/oss/python/concepts/products |
| changelog | Deep Agents Releases (0.7.20 @ 2026-09-29) | https://github.com/langchain-ai/deepagents/releases |
| docs | Deep Agents · Backends (pluggable filesystem backends, permission rules and boundaries, verified 2026-10-08) | https://docs.langchain.com/oss/python/deepagents/backends |
| docs | Deep Agents · Sandboxes (isolated execution environments, the execute tool) | https://docs.langchain.com/oss/python/deepagents/sandboxes |
Test notes
This site has not completed measured runs.
The test protocol is at protocols/framework/_protocol.md.
Suggested measurement (per the five test dimensions specific to this site's harness section):
| # | What to test | Why it is worth testing |
|---|---|---|
| 1 | How many files and lines a minimal hello agent takes | officially "batteries-included"; see how much the preset layer actually brings |
| 2 | Whether it can recover after interruption and where state is stored | officially promises persistence + checkpointing + persistent memory; the landing points need verifying |
| 3 | Tighten the sandbox to the max and see what tools can still do | the official docs hand boundary responsibility to users; this is the item most worth measuring |
| 4 | Two agents concurrently reading/writing the same directory | file-conflict policy not stated officially |
| 5 | How much changes when switching to an Ollama local model | officially model-agnostic; verify whether it really is zero-change |
Three-layer positioning (the one thing this track most needs made clear)
This is the easiest thing to mix up: Deep Agents, LangChain, LangGraph are three layers.
The three layers have different responsibilities.
The official FAQ directly answers a question: what is the difference among the three?
Asked about LangGraph vs LangChain, the official docs break the relationship down clearly.
| Layer | What it is | When to use |
|---|---|---|
| LangGraph | graph runtime (the lowest orchestration layer) | the agent loop shape is wrong for you and you need a custom graph |
LangChain create_agent | minimal agent harness | wanting a lighter harness without preset middleware |
| Deep Agents | on top of create_agent, presets filesystem / sub-agents / context management / skills | wanting a complete harness out of the box |
The three-layer relationship, official wording:
LangGraph is the graph runtime. LangChain'screate_agentis a minimal agent harness on top of it. Deep Agents is a more opinionated harness on top ofcreate_agent— same building blocks, but with filesystem, sub-agents, context management, and skills bundled in.
The official docs also give the selection rule (this is directly this site's selection answer):
Use Deep Agents when you want the full harness — planning, context management, delegation — out of the box. Use [LangChain's create_agent] when you want a lighter harness without the bundled middleware. Drop to [LangGraph] when the agent loop itself isn't the right shape and you need a custom graph.
Composability: the official docs state any LangGraph CompiledStateGraph can be passed to a Deep Agent as a sub-agent.
So it is not either/or. You can base on Deep Agents and use LangGraph graphs as sub-agents.
⚠ The item needing most attention: the official docs hand security responsibility to you
Security section wording:
Deep Agents follows a "trust the LLM" model. The agent can do anything its tools allow. Enforce boundaries at the tool/sandbox level, not by expecting the model to self-police.
This is not marketing language; it is a risk statement. After installing:
| Officially provided | Officially not provided |
|---|---|
| human-in-the-loop tool-call approval (approve / edit / reject before execution) | any permission guardrail beyond the sandbox boundary |
| pluggable sandbox backends (but you draw the boundary) | model self-restraint |
Practical conclusion: wanting to use it while worrying about overreach, you must tighten the sandbox yourself.
Do not assume safety is in place just because "it supports human-in-the-loop".
"State ≠ context": it uses three means at once
| Means | Official wording | Effect |
|---|---|---|
| summarize long threads | Context management | compresses long conversations |
| offload tool outputs to disk | Context management | lands large tool outputs on disk instead of stuffing them into context |
| persistent memory | pluggable state and store backends | cross-session recall |
The second item deserves special attention.
Offloading tool outputs to disk, rather than compressing them away.
This is closer to this site's stance on reliable long-running operation than simply "compressing history".
The official positioning is defaults tuned for long-horizon, multi-step work. The defaults are tuned for long tasks.
Model support: local models really can be connected
FAQ wording:
Yes. Any model that supports tool calling works — frontier APIs (OpenAI, Anthropic, Google), open-weight models hosted on providers like Baseten or Fireworks, and self-hosted models via Ollama, vLLM, or llama.cpp.
This is key for this site: the local quantized builds recommended by the model layer (models.specul.com) can also be connected.
See that site's series provider-compatibility notes.
Appendix: there is also a terminal edition
The README mentions Deep Agents Code — a prebuilt terminal coding agent.
Official positioning:
Official wording: "similar to Claude Code or Cursor, powered by any LLM"
⚠ This site does not collect it as a standalone object: it is a terminal-form product and belongs to the cli.specul.com section. It is recorded here because it shows Deep Agents' capabilities apply directly to coding scenarios.
Verification notes
Basis for confidence: partial (downgraded from verified on 2026-10-03):
Why downgraded: the subject of the ❌ items below is this site's evidence gap, not "not provided officially". Per the v3 rule "say unknown when unknown", marking verified while these items exist would be inflated, hence partial. Main gaps: LangSmith's accompanying commercial terms, LangGraph interrupt details, multi-agent concurrent file conflicts.
- ✅ Verified:
- repository exists and star count (30,517 · rolling check 2026-10-23)
- license verbatim (MIT, via the license API)
- latest version 0.7.30 (2026-10-22 releases)
- repository description verbatim, full README four principles and nine-feature list
- FAQ three-layer relationship verbatim, Security statement verbatim, provider-support scope verbatim, Quickstart code example
- ❌ Not verified:
- LangSmith's accompanying commercial terms (quotes not collected by this site per the price-recording policy)
- LangGraph interrupt details
- the concrete implementations and option list of sandbox backends
- the concrete API shape of
CompiledStateGraphas a sub-agent - Deep Agents Code's license (it may be another repository)
One secondhand-source deviation recorded specially: the competitor site (aiagentclash.com) 2026-09-28 snapshot recorded Deep Agents as 0.7.0, while GitHub releases actually had 0.7.20 (2026-09-29).
This confirms the v3 plan's rule "competitor research is methodology reference only, not a data source" is necessary.
Related entries
- LangGraphthe lower layer of the same ecosystem. LangGraph is the graph runtime Deep Agents depends on; the official FAQ explicitly distinguishes the two layers.
- LlamaIndex Frameworkalso an orchestration layer. But LlamaIndex centers on RAG / data connections; Deep Agents centers on a general agent harness.
- AmpOther layer · AI coding
Same-category peers
Look at these three before reading further
Selected by overlap in jobs, not ranked. Compare where it runs, licence and status first; if one of the three fails, skip it.
| Object | Where | Licence | Evidence / status | What it is for |
|---|---|---|---|---|
| AG2 | Local / self-hosted | Open licence | 8 questions checked Active | The community continuation of AutoGen after the original repo stalled. T |
| AgentScope | Local / self-hosted | Open licence | 8 questions checked Active | AgentScope is the flagship domestic multi-agent framework (Apache-2.0, A |
| Agno (formerly Phidata) | Local / self-hosted | Open licence | 8 questions checked Active | Agno (formerly Phidata) ships framework + control plane as one: define a |
Same vendor
More from LangChain
One vendor’s products are often split across categories. This list puts them together so you do not have to assemble them across five sites.
This page is generated from the ai-handbook data layer (CC BY 4.0).
For the judging criteria and method notes, see METHODOLOGY.md.