Znyx guardrails runtime: a lightweight FastAPI service that evaluates LLM traffic against policies. Rules-only out of the box; gains ML when pointed at a Znyx inference sidecar.
Project description
znyx-runtime
A lightweight, dependency-minimal FastAPI service that evaluates LLM traffic against guardrail policies. Rules-only out of the box; it gains ML detection when pointed at a Znyx inference sidecar over HTTP.
pip install znyx-runtime
znyx-runtime serve --port 8080
Or with Docker:
docker run -p 8080:8080 znyx/runtime
The runtime is deliberately thin: FastAPI, uvicorn, httpx, and
znyx-core (the detection engine).
No database, no heavy ML libraries. Point it at a sidecar endpoint to enable
model-backed detectors; without one, it runs the deterministic rules path.
See the repository README for configuration, deployment manifests, and the evaluate API.
License
Apache-2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file znyx_runtime-1.0.0.tar.gz.
File metadata
- Download URL: znyx_runtime-1.0.0.tar.gz
- Upload date:
- Size: 25.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d081616c7c5d5682622d1534ac3191a8c3d543764844c431061e27e9011f8fd6
|
|
| MD5 |
3b5e3ba12552a75c1f9ed0d00d49ac9f
|
|
| BLAKE2b-256 |
0d6161177016e1108fa7cf18612f5f4e01d9ba4c20d09488e3b22cc191cf7beb
|
Provenance
The following attestation bundles were made for znyx_runtime-1.0.0.tar.gz:
Publisher:
publish.yml on zitrino-oss/znyx-runtime
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
znyx_runtime-1.0.0.tar.gz -
Subject digest:
d081616c7c5d5682622d1534ac3191a8c3d543764844c431061e27e9011f8fd6 - Sigstore transparency entry: 2172797899
- Sigstore integration time:
-
Permalink:
zitrino-oss/znyx-runtime@005f828010ec99f99ecce50e27af6079c3033199 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/zitrino-oss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@005f828010ec99f99ecce50e27af6079c3033199 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file znyx_runtime-1.0.0-py3-none-any.whl.
File metadata
- Download URL: znyx_runtime-1.0.0-py3-none-any.whl
- Upload date:
- Size: 29.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d190e830b18710176c05a4bc571ad5475d6a2b43dce38915800621c4476e834
|
|
| MD5 |
773ee0795c6a76a47ec26ba701cedcb6
|
|
| BLAKE2b-256 |
b2b972c51f29dcc4c185643bc9ddbf59812523bdacfa760547ab885916c2696e
|
Provenance
The following attestation bundles were made for znyx_runtime-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on zitrino-oss/znyx-runtime
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
znyx_runtime-1.0.0-py3-none-any.whl -
Subject digest:
5d190e830b18710176c05a4bc571ad5475d6a2b43dce38915800621c4476e834 - Sigstore transparency entry: 2172797945
- Sigstore integration time:
-
Permalink:
zitrino-oss/znyx-runtime@005f828010ec99f99ecce50e27af6079c3033199 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/zitrino-oss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@005f828010ec99f99ecce50e27af6079c3033199 -
Trigger Event:
workflow_dispatch
-
Statement type: