Blank white background with no objects or features visible.

TrueFoundry recognized in Gartner Hype Cycle for Platform Engineering 2026. Read the full report →

Join our VAR & VAD ecosystem — deliver enterprise AI governance across LLMs, MCPs & Agents. Become a Partner →

Arthur AI integration with Truefoundry AI Gateway

Arthur AI integration with Truefoundry AI Gateway

Every team shipping an LLM application runs into the same wall. Developers want to move fast and connect to whatever model gets the job done. Security and risk teams want assurance that nothing toxic, manipulated, or hallucinated slips through to a user. Both are right. The hard part is doing both at once, across every model your teams are using, without bolting a different SDK onto every app. The big question: how do you validate every prompt and every response your AI produces without turning safety into an engineering project?

We are excited to announce that Arthur AI now integrates with the TrueFoundry AI Gateway. By bringing the Arthur Engine to the Gateway as a custom guardrail, you can validate AI inputs and outputs in real time across all your models from one place, with consistent policy and a single integration.

The Power of the TrueFoundry AI Gateway

The TrueFoundry AI Gateway is how developers and platform teams manage, monitor, and scale their AI applications. It brings unified access to hundreds of large language models, deep observability, and smart routing together in one layer. As AI adoption grows, the real challenge stops being access to models and becomes managing everything that comes after: multiple providers, shifting APIs, and strict compliance requirements that can quietly slow teams to a crawl.

The Gateway brings order to that complexity. It acts as the command center for enterprise AI, unifying access, enforcing security policy, and giving full visibility into every model and environment. Guardrails plug into this layer once and apply everywhere, so a safety decision made in the dashboard is enforced on every request that flows through.

Arthur AI: Real-Time Validation

Arthur AI sits between your application and your models as a validation layer. The ArthurEngine inspects prompts and completions in real time and returns a clear verdict on whether they are safe to proceed.

Out of the box, Arthur checks for the risks that matter most in production. It detects prompt injection, where an attacker crafts input designed to hijack the model and pull it off its instructions. It flags toxic content on both the way in and the way out, so harmful language never reaches your model or your users. And it runs hallucination checks against grounding context you supply, catching responses that drift from the facts before they are trusted as answers.

One important detail shapes how Arthur fits in: it is validate-only. It tells you, fast and statelessly, whether something passed or failed. It reports problems rather than silently rewriting text, which keeps its behavior predictable and easy to audit.

Better Together: One Contract, Every Model

The integration connects Arthur to TrueFoundry through a lightweight deployable wrapper and the Gateway's Custom Guardrail contract. You deploy a small FastAPI service, point the Gateway at it, and register two guardrail configs in the dashboard: one for input, one for output. From that moment, any model behind the Gateway can be validated by Arthur with no per-app code changes.

That is the real payoff. Instead of wiring Arthur into every application by hand, you attach it once at the Gateway. Pin it to a model so every caller is protected, or opt in per request with a single header when you only want it on specific calls. The same policy travels with every team, model, and environment, and every verdict is captured alongside TrueFoundry's request tracking for a clean audit trail.

How the Arthur AI and TrueFoundry Integration Works

The integration introduces a layered validation flow that is easy to follow:

  1. Your application sends a request, and it first passes through the TrueFoundry AI Gateway.
  2. The Gateway forwards the prompt to the Arthur wrapper, which calls the Arthur Engine to check for prompt injection and toxicity.
  3. Arthur returns a verdict. An allow verdict lets the request continue to the model. A block verdict halts it, and a safe response is returned instead.
  4. Optionally, once the model generates a completion, the Gateway sends that output back through Arthur for a final toxicity and hallucination check before it ever reaches the user.

A subtle but important design choice makes this robust: policy decisions ride on a normal HTTP 200 with a verdict field, while genuine infrastructure failures surface as 5xx errors. With the recommended Enforce But Ignore On Error strategy, a transient outage passes traffic through, but a real policy block always stops the request. For safety-critical rails, you can switch to strict enforcement and fail closed instead.

Get Started

Securing your AI should not feel like a rebuild. With Arthur AI on the TrueFoundry AI Gateway, real-time validation is closer to flipping a switch than a wiring project: deploy the wrapper, add two guardrail configs, attach them to your models, and you are validating prompts and responses across your stack.

To see exactly how it works, head to the Arthur AI integration guide in the TrueFoundry docs, where the full setup, response contract, and custom check configuration are laid out step by step.

La forma más rápida de crear, gobernar y escalar su IA

Inscríbase
Tabla de contenido

Controle, implemente y rastree la IA en su propia infraestructura

Reserva 30 minutos con nuestro Experto en IA

Reserve una demostración

La forma más rápida de crear, gobernar y escalar su IA

Demo del libro

Descubra más

July 20, 2023
|
5 minutos de lectura

LLMOps CoE: la próxima frontera en el panorama de los MLOps

April 16, 2024
|
5 minutos de lectura

Cognita: Creación de aplicaciones RAG modulares y de código abierto para la producción

May 25, 2023
|
5 minutos de lectura

LLM de código abierto: abrazar o perecer

August 27, 2025
|
5 minutos de lectura

Mapeando el mercado de la IA local: desde chips hasta aviones de control

Best Model Deployment Tools for Machine Learning
June 11, 2026
|
5 minutos de lectura

Las mejores herramientas de implementación de modelos de aprendizaje automático en 2026

Herramientas LLM
June 11, 2026
|
5 minutos de lectura

Arthur AI integration with Truefoundry AI Gateway

LLMS y GenAI
Herramientas LLM
June 5, 2026
|
5 minutos de lectura

Las mejores plataformas de IA para agencias en 2026

No se ha encontrado ningún artículo.
What is an LLM Proxy
June 11, 2026
|
5 minutos de lectura

¿Qué es un proxy LLM y cómo funciona?

No se ha encontrado ningún artículo.
No se ha encontrado ningún artículo.

Blogs recientes

Black left pointing arrow symbol on white background, directional indicator.
Black left pointing arrow symbol on white background, directional indicator.
Realice un recorrido rápido por el producto
Comience el recorrido por el producto
Visita guiada por el producto