General purpose 'deep agent' with sub-agent spawning, todo list capabilities, and mock file system. Built on LangGraph.
Project description
🧠🤖 Deep Agents
Looking for the JS/TS version? Check out Deep Agents.js.
To help you ship LangChain apps to production faster, check out LangSmith. LangSmith is a unified developer platform for building, testing, and monitoring LLM applications.
Quick Install
pip install deepagents
# or
uv add deepagents
🤔 What is this?
Using an LLM to call tools in a loop is the simplest form of an agent. This architecture, however, can yield agents that are "shallow" and fail to plan and act over longer, more complex tasks.
Applications like "Deep Research", "Manus", and "Claude Code" have gotten around this limitation by implementing a combination of four things: a planning tool, sub agents, access to a file system, and a detailed prompt.
deepagents is a Python package that implements these in a general purpose way so that you can easily create a Deep Agent for your application. For a full overview and quickstart of Deep Agents, the best resource is our docs.
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.
📖 Resources
- Documentation — Full documentation
- API Reference — Full SDK reference documentation
- Chat LangChain - Chat interactively with the docs
📕 Releases & Versioning
See our Releases and Versioning policies.
💁 Contributing
As an open-source project in a rapidly developing field, we are extremely open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation.
For detailed information on how to contribute, see the Contributing Guide.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file deepagents-0.4.1.tar.gz.
File metadata
- Download URL: deepagents-0.4.1.tar.gz
- Upload date:
- Size: 78.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
054f3b3baff2405c5053a2d004e5eaaa06b1a8346018753804ec0292a627fe64
|
|
| MD5 |
b5ee7c7e20a90eaeb13df6faaa91258f
|
|
| BLAKE2b-256 |
32713aa53332733cbe25e45c30ddc1a337c04b11650ba3b4fad18bddb488ae87
|
File details
Details for the file deepagents-0.4.1-py3-none-any.whl.
File metadata
- Download URL: deepagents-0.4.1-py3-none-any.whl
- Upload date:
- Size: 88.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9973c696b452ca050fbba860f4a997d8428dc56f629c5c0f7e01e483d768a4d9
|
|
| MD5 |
00033f535e71069a01ef02eb9e848959
|
|
| BLAKE2b-256 |
37fa64cbb2b3c429d8cfb2417ff7aea67f53c2b507eae135bdeabed6e755f3a0
|