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 docagent
# or
uv add docagent

🤔 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.

docagent 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

docagentsdk-0.5.0a4.tar.gz (109.8 kB view details)

Uploaded Source

Built Distribution

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

docagentsdk-0.5.0a4-py3-none-any.whl (123.5 kB view details)

Uploaded Python 3

File details

Details for the file docagentsdk-0.5.0a4.tar.gz.

File metadata

  • Download URL: docagentsdk-0.5.0a4.tar.gz
  • Upload date:
  • Size: 109.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for docagentsdk-0.5.0a4.tar.gz
Algorithm Hash digest
SHA256 b22e74b25df1a1a052bc7367b670c198ef0f4009a57799afc3998462ed53fe5d
MD5 c71f8b23ef7cbfee21517bbe3daddc4c
BLAKE2b-256 15fbec92a5a38c9194bd8a8e6508f25b44f1cbecd09e0c7c2448032809a5cbc2

See more details on using hashes here.

File details

Details for the file docagentsdk-0.5.0a4-py3-none-any.whl.

File metadata

  • Download URL: docagentsdk-0.5.0a4-py3-none-any.whl
  • Upload date:
  • Size: 123.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for docagentsdk-0.5.0a4-py3-none-any.whl
Algorithm Hash digest
SHA256 db790b2198043650225c6cb97ad87f84b7f38d589ab9603a1f17bb25ab268c64
MD5 47556918a30f83475bb2d603ef68e832
BLAKE2b-256 351069d837aa1c2112cb852ae075c13d2157b47473981fb1f9023cdb8f2ad3a4

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