There is no SDK

There is no OpenGuardrails SDK, and there is nothing for one to do. The Runtime API is the integration surface.

The whole protocol is POST /v1/evaluate — a GuardEvent of eight required fields in, a Verdict out, twice per model call. Nothing to serialize, sign, enroll or batch, so a language binding has nothing to add. Every plugin this project ships speaks the API directly.

Where to go instead

  • Integrating your own agent — the quickstart: the complete integration is ~30 lines of plain requests/fetch, fail-open by default.
  • The wire contract — the API reference and the JSON Schemas (guard-event, verdict).
  • Ready-made integrations — plugins for gateways and agent harnesses.

⚠️ Packages named openguardrails (PyPI) and @openguardrails/core (npm) still exist at their last published versions. They speak a wire this runtime no longer accepts and will not work. Do not build new integrations on them.