这是一个开源的智能体框架,主打“开箱即用”的完整方案。它内置了针对长周期、多步骤任务的默认配置,同时允许你自由扩展或替换任何模块。核心功能包括子智能体委派、文件系统读写、上下文管理、Shell命令执行和持久化记忆。它基于LangGraph构建,支持流式输出和断点续跑,并且兼容任何支持工具调用的LLM,无论是前沿模型还是本地部署的。安装使用很简单,直接作为依赖引入即可。适合需要快速搭建复杂AI工作流的开发者,尤其是那些需要多步骤协作、状态持久化的生产级应用场景。
查看英文原文
The batteries included agent harness. Deep Agents is an open source agent harness — an opinionated agent that runs out of the box. Extend, override, or replace any piece. Principles: Opinionated — defaults tuned for long horizon, multi step work Extensible — override or replace any piece without forking Model agnostic — works with any LLM that supports tool calling: frontier, open weight, or local Production ready — built on LangGraph (streaming, persistence, checkpointing) with first class tracing, evaluation, and deployment via LangSmith Features include: Sub agents — delegate tasks to agents with isolated context windows Filesystem — read, write, edit, or search over pluggable local, sandboxed, or remote backends Context management — summarize long threads and offload tool outputs to disk Shell access — run commands in your sandbox of choice Persistent memory — pluggable state and store backends for cross session recall Human in the loop — approve, edit, or reject tool calls before they run Skills — reusable behaviors the agent can load on demand Tools — bring your own functions or any MCP server Deep Agents is available as a JavaScript/TypeScript library — see deepagents.js. [!NOTE] Deep Agents Code — a pre built coding agent in your terminal, similar to Claude Code or Cursor, powered by any LLM. Install with curl LsSf https://langch.in/dcode bash . See the documentation for the full feature set. Quickstart [安装/使用命令见下方] [安装/使用命令见下方] The agent can plan, read/write files, and manage its own context. Add your own tools, swap models, customize prompts, configure sub agents, and more. See the documentation for full details. [!TIP] For developing, debugging, and deploying AI agents and LLM applications, see LangSmith. FAQ How is this different from LangGraph or LangChain? LangGraph is the graph runtime. LangChain's create agent is a minimal agent harness on top of it. Deep Agents is a more opinionated harness on top of create agent — same building blocks, but with fil