Metadata-Version: 2.4
Name: znyx-runtime
Version: 1.0.0
Summary: 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.
Author: Zitrino
License: Apache-2.0
Project-URL: Homepage, https://github.com/zitrino-oss/znyx-runtime
Project-URL: Source, https://github.com/zitrino-oss/znyx-runtime
Project-URL: Issues, https://github.com/zitrino-oss/znyx-runtime/issues
Keywords: llm,guardrails,safety,ai-security,fastapi,policy
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: FastAPI
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Security
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: znyx-core>=1.0.0
Requires-Dist: fastapi>=0.109.0
Requires-Dist: uvicorn[standard]>=0.27.0
Requires-Dist: pydantic>=2.5.0
Requires-Dist: pydantic-settings>=2.1.0
Requires-Dist: python-multipart>=0.0.30
Requires-Dist: python-dotenv>=1.0.0

# 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.

```bash
pip install znyx-runtime
znyx-runtime serve --port 8080
```

Or with Docker:

```bash
docker run -p 8080:8080 znyx/runtime
```

The runtime is deliberately thin: FastAPI, uvicorn, httpx, and
[`znyx-core`](https://github.com/zitrino-oss/znyx-runtime) (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](https://github.com/zitrino-oss/znyx-runtime) for
configuration, deployment manifests, and the evaluate API.

## License

Apache-2.0
