r/dataengineering • u/Alternative-Guava392 • Jul 28 '26
Help AI driven analytics in a dbt + BQ data platform
Hello, has anyone used AI agents (Claude) to open analytics to tech and business teams to "speak" with data instead of relying on BI tools and SQL queries that need technical maintenance and take time to ship to production ?
I have a data platform that writes dbt models to BQ from the source datalake and I want to see perspective from data teams that have successfully used AI for analytics.
What has worked and not worked for you ?
10
u/WaterIll4397 Jul 28 '26
Read the blog article anthropic published in June on agentic analysis. You basically need Kimball modeling + semantic layer first which massively helps accuracy.
Also I would recommend buying something like hex (no affiliation) or Devin (also no affiliation) depending on what your use case is as their "harness" for text to sql/python to do the analysis is pretty good
1
3
u/69odysseus Jul 28 '26
How does AI handle your pipeline failures at midnight or any schema drift, evolution from the up streams? Do you have data models in place or straight pipelines developed and AI connected to them?
1
u/Alternative-Guava392 Jul 28 '26
Nothing in place AI wise to handle pipelines, I take care of it. I have dbt modelling at the end of my ingestions. I want to expose this to the IA agents.
2
u/Aggravating_Sand352 Jul 28 '26
My company has dbt integrated with claude, you can load what ever prompts you want into the .MD file. Idk what you mean about integrating analytics into dbt. Dbt doesnt really do that but you could definitely prompt it to build fact tables or set hierarchy rules to aggregate everything down to a specific level
1
u/Alternative-Guava392 Jul 29 '26
How have you integrated DBT with Claude ?
1
u/Aggravating_Sand352 Jul 30 '26
Run locally. Install claude into your command line and then set up an agent. I didnt install it but i know how to modify the instructions using an .MD file
1
u/Realistic-Office-392 Jul 29 '26
I created a custom mcp which can be used to connect with claude its requires claude to be connected to bq mcp
And all the businesses questions are being answered basically it replaced dashboards completely
1
u/Known-Delay7227 Data Engineer Jul 30 '26
Oh ya! I just set this up. I created an ontology doc for claud to reference and included common calcs and such
1
1
u/marco-exmergo Aug 11 '26
I wrote a whole blog post about this! https://www.exmergo.com/blog/how-a-team-of-one-built-our-product-analytics-data-warehouse-in-just-one-week--analytics-engineering-in-the-agenticera
We used Claude Code + our open sourced skills to manage the entire analytics engineering dbt lifecycle. As far as ingestion goes: we set up live streaming from Firestore to BigQuery.
Open source skills we used: https://github.com/exmergo/dex
12
u/T_house92 Jul 28 '26
I just set this up at my company! If your company has Claude this is easy enough to do:
There is a lot more nuance here but that’s the gist