Quick Overview
In this technical demonstration from Google Cloud Tech, Developer Relations Engineer Haengeun Chi explores how to ground generative AI agents using Looker and Knowledge Catalog. The video addresses common issues with autonomous agents querying databases directly, showing how semantic layers and centralized governance improve query accuracy and data privacy.
Key Points
- 1.Integrating Looker with Google Cloud Knowledge Catalog provides AI agents with semantic definitions, lineage tracking, and automated governance.
- 2.Knowledge Studio dynamically maps data lineage from Looker dashboards down to underlying BigQuery source tables for impact analysis.
- 3.A baseline language model writing raw SQL struggles with domain logic, whereas a governed Looker agent generates accurate queries in fewer turns and tokens.
- 4.Sensitive fields tagged as personally identifiable information in Knowledge Catalog are automatically redacted by governed agents to preserve privacy.
- 5.Governed AI agents can simultaneously combine structured metrics from Looker and unstructured policy documents from Cloud Storage to answer complex business questions.
Summary
Haengeun Chi, a developer relations engineer at Google Cloud and third-dan Taekwondo black belt, explains how combining Looker as a semantic layer with Google Cloud Knowledge Catalog grounds AI agents in accurate organizational context. When Looker integrates with Knowledge Catalog, assets including LookML models, explores, views, and dashboards are automatically indexed and made searchable within the Google Cloud console. In Knowledge Studio, querying an exploration agent dynamically generates a visual context graph. This allows data engineers to trace upstream lineage from high-level dashboards down to underlying BigQuery source tables, facilitating impact analysis before modifying or removing database columns. Selecting nodes within the context graph reveals detailed metadata, table join conditions, and LookML dimension definitions, such as conditional case statements for athlete age brackets.
To demonstrate the value of this integration, Chi sets up a side-by-side comparison in Gemini using a World Taekwondo Championship dataset. The experiment evaluates two systems: a baseline agent that attempts to write raw SQL directly against BigQuery tables, and a governed Looker agent guided by Knowledge Catalog. When asked to identify the top three athletes and their medal counts in the Under 50 team poomsae division, the baseline agent struggles due to a lack of domain logic. Unaware that the Under 50 team category encompasses ages 31 through 50, it expends multiple reasoning turns inspecting tables and either concludes the division does not exist or incorrectly applies an age bracket of 41 to 50. In contrast, the governed agent consults Knowledge Catalog, converts user intent into optimized Looker SQL, and delivers the correct athlete rankings in fewer turns and tokens.
The governed agent also supplies an interactive Looker explore link, enabling users to adjust filters, drill into row-level statistics, or trigger external actions like sending a message to a coach via Slack. Data governance is further demonstrated through privacy controls managed in Knowledge Catalog. When metadata tags designate athlete license IDs, weight, and height as personally identifiable information, the governed agent consults those policies and redacts the sensitive values from its responses. The baseline agent, lacking governance constraints, prints the unmasked biometric data directly.
Finally, Chi shows how Knowledge Catalog integrates unstructured documentation alongside structured data. An official grant policy PDF uploaded to Cloud Storage is indexed into Knowledge Catalog. When asked which athletes in the Under 50 division qualify for grants and their payout values, the governed agent synthesizes live tournament point totals from Looker with eligibility clauses and stipend schedules in the PDF. It accurately calculates the payouts, determining that Chi herself earns an eighteen-thousand-dollar grant consisting of a fifteen-thousand-dollar base award plus a twenty percent age uplift. Chi emphasizes that without Knowledge Catalog unifying structured metrics and unstructured rules, AI agents cannot reliably answer such complex multi-source inquiries.
Indexing Looker Assets in Knowledge Catalog
Looker assets such as LookML models, explores, views, and dashboards automatically index into Knowledge Catalog. In Knowledge Studio, querying an exploration agent generates an interactive context graph mapping upstream data lineage from dashboards to BigQuery source tables. This allows data engineers to inspect metadata, verify join logic, and evaluate the downstream impact of schema changes before modifying columns.
Comparing Baseline SQL Agents with Governed Looker Agents
A side-by-side comparison in Gemini demonstrates how a governed Looker agent outperforms a baseline language model writing raw SQL. While the baseline agent wastes turns inspecting schemas and misinterprets business definitions such as division age brackets, the governed Looker agent uses catalog metadata to translate user intent into optimized SQL, returning accurate rankings and direct links to Looker explores.
Enforcing Data Governance and Biometric Privacy
Data governance policies configured in Knowledge Catalog tag sensitive fields, including athlete license IDs, height, and weight, as personally identifiable information. When prompted for these details, the baseline agent displays raw data directly from BigQuery, whereas the governed agent detects governance restrictions and redacts or hides the sensitive attributes to maintain privacy compliance.
Synthesizing Structured Metrics with Unstructured Policy Documents
Knowledge Catalog allows agents to bridge structured enterprise analytics with unstructured documentation, such as an official grant policy PDF stored in Cloud Storage. By combining live tournament performance metrics from Looker with eligibility rules and stipend tables extracted from the PDF, the governed agent accurately calculates tiered grant payouts and age-based uplifts.
The Bottom Line
The presentation establishes that combining Looker semantic modeling with Google Cloud Knowledge Catalog gives AI agents the context needed to eliminate SQL hallucination, reduce reasoning latency, and respect data privacy rules. It proves that agents grounded in this architecture can synthesize operational database queries with unstructured policy documents to resolve complex business questions automatically. The video lands on a functional demonstration across Google Cloud services while leaving production setup procedures, agent tuning parameters, and cost overhead unexamined.
FAQ
What is Looker and Knowledge Catalog integration and how does it ground AI agents on Google Cloud?
It is an architecture that indexes Looker semantic models, explores, and dashboards into Google Cloud Knowledge Catalog, giving AI agents verified domain logic, data lineage, and metadata context to query enterprise databases accurately.
How does the Knowledge Studio context graph assist data engineers with impact analysis?
It visually maps lineage from Looker dashboards upstream to underlying BigQuery source tables, enabling engineers to inspect dependencies, join logic, and metadata before altering or removing dataset columns.
Why does a baseline large language model fail to correctly query the Under 50 poomsae division?
The baseline model lacks domain context and semantic definitions, leading it to guess schema relationships, waste processing turns, and either claim the division does not exist or apply an incorrect age bracket.
How does Knowledge Catalog enforce privacy protection for sensitive athlete data?
Fields designated as sensitive or personally identifiable information in Knowledge Catalog are recognized by the governed agent, which automatically redacts or suppresses attributes like member IDs, weight, and height from user responses.
How does the governed Looker agent calculate grant payouts using unstructured documents?
The agent reads an official grant policy PDF indexed in Knowledge Catalog to extract eligibility tiers and uplift formulas, merging those rules with live tournament points retrieved through Looker to determine exact payouts.
Worth watching for
Data engineers, business intelligence professionals, and cloud architects looking to ground generative AI agents with enterprise semantic layers and data governance on Google Cloud.
- looker
- knowledge-catalog
- google-cloud
- generative-ai
- data-governance
- bigquery