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


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

deepagents-0.5.2a1.tar.gz (114.7 kB view details)

Uploaded Source

Built Distribution

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

deepagents-0.5.2a1-py3-none-any.whl (128.5 kB view details)

Uploaded Python 3

File details

Details for the file deepagents-0.5.2a1.tar.gz.

File metadata

  • Download URL: deepagents-0.5.2a1.tar.gz
  • Upload date:
  • Size: 114.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for deepagents-0.5.2a1.tar.gz
Algorithm Hash digest
SHA256 31825224fdd054a93e649c90cf84e48216e627efd8907b1213385ac89511668c
MD5 969dfa319c0ad5fc894ef83c8436f729
BLAKE2b-256 556a0875ff57334088c0f506c66049de22e2278b68abacb58301b298e3d48f87

See more details on using hashes here.

File details

Details for the file deepagents-0.5.2a1-py3-none-any.whl.

File metadata

  • Download URL: deepagents-0.5.2a1-py3-none-any.whl
  • Upload date:
  • Size: 128.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for deepagents-0.5.2a1-py3-none-any.whl
Algorithm Hash digest
SHA256 a0f60f6aedefa3e895ef13672dab24caf46125e5165a124d9168213967b4bc05
MD5 5b46d412d841e83ce7c7d5bed9c0e419
BLAKE2b-256 1bd5708c1a97492cdaf18e7f95b21d587d9b35a2559092ba58612c8d4655f6eb

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