Stop rogue AI: Enforce policy & cut costs in Agent Development Kit (ADK)

May 28, 2026Channel
AI Analysis
Data from YouTube Data API v3Updated Just now

Video Overview

Video Details

Published1 month ago
Duration9:14
Video IDM43nN___cl0
Languageen-US
CategoryScience & Technology
PrivacyPublic
Made for KidsNo
Video TypeRegular Video

Performance Metrics

Views1.4K
Likes50
Comments7
Engagement Rate4.17%
Likes per 100 views3.66
Comments per 1K views5.12

Description

Link to the code repo. → https://goo.gle/adk-financial-advisor When an AI chatbot goes off script, it’s not just awkward. It can be a massive legal and financial risk for your company. In this video, Miguel Gutierrez joins Martin Omander for a hands on look at how to keep bots in their own lane. Dive straight into the code and learn how to use agent callbacks in Google’s Agent Development Kit (ADK). We’ll walk through how to build custom guardrails that intercept requests, enforce company policies (like blocking unwanted financial or crypto advice), and implement a cache so you stop paying for the same tokens twice. What Martin and Miguel cover: * Setting up a "one-and-done" disclaimer using conversation state. * Using a lightweight LLM "judge" to detect user intent and block risky requests. * Hardcoding strict boundaries for specific tools. * Hooking up a cache to cut down latency and API costs. Chapters: 0:00 - Intro 1:33 - Demo 4:54 - Code review 8:08 - Takeaways Watch more Serverless Expeditions → https://goo.gle/ServerlessExpeditions 🔔 Subscribe to Google Cloud Tech → https://goo.gle/GoogleCloudTech #ServerlessExpeditions #GoogleCloud Speakers: Martin Omander, Miguel Gutierrez Products Mentioned: Agent Development Kit

Related Videos

More videos from Google Cloud Tech