Google Cloud Apigee X β€’ Enterprise AI Gateway Suite

Enterprise AI Gateway Demonstration Suite

Protect, govern traffic, authorize tools, and control inference costs for your entire Generative AI enterprise workloads on Google Cloud Apigee X.

Security Interceptions
~750ms Zero-Token Leakage
Traffic Governance
Silver & Gold Tier Limiting
MCP & Tools Authorization
Role-Based Tool Filtering
Model Routing
Cost-Aware Multi-LLM
Apigee X Org
int-rd-apigee-gke

Model Armor & AI Safety Interception

Security & Guardrails Inbound & Outbound

Test two-tier defense-in-depth (Inbound & Outbound) against Prompt Injections, sensitive PII leakage, harmful content, and compare latency between buffered REST and Server-Sent Events (SSE) streaming.

  • Prompt Injection Mitigation (SUP): Evaluate and intercept malicious prompts in ~750ms before forwarding to Vertex AI.
  • Data Loss Prevention (SMR): Prevent leakage of credit card numbers, personal emails, and sensitive PII.
  • Live Comparative Benchmarking: Real-time side-by-side execution of buffered REST vs real-time SSE streaming.

Token Quota & AI Governance

Traffic Governance Cost Control

Govern and enforce multi-tier LLM token consumption limits (Silver vs Gold) using Apigee's 5-minute rolling window SpikeArrest & LLM Token Quota combined with Vertex AI gemini-3.8-flash.

  • Dynamic Tiered Token Quotas: Silver Tier (4,000 tokens) vs Gold Tier (40,000 tokens) enforced over a 5-minute window.
  • Burst Simulation & Rate Limiting: Simulate high burst traffic and observe instant HTTP 429 RESOURCE_EXHAUSTED mitigation.
  • Live Telemetry Dashboard: Real-time monitoring of prompt tokens, candidate tokens, and inference latency.

MCP & Tools Authorization

Keycloak OAuth2 Agent RBAC

Authorize and filter Model Context Protocol (MCP) tool execution for AI Agents. Verify how Apigee Gateway dynamically enforces access control based on user roles (Customer vs Store Manager).

  • Keycloak IDP Integration: Enterprise OAuth 2.0 PKCE authentication flow and secure JWT token claims.
  • Fine-Grained Tool Filtering: Restrict administrative tools (inventory, pricing) exclusively to store managers.
  • Interactive Coffee Agent: Real-time conversation with an intelligent Agent powered by Google ADK.

Sensitive Data Protection (Cloud DLP)

Data Loss Prevention Bidirectional PII

Enforce real-time bidirectional PII redaction and tokenization (e.g. CCCD, BHXH, Credit Cards, Bank Accounts, Passwords) using native Cloud DLP inspect & deidentify templates before prompts ever hit Vertex AI.

  • Inbound Masking: Automatically tokenize PII into infoType tokens ([EMAIL_ADDRESS], [VN_CCCD]) in ~80ms.
  • X-Ray Inspection & Compare: Side-by-side view of raw prompts vs. sanitized text seen by Gemini.
  • Developer App Governance: Enforce strict fail-closed policies with bypass permission controls.

Dynamic Model (LLM) Routing

Cost-Aware Routing Automated Failover

Intelligently decide per-prompt which LLM should answer (Gemini 3.5 Flash-Lite, Gemini 3.1 Pro, Claude Sonnet 4.5, GPT-4.1) using rules, Vertex AI classifier or NVIDIA NemoCurator with automatic single-hop failover.

  • Pluggable Decision Strategies: Preset rules engine (~0ms), Gemini 3.5 Flash-Lite classifier, or self-hosted NVIDIA NemoCurator (~40ms).
  • Automated Model Failover: Seamless fallback to tier backup Gemini models on HTTP 404, 408, 429 or 5xx upstream errors.
  • Live Telemetry & Cost Savings: Real-time token analytics, response headers inspection, and comparative strategy benchmarking.