Databricks adds AI guardrails

Databricks introduces Unity AI Gateway Guardrails, offering pre-built and custom controls to secure AI applications against data leaks and harmful outputs.

Databricks logo with abstract AI network visualization
Databricks Unity AI Gateway Guardrails provide essential security layers for AI applications.
Visual TL;DR
AI RisksDriver
From the article 2 mentionsThe move comes as organizations grapple with the risks associated with AI deployment.
Governed AIEffect
fundamental governance and security layer for AI
Databricks Unity AICore
new controls for AI applications
From the article 9 mentionsThe company announced the beta release of Unity AI Gateway Guardrails, a feature designed to provide flexible oversight of AI model and agent behavior.
AI Gateway GuardrailsCore
From the article 9+ mentionsThe company announced the beta release of Unity AI Gateway Guardrails, a feature designed to provide flexible oversight of AI model and agent behavior.
Pre-built & Custom ControlsContext
pre-built and custom controls to secure AI applications
Prevent Data LeaksContext
protecting sensitive company data from being exposed to models
Prevent Harmful OutputsContext
preventing AI from generating harmful or offensive content
From the articleUnsafe Content Blocking: Blocks harmful or unsafe outputs.
Brand AlignmentContext
From the articleThese guardrails serve multiple purposes: protecting sensitive company data from being exposed to models, preventing AI from generating harmful or offensive content, and ensuring that AI-generated text aligns with brand guidelines.
Secure AI AppsOutcome
secure AI applications against risks
Contents(3)

Databricks is rolling out a new set of controls for its AI applications, aiming to prevent security breaches and ensure compliance. The company announced the beta release of Unity AI Gateway Guardrails, a feature designed to provide flexible oversight of AI model and agent behavior.

The move comes as organizations grapple with the risks associated with AI deployment. Databricks highlights that governing AI usage is complex, citing its own AI Security Framework which lists dozens of risks and controls. LLM guardrails are presented as a fundamental governance and security layer.

These guardrails serve multiple purposes: protecting sensitive company data from being exposed to models, preventing AI from generating harmful or offensive content, and ensuring that AI-generated text aligns with brand guidelines. They can also keep conversational AI focused on specific topics.

Databricks is rolling out a new set of controls for its AI applications, aiming to prevent security breaches and ensure compliance. The company announced the beta release of Unity AI Gateway Guardrails, a feature designed to provide flexible oversight of AI model and agent behavior.

Governing Generative AI for Marketing

Consider Acme Co., a fictional marketing firm using an AI assistant for campaign drafting. Their CIO mandates strict policies: no customer Personally Identifiable Information (PII) in prompts, screening for jailbreaks and prompt injection, and prohibiting harmful content generation.

Additionally, Acme wants to avoid disparaging competitors in campaign materials. To achieve this, the AI platform team configures a Unity AI Gateway Endpoint.

Building a Governed AI Endpoint

The team selects a general-purpose model and sets up inference tables for monitoring. They map business requirements to specific guardrail types:

  • PII Detection & Redaction: Sanitizes input to prevent PII leakage.
  • Jailbreak & Prompt Injection: Blocks input attempts to manipulate the AI.
  • Unsafe Content Blocking: Blocks harmful or unsafe outputs.
  • Custom Block: A tailored guardrail to prevent naming or disparaging competitors.

Setting up built-in guardrails involves selecting the type, configuring actions like redaction or blocking, and optionally adjusting the evaluator model for performance or cost. A log mode is available for testing new guardrails on live traffic without disruption.

Custom guardrails require more detailed prompts, specifying the business context, competitor names, and providing few-shot examples. The effectiveness of these custom guardrails can depend on the chosen evaluator model, with Databricks suggesting iterative refinement based on performance and cost.

Testing and Auditing Guardrails

The Acme team tests the endpoint with various prompts, observing guardrail behavior. Prompts containing PII are sanitized, while attempts at jailbreaking or generating disparaging content are blocked.

The testing revealed that custom guardrails needed refinement. Iterations on the prompt, along with switching to a more capable evaluator model like GPT-5.4-mini, improved reliability. Databricks recommends capturing live traffic data to further tune custom guardrails for precision, recall, cost, and latency.

Guardrail activity is logged in inference tables, providing detailed insights into request status, token usage, and evaluator responses. These tables allow for tracing guardrail decisions back to client calls, enabling the creation of reports and dashboards for usage analysis and troubleshooting.

This granular visibility helps in validating user sessions if guardrails prove overly sensitive.

LLM Guardrails in Unity AI Gateway are now in beta, encouraging users to implement them for endpoints handling sensitive data or customer-facing outputs.

© 2026 StartupHub.ai. All rights reserved. You may not republish this article in full without a license. Search engines and AI research tools may crawl and summarize for reference. Bulk reproduction or model training requires a license. See our terms.
Daniel Singer

Written by

Daniel Singer

Editor, StartupHub.ai

Daniel Singer is the editor of StartupHub.ai, a technology expert and thought leader on AI and its applications across sectors, from fintech and healthcare to developer tooling and consumer software. He writes and tests the tools covered here thoroughly and regularly, and built StartupHub.ai to give founders, operators and buyers a clearer read on what they are actually being sold.