jiminy-sdk
Attested trace builder, calibration tools, and a CLI for the Jiminy AI agent evaluation API. Zero runtime dependencies — built on the Python standard library only.
pip install jiminy-sdk
jiminy eval --demo
jiminy eval --demo runs a real, calibrated trace through the live judge
with no API key or signup required — see Try it in 30 seconds
in the main repo README. jiminy eval --trace ./my-trace.json does the
same against your own trace file. Both are rate-limited (a handful of
evaluations per day); jiminy auth login signs up for unlimited use.
What's in this package
jiminyCLI —jiminy eval --demo/--trace <file>for a verdict with zero setup,jiminy auth loginfor device-authorization sign-in once you're ready for unlimited use.TraceBuilder— construct attestedDecisionTracepayloads. Each step is signed with HMAC-SHA256, chained to the previous step's hash, so the server can cryptographically confirm the trace wasn't modified between emission and evaluation.CalibrationSession— wrapsTraceBuilderto build and submit a trace in calibration mode: a diagnostic run that isn't persisted and doesn't count against quota, returning a per-criterion report to guide integration before going live.Client— a minimal synchronous wrapper aroundPOST /evaluate. For anything beyond simpleevaluate()calls (custom retries, async, connection pooling), bring your own HTTP client — the API is plain JSON over HTTPS.
Usage
from datetime import datetime, timezone
from jiminy_sdk import Client, TraceBuilder
builder = TraceBuilder(
trace_id="...",
agent_id="PA-Agent-01",
agent_owner="Acme Insurance",
submitted_by="Acme Compliance",
task_description="Evaluate prior authorisation for MRI scan.",
timestamp=datetime.now(tz=timezone.utc),
domain_profile="health_insurance_prior_auth",
hmac_key="your-per-tenant-hmac-key",
)
builder.add_step(
1, "eligibility_check",
input={"member_id": "123"}, output={"status": "Active"},
reasoning="Confirmed member active.",
)
builder.finalize("Approved. Auth reference: PA-2026-001.")
trace = builder.build() # a plain dict, ready to POST
client = Client(api_key="your-api-key", base_url="https://api.jiminy.uk")
result = client.evaluate(trace)
print(result["overall_verdict"])
The HMAC key must match the value configured as REDACTED_SECRET_NAME on the
server for your tenant. Traces built without TraceBuilder (or with the
wrong key) still evaluate — just with trace_integrity set to "broken"
or "unverified" instead of "verified".
Full documentation
See the Quickstart guide in this repository.
License
Apache License 2.0 — see LICENSE. This license covers this SDK package only, not the wider Jiminy API/product codebase.
Metadata
Release files for jiminy-sdk 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jiminy_sdk-0.3.0.tar.gz | 16.6 kB | With provenance | Details for jiminy_sdk-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jiminy_sdk-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for jiminy_sdk-0.3.0-py3-none-any.whl |
Total release size: 34.6 kB
Release files / jiminy_sdk-0.3.0.tar.gz
| Download URL | jiminy_sdk-0.3.0.tar.gz |
|---|---|
| Size | 16.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4fe76f8bbb361a0114246fcd33b147a7d0fefddf19a810d6ec5d4726319e4886
|
|
BLAKE2b-256 checksum How to use checksums |
268ef67aeb54fa0327d4bfe50d4b0d650a6fa75e391bdeff0476d025eefca1b4
|
| 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 Aug 21, 2026.
Transparency logRelease files / jiminy_sdk-0.3.0-py3-none-any.whl
| Download URL | jiminy_sdk-0.3.0-py3-none-any.whl |
|---|---|
| Size | 18.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3fa39e3599108f5f07629180d82b67304880e9c4530472142fb491611d121892
|
|
BLAKE2b-256 checksum How to use checksums |
0bd4e0ef36f0dcf8bf272cba4305d56f683ef06b04b876a9fd9c34479888b9e8
|
| 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 Aug 21, 2026.
Transparency logSecurity for jiminy-sdk 0.3.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for jiminy_sdk-0.3.0.tar.gz
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 Aug 21, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.