znyx-core
Engine, as a library
The detection engine as a Python library. It runs the checks in-process, inside your own app. No server, no network hop.
pip install znyx-core
For developers
ZNYX checks text, your prompts, model output, and tool calls, against your policies and returns a decision: allow, block, or redact. There are three open-source packages, and you almost always want just one or two of them. This page helps you pick in under a minute.
The packages
Two of them do the actual checking, znyx-core and znyx-runtime. The third, znyx-sdk, only calls a runtime over the network.
Engine, as a library
The detection engine as a Python library. It runs the checks in-process, inside your own app. No server, no network hop.
pip install znyx-core
Engine, as a service
znyx-core wrapped in a FastAPI web service. Run it once, then many apps in any language call it over HTTP. It already contains the engine.
docker run znyx/runtime # or pip install znyx-runtime znyx-runtime serve
Thin client
A thin client library with no detection logic of its own. Add it to your app to call a running runtime over HTTP. Also available in TypeScript, Java, C#, Ruby, and Rust.
pip install znyx-sdk
Decision guide
Find the row that describes you, then install what it points to.
Install znyx-core only
The engine runs inside your process. Nothing else to deploy or operate. This is the fastest way to start checking text.
pip install znyx-core
Run znyx-runtime and install znyx-sdk in each app
Stand up the runtime once (Docker or pip), then each application calls it with the SDK. One place to manage policy, any language can talk to it.
docker run znyx/runtime pip install znyx-sdk
Install znyx-sdk only
You do not need the engine locally. The SDK is all you need to send text to the existing runtime and read back the decision.
pip install znyx-sdk
At a glance
Read across your row to see what to install.
| Your situation | znyx-core | znyx-runtime | znyx-sdk |
|---|---|---|---|
| One Python app, simplest, no server | znyx-core | No | No |
| Shared service, non-Python apps, or production | No | znyx-runtime | Yes, in each app |
| Runtime already running elsewhere | No | No | znyx-sdk only |
You need exactly one way to do the checking: znyx-core or znyx-runtime, not both. The SDK is only needed to call a runtime over the network. So you would not combine core with runtime, since the runtime already contains core, and you would not combine core with the SDK, since core needs no runtime to talk to.
They are two ways to run the one runtime. Docker is the primary production channel; pip is the friction-free path for local development. The runtime is rules-only out of the box. To add ML detection, point the runtime at an inference sidecar.
FAQ
Which of the three packages you need, and which combinations make no sense.
Pull the open-source runtime, drop it into your stack, and start enforcing policy in minutes, free, forever. Add the hosted control plane when you want centralized policies, evidence, traces, and team workflows.