Why you'd want it
Deep Agents is LangChain's opinionated agent harness on top of LangGraph, with subagents that get isolated context windows, a filesystem over local, sandboxed or remote backends, shell access, summarization of long threads and human approval of tool calls. It works with any model that supports tool calling, including local models through Ollama, vLLM or llama.cpp, and accepts your own tools or MCP servers. A JS/TS version lives in a separate repo, deepagentsjs.
Best for
- Long-horizon, multi-step agents
- Teams already on LangChain or LangGraph
- Agents that need subagents and file access
Use it when
You want planning, subagents, files and context management working on day one, and still want to override any piece.
Skip it if
You need a custom control flow; LangGraph underneath gives you that directly. Its security model trusts the LLM, so you must enforce limits at the tool or sandbox level.