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.

text-to-cad: AI Agent Skills for CAD, CAE, and CAM Workflows
September 24, 2026
text-to-cad is a comprehensive Python library developed by earthtojake, providing a rich set of agent skills for Computer-Aided Design (CAD), Computer-Aided Engineering (CAE), and Computer-Aided Manufacturing (CAM). It enables AI agents to generate, inspect, source, slice, and manage CAD and robot-description artifacts, streamlining complex engineering processes.

AgentFS: The Filesystem Designed for AI Agents and Their State Management
September 5, 2026
AgentFS is an innovative filesystem specifically engineered for AI agents, providing robust storage abstractions. It leverages SQLite to offer auditability, reproducibility, and portability for agent states, tool calls, and file operations. This solution simplifies debugging, analysis, and deployment of AI agents by encapsulating their entire runtime into a single, queryable database file.

CQ: An Open Standard for Shared Agent Learning by Mozilla.ai
September 5, 2026
CQ is an open standard designed to prevent AI agents from repeatedly making the same mistakes by enabling them to persist, share, and query collective knowledge. It facilitates a structured exchange of ideas, allowing agents to learn from each other's experiences and accelerate development. This system helps agents avoid redundant debugging and discover solutions more efficiently.

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.
Source repository
Open the original repository on GitHub.
19 counted GitHub visits