Skip to content

Guardrail runtime

Guardrail functions are Python handlers for request and response processing using the Envoy Proxy ExtProc protocol. The required processing_mode selects which request or response stages the handler processes. See the Python handler definition for general handler setup and the Guardrail handler definition for ExtProc-specific behavior.

Prerequisites

Actions

  • Serve

    Deploy a Guardrail function as a request/response processor.

  • Build

    Build a container image for a Guardrail function.

Examples

  • Examples

    Explore examples for Guardrail builds and request/response processing.