KUMA
KUMA Python SDK
Knowledge-grounded Universal Measurement for Agents
KUMA is the public Python SDK for testing Agent behavior through a strict Run protocol and bounded Evidence capture. Official services are reached only through public HTTPS; the SDK does not run Agents, execute models, or expose private evaluation logic.
Core capabilities
- Run repeatable Case-to-Judgment evaluations through one framework-neutral Python workflow.
- Use KUMA's official services, plug in custom Case and Judge Providers, or keep the workflow fully local.
- Capture bounded, structured Evidence from step results, file changes, explicit logs, and optional OpenTelemetry traces.
- Select the testing method with a versioned Strategy Group, and describe the Agent and its operating context with an Agent Profile.
Install
Install from PyPI. Requires Python 3.10 or newer; Git is not required:
python -m pip install --upgrade kuma-defuzex
Run this in the Python environment used by your Agent, then restart the Agent.
The package name is kuma-defuzex; Python imports and the CLI remain kuma.
For optional OTel dependencies and Trace setup, see the
Runtime Trace guide.
Versions and update reminders
SDK version: 0.2.7. Publication status is shown in the
official Releases.
Run kuma updates check (or Python kuma.check_for_updates()) to check stable
Release tags: patch-only updates are optional, higher major/minor versions
require an upgrade reminder, but never block work or install automatically.
Official requests check in the background; import/help/local/custom do not.
Set KUMA_DISABLE_UPDATE_CHECK=1 to disable all checks. Offline failures are safe;
results are cached for 24 hours per process. Old 0.1.0 users must upgrade manually
once to gain reminders. Full policy and limits.
Quick start
Run the deterministic local check without an account, API key, Docker, or network:
kuma quickstart
Full-stack user-flow example
Follow the full-stack user-flow guide to run KUMA with mini-SWE-agent in Docker. This path calls external services and may use service credit and model budget.
Detailed documentation
Runtime Trace and optional file diffs
English SDK guide · Strategy Groups · Agent tool capabilities · Python API reference · Agent Profile migration · 简体中文 SDK 指南 · 中文 API 参考 · Runtime Evidence contract
Project
Metadata
Release files for kuma-defuzex 0.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kuma_defuzex-0.2.7.tar.gz | 230.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kuma_defuzex-0.2.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 501.4 kB
Release files / kuma_defuzex-0.2.7.tar.gz
| Download URL | kuma_defuzex-0.2.7.tar.gz |
|---|---|
| Size | 230.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
30f03b9b8bc7109f082425566095035706fa64157aebc6df357fc4963f0b4648
|
|
BLAKE2b-256 checksum How to use checksums |
b76852e6b63aff9d28c0186c801b66eb5c4e542367a588a75a949595f53812fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.
Transparency logRelease files / kuma_defuzex-0.2.7-py3-none-any.whl
| Download URL | kuma_defuzex-0.2.7-py3-none-any.whl |
|---|---|
| Size | 271.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
316858f9dc807782df2cfa13afe051303b142cf280bd4e370dc29bfc0ac23cb9
|
|
BLAKE2b-256 checksum How to use checksums |
1050a8414b92a169d3e1d7df08f3a9f981bbc5a474324f553be796445abc0bd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.
Transparency log