Arthur GenAI Engine stateless validation on TrueFoundry AI Gateway via a deployable FastAPI wrapper.
Deploy the integrations/arthur-aiFastAPI wrapper on any public HTTPS host. The gateway calls it at llm_input / llm_output via the Custom Guardrail contract; the wrapper forwards traffic to Arthur GenAI Engine and returns verdict JSON on HTTP 200.
Arthur GenAI Engine is a SaaS platform for validating LLM prompts and completions. The wrapper calls POST /api/v2/validate and maps rule results to pass/block — it does not embed policy logic beyond the checks you configure.Arthur is validate-only. Use Operation: Validate for both input and output rails. It reports failures but does not redact or rewrite text.Default checks when config is {}:
Set TFY_WORKSPACE_FQN, TFY_PUBLIC_HOST, TFY_PUBLIC_PATH, and secret FQNs in .env. Create secrets arthur-api-key and wrapper-api-key under group arthur-guardrails-tfy in Platform → Secrets.Local: