Skip to main content

General purpose 'deep agent' with sub-agent spawning, todo list capabilities, and mock file system. Built on LangGraph.

Project description

🧠🤖 Deep Agents

PyPI - Version PyPI - License PyPI - Downloads Twitter

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

📕 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

realtimex_deepagents-0.4.2.post2.tar.gz (88.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

realtimex_deepagents-0.4.2.post2-py3-none-any.whl (99.8 kB view details)

Uploaded Python 3

File details

Details for the file realtimex_deepagents-0.4.2.post2.tar.gz.

File metadata

File hashes

Hashes for realtimex_deepagents-0.4.2.post2.tar.gz
Algorithm Hash digest
SHA256 a508b9fd2726946ca15aeaeb7672b0714c105df2aa70cdb23a205105eae8d7e4
MD5 79ddfa24d49b915266647b57a95ca141
BLAKE2b-256 98f97a17b419904aec7b62b1126d220913f6ebbf879f3309979bc4d7c640aed0

See more details on using hashes here.

File details

Details for the file realtimex_deepagents-0.4.2.post2-py3-none-any.whl.

File metadata

File hashes

Hashes for realtimex_deepagents-0.4.2.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 fd3d0ec63dffad07767bb99cf524fa941195ab2073cd71fe65403eb3b90f7653
MD5 b3909ed589480eda5b641bc619c59a6a
BLAKE2b-256 7fff886539c578ed30aeca813881c07a2e6013f6a1d2c1390b21f02e97156906

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page