Deep Agents: The Batteries-Included Agent Harness for Complex AI Tasks
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
Deep Agents is an agent harness built on LangChain and LangGraph, designed to simplify the creation of complex AI agents. It comes equipped with essential tools like planning, filesystem access, and the ability to spawn sub-agents, enabling it to handle sophisticated agentic tasks out of the box. This framework provides a ready-to-run agent that can be easily customized with additional tools, models, and prompts.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
Deep Agents is an opinionated, batteries-included agent harness built on top of LangChain and LangGraph. It provides a ready-to-run agent out of the box, eliminating the need to wire up prompts, tools, and context management manually. This framework is designed to handle complex agentic tasks by equipping agents with powerful capabilities.
Key features included:
- Planning:
write_todosfor task breakdown and progress tracking. - Filesystem:
read_file,write_file,edit_file,ls,glob,grepfor reading and writing context. - Shell access:
executefor running commands, with sandboxing. - Sub-agents:
taskfor delegating work with isolated context windows. - Smart defaults: Prompts that teach the model how to use these tools effectively.
- Context management: Auto-summarization for long conversations, large outputs saved to files.
Installation
To get started with Deep Agents, you can install it using pip or uv:
pip install deepagents
# or
uv add deepagents
Examples
Once installed, you can quickly create and invoke a Deep Agent:
from deepagents import create_deep_agent
agent = create_deep_agent()
result = agent.invoke({"messages": [{"role": "user", "content": "Research LangGraph and write a summary"}]})
Deep Agents are highly customizable. You can add your own tools, swap models, customize prompts, and configure sub-agents:
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.",
)
Why use Deep Agents
Deep Agents offers several compelling reasons for its adoption:
- 100% open source: MIT licensed and fully extensible.
- Provider agnostic: Works with Claude, OpenAI, Google, or any LangChain-compatible model.
- Built on LangGraph: Provides a 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: Install with
pip install deepagentsoruv add deepagentsfor a working agent. - Customize in minutes: Easily add tools, swap models, and tune prompts as needed.
Links
Related repositories
Similar repositories that may be relevant next.

Agent Sandbox: Secure Local Development for AI Coding Agents
August 17, 2026
Agent Sandbox provides a robust and secure local development environment specifically designed for collaborating with AI coding agents. It ensures minimal filesystem access, configurable network egress policies, and secure secret injection, protecting your local machine from potentially risky agent operations. This project supports various AI agents and integrates seamlessly with both CLI and popular IDE devcontainer setups.

FastMCP: The Pythonic Framework for Model Context Protocol Applications
August 11, 2026
FastMCP is a robust, Pythonic framework developed by PrefectHQ, designed to simplify the creation of Model Context Protocol (MCP) servers and clients. It provides a comprehensive application framework for connecting Large Language Models (LLMs) to tools and data, handling complexities like schema generation, validation, and protocol lifecycle. As the standard framework for MCP, FastMCP empowers developers to build powerful LLM-integrated applications efficiently.

CubeSandbox: Instant, Concurrent, and Secure Sandbox for AI Agents
August 9, 2026
CubeSandbox, developed by TencentCloud, is a high-performance, secure sandbox service built on RustVMM and KVM, designed specifically for AI agents. It offers ultra-fast startup times, hardware-level isolation, and high-density deployment, making it ideal for scalable and secure agent execution environments. The service is also fully compatible with the E2B SDK for seamless integration.

DeepFabric: High-Quality Synthetic Data for Agentic AI Systems
July 2, 2026
DeepFabric is an open-source Python library designed to generate high-quality synthetic training data for language models and agent evaluations. It excels at creating domain-specific datasets that teach models to think, plan, and act effectively, including correct tool usage and adherence to schema structures. This comprehensive pipeline also integrates training and evaluation capabilities, ensuring robust model development.
Source repository
Open the original repository on GitHub.
14 counted GitHub visits