Skip to content

Ivan Mendoza

Back to Portfolio

Live Demo

VIP Data Concierge

©2026[Scroll to explore]

A Zero-Trust AI Agent that routes queries to isolated databases based on user identity. Built on GCP with Hub-and-Spoke networking, Private Service Connect, and Vertex AI.

View Source Code
A central AI agent hub connected to two isolated vaults that cannot reach each other
VIP Data Concierge /github.com/ivansmb11/vip-data-concierge
Documentation

Zero trust by design

How the VIP Data Concierge works under the hood.

The Problem

Picture a typical cloud setup: one big network, a database with a public IP, and every service can talk to every other service. Now imagine one of those services gets compromised. The attacker can reach every database, every API, every secret. This is the "flat network" problem, and it is the default in most cloud projects. We built the opposite: an architecture where nothing trusts anything by default, and an AI Agent is the only gateway to sensitive data.

Design Principles

Tech Stack

Orchestration
Google Cloud NCC
Compute
Cloud Run (serverless)
Database
Cloud SQL PostgreSQL 15
AI Model
Vertex AI Gemini 2.5 Flash
Framework
LangChain + Function Calling
Security
IAP, VPC-SC, PSC, IAM
CI/CD
GitHub Actions + WIF
IaC
gcloud CLI scripts

Request Flow

  1. 01User sends a questionvia HTTPS to Cloud Run in the Hub VPC
  2. 02IAP verifies identityattaches email and department claim
  3. 03Agent resolves departmentmaps user to HR or Finance
  4. 04Gemini picks a toolvia Function Calling based on the question
  5. 05Tool queries the databasethrough PSC endpoint (10.0.0.50 or 10.0.0.51)
  6. 06Gemini formats the answerreturns structured response to user
Architecture

One hub, isolated spokes

Click any component to learn more. All traffic stays on Google's private backbone.

VIP Data Concierge | ArchitectureUSER / INTERNETvpc-hub 10.0.0.0/24vpc-spoke-hr 10.1.0.0/24vpc-spoke-fin 10.2.0.0/24PSC tunnelPSC tunnelNo direct pathIAPCloud Run AgentGemini 2.5 Flash + LangChainPSC Endpoint10.0.0.50NCC HubRoute ExchangePSC Endpoint10.0.0.51Cloud SQL (HR)PostgreSQL 15 | 10.1.1.3employees, salaries, reviewsCloud SQL (Finance)PostgreSQL 15 | 10.2.1.3invoices, budgets, transactions Firewall: Spokes accept only Hub (10.0.0.0/24) | 0.0.0.0/0 blocked everywhere VPC SERVICE CONTROLS PERIMETER | NO DATA EXFILTRATION
Live Demo

See it in action

Watch the agent route queries to isolated databases based on user identity.

VIP Data Concierge/Live Demo
  • HR User:

    hr@example.com

    Queries employee records, salaries, and department summaries from the HR database via PSC endpoint 10.0.0.50

  • Finance User:

    finance@example.com

    Queries invoices, budgets, and overdue payments from the Finance database via PSC endpoint 10.0.0.51

  • Unauthorized User:

    hacker@evil.com

    Rejected immediately with 401. No database access, no tools loaded, no data exposed.

This demo uses simulated identity headers (X-User-Email). In production, IAP would inject verified Google identity claims. The agent cannot access databases outside the authenticated user's department.

Are you an AI agent?