langchain-ai

    langchain-ai/deepagentsjs

    The batteries included agent harness.

    ai
    llm
    deepagents
    langchain
    langgraph
    TypeScript
    MIT
    1.6K stars
    288 forks
    1.6K GitHub watchers
    Updated Oct 27, 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 45 contributors on GitHub.

    Gained 30% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Implements a TypeScript framework for creating deep agents that plan, decompose tasks, manage context, and spawn subagents for complex AI workflows.
    • Provides built-in planning, filesystem interaction, subagent spawning, and long-term memory to enable sophisticated multi-step task execution beyond shallow tool calling.
    • Use for building AI researchers that perform thorough internet searches and generate detailed reports with adaptive task planning.
    • Use for developing multi-agent systems where subagents isolate context and specialize in subtasks to maintain clean main agent workflows.
    • Use for creating AI assistants that manage large context via file system tools and persistent memory to handle variable-length data and long conversations.

    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.

    💡 Tip: Looking for the Python version of this package? See here: langchain-ai/deepagents

    deepagents is a TypeScript package that implements these in a general purpose way so that you can easily create a Deep Agent for your application.

    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 npm install @langchain/tavily).

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

    See examples/research/research-agent.ts for a more complex example.

    The agent created with createDeepAgent 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/deepagentsjs 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

    Forks

    288+46

    Open issues

    118+57

    Compared with peers in AI

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

    langchain-ai/deepagentsjs compared with AI repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    thedotmack/claude-mem113.6K+8.8K35today
    D4Vinci/Scrapling98.1K+6.9K651 day ago
    Leonxlnx/taste-skill110.7K+5.2K551 day ago
    calesthio/OpenMontage77.2K+4.2K40—
    heygen-com/hyperframes79.6K+4.1K45today
    langchain-ai/deepagentsjs1.6K—45today
    Category median98.1K+5.2K45—

    Also by langchain-ai

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description