Azure-Samples/ai-hub-gateway-solution-accelerator

Reference architecture that provides a set of guidelines and best practices for implementing a central AI API gateway to empower various line-of-business units in an organization to leverage Azure AI services

What it solves

Citadel Governance Hub provides a centralized, enterprise-grade "landing zone" for AI deployments. It solves the problem of scaling AI innovation across large organizations while maintaining strict security, compliance, and observability. Instead of each team deploying AI services in silos, this hub acts as a governed gateway that enforces consistent policies, manages costs, and ensures safety guardrails across all AI consumption.

How it works

The project implements a hub-and-spoke architecture where a central control plane (the Governance Hub) manages the runtime enforcement of AI policies. It uses Azure API Management as a unified AI gateway to route requests to various LLM backends.

Governance is managed through a "contract-driven" approach using infrastructure-as-code (Bicep/Terraform), consisting of three contract types:

  • Backend Contracts: Define the available LLM backends and models (e.g., Azure OpenAI, Amazon Bedrock).
  • Access Contracts: Define which agents or business units can access specific models and what policies (like PII detection or content safety) apply to them.
  • Publish Contracts: Allow the publication of AI tools (MCP) and agents (A2A) through the gateway.

Who it’s for

Enterprise platform teams and AI architects who need to deploy a secure, scalable, and observable AI infrastructure on Azure that supports multiple business units and diverse AI workloads.

Highlights

  • Unified AI Gateway: Centralized routing, rate limiting, and identity validation using Azure API Management.
  • Contract-Driven Governance: Declarative, version-controlled onboarding of models and use cases via IaC.
  • Integrated Safety: Built-in support for PII detection and content safety protections.
  • Enterprise Observability: Centralized logging and real-time usage analytics using Event Hub and Cosmos DB.
  • Flexible Networking: Supports both dedicated spoke VNet and integrated enterprise hub VNet deployment patterns.

Related

  • Project
  • Project
  • Project
  • Project
  • Project