stratl (Python SDK)
uv add stratl # or: pip install stratl
import stratl
with stratl.decision(agent="claims-triage", subject=("claim", "8843")) as d:
d.model("anthropic", "claude-sonnet-5", prompt, response)
d.tool("providers.lookup", args, result)
d.approval(
required=True,
approver="dr.mensah@insurer.rw",
authority="medical_director",
decision="approved",
)
d.action("claim.deny", target="claim/8843", result="executed")
d.outcome(adverse=True, category="claim_denial")
stratl.srf holds the record models and canonicalisation used by the API and the conformance suite.
Whatever you pass in is fingerprinted on your side: strings as UTF-8, bytes as they are,
everything else as RFC 8785 canonical JSON. The record carries only the sha256: fingerprints;
Client.submit uploads the exact bytes that were hashed to the custody store, only the ones it
does not already hold. The TypeScript SDK uses the same rules, so both produce the same
fingerprint for the same content. If Stratl cannot be reached, the record and its content are
spooled to .stratl-spool/ and submit returns "spooled"; call client.flush_spool() later.
Metadata
Release files for stratl 0.1.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 |
|---|---|---|---|---|
| stratl-0.1.0.tar.gz | 16.2 kB | With provenance | Details for stratl-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stratl-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for stratl-0.1.0-py3-none-any.whl |
Total release size: 32.2 kB
Release files / stratl-0.1.0.tar.gz
| Download URL | stratl-0.1.0.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
520c5842ed8d40aed0247ea4a70b1f8f014cea678f5d07f2872a25cc88b14b03
|
|
BLAKE2b-256 checksum How to use checksums |
933ae0425700f46a9012857852914b9a61ad5ed585b07a76ded0db5403b7b473
|
| 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 6, 2026.
Transparency logRelease files / stratl-0.1.0-py3-none-any.whl
| Download URL | stratl-0.1.0-py3-none-any.whl |
|---|---|
| Size | 16.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f73162b5d021ee96afc96f94f4263d2931d2b2752325b9897b054216e64d664
|
|
BLAKE2b-256 checksum How to use checksums |
92b9a1880d76c1f26f590b6b2a4b6c70b60b84388ecf2be750ad552cb085def3
|
| 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 6, 2026.
Transparency logSecurity for stratl 0.1.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 stratl-0.1.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 Oct 6, 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.