KUMA
KUMA Python SDK
Knowledge-grounded Universal Measurement for Agents
KUMA is a framework-neutral Python SDK for evaluating AI Agents. It delivers a test Case as step-by-step Inputs, captures bounded Evidence, and produces a Judgment through official or custom Providers. KUMA does not run your Agent or expose private evaluation logic.
What you can do
- Run repeatable Case-to-Judgment evaluations.
- Use official services or custom Case and Judge Providers, including fully local workflows.
- Capture structured Evidence from results, file changes, logs, and optional OpenTelemetry traces.
- Select a versioned Strategy Group and describe the Agent with an Agent Profile.
Install
Requires Python 3.10 or newer:
python -m pip install --upgrade kuma-defuzex
The package is kuma-defuzex; Python imports and the CLI use kuma.
Quick start
Run a deterministic local check without an account, API key, Docker, or network:
kuma quickstart
Successful output starts with:
Local check: PASS
Score: 100/100
Reason: Output exactly matched the published rule.
This checks the bundled local example, not your Agent or the hosted Judge. To evaluate your Agent, follow the SDK guide.
For official Case generation, create_run(..., difficulty="D1") selects challenge
count and intensity: D0 injects zero problems; D1 injects one obvious, low-intensity
problem; D2 injects two subtler or composed problems requiring stronger recognition,
recovery and verification. Necessary inputs and solvability must be preserved.
max_steps remains the same upper bound; D2 does not add a step or change Judge
severity. No measured failure rate is promised; the service builds the challenge.
Next steps
- Run an official evaluation with the full Case and Judge workflow.
- Observe an Agent locally without a Case, Judge, or automatic upload.
- Try the full-stack example with KUMA and mini-SWE-agent in Docker. It may use service credit and model budget.
Documentation
SDK guide · Python API reference · Versions and releases · Detailed Judge assessment
Project
Metadata
Release files for kuma-defuzex 0.3.3
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.3.3.tar.gz | 284.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kuma_defuzex-0.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 620.9 kB
Release files / kuma_defuzex-0.3.3.tar.gz
| Download URL | kuma_defuzex-0.3.3.tar.gz |
|---|---|
| Size | 284.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9ccfe27313c8577e55d786fff229b3762b16f9ef31a9b38e9dc94373fd45c33
|
|
BLAKE2b-256 checksum How to use checksums |
c79db4d09bc82e44d50f10d887916a195be821af5f4553160bd8f6122027b332
|
| 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 Oct 1, 2026.
Transparency logRelease files / kuma_defuzex-0.3.3-py3-none-any.whl
| Download URL | kuma_defuzex-0.3.3-py3-none-any.whl |
|---|---|
| Size | 336.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
893201a7339f74e8b06b5fb32102fe41bfc9df6e4de3d0cea2cb2a7c15fddbbd
|
|
BLAKE2b-256 checksum How to use checksums |
a6bf73c467a3fce7b171be406a6f5bc19cbe4e241dac6a6715ffec7046983188
|
| 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 Oct 1, 2026.
Transparency log