Deep Agents

LangChain harness that adds planning, a filesystem, and sub-agent delegation to any tool-calling LLM.

Open SourceSelf HostedOffline Capable
0.0 (0)

About

LangChain distilled the architecture behind coding and deep-research agents into deepagents, a harness that upgrades any tool-calling LLM into a long-horizon worker. On top of the LangGraph runtime it layers the ingredients such agents need: a planning tool that maintains a running todo list, a virtual filesystem plus sandboxed shell for reading, writing, and executing work products, sub-agent delegation so focused workers burn context in isolation, and automatic summarization that keeps long sessions inside the context window. Human-in-the-loop approval gates, persistent cross-session memory, MCP server support, and pluggable skills round out the package. Installation is pip or uv add deepagents for Python, with a parallel deepagents.js package for TypeScript, and the model layer swaps freely across frontier APIs, open-weight models, and self-hosted endpoints. MIT licensed with about 28k GitHub stars and documentation on LangChain's docs site, it has become one of the most widely adopted agent scaffolds of 2026.

Should you use Deep Agents?

Pick it when

Use deepagents when you need a long-horizon agent, such as deep research or multi-file coding, that plans with a todo list, writes to a filesystem, and delegates to sub-agents, on any tool-calling model including open-weight ones.

Look elsewhere when

It brings LangGraph and LangChain along as dependencies and concepts, which is heavy for a short single-turn tool caller. If you build only on Claude, the Claude Agent SDK gives a comparable harness; for small loops, use smolagents.

Alternatives to Deep Agents

  • Claude Agent SDK

    Same planning, file tools, and subagents taken straight from Claude Code's engine; a ready harness, but tied to Anthropic models.

  • DeerFlow

    Full application on the same LangGraph base, with web UI, sandboxes, and channels; more to deploy, less to build yourself.

  • LangGraph

    The underlying runtime without the opinionated harness; build your own agent shape if planning and a filesystem do not fit.

  • Prime Agent

    Recursive agents in a persistent IPython kernel with self-editing prompts; a finished CLI tool rather than a library.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Intermediate (3/5)
License
MIT
Added
Aug 24, 2026

Tags