Skip to main content

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 anthropic and httpx packages (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.70.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for duduclaw 1.70.1
File Size Uploaded
duduclaw-1.70.1.tar.gz 51.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for duduclaw 1.70.1
File Interpreter ABI Platform
duduclaw-1.70.1-py3-none-any.whl Python 3 none any Details

Total release size: 112.8 kB

Release files / duduclaw-1.70.1.tar.gz

Download URL duduclaw-1.70.1.tar.gz
Size 51.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e7bf934c770d5a45125fcc165be9d8ca8f789add63a8cc9fb87d9a232d2e052d
BLAKE2b-256 checksum
How to use checksums
0e36bc68867ac4939e6831bb3e91c8e0d0527c0159a7372f9c8e4a6b56e73af2
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.70.1-py3-none-any.whl

Download URL duduclaw-1.70.1-py3-none-any.whl
Size 61.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d9466bb1433c2bc93cfb2a852dcb116e63f3cd7f1db9f395df24c76214efcbc9
BLAKE2b-256 checksum
How to use checksums
d8f2d923eae173dc2fb695bc66d10dec3ab3010b9178079639c2a09bf68510f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

1.74.0

2 release files

1.73.4

2 release files

1.73.3

2 release files

1.73.2

2 release files

1.73.1

2 release files

1.73.0

2 release files

1.72.2

2 release files

1.72.1

2 release files

This release

1.70.1 This release

2 release files

1.66.1

2 release files

1.66.0

2 release files

1.65.1

2 release files

1.65.0

2 release files

1.64.0

2 release files

1.62.0

2 release files

1.61.2

2 release files

1.61.1

2 release files

1.61.0

2 release files

1.60.0

2 release files

1.59.0

2 release files

1.58.0

2 release files

1.57.0

2 release files

1.56.0

2 release files

1.55.0

2 release files

1.54.0

2 release files

1.47.0

2 release files

1.46.3

2 release files

1.46.2

2 release files

1.46.1

2 release files

1.46.0

2 release files

1.45.0

2 release files

1.44.0

2 release files

1.43.0

2 release files

1.42.0

2 release files

1.41.0

2 release files

1.40.0

2 release files

1.39.0

2 release files

1.38.1

2 release files

1.38.0

2 release files

1.37.1

2 release files

1.37.0

2 release files

1.36.0

2 release files

1.25.0

2 release files

1.24.0

2 release files

1.23.0

2 release files

1.22.1

2 release files

1.22.0

2 release files

1.21.1

2 release files

1.21.0

2 release files

1.18.0

2 release files

1.8.0

2 release files

1.7.2

2 release files

1.7.1

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.31

2 release files

1.4.30

2 release files

1.4.29

2 release files

1.4.27

2 release files

1.4.26

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page