Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

znyx_runtime-1.0.0.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

znyx_runtime-1.0.0-py3-none-any.whl (29.7 kB view details)

Uploaded Python 3

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

Hashes for znyx_runtime-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d081616c7c5d5682622d1534ac3191a8c3d543764844c431061e27e9011f8fd6
MD5 3b5e3ba12552a75c1f9ed0d00d49ac9f
BLAKE2b-256 0d6161177016e1108fa7cf18612f5f4e01d9ba4c20d09488e3b22cc191cf7beb

See more details on using hashes here.

Provenance

The following attestation bundles were made for znyx_runtime-1.0.0.tar.gz:

Publisher: publish.yml on zitrino-oss/znyx-runtime

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for znyx_runtime-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d190e830b18710176c05a4bc571ad5475d6a2b43dce38915800621c4476e834
MD5 773ee0795c6a76a47ec26ba701cedcb6
BLAKE2b-256 b2b972c51f29dcc4c185643bc9ddbf59812523bdacfa760547ab885916c2696e

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page