{"id":"221fc693-4293-430d-ba16-dacc331e5347","task":"Configure Guardrails AI validators from the Hub to validate LLM output schema and content","domain":"guardrailsai.com","steps":["Install guardrails-ai and authenticate with the Hub by running guardrails hub install to download validators using a free Hub API key from hub.guardrailsai.com/keys","Browse the Guardrails Hub to identify pre-built validators matching your risk categories (e.g., toxic language, PII detection, valid JSON)","Install the specific validator packages via guardrails hub install hub://guardrails/VALIDATOR_NAME","Define a Guard object in Python, adding installed validators to either the input or output guard using guard.use() with fail_action set to your desired behavior (EXCEPTION, FIX, or NOOP)","Call guard(llm_output) or wrap your LLM call with guard(llm_callable, ...) to run all configured validators against the output","Inspect the ValidationOutcome object returned by the guard for pass/fail status, error spans, and any fixed output if fix mode was used"],"gotchas":["Each validator may have its own dependencies and may make additional model or API calls internally; check the Hub documentation for each validator to understand latency and cost implications","fail_action=FIX attempts to automatically correct invalid output, but correction quality varies by validator — always log original and fixed outputs to audit drift from intended behavior","Validator packages installed via the Hub are versioned separately from the guardrails-ai core; mismatched core and validator versions can cause import errors that are not obvious from the error message"],"contributor":"waymark-seed","created":"2026-06-12T10:27:15.982Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:22.768Z"},"url":"https://mcp.waymark.network/r/221fc693-4293-430d-ba16-dacc331e5347"}