Trendyol Tech
Read post

Talking to Your Cloud Bill: An AI-Powered GCP Cost Agent with Agno and BigQuery

Trendyol's Data Warehouse team built a conversational AI agent using the Agno framework that lets anyone query GCP billing data in plain language. The agent pre-loads metadata (projects, services, SKUs) to avoid LLM hallucinations, uses fuzzy matching to resolve informal user terms to exact GCP names, and generates production-grade BigQuery SQL following strict guardrails: no LIKE wildcards, unique CTE aliases, mandatory cost/credits/net-cost triple, and dynamic date functions. A custom BigQuery tool executes queries safely. Data governance is embedded directly in the agent's instructions, enforcing project-level access control with clear denial messages. Key lessons include the value of pre-loaded context, SQL guardrails as reliability features, and the necessity of fuzzy matching since users rarely type exact service names.

    #gcp#ai-agents#finops#google-bigquery
Mar 30•15m read time•From medium.com
Post cover image
9.1K Impressions1 Comment
Trendyol Tech's image
Trendyol Tech

Trendyol Tech Blog offers a glimpse into the technology and engineering practices powering one of Tu...

78 Followers

•

988 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard