langchain-ai

    langchain-ai/deepagents

    The batteries-included agent harness.

    31.1K stars
    4.4K forks
    140 GitHub watchers
    Updated Nov 10, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest today, with 171 contributors on GitHub.

    Peaked at #3 in the weekly ranking the week of Mar 15, its best in the past year.

    Use Cases & Benefits

    • Implements a Python package to create deep agents that plan, decompose tasks, manage context, spawn subagents, and use long-term memory for complex workflows.
    • Provides a modular middleware architecture enabling flexible integration of planning, filesystem, and subagent capabilities to handle complex, multi-step tasks efficiently.
    • Use for building expert research agents that perform iterative web searches and generate detailed reports with adaptive task planning.
    • Use for developing AI assistants that manage large context by offloading data to a filesystem and spawning specialized subagents for isolated subtasks.
    • Use for creating customizable multi-agent systems with human-in-the-loop approval workflows and extendable middleware for domain-specific tool integration.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Using an LLM to call tools in a loop is the simplest form of an agent. This architecture, however, can yield agents that are “shallow” and fail to plan and act over longer, more complex tasks.

    Applications like “Deep Research”, "Manus", and “Claude Code” have gotten around this limitation by implementing a combination of four things: a planning tool, sub agents, access to a file system, and a detailed prompt.

    deepagents is a Python package that implements these in a general purpose way so that you can easily create a Deep Agent for your application. For a full overview and quickstart of deepagents, the best resource is our docs.

    Acknowledgements: This project was primarily inspired by Claude Code, and initially was largely an attempt to see what made Claude Code general purpose, and make it even more so.

    (To run the example below, you will need to pip install tavily-python).

    Make sure to set TAVILY_API_KEY in your environment. You can generate one here.

    See examples/research/research_agent.py for a more complex example.

    The agent created with create_deep_agent is just a LangGraph graph - so you can interact with it (streaming, human-in-the-loop, memory, studio) in the same way you would any LangGraph agent.

    Excerpt from the langchain-ai/deepagents README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Aug 28: +43

    +3,434 stars over 89 days across 9 snapshot days; best day +43 on Aug 28.

    Forks

    4.4K+535

    Open issues

    240+39

    Compared with peers in AI

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    langchain-ai/deepagents compared with AI repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    D4Vinci/Scrapling101.1K+6.3K756 days ago
    thedotmack/claude-mem115.8K+4.7K75today
    heygen-com/hyperframes82.3K+4.0K75today
    harry0703/MoneyPrinterTurbo142.0K+3.8K753 days ago
    github/spec-kit149.2K+2.6K75today
    langchain-ai/deepagents31.1K—45today
    Category median115.8K+4.0K75—

    Also by langchain-ai

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description