# langchain-ai/deepagentsjs

The batteries included agent harness.

Repository: https://github.com/langchain-ai/deepagentsjs
Canonical: https://ross.abutalabs.com/products/deepagentsjs
Homepage: https://docs.langchain.com/oss/javascript/deepagents/overview
Language: TypeScript
License: MIT
License Family: permissive
Topics: ai, deepagents, langchain, langgraph
Last push: 2026-08-26T16:38:34+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 86, longevity 28
- inputs: {"age_days": 394, "days_push": 7, "days_rel": 12, "gap_med": 0.0, "n_releases_24m": 121}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1507, forks 262 (observed 2026-08-28T04:04:55.146626+00:00)

## What it is
Deep Agents (deepagentsjs) is a TypeScript library from LangChain for building controllable LLM-powered agents on top of LangGraph. It provides a batteries-included agent harness with built-in file system tools for context management, subagent spawning, task planning, long-term memory, and human-in-the-loop approval.

## Use cases
- build ai agents that plan and execute multi-step tasks
- spawn subagents with isolated context windows
- give agents file system read/write tools for context management
- build a research agent that writes reports
- add human approval checkpoints to agent workflows
- run background subagent tasks while user keeps chatting
- build agents with long-term memory and skills

## When to choose
- you want a batteries-included agent harness instead of assembling LangGraph primitives yourself
- your agent needs subagent delegation, planning, and file-based context offloading
- you're already in the LangChain/LangGraph JavaScript ecosystem
- you need human-in-the-loop pauses at critical decision points

## When to avoid
- you need a simple single-prompt LLM call with no tooling
- you're not using a model that supports tool calling
- you want a Python agent framework (use the Python deepagents package instead)
- you need fully managed agent hosting rather than a code library

## Facets
- artifact type: library
- maturity: active
- function: agent-framework, llm-inference, prompt-engineering, rag
- domain: artificial-intelligence, large-language-models, developer-tools
- platform: cross-platform
- tags: deep-agents, subagents, agent-harness, file-system-tools, context-management, human-in-the-loop, langgraph, task-planning, long-term-memory, ai-agents, nodejs, typescript

## Member repositories
- langchain-ai/deepagentsjs (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:55.146626+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:32:37.193328+00:00, confidence not recorded.
  - readme: https://github.com/langchain-ai/deepagentsjs (fetched 2026-08-28T04:04:55.146626+00:00, sha c70bcf6c702b)
  - homepage: https://docs.langchain.com/oss/javascript/deepagents/overview (fetched 2026-08-29T11:37:17.040523+00:00, sha 884e6d5b800f)
  - site_page: https://docs.langchain.com/ (fetched 2026-08-29T11:37:17.043565+00:00, sha e6cbe67a291c)
  - site_page: https://docs.langchain.com/oss/javascript/integrations/providers/overview (fetched 2026-08-29T11:37:17.045279+00:00, sha 7515eb0371ae)
  - site_page: https://docs.langchain.com/oss/javascript/deepagents/quickstart (fetched 2026-08-29T11:37:17.047291+00:00, sha 024d8daaf307)
  - site_page: https://docs.langchain.com/oss/javascript/releases/changelog (fetched 2026-08-29T11:37:17.049312+00:00, sha c721685caee9)
  - site_page: https://docs.langchain.com/langsmith/observability-quickstart (fetched 2026-08-29T11:37:17.051366+00:00, sha e2173e54f36b)
  - site_page: https://docs.langchain.com/oss/javascript/integrations/middleware (fetched 2026-08-29T11:37:17.053240+00:00, sha 92cd5d6dbea6)
  - site_page: https://docs.langchain.com/use-these-docs (fetched 2026-08-29T11:37:17.054923+00:00, sha 5ab7220bb555)
  - registry_npm: https://registry.npmjs.org/deepagentsjs (fetched 2026-08-29T11:37:17.064908+00:00, sha 0be86f2fb223)
- Data as of 2026-08-30T08:39:29.467469+00:00.
