kernos-sdk
The Python part of Kernos: the reasoning worker that leases steps from the kernel and executes them, a typed client for the kernel and gateway HTTP APIs, the model router and providers, and the evaluation harness that gates promotions.
pip install kernos-sdk # mock provider only
pip install "kernos-sdk[anthropic]"
kernos-worker --kernel http://127.0.0.1:7401 --gateway http://127.0.0.1:7402 \
--provider mock --worker-id wrk-a1 --concurrency 4
kernos-eval run --golden golden/ --kernel http://127.0.0.1:7401 \
--gateway http://127.0.0.1:7402 --provider mock --out report.json
kernos-eval gate --baseline base.json --candidate cand.json
from kernos import GatewayClient, KernelClient, ModelRouter, Worker, providers
from kernos.eval import gate, run_golden
from kernos.templating import render, resolve_refs
The contracts this package implements are documented at https://rhs2.github.io/kernos/reference/.
specification is silent are listed in NOTES.md.
Every environment variable has a flag equivalent: KERNOS_KERNEL_URL,
KERNOS_GATEWAY_URL, KERNOS_TOKEN, KERNOS_PROVIDER, KERNOS_MODEL_DEEP,
KERNOS_MODEL_STANDARD, KERNOS_MODEL_CHEAP, KERNOS_PRICING_JSON,
KERNOS_MOCK_REFUSE, KERNOS_MOCK_CONFIDENCE, KERNOS_LOG.
Licensed under Apache 2.0.
Metadata
Release files for kernos-sdk 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 |
|---|---|---|---|---|
| kernos_sdk-0.1.0.tar.gz | 64.3 kB | With provenance | Details for kernos_sdk-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kernos_sdk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for kernos_sdk-0.1.0-py3-none-any.whl |
Total release size: 112.3 kB
Release files / kernos_sdk-0.1.0.tar.gz
| Download URL | kernos_sdk-0.1.0.tar.gz |
|---|---|
| Size | 64.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20a2d3d3d916ce9558a3150007ac8d5adb9467d4a01f2bdea3d810e54a037fb1
|
|
BLAKE2b-256 checksum How to use checksums |
df3a14fc613113808d572e0a33b2bf548eb3db509cedea42291fc640f00ea817
|
| 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 4, 2026.
Transparency logRelease files / kernos_sdk-0.1.0-py3-none-any.whl
| Download URL | kernos_sdk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 48.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
595ce594739d598c2b136a3f703c715f0feae6dcacff2977b31fc4f458904a5b
|
|
BLAKE2b-256 checksum How to use checksums |
590b1f2be2ffb0b3ad97845fe20ed208fdb16c0beb5d7f9b64a75ce5326ce4f1
|
| 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 4, 2026.
Transparency logSecurity for kernos-sdk 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 kernos_sdk-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 Sep 4, 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.