local_fire_departmentHoneystax
search⌘K
loginLog Inperson_addSign Up
layers
HONEYSTAX TERMINAL v1.0
HomeNewsSavedSubmit
Back to the live board
D

deepagents

Agent

Agent harness built with LangChain and LangGraph. Equipped with a planning tool, a filesystem backend, and the abilit...

Copy the install, test the workflow, then decide if it earns a permanent slot.

16,553
Why nowMoving now

Fresh repo activity plus visible builder pull. This is the kind of tool people test before it turns obvious.

DecisionHigh-conviction move

Copy the install, test the workflow, then decide if it earns a permanent slot.

Trial costMedium lift

Reasonable to try, but it will take more than a quick skim to get real signal.

Risk28/100

GitHub health 87/100. no security policy. Fresh enough repo health and manageable issue load keep the risk controlled.

What You Are Adopting

AI Agent

Universal

Model

Multiple

Build Time

Hours

Test This In Your Stack

One command inClean rollbackLow commitment
shieldSandboxedInstalls to ~/.claude — isolated from your projects. One command to remove.

Fastest way to find out if deepagents belongs in your setup.

Copy the install command, run a real test, and back it out cleanly if it slows you down.

Try now
git clone https://github.com/langchain-ai/deepagents ~/.claude/agents/deepagents

Run this first. You will know quickly if the workflow earns a permanent slot.

Back out
rm -rf ~/.claude/agents/deepagents

No messy cleanup loop. If it misses, remove it and keep moving.

Install Location

~/  └─ .claude/      ├─ commands/      ├─ agents/      │   └─ deepagents/ ← installs here      └─ settings.json

About

Agent harness built with LangChain and LangGraph. Equipped with a planning tool, a filesystem backend, and the ability to spawn subagents - well-equipped to handle complex agentic tasks.. An open-source agent for the AI coding ecosystem.

README

Deep Agents Logo

The batteries-included agent harness.

PyPI - License PyPI - Downloads Version Twitter / X

Deep Agents is an agent harness. An opinionated, ready-to-run agent out of the box. Instead of wiring up 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 reading and writing context
  • Shell access — execute for running commands (with sandboxing)
  • Sub-agents — task for delegating work with isolated context windows
  • Smart defaults — Prompts that teach the model how to use these tools effectively
  • Context management — Auto-summarization when conversations get long, large outputs saved to files

Note

Looking for the JS/TS library? Check out deepagents.js.

Quickstart

pip install deepagents
# or
uv add deepagents
from deepagents import create_deep_agent

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

The agent can plan, read/write files, and manage its own context. Add tools, customize prompts, or swap models as needed.

Tip

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

Customization

Add your own tools, swap models, customize prompts, configure sub-agents, and more. See the documentation for full details.

from langchain.chat_models import init_chat_model

agent = create_deep_agent(
    model=init_chat_model("openai:gpt-4o"),
    tools=[my_custom_tool],
    system_prompt="You are a research assistant.",
)

MCP is supported via langchain-mcp-adapters.

Deep Agents CLI

Try Deep Agents instantly from the terminal:

uv tool install deepagents-cli
deepagents

The CLI adds conversation resume, web search, remote sandboxes (Modal, Runloop, Daytona, & more), persistent memory, custom skills, headless mode, and human-in-the-loop approval. See the CLI documentation for more.

LangGraph Native

create_deep_agent returns a compiled LangGraph graph. Use it with streaming, Studio, checkpointers, or any LangGraph feature.

FAQ

Why should I use this?

  • 100% open source — MIT licensed, fully extensible
  • Provider agnostic — Works with Claude, OpenAI, Google, or any LangChain-compatible model
  • Built on LangGraph — Production-ready runtime with streaming, persistence, and checkpointing
  • Batteries included — Planning, file access, sub-agents, and context management work out of the box
  • Get started in seconds — pip install deepagents or uv add deepagents and you have a working agent
  • Customize in minutes — Add tools, swap models, tune prompts when you need to

Documentation

  • docs.langchain.com – Comprehensive documentation, including conceptual overviews and guides
  • reference.langchain.com/python – API reference docs for Deep Agents packages
  • Chat LangChain – Chat with the LangChain documentation and get answers to your questions

Discussions: Visit the LangChain Forum to connect with the community and share all of your technical questions, ideas, and feedback.

Additional resources

  • Examples — Working agents and patterns
  • API Reference – Detailed reference on navigating base packages and integrations for LangChain.
  • Contributing Guide – Learn how to contribute to LangChain projects and find good first issues.
  • Code of Conduct – Our community guidelines and standards for participation.

Packages

This is a monorepo containing all Deep Agents packages:

Package PyPI Description
deepagents Version Core SDK — create_deep_agent, middleware, backends
deepagents-cli Version Interactive terminal interface with TUI, web search, and sandboxes
deepagents-acp Version Agent Client Protocol integration for editors like Zed
deepagents-harbor - Harbor evaluation and benchmark framework
langchain-daytona Version Daytona sandbox integration
langchain-modal Version Modal sandbox integration
langchain-runloop Version Runloop sandbox integration

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.

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.

Tech Stack

GoLangChainPythonOpenAIClaudeGPTLLM

Installation

pip install deepagents # or uv add deepagents from deepagents import create_deep_agent agent = create_deep_agent () result = agent . invoke ({ "messages" : [{ "role" : "user" , "content" : "Research LangGraph and write a summary" }]}) The agent can plan, read/write files, and manage its own context. Add tools, customize prompts, or swap models as needed. Tip For developing, debugging, and deploying AI agents and LLM applications, see LangSmith .

Open Live ProjectAudit Repo

Reviews0

Log in to write a review.

ActiveLast commit today
bug_report241open issues
Submitted July 27, 2025

auto_awesomeYour strongest next moves after deepagents