DuDuClaw Python SDK
Python companion package for DuDuClaw — the Multi-Agent AI Assistant Platform.
This package carries the Python-side helpers that sit next to the DuDuClaw Rust binary:
duduclaw.mcp— MCP server helpers: API-key auth with scope enforcement, memory tools (store / read / search / namespace / quota)duduclaw.agents— capability-based agent routing (manifest loader, matcher, router, memory resolver)duduclaw.evolution— evolution vetter (GVU self-play verification)duduclaw.tools— agent tool definitions
Installation
pip install duduclaw
Note: This package is a companion to the main DuDuClaw binary. Install the binary via npm (
npx duduclaw) or the install script — see the repository README.
Requirements
- Python 3.10+
- The
anthropicandhttpxpackages (installed automatically)
Memory evaluation harness (repository only)
python/duduclaw/memory_eval/ is a benchmarking harness for memory retrieval quality. It is not part of the published wheel — no runtime path calls it, and shipping 7k lines of benchmark code to every pip install bought nobody anything. Run it from a checkout instead:
git clone https://github.com/zhixuli0406/DuDuClaw && cd DuDuClaw
# The harness needs four packages the published wheel does not depend on:
pip install aiohttp asyncpg datasets pytest pytest-asyncio aioresponses
PYTHONPATH=python python -m duduclaw.memory_eval.smoke_test # ~5 min P0 smoke run
PYTHONPATH=python pytest python/duduclaw/memory_eval/tests -v # the harness's own tests
Without asyncpg, aiohttp, and datasets the modules will not even import — one more reason they have no business in a wheel whose declared dependencies are anthropic, httpx, and pyyaml.
About its data: data/golden_qa_set.jsonl holds 200 hand-written question/answer pairs (every row is tagged source: "manual"). It is a DuDuClaw-authored zh-TW set, not LOCOMO and not derived from it, despite what some older internal notes said. fetch_benchmarks.py can pull LongMemEval and PersonaMem separately; those downloads are not bundled either.
License
Apache-2.0
Metadata
Release files for duduclaw 1.73.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| duduclaw-1.73.4.tar.gz | 51.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| duduclaw-1.73.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 113.3 kB
Release files / duduclaw-1.73.4.tar.gz
| Download URL | duduclaw-1.73.4.tar.gz |
|---|---|
| Size | 51.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5a95e6bb8a954e2fab5f6708b4ae6410eac685877bd6f57969669c6a1558e9f
|
|
BLAKE2b-256 checksum How to use checksums |
5eea227e2f0bd9a950b086da4a16a945f6ac1c0f5c12110f0f151208a7311c9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / duduclaw-1.73.4-py3-none-any.whl
| Download URL | duduclaw-1.73.4-py3-none-any.whl |
|---|---|
| Size | 61.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b9bd6ccb15bc7f8078cb80c4b99ce7606830324f159df58d6ccf43e9fb9461de
|
|
BLAKE2b-256 checksum How to use checksums |
ad4e8e26b11e49a018a1e07c7eaf56f10b7e4d68ccfbbb1138ee21d916d095e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|