langchain-ai

langchain-ai/deepagents

Python MIT AI & ML

The batteries-included agent harness.

26k stars
3.6k forks
active
GitHub +442 / week

26k

Stars

3.6k

Forks

182

Open issues

30

Contributors

AI Analysis

Deep Agents is an open-source agent framework that provides a production-ready harness for building LLM-based agents with tool use, built on LangGraph and supporting any model with tool-calling capabilities. It's specialized for developers building multi-step autonomous agents with features like sub-agents, filesystem access, context management, and persistent memory—best suited for teams building AI agent applications rather than general-purpose LLM usage.

AI & ML AI Framework Discovery value: 3/10
Documentation 8/10
Activity 10/10
Community 9/10
Code quality 5/10

Inferred from signals mentioned in the README (tests, CI, type safety) — not a review of the actual code.

Overall score 8/10

AI's overall editorial judgment — not an average of the bars above, can weigh other factors too.

agent-framework llm-tools langgraph autonomous-agents multi-step-planning
Actively maintained Well documented MIT licensed Popular Beginner friendly Production ready
Deep Analysis · Based on README and public signals
3w ago

LangChain's opinionated agent harness bundles filesystem, memory, and sub-agents out of the box

Deep Agents is a high-level Python (and TypeScript) agent harness built on LangGraph that ships with batteries included: filesystem access, shell execution, sub-agent delegation, context summarization, persistent memory, and human-in-the-loop controls. It targets developers who want a capable, production-ready agent without assembling all the middleware themselves. Built by the LangChain team, it integrates natively with LangSmith for observability. It sits one layer above LangChain's create_agent and two layers above LangGraph, offering opinionated defaults while remaining override-friendly.

Origin

Created July 2025 by the LangChain organization, likely as a response to the popularity of agentic coding tools like Claude Code and Cursor. It appears to consolidate patterns that LangGraph users were assembling manually into a first-class product.

Growth

Reached ~25K stars in roughly 11 months, suggesting a strong initial launch spike driven by the LangChain brand and developer appetite for ready-made agent harnesses. Current 7-day star velocity (41 stars) is modest, indicating the post-launch surge has normalized. The companion JS repo at 1.3K stars suggests Python is the primary surface.

In production

The README explicitly claims production-readiness and references a LangGraph-backed deployment guide. A pre-built CLI coding agent ('Deep Agents Code') is offered as a concrete production artifact. PyPI download badge is present but exact counts are not shown in the README excerpt. Real-world production adoption at scale is not independently verified from the available metadata alone.

Code analysis
Architecture

Appears to be a layered abstraction: LangGraph provides the graph runtime, LangChain's create_agent provides a minimal harness, and Deep Agents adds orchestration middleware on top. Likely exposes a create_deep_agent factory function that returns a LangGraph CompiledStateGraph. Sub-agents are probably nested CompiledStateGraphs. Filesystem, shell, and memory features are likely implemented as pluggable tool/backend abstractions. Architecture appears modular by design — any layer can reportedly be swapped without forking.

Tests

not documented in README

Maintenance

Last push was 2026-06-20, one day before the evaluation date — indicating active daily development. The project is less than a year old and shows consistent recent activity. 3,507 forks suggest meaningful downstream usage and contribution interest. Maintained by the same team as LangGraph and LangChain, which are themselves actively maintained.

Honest verdict

ADOPT IF: you are building production agents in Python within the LangChain ecosystem and want filesystem, memory, sub-agents, and human-in-the-loop controls without assembling them from primitives. AVOID IF: you need fine-grained control over the agent loop itself, are outside the LangChain ecosystem, or are on a non-Python stack without committing to the JS companion library. MONITOR IF: you are currently using raw LangGraph and are accumulating middleware that overlaps with what Deep Agents bundles — migration may become worthwhile as the project matures.

Independent dimensions

Mainstream potential

6/10

Technical importance

7/10

Adoption evidence

4/10

Risks
  • Ecosystem lock-in: tightly coupled to LangChain, LangGraph, and LangSmith; switching away later may require significant refactoring.
  • Opinionated defaults may conflict with production requirements not anticipated by the harness, and overriding multiple layers adds complexity.
  • The project is less than a year old; API surface and default behaviors may still change significantly before stabilizing.
  • Modest current star velocity (41/week) suggests growth has plateaued; long-term community momentum is uncertain relative to more established alternatives.
  • Production adoption at scale is not independently verified; the 'production-ready' claim is self-reported in the README without third-party evidence in the available metadata.
Prediction

Likely to become the standard entry point for LangChain-ecosystem agent projects, gradually absorbing patterns from open_deep_research and similar repos. Mainstream breakout beyond the LangChain ecosystem appears less certain.

0 found this helpful

Newsletter

Get analyses like this every Monday

Free weekly digest of the most interesting open-source discoveries.

Languages

Python
99%
Shell
0.7%
Makefile
0.2%
JavaScript
0.1%

Information

Language
Python
License
MIT
Last updated
8h ago
Created
12mo ago
Analyzed with
anthropic/claude-haiku-4-5

Stars over time

Loading…

Contributors over time

Top 100 contributors only — repos with more will plateau at 100.

Loading…

Similar repos

langchain-ai

langchain-ai/deepagentsjs

Deep Agents is a TypeScript agent harness that provides a pre-configured,...

1.4k TypeScript AI & ML
langchain-ai

langchain-ai/langchain

LangChain is a Python (and JS/TS) framework for building LLM-powered...

141.5k Python AI & ML
langchain-ai

langchain-ai/langgraph

LangGraph is a low-level orchestration framework for building stateful,...

37k Python AI & ML
langchain-ai

langchain-ai/open_deep_research

Open Deep Research is an open-source deep research agent built with LangGraph...

12k Python AI & ML
langchain-ai

langchain-ai/langgraphjs

LangGraph is a low-level orchestration framework for building stateful,...

3.1k TypeScript AI & ML
vs. alternatives
LangGraph (langchain-ai/langgraph)

LangGraph is the underlying runtime. Deep Agents is not a competitor — it is a higher-level opinionated layer on top. Developers needing custom graph topologies should stay at LangGraph; those wanting a working agent out of the box may prefer Deep Agents.

OpenAI Agents SDK

OpenAI's SDK offers a similar 'batteries-included' agent harness but is tightly coupled to OpenAI models. Deep Agents is model-agnostic and integrates with local/open-weight models, giving it an edge for teams not committed to OpenAI.

Microsoft AutoGen

AutoGen focuses on multi-agent conversation patterns and is more research-oriented. Deep Agents targets production deployments with explicit filesystem, memory, and human-in-the-loop infrastructure. Different primary audience and design philosophy.

CrewAI

CrewAI emphasizes role-based multi-agent crews with a high-level declarative API. Deep Agents offers finer-grained extensibility and tighter integration with the LangChain/LangSmith observability stack. Likely overlapping audience with different integration preferences.

Anthropic Claude Code / Cursor

These are end-user products, not developer libraries. Deep Agents Code (the CLI) competes in the same user-facing space, but deepagents-the-library is for developers building their own agents, not end users consuming a pre-built one.