deepagents
The batteries-included agent harness.
Deep Agents is an opinionated, production-ready AI agent harness developed by LangChain that provides a complete agent framework out of the box. Built on top of LangGraph, it comes pre-configured with filesystem access, sub-agent delegation, context management, shell execution, and persistent memory for long-horizon, multi-step tasks. The framework is model-agnostic, supporting any LLM with tool-calling capabilities from frontier APIs to self-hosted models, and allows developers to extend or override any component without forking the codebase.
Key Features
Use Cases
- 01Building autonomous research assistants that plan, gather information, and synthesize findings across multiple sessions
- 02Creating coding agents with file system access, shell commands, and context-aware editing capabilities
- 03Deploying production AI agents with built-in tracing, evaluation, and monitoring via LangSmith
- 04Orchestrating complex multi-step workflows that require task delegation to specialized sub-agents
- 05Developing AI assistants with long-term memory that recall information across conversations
- 06Implementing approval-gated automation where humans review critical actions before execution
Related Agents
View morehermes-agent
The agent that grows with you
agency-agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables.
openinterpreter
A coding agent for open models like Kimi K3
cline
Autonomous coding agent as an SDK, IDE extension, or CLI assistant.
deepagents — FAQ
What is Deep Agents?+
Deep Agents is an open-source agent harness from LangChain that provides a complete, opinionated AI agent framework with filesystem access, sub-agents, context management, and persistent memory built in. It runs on top of LangGraph and works with any LLM that supports tool calling.
How do I install Deep Agents?+
Install Deep Agents using uv with the command 'uv add deepagents', then create an agent with create_deep_agent() in Python. For the pre-built Deep Agents Code terminal assistant, run 'curl -LsSf https://langch.in/dcode | bash'.
Does Deep Agents work with open-source models?+
Yes, Deep Agents supports any model with tool-calling capabilities including frontier APIs (OpenAI, Anthropic, Google), open-weight models on providers like Baseten or Fireworks, and self-hosted models via Ollama, vLLM, or llama.cpp.
Is Deep Agents free to use?+
Yes, Deep Agents is open source under the MIT license. However, you'll need API keys or infrastructure for the underlying LLM you choose to use.
Can I use Deep Agents in production?+
Yes, Deep Agents is built on LangGraph specifically for production deployments. It includes streaming, persistence, and checkpointing, and integrates with LangSmith for tracing, evaluation, and monitoring.
When should I use Deep Agents versus LangGraph directly?+
Use Deep Agents when you want a full agent harness with planning, context management, and delegation out of the box. Drop down to LangGraph when you need a custom graph structure that doesn't fit the standard agent loop, or use LangChain's create_agent for a lighter harness without bundled middleware.
How do I install deepagents?+
Open the source repository on GitHub and follow its README. deepagents is a agent — MCP Agents Market links you directly to the official repo.
Is deepagents free?+
deepagents is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.