345  guardrails-ai - configuration reference

346 guardrails-ai — configuration reference

Configuration surfaces for guardrails-ai (safety class: safe; category: d-01-runtime-defence) — detected from the upstream documentation at generation time (3 config-surface markers). The invocation reference stays on the main tool page.

346.1 Configuration files

No config-file paths surfaced in the upstream README at generation time — the tool likely takes options through flags or environment instead; see upstream.

346.2 Environment variables

Variable Upstream context
OPENAI_API_KEY ocalhost:8000/guards/two-word-guard/openai/v1/” os.environ[“OPENAI_API_KEY”] = “youropenaikey” messages = [ {

Names extracted heuristically from upstream docs — verify each against the tool’s own docs before use.

346.3 Sample configuration (upstream)

pip install guardrails-ai
    guardrails configure

ref: pin - verified 2026-10-14