Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Vladislav Nechakhin e80b3af2c8
fix(deps): bump follow-redirects to 1.16.2 (#1033)
Fixes SEC-5138 by raising the existing pnpm override so every transitive
`follow-redirects` (via `axios`) resolves to 1.16.2.

- `pnpm-workspace.yaml`: `follow-redirects@<1.16.1: 1.16.1` →
`follow-redirects@<1.16.2: 1.16.2`
- `pnpm-lock.yaml`: regenerated with pnpm 10.29.2 (`pnpm install
--lockfile-only`); only `follow-redirects` changed, 1.16.1 → 1.16.2, and
no other copy remains.

## References
- [Slack
thread](https://langchain.slack.com/archives/D0C00MN8BR8/p1793898389994969)

Made by [Robin](https://github.com/langchain-ai/open-swe) · [view
thread](https://openswe.langchain.dev/agents/14fe9d11-d62a-5030-bdb9-76183a8bf9c6)
· anthropic:claude-opus-5-5 (medium)

Co-authored-by: Vladislav Nechakhin <vladislav-nechakhin@users.noreply.github.com>
Co-authored-by: Robin <open-swe@users.noreply.github.com>
2026-11-05 18:29:55 +00:00
.agents/skills feat: add eval harness and initial eval suites (#309) 2026-03-17 10:06:55 -07:00
.changeset fix(deepagents): clip long grep lines to a window around the match (#1027) 2026-11-04 15:47:59 -08:00
.github fix(acp): pin @agentclientprotocol/sdk to 1.x (#1028) 2026-11-04 15:31:23 -08:00
.vscode feat(deepagents): support new streaming features (currently experimental in LG.js) (#458) 2026-05-05 15:59:20 -07:00
evals build(deps): bump the minor-deps-updates-main group across 1 directory with 27 updates (#1020) 2026-11-01 16:37:46 -08:00
examples build(deps): bump the minor-deps-updates-main group across 1 directory with 27 updates (#1020) 2026-11-01 16:37:46 -08:00
internal/eval-harness build(deps): bump the minor-deps-updates-main group across 1 directory with 27 updates (#1020) 2026-11-01 16:37:46 -08:00
libs fix(deepagents): clip long grep lines to a window around the match (#1027) 2026-11-04 15:47:59 -08:00
scripts ci: route integration tests through LangSmith LLM Gateway (#697) 2026-07-20 16:28:01 -07:00
.codespellignore fix(skills): improve skills middleware input validation and add annotations (#211) 2026-02-10 19:37:56 -08:00
.env.example format: add eslint 2025-08-05 10:25:41 -04:00
.gitattributes refactor: colocate tests with implementations and add mode-based test runner (#90) 2026-01-08 18:21:44 -08:00
.gitignore ci: enforce sha-pinned github actions (#628) 2026-06-25 13:43:21 -07:00
.nvmrc feat(deepagents): reload skills when skillsMetadata is set to null (#862) 2026-09-17 17:39:40 +01:00
.oxfmtrc.jsonc chore: merge alpha into main (#404) 2026-04-01 17:10:16 -07:00
.oxlintrc.jsonc chore: merge alpha into main (#404) 2026-04-01 17:10:16 -07:00
AGENTS.md docs: add Corridor agent instructions (#779) 2026-08-24 14:41:55 -07:00
LICENSE chore: Fixes before release 2025-08-05 11:47:34 -07:00
package.json build(deps): bump the minor-deps-updates-main group across 1 directory with 27 updates (#1020) 2026-11-01 16:37:46 -08:00
pnpm-lock.yaml fix(deps): bump follow-redirects to 1.16.2 (#1033) 2026-11-05 18:29:55 +00:00
pnpm-workspace.yaml fix(deps): bump follow-redirects to 1.16.2 (#1033) 2026-11-05 18:29:55 +00:00
README.md fix(deepagents): update Readme.md (#107) 2026-01-10 21:15:33 -08:00
tsconfig.json chore: migrate to libs (#98) 2026-01-09 15:10:42 -08:00

The batteries-included agent harness.

npm version License: MIT TypeScript Twitter / X

Deep Agents is an agent harness. An opinionated, ready-to-run agent out of the box. Instead of wiring prompts, tools, and context management yourself, you get a working agent immediately and customize what you need.

What's included:

  • Planning — write_todos for task breakdown and progress tracking
  • Filesystem — read_file, write_file, edit_file, ls, glob, grep for working memory
  • Sub-agents — task for delegating work with isolated context windows
  • Smart defaults — built-in prompt and middleware that make these tools useful out of the box
  • Context management — file-based workflows to keep long tasks manageable

Note

Looking for the Python package? See langchain-ai/deepagents.

Quickstart

npm install deepagents
# or
pnpm add deepagents
# or
yarn add deepagents

Important

deepagents declares the LangChain runtime packages as peer dependencies so your app controls their versions and everything resolves to a single shared copy. npm 7+ and pnpm 8+ install these automatically; Yarn users must add them explicitly:

yarn add @langchain/core @langchain/langgraph @langchain/langgraph-checkpoint @langchain/langgraph-sdk langchain langsmith
import { createDeepAgent } from "deepagents";

const agent = createDeepAgent();

const result = await agent.invoke({
  messages: [
    {
      role: "user",
      content: "Research LangGraph and write a summary in summary.md",
    },
  ],
});

The agent can plan, read/write files, and manage longer tasks with sub-agents and filesystem tools.

Tip

For developing, debugging, and deploying AI agents and LLM applications, see LangSmith.

Runtime Entrypoints

deepagents now publishes environment-specific entrypoints:

  • deepagents - default Node.js/server entrypoint with the full API.
  • deepagents/browser - recommended browser entrypoint (no Node-only exports).
  • deepagents/node - optional explicit Node.js entrypoint (same full API as deepagents).
// Browser-safe usage
import { createDeepAgent, StateBackend } from "deepagents/browser";

// Node.js usage (recommended)
import { createDeepAgent, FilesystemBackend } from "deepagents";

// Optional explicit Node.js usage
// import { createDeepAgent, FilesystemBackend } from "deepagents/node";

Customization

Add tools, swap models, and customize prompts as needed:

import { ChatOpenAI } from "@langchain/openai";
import { createDeepAgent } from "deepagents";

const agent = createDeepAgent({
  model: new ChatOpenAI({ model: "gpt-5", temperature: 0 }),
  tools: [myCustomTool],
  systemPrompt: "You are a research assistant.",
});

See the JavaScript Deep Agents docs for full configuration options.

LangGraph Native

createDeepAgent returns a compiled LangGraph graph, so you can use streaming, Studio, checkpointers, and other LangGraph features.

Why Use It

  • 100% open source — MIT licensed and extensible
  • Provider agnostic — works with tool-calling chat models
  • Built on LangGraph — production runtime with streaming and persistence
  • Batteries included — planning, file access, sub-agents, and defaults out of the box
  • Fast to start — install and run with sensible defaults
  • Easy to customize — add tools/models/prompts when you need to

Documentation

Security

Deep Agents follows a "trust the LLM" model. The agent can do anything its tools allow. Enforce boundaries at the tool/sandbox level, not by expecting the model to self-police. See the security policy for more information.