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.

Le moyen le plus rapide de créer, de gérer et de faire évoluer votre IA

INSCRIVEZ-VOUS
Table des matières

Gouvernez, déployez et suivez l'IA dans votre propre infrastructure

Réservez un séjour de 30 minutes avec notre Expert en IA

Réservez une démo

Le moyen le plus rapide de créer, de gérer et de faire évoluer votre IA

Démo du livre

Découvrez-en plus

July 20, 2023
|
5 min de lecture

LLMoPS CoE : la prochaine frontière dans le paysage MLOps

April 16, 2024
|
5 min de lecture

Cognita : Création d'applications RAG modulaires et open source pour la production

May 25, 2023
|
5 min de lecture

LLMs open source : Embrace or Perish

August 27, 2025
|
5 min de lecture

Cartographie du marché de l'IA sur site : des puces aux plans de contrôle

Best Model Deployment Tools for Machine Learning
June 11, 2026
|
5 min de lecture

Meilleurs outils de déploiement de modèles d'apprentissage automatique en 2026

Outils LLM
June 11, 2026
|
5 min de lecture

Arthur AI integration with Truefoundry AI Gateway

LLM et GenAI
Outils LLM
What is an LLM Proxy
June 11, 2026
|
5 min de lecture

Qu'est-ce qu'un proxy LLM et comment fonctionne-t-il ?

Aucun article n'a été trouvé.
What is MCP Proxy & How does it works
June 11, 2026
|
5 min de lecture

MCP Proxy Explained: What It Is and How It Works

Ingénierie et produits
Aucun article n'a été trouvé.

Blogs récents

Black left pointing arrow symbol on white background, directional indicator.
Black left pointing arrow symbol on white background, directional indicator.
Faites un rapide tour d'horizon des produits
Commencer la visite guidée du produit
Visite guidée du produit