# Section: Blog — 50 most recent posts --- title: "What's new in dbt: November 2026" description: "Local unit tests, a free dbt State plan, Wizard Desktop in Public Beta, and dbt Charts in Claude and ChatGPT." url: "https://www.getdbt.com/blog/whats-new-in-dbt-november-2026" date: "2026-11-17" authors: ["Corinne Hallander"] categories: ["Product"] --- # What's new in dbt: November 2026 AI agents are writing more SQL every day. Humans are talking more and more to AI about their data. That changes things, for all of us. At [dbt Summit](https://www.getdbt.com/dbt-summit), we asked the thousands of data professionals who joined us in Las Vegas and online to [level up with us](https://www.getdbt.com/blog/dbt-summit-2026-product-announcements): from analytics engineers to context engineers, and from the modern data stack to open data infrastructure. Two months later, here’s what we’ve shipped to help you get there: - **Local unit tests (Alpha)** and **Batch Testing **in dbt v2, for faster, efficient testing - **A new free plan for dbt State**, so your runs keep skipping unchanged models at no cost - **dbt Wizard Desktop is now in Public Beta**, on macOS, Windows, and Linux - **New one-click dbt MCP integrations** on **Cursor,** **Databricks and Snowflake** marketplaces - **dbt Charts in Claude and ChatGPT**: chat with your boards and warehouse right where you already work - **More security and governance in dbt platform**, from self-serve PrivateLink to model query history on more data platforms Want to see it all in action? [Watch the webinar](https://www.getdbt.com/resources/webinars/what-s-shipping-in-dbt) for demos from our product experts: Senior Product Manager Aika Zikibayeva on dbt v2 and dbt State, Senior Director, Product Sean Lynch on dbt Wizard, and General Manager, Charts Dave Fowler on dbt Charts. ## **Level up the engine: faster testing in v2 and more from dbt State** The biggest news at dbt Summit: dbt v2, our next-generation engine, is GA. Compared to dbt v1, it’s: 1. **Faster**, because it’s built in Rust and scales to thousands of models. 2. **Smarter**, with built-in SQL comprehension and column-level lineage. 3. **Agent-ready**, generating structured, queryable project metadata at compile time that your agents and governance tools can trust. Whether you self-host dbt, you’re open source forever, or you’re a dbt platform customer, it’s time to upgrade. dbt v2 is GA for Amazon Redshift, Databricks, Google BigQuery, Snowflake, and DuckDB, with ClickHouse and Apache Spark in Beta. More than 14,000 active projects already run on dbt v2 every week, and customers are seeing 30-40% faster end-to-end runs. As senior Data Engineer, Matt Karan at [Obie](https://www.getdbt.com/blog/how-obie-cut-compute-costs-by-30-percent) puts it: “Everything about v2 has sped up our workflows.” And v2 is still getting faster. One of the first places you’ll feel it: testing. ### **Run unit tests locally (Alpha)** Unit tests are how you catch logic bugs before they hit production. But every run is a round trip to your warehouse, which adds latency and compute cost to every iteration. At Summit, we previewed local unit testing: dbt v2 translates your SQL to DuckDB and runs your unit tests _wherever_ dbt runs, **without a warehouse round trip**. ```json { "_key": "2eddde5992d1", "_type": "heroVideo", "isModal": false, "url": "https://youtu.be/PoaLls4R2yE" } ``` That means faster feedback, a lower cost of testing, and more room to test early, test often — for you and your agents. Now in alpha, local unit tests are ready for you to try. **How to get started:** Set `DBT_ENGINE_EXPERIMENTAL_LOCAL_UNIT_TESTS=true`, then add `compute: local` to a single test, or `+compute: local` across your project. → [Read the docs](https://docs.getdbt.com/docs/build/unit-tests?version=2#run-unit-tests-locally) ### **Batch testing (GA)** Have you ever skipped running multiple tests due to cost constraints? With each test running as its own query, one big project can add up to hundreds of small queries hitting your warehouse on every run. There’s a more efficient way with batch testing: dbt v2 combines the `unique` and `not_null` tests on each model into one query per test type, with no changes to your tests. In our own internal testing, this cut runtime by 40% and warehouse queries by 65%. ```json { "_key": "8afb53e385dc", "_type": "heroVideo", "isModal": false, "url": "https://youtu.be/y56leGJXLSA" } ``` **How to get started:** Add `--batch-tests` to `dbt build` or `dbt test`, or set `batch_tests: true` under `flags` in `dbt_project.yml`. → [Read the docs](https://docs.getdbt.com/reference/global-configs/batch-tests?version=2) **** ## dbt State Your cheapest model is the one you reuse when nothing has changed. The biggest cost and time savings come from skipping redundant work, not just optimizing queries. At dbt Summit, we announced dbt State is GA, which helps you simplify your orchestration, iterate faster and safer in development, and only build what’s changed. Here’s what we’ve built since then: ### **Lag tolerance recommendations (GA)** The more precisely you set your freshness SLAs, the more dbt State can skip. Lag tolerance recommendations help you fine-tune sub-project and model-level SLAs, and show you the impact of setting `lag_tolerance` before you commit to it. → [Read the docs](https://docs.getdbt.com/docs/deploy/dbt-state-interface#lag-tolerance-recommendations) ### **A new free plan for dbt State** Now, your 30-day free trial rolls into a free plan, so your runs keep skipping unchanged models at no cost. Every month, you get: - **1,000 DATT** (daily active target tables) if you're self-hosting dbt - **1,000 DATT** on dbt platform Developer and Starter plans - **2,000 DATT** on dbt platform Enterprise and Enterprise+ plans If you run through your allotment, your models build as they would without dbt State until the start of the next month. And dbt State runs anywhere you run dbt: natively in the dbt platform and dbt v2, and as a plugin for dbt Core 1.7-1.12. ### **More from dbt State** - **Better explain functionality:** See the "why" behind every decision dbt State makes to skip or rebuild a model. → [Docs](https://docs.getdbt.com/docs/deploy/dbt-state-interface#explain-tab) - **Job-level drill-down:** Go from the Cost Insights summary straight to the jobs where cost is concentrated. Model-level is up next. - **Support for dbt v1 and v2:** Cost Insights now covers both engines, so more projects are eligible. - **Cost visibility for read-only users:** Put the savings in front of budget holders and stakeholders with new cost-viewing permissions. - **Custom mapping tables (Beta, Snowflake):** Map warehouse costs to your own structure for more accurate attribution ```json { "_key": "1d26706639ce", "_type": "heroVideo", "isModal": false, "url": "https://youtu.be/fFe5bVI21cI" } ``` → [Get started with dbt State](https://us1.dbt.com/register) ## **Level up with AI: dbt Wizard** As more agents run on your data, the models underneath matter more, and there’s even more to build and maintain. dbt Wizard helps you do that faster. It’s an agent that understands your DAG, your warehouse, and how your team works. ### **dbt Wizard Desktop (Public Beta)** Running several agents usually means a terminal window for each one and a worry that two of them are writing to the same dev schema. Wizard Desktop gives that work its own local workspace. Run multiple tasks side by side, each isolated in git and your warehouse, and review every change with visual DAG diffs before you merge. Wizard Desktop is now in Public Beta on macOS, Windows, and Linux: - **Work in parallel: **Run multiple tasks side by side in one place. - **A space of its own: **Each task’s changes are automatically isolated in git and in your warehouse. - **You’re still in charge: **Validate every change with visual DAG diffs before you merge. → [Download Wizard Desktop today](https://docs.getdbt.com/docs/dbt-ai/wizard-desktop) ### **Coming soon to dbt Wizard** - **Report artifacts in the dbt platform:** Share what Wizard builds with the rest of your team. - **Third-party MCP connectors:** Bring context from more of your tools into Wizard. - **Governance and cost controls:** Set guardrails on how your team uses AI in dbt. ## **Level up for AI: dbt MCP and dbt Charts** Self-serve analytics is finally living up to its promise. AI agents and people are chatting with their data and building charts faster than you can say “dashboard.” But more AI makes governance more important, not less. Without shared definitions, AI produces wrong answers and chart-slop faster, at greater scale. Your metrics have to mean the same thing everywhere: every BI tool, every agent, every warehouse. The good news: that context already lives in dbt in your semantic definitions, lineage, and tests. And with dbt MCP listed in the Claude, ChatGPT, and** now Cursor, Databricks and Snowflake marketplaces**, it’s one click away from the AI tools your team already uses. Official listings for Snowflake, Google Gemini, and AWS Kiro are on the way. ### **NEW: dbt Charts in Claude and ChatGPT (Beta)** Now you can chat with your dbt Charts boards and your warehouse right inside Claude or ChatGPT, using your own permissions. It works in the regular apps on web, desktop, and mobile, with nothing to install. The way dbt Charts works in Claude and ChatGPT is itself an MCP connection: you add one URL, [dbtcharts.com/mcp](http://dbtcharts.com/mcp), as a connector. And because every board lives in your git repo, you own everything you build. You can now have self-serve analytics in Claude or ChatGPT with data-team control. In our benchmark testing, dbt Charts produced higher-quality dashboards while using roughly 20-50% fewer tokens than building them from scratch. → [Try dbt Charts](https://dbtcharts.com) ### **More from dbt Charts** - **New design panel (Beta):** Start with chat, polish by hand. Double-click text to retype it, select a chart to adjust its style, and every change updates the YAML. - **Custom charts (Beta):** New in dbt Charts 0.10.0, custom charts are for the chart that isn't on the menu: any shape you need, while your boards stay consistent and reviewable. - **Migration importers**: Moving off another BI tool usually means rebuilding every dashboard by hand. New in dbt Charts 0.11.1, you can bring your existing dashboards over from Looker, Sigma, Hex, and Omni instead. ## **Level up the platform: secure, governed, and self-serve** ### **Model query history: GA for Amazon Redshift and Databricks** Track how your models are used over time, so you can find your most popular models and optimize your data products. Model query history in dbt Catalog now supports Amazon Redshift and Databricks, alongside Snowflake and BigQuery. → [Read the docs](https://docs.getdbt.com/docs/explore/model-query-history) ### **Self-serve PrivateLink (Public Beta)** With PrivateLink, traffic between dbt and your data platform stays within your network and never crosses the public internet. You can now set it up yourself, with no support ticket, for Amazon Redshift, Databricks, and Snowflake (AWS). Workspace-level Private Link for Microsoft Fabric is also now in Public Beta. →[ Read the docs](https://docs.getdbt.com/docs/platform/secure/private-connectivity/private-connectivity?version=2) ### **More platform updates** - **External OAuth for the Semantic Layer on Amazon Redshift:** Semantic Layer development connections to [Redshift](https://docs.getdbt.com/docs/platform/manage-access/redshift-external-oauth?version=2) now support external OAuth with Okta or Microsoft Entra, using AWS IAM Identity Center. - **Custom GitHub application (Private Beta)**: Running GitHub Enterprise Server or GitHub with EU data residency? You can now register your own GitHub application and connect it to the dbt platform. Available on Enterprise and Enterprise+ plans only. → [Docs](https://docs.getdbt.com/docs/platform/git/connect-github?version=2#custom-github-application) ### **New dbt Learn courses** Level up your skills with new, free courses: - [dbt State](https://learn.getdbt.com/courses/dbt-state) - [dbt Wizard](https://learn.getdbt.com/courses/dbt-wizard) - [Upgrading to dbt v2 in platform](https://learn.getdbt.com/learn/course/upgrading-to-dbt-v2/) ## **What's next** ### **See it all in action** [Book a demo of local unit tests, dbt State, Wizard Desktop, and dbt Charts.](https://www.getdbt.com/contact) **Make your voice heard** [The State of Analytics Engineering survey is now open](https://docs.google.com/forms/d/e/1FAIpQLScqDOsEJFKOvlpC8-XYHkKxq6nXV_gXhrGy1F_HAVQJCd_KBA/viewform?usp=sharing&ouid=101454736841257617976). Your answers shape the next report, which helps data teams understand industry trends, advocate for resources, and plan for the year ahead. [Take the survey today](https://docs.google.com/forms/d/e/1FAIpQLScqDOsEJFKOvlpC8-XYHkKxq6nXV_gXhrGy1F_HAVQJCd_KBA/viewform?usp=sharing&ouid=101454736841257617976). Have questions or feedback? Find us in #product-updates in the dbt Community Slack. --- --- title: "Healthcare AI starts with data you can trust" description: "Define metrics once, give agents context, and keep pipelines fresh. See how healthcare teams build AI their care teams can trust." url: "https://www.getdbt.com/blog/healthcare-ai-starts-with-trusted-data" date: "2026-11-16" authors: ["Daniel Poppy"] categories: ["Insights"] --- # Healthcare AI starts with data you can trust Ask four tools for your referral leakage rate, and you might get four separate answers: 22% from the business intelligence (BI) dashboard, 15% from an embedded app, 18% from a spreadsheet, and 27% from an AI chat. That leaves everyone scrambling to figure out which answer’s right. In healthcare, these numbers answer questions about patient experiences and outcomes. The care teams acting on them need to trust them. Self-service analytics has been an exciting possibility for years, but there’s still work to be done to bring it to fruition. AI-driven solutions can finally make it a true capability. But trust is still one of the biggest challenges, and it matters even more for the data you deliver to AI. That's why we focus on reliable data, consistent definitions, and end-to-end lineage. In this article, we'll cover why trust is the bottleneck for healthcare AI, how to build a trusted data foundation, and how Astrodata's AXIOM application uses it to take a medical director from population trends to a patient's care pathway. ## Trust is the bottleneck for healthcare AI JB Brooks, principal data and AI architect at [Astrodata](https://astrodata.us/), has seen the problem from both sides: as a healthcare practitioner and, on the data side, as someone trying to keep up with the business. One of the main challenges has always been reconciling disparate data spread across electronic health records (EHRs), electronic medical records (EMRs), hospital information systems, and internal Google Sheets. These silos make it hard to combine business context and get fresh data to make decisions. Governance and procedures around data sharing exist for good reason, but they further slow down healthcare. According to [a 2024 study by Arcadia and the Healthcare Information and Management Systems Society (HIMSS)](https://arcadia.io/resources/underutilized-healthcare-data), 47% of healthcare data on average is underutilized in clinical and business decisions. Not long ago, Brooks was faxing paper records across the office. He says the pre-2010 era is "somewhat pervasive still today." Digitization and connectivity have improved since then. The next stage is agentic AI that surfaces real-time recommendations, and that requires unified, governed data. The bottleneck is trust. When data is spread across disparate systems and transformations are siloed or poorly tested, the numbers look off. People lose faith in the data, and work grinds to a halt. But Brooks says a system delivering highly trustworthy data and business context to AI is possible with tools like Fivetran and dbt, when used with strong implementation patterns that earn stakeholder trust. ## Four pillars of trusted data - **One number, everywhere.** If AI is querying a metric that's also used in a dashboard to make decisions, everyone needs to be talking about the same number. Otherwise, data isn't helping you arrive at a consistent conclusion or drive alignment. - **Governance.** You and your agents need to know how a number is calculated, who defines it, and which team controls it. That ties back to how the data team version controls and evolves its modeling. - **Freshness.** If a number isn't fresh, it has drifted. It's no longer accurate, even if it once was. We’ve put a lot of effort into making the Fivetran platform reliable, so you don't end up with gaps where data becomes stale. - **Secure by design.** Features like [column blocking and column hashing](https://fivetran.com/docs/core-concepts/features/data-blocking-column-hashing) give you control of data as it flows through. You can compare data without exposing the data itself. ## An end-to-end architecture for healthcare data For an organization that wants to combine EHR, financial data, and patient experience surveys, it might aim to optimize staffing, study whether data points from visits correlate with survey outcomes, or optimize finances based on what happens in those visits. Fivetran and dbt sit in the middle. All connections are encrypted. Fivetran encrypts data [in motion and at rest](https://www.fivetran.com/security). With Fivetran's [customer-managed keys](https://fivetran.com/docs/getting-started/fivetran-dashboard/account-settings/cmk), you manage encryption and maintain control and visibility. Fivetran can also work with external key vaults for security teams that want to manage keys themselves. Fivetran ingests the data into a data warehouse. Then dbt transforms and models it. With [Fivetran Activations](https://fivetran.com/docs/activations/overview), you can write the modeled data back out to source systems, so it doesn't just go to dashboards or agentic experiences. Practitioners get direct access to their data in the tools they use every day. ### Protect sensitive data in the modeling step Data from a system like an EHR is very raw. It's probably more than most people need to answer their questions, and most of those questions don't need identifiable data. During the modeling step, you can anonymize and pre-aggregate data, then expose it downstream without risking sensitive information. Some anonymization can also happen during ingestion, as a pre-transformation. Transformation also lets the data team govern how data is first exposed: a gold layer, or data mart, that's easy to query, with packaged datasets that fit what your users need. ## Define a metric once so the dashboard and the agent agree Analytics used to mean ingestion, transformation, and dashboards. Now, agents are accessing data. People across the organization can directly access data via SQL and [semantic layer](https://www.getdbt.com/blog/semantic-layer-introduction) interfaces. Agent chat is powerful, but it can mislead people and cause misalignment. The solution is governed metrics defined in a dbt project. When an agent uses a governed metric, you can tie its answer back to that specific definition. Instead of debating the number, you look at the definition and confirm it's correct. Take referral leakage rate: out-of-network referrals divided by all referrals, by specialty and month. You define it once in code, on trusted EHR referral, payer claims, and provider data. Every tool returns the same 19%, including an AI agent connected through the [dbt Model Context Protocol (MCP) server](https://docs.getdbt.com/docs/dbt-ai/about-mcp). Changes go through a pull request. [Lineage](https://www.getdbt.com/blog/what-is-data-lineage) shows exactly which data the metric depends on. Spencer Taylor, co-founder of Astrodata, calls consistent, governed answers table stakes for any embedded or internal analytics solution. With dbt and the [dbt Semantic Layer](https://www.getdbt.com/product/semantic-layer), end users get the same answer "regardless of the exact nuance of how they asked the question or what the LLM decided to generate in terms of a SQL query." "We're removing a lot of that squishy, non-deterministic methodology," Taylor says, "and replacing it with deterministic, codified logic that represents business goals, represents business logic." ## Context tells your agents why a number moved AI agents don't really have a memory or learn between interactions. You have to give them the knowledge and skills to understand the organization: which metric to query, how to query it correctly, and how it fits into the whole. [Fivetran Context Layer](https://fivetran.com/docs/context-layer) is designed to take a question like, "Why is cardiology referral leakage up six points?" and place it in context. It draws on how parts of the organization work together and where the data points come from to explain why the metric might have moved and what to do about it. That context spans metrics; relationships between providers, sites, and plans; documents like contracts and prior authorization rules; events like provider departures; lineage; and access rules for [protected health information (PHI)](https://www.hipaajournal.com/considered-phi-hipaa/). By default, Fivetran Context Layer lands this context in your warehouse. You own the contextual and unstructured data about your organization the same way you own the structured tables you use for analytics. Even without an MCP server, your agents can query it directly. Fivetran's [Agent Context MCP](https://fivetran.com/docs/context-layer/agent-context-mcp) is designed to query it more efficiently, applying indexing so agents get quick, responsive access to the complete picture. ## From population trends to a patient's care pathway Astrodata, a roughly 30-person team of senior to principal data practitioners, built AXIOM on this foundation. It's a high-risk-patient command center for value-based care teams that blends analytical and operational workflows, two work streams historically owned by different people and systems. AXIOM combines a number of elements in its architecture: - A React front end - Embedded [Omni](https://omni.co/) dashboards - dbt Semantic Layer - [Snowflake](https://www.snowflake.com/en/) - Fivetran Context Layer - [The Tuva Project](https://thetuvaproject.com/), a set of prepackaged dbt marts for clinical and claims data The AXIOM Assistant is a custom agent that talks to all of these sources and queries the internet and connected repos like Google Drive and GitHub. It also takes actions, like navigation and kicking off workflows. Picture a medical director trying to rein in rising costs from elevated readmissions. With a context layer built in Fivetran and dbt, an agent can point to the cohort whose costs are climbing fastest, then recommend care pathway steps that lower a patient’s projected readmission risk. **See how this system runs end to end in [Beyond the Dashboard: Building Healthcare AI You Can Trust](https://www.getdbt.com/resources/webinars/building-healthcare-ai-you-can-trust).** ## Evals and guardrails keep AI answers in bounds AI is a probabilistic solution. Astrodata evaluates and grades the output, so any upgrades or changes keep to the same high standard. "It's really nice that we can actually measure that," Brooks says. Healthcare is a sensitive ecosystem, so the output needs guardrails. Guardrails on large language model (LLM) calls ensure the data surfaced stays within the solution's governance and privacy requirements. ## Healthcare AI starts with data you can trust You don't need to wait years to get data ready for a solution like this. Start with a proof of concept, or a lean minimum viable product (MVP) on your first governed metrics, to prove the possibility to your health system. From there, you can productionize and scale it, bringing the long-promised dream of self-service data in highly sensitive environments into reality. To see AXIOM go from a population heatmap to a patient's care pathway, [watch the full webinar on demand](https://www.getdbt.com/resources/webinars/building-healthcare-ai-you-can-trust). To see how Fivetran and dbt fit your own healthcare data, [talk to an expert](https://www.getdbt.com/contact) about a one-on-one dbt platform demo. --- --- title: "Making the economic case for warehouse-first AI context" description: "AI agents can take years to pay off, but token bills arrive every month. Here’s how we dramatically reduced token costs." url: "https://www.getdbt.com/blog/economic-case-warehouse-first-ai-context" date: "2026-11-11" authors: ["Daniel Poppy"] categories: ["Insights"] --- # Making the economic case for warehouse-first AI context AI investments aren’t like normal tech investments. Most take significantly longer to show a return on investment (ROI). This can make a company’s chief financial officer (CFO) nervous as AI spending climbs. The delta is measurable. Deloitte’s survey of executives in Europe and the Middle East found that, while the average tech investment sees payoff at the 7-12 month mark, [a typical AI use case takes 2 to 4 years](https://www.deloitte.com/global/en/what-we-do/capabilities/ai/research/ai-roi-the-paradox-of-rising-investment-and-elusive-returns.html). That puts many AI projects at risk of cancellation. You can’t do much to speed up an AI agent’s payback period. But you _can_ significantly reduce its runtime costs, keeping costs controlled as the agent learns and adapts. One of the best ways is to stop retrieving the context your agents need dynamically, and instead store it directly in your data warehouse. Our team used this approach to shave more than 50% off token costs. Here’s what we did, why we did it, and why data warehouse context is such a powerful lever for reining in AI costs. ## Why AI cost outpaces AI value Tokens are the basic unit of work in [large language models (LLMs)](https://www.ibm.com/think/topics/large-language-models). They can represent a word, a part of a word, or a combination of words and punctuation. On top of being the basic unit of LLM work, they’re also the basic unit of costing. The good news is that, as AI advances, token costs are decreasing rapidly. Adjusted for performance, [LLM inference costs drop about 10x a year](https://a16z.com/llmflation-llm-inference-cost/). The bad news is that, as with anything compute- and data-related, we use more tokens even as costs plummet. This is especially true of agents, the autonomous software systems at the forefront of modern AI. An agent consumes more tokens than an operator driving Claude or ChatGPT from their desktop. Single agents typically use about 4x more tokens than a chat interface. A multi-agent system, according to Anthropic, [can use about 15x more](https://www.anthropic.com/research/multi-agent-research-system). We can see the impact of this expense in IT budgets. Despite falling token costs, experts foresaw [a 36% increase in average monthly AI spend in 2025](https://www.cloudzero.com/state-of-ai-costs/). That trend doesn’t appear to be slowing down in 2026. When these numbers roll in, they cause CFOs to ask pointed questions like, “Why is our LLM spend so high when our ROI on agentic solutions is so low?” Unfortunately, most companies don’t have a good answer. This disconnect is causing internal strife. On the one hand, according to a survey of 500 finance leaders at large US and UK enterprises by DoiT, [only 15% of companies said they could calculate AI ROI easily](https://www.doit.com/blog/ai-spending-survey). At the same time, 83% of finance leaders expect clear, quantifiable AI results within a year. ## How MCP-based context wastes tokens You can’t easily decrease the time to ROI for AI apps. [High upfront integration and production costs](https://online.hbs.edu/blog/post/ai-implementation-cost), adoption and learning curves, and process re-engineering are all necessary for an agentic solution to succeed in production. These require fundamental changes to your infrastructure and business processes. That doesn’t happen overnight. If you can’t speed up the process or immediately calculate project ROI, you can at least work on decreasing costs. A major culprit of cost spikes in agentic solutions is the tokens consumed by using [Model Context Protocol (MCP)](https://modelcontextprotocol.io/docs/getting-started/intro). MCP is often the easiest and fastest way to connect data, since it negotiates capabilities with agents automatically. That prevents data teams from having to wire up dozens of APIs manually to their agents. That’s why it seemed obvious to us to wire up 20+ MCP servers after rolling out Claude across the company. However, we quickly realized that this was driving up costs in three ways. ### Tool definitions on every call Most MCP clients load every tool definition upfront. That creates a ton of overhead. [Anthropic measured it](https://www.anthropic.com/research/advanced-tool-use) and found that a five-server setup that uses 58 tools consumes about 55,000 tokens. That’s before the conversation even starts. At 10,000 agent calls a month, that’s 550 million input tokens of overhead before any work’s done. On Claude Opus 5.5, that comes out to [$2,200 a month](https://platform.claude.com/docs/en/about-claude/pricing) in pure warm-up fees. ### Raw data that flows through the model, sometimes twice Intermediate results can be passed back and forth in requests and responses. This means the same payload can be counted twice. For example, pulling a sales transcript and then attaching it to a [Salesforce](https://www.salesforce.com/) lead puts the same data through the model twice, [consuming an extra 50,000 tokens](https://www.anthropic.com/research/code-execution-with-mcp) per two-hour meeting transcript. ### The same context, pulled again and again In a naive MCP implementation, there’s no reuse. Requesting a chat transcript from a system like [Gong](https://www.gong.io/) or Salesforce pulls the same context every time a request needs the data. Stitching together raw output from 20+ sources in one chat gets very expensive, very quickly. And none of that work persists between sessions. ## How warehouse-first context changes the math Faced with these inefficiencies, we realized we could eliminate most of them by creating a permanent context layer in our data warehouse. This means that retrieval and data shaping from multiple sources get done once and reused across invocations. If data changes, we implement it as an update to this stored data. This approach addresses each of the downsides of using straight MCP for context retrieval: ### Use fewer tool definitions per call Instead of querying 20+ MCP servers every time, agents only need to query one governed data warehouse layer. That reduces overhead and decreases request completion time to boot. This simple change means we don’t suffer the expense of loading tools upfront for every request. Anthropic’s data shows a similar approach [can cut upfront token usage by 85%](https://www.anthropic.com/research/advanced-tool-use). We leverage the [dbt MCP server](https://docs.getdbt.com/docs/dbt-ai/about-mcp) to make this context available to consumers across the company. We simply skip making tooling calls that carry high overhead. ### Use compact context, not raw payloads With this approach to context, we don’t have to hand off entire payloads (such as the full transcript of a two-hour call) to an agent. We use dbt to chunk, embed, and classify transcripts. This filters our transcripts down to the most relevant and frequently cited passages. Full transcripts stay in the data warehouse; only the passages a given request or task needs go to the model. This can net big reductions in token spend. [Anthropic cut one agent workflow from 150,000 tokens to 2,000](https://www.anthropic.com/research/code-execution-with-mcp) (a 98.7% reduction) by changing how the agent calls MCP tools. Smaller contexts do more than cut payload costs: [they often produce better-quality answers](https://arxiv.org/abs/2510.05381). That cuts down on retries, which reduces response times. ### Process context once, then reuse it Once a piece of context has been extracted and stored, it can be leveraged by every team and agent that needs it. This means teams that need access to critical context don’t need to spend money reinventing the wheel. Several of our teams need to mine data from customer calls recorded in Gong. Having AI read every call in the dataset costs about $3,000 each time we do it. By storing the most important elements of those calls in the data warehouse, we only need to pull and process new calls as they arrive via [Fivetran](https://fivetran.com/). ## How to build the business case for your CFO It’s natural that CFOs want to understand the financial impact of the company’s AI projects. Protecting the bottom line is their job. Your job is to show your investment in the company’s AI future is justified, even in the face of long ROI timelines. This requires showing your project is using its money wisely: 1. Establish your baseline spend: tokens, MCP connections, tools loaded, and API costs. 2. Find what MCP sources overlap with data already in your warehouse. 3. Start with the most expensive, context-rich sources that are currently chewing up the most tokens. 4. Use dbt to process this unstructured data into chunks you embed into your data warehouse. 5. Measure the before-and-after costs. With this work in place, you can have a frank and honest discussion with your leadership about agentic AI investments, while showing you’ve done everything to control costs while you’re building your way to returns. If you find yourself struggling to keep AI workload costs under control, [talk to us today](https://www.getdbt.com/contact) about how we can help you create a high-quality, governed, and reusable context layer for your AI agents. --- --- title: "A letter from our founders" description: "Our founders on the age of intelligence: agents, open data infrastructure, and the humans building the agentic future." url: "https://www.getdbt.com/blog/founders-letter" date: "2026-11-11" authors: ["George Fraser", "Tristan Handy", "Taylor Brown"] categories: ["Company"] --- # A letter from our founders We have entered into the age of intelligence. This will impact everything. It will impact knowledge work, and knowledge workers, first. We have lived through technology shifts before: PC, internet, mobile, social, cloud. They were all massive. This shift will be bigger. It will change the role of the firm and the very role that humans play in the [production process](https://www.investopedia.com/terms/f/factors-production.asp). Intelligence, in order to be maximally useful, must be combined with tools and data. Intelligence without tools and data is a brain in a vat: useful, but very limited. We call intelligence plus tools and data an agent. Agents can have goals, ask and answer questions, and perform actions. Agents can do work. Agents are already quite good at many forms of knowledge work. They tend to excel in domains where context is readily available and outcomes are verifiable. Software engineering is a perfect example of a domain that meets both of these criteria, and agents are almost astonishingly proficient at software development. ## Some tasks require a lot of data Ask an agent to do a contract review and you need to give it the contract, the redline history, any email back-and-forth, and the organization's contracting guidelines. This task has real economic value, requires a high level of accuracy and specialization, but only a modest amount of data. Consider another task. Imagine you are a top 5 US healthcare provider and you're seeing billings decline year-over-year in a certain segment of your customer population. You ask an agent: why is this happening and what should we do about it? This task, data analysis and interpretation, has a completely different profile. It is verifiable (you can write evals for it), but the scope of data required to adequately address it is massive. In addition to all of the relevant structured data, things like departmental OKRs, meeting notes, current initiatives, and more may present invaluable clues to improve the answer quality. The level of complexity required is daunting. ## Time is the great constraint There are never enough human cycles to sufficiently investigate complex questions like this. Human analysts might have 30 seconds to give their opinion in a conversation, or a few hours/days to conduct research. But the amount of work a human can do in investigating something important, even in a few days, is rather limited relative to the potential complexity. There are always avenues left unexplored, the ultimate answer given is vulnerable to the [streetlight effect](https://en.wikipedia.org/wiki/Streetlight_effect). Maybe worse, most questions go unasked: there is always significant latent demand inside of organizations for access to the time of a data analyst. When shipping agents to their teams, organizations have unlocked 50x more question / answer loops. Agents can solve both problems. They have essentially unbounded time, and they can be on call, immediately, to everyone. We just have to give them access to the data they need. ## Bootstrapping agents on existing infrastructure Agents are bootstrapped on existing infrastructure. Compute, networking, languages, APIs, and more that were already in use by humans have been picked up by agents. This is one of the reasons for the speed of the agentic explosion: agents are riding on rails that we've been laying for a long time. Data teams have rails to help agents get access to the data they need as well. The existing data infrastructure we've been building for decades is what agents will run on. But unlocking AI's full promise will take infrastructure that either does not exist yet or is early. Evals. Background memory formation. More. This "agent stack" will give agents a lasting, shared picture of the business, so every task starts from what the company already knows, and each new discovery adds to a continual learning loop. ## Agents learn best from the business itself Most tools build a mental model of the business by reading what humans write, in documents, chats and email threads. It's sort of like trying to understand politics by exclusively watching cable news, but never speaking to voters. Every data point has been filtered before you get it; nothing is direct. An agent that learns an organization from what its people write is learning from the talking points. There is a better source. Connect agents to the systems where the business actually happens, and give them the definitions, logic, and evals that say what the data means. That's how an agent builds a trustworthy mental model of the business itself, what enables it to make decisions and take actions with confidence. ## From augmentation to autonomy Our near-term vision is that agents will supercharge knowledge workers: humans getting more done with AI. Fivetran is already powering that world today for many customers. We also recognize that we're moving quickly beyond this model. AI-native companies are reshaping how work gets done by creating autonomous agents that take ownership of business processes end-to-end. This is the future. Take customer support. Originally, the goal was "reduce the number of human support agents I need" and the process was completely unchanged, just augmented by AI. The autonomous version has become: help resolve the ticket, _but also_ monitor the customer's account to make sure they continue to be in a good state afterwards, reach out if not, and make sure to file any tickets directly with the software engineering agent so that they can be fixed for other customers. This not only creates excellent customer outcomes, it improves the system as a whole. ## Agent engineers The DNA of the people building these autonomous agents is the same DNA as the people who have joined data teams over the past decade: curious, outcome-focused, fast learners, technical enough. You have a lot of these folks on your data team, but also in other areas of the business: ops, finance, and more. **These are the agent engineers of the future.** An agent engineer is responsible for four discrete things: - Process engineering: Understand an existing business process, identify opportunities to automate it, and redesign it around agents. - Systems engineering: Give agents access to the tools, data, context, and instructions required to perform the work. - Evaluation and operations: Define success, monitor agent behavior, diagnose failures, and continuously improve outcomes. - Change management: Build trust, secure organizational buy-in, redesign human responsibilities, and manage the transition from human-executed to agent-executed work. Companies that create space for agent engineers to run are those that will see the biggest impact from AI. ## It won't work unless it's open Over time, _your autonomous agents become how your business runs_. And tying your business to a single technology vendor makes you strategically vulnerable. A firm that owns its data and governance, and can seamlessly swap its models and compute, owns its own future. This is why open source, open standards, and cross-platform portability matter more than ever. It is also why we are completely committed to building the entire Fivetran platform around Open Data Infrastructure principles. ## Stay Human Analytics agents are here. Autonomous agents are coming. We are building the infrastructure they need. We have, throughout our decade plus history, always invested in and advocated for the humans doing the work, and we will continue to. One of Fivetran's four core values is "Stay Human." To quote from its text: > "To be human is to be heir to hundreds of millions of years of evolutionary learning, an inheritance of almost unimaginable proportion." Even as AI and agents get more capable, the traits that make us uniquely human, empathy, goal-setting, innovation, and many more, become even more valuable. We intend to continue to invest in the incredible human practitioners who will build our agentic future, and we encourage you to embrace that future with open arms, in partnership with us and each other. There is always more to build. --- --- title: "How organizations progress from trusted data to trusted AI and agents" description: "Autonomy is an outcome of AI maturity. Build the trusted data, governance, and context that let AI and agents act with control." url: "https://www.getdbt.com/blog/ai-maturity-trusted-data-to-trusted-ai-agents" date: "2026-11-10" authors: ["Daniel Poppy"] categories: ["Insights"] --- # How organizations progress from trusted data to trusted AI and agents AI maturity is often associated with the sophistication of the technology an organization adopts, but deploying a more advanced model or agent does not necessarily make the organization more mature. A more meaningful measure is whether the data and organizational capabilities underneath AI can reliably support what that technology is being asked to do. Those requirements increase as AI moves from assisting people toward acting across workflows, where systems may need to interpret business context, work across multiple sources, and operate within established controls. Progressing toward trusted AI and agents therefore requires the foundation underneath AI to evolve alongside it. **41% of organizations are already using agentic AI in production, but only 15% say they are fully prepared to support it with their current data foundation.** _Source: Fivetran, [The 2026 Agentic AI Readiness Index](https://www.fivetran.com/resources/reports/the-2026-agentic-ai-readiness-index). Global survey of 400 data professionals._ ## Trusted AI starts with trusted data Reliable AI begins with reliable data, since even sophisticated models and agents cannot consistently produce trustworthy outcomes from inconsistent inputs. The first maturity shift is therefore toward data that can be trusted across the organization, supported by shared standards for how it is transformed, tested, documented, and managed. Establishing those practices creates a more consistent foundation for AI, but trusted data is the starting point rather than the endpoint. As AI takes on a larger role in business workflows, trust must extend beyond the data itself to the governance, ownership, and business context surrounding it. ## Governance and ownership have to scale with AI As AI expands across more teams and workflows, governance can no longer depend on informal or team-specific controls. Standards and policies need to operate consistently across the business so that the same expectations apply as AI systems access more data and participate in a wider range of workflows. Ownership needs to scale alongside governance, with clear accountability for the data, definitions, workflows, and AI outcomes that increasingly cross team and system boundaries. Without that clarity, it becomes more difficult to understand who is responsible for resolving issues, managing changes, and ensuring that established policies continue to apply. Greater AI autonomy should not mean less organizational control. More mature organizations make governance, auditability, accountability, and oversight part of the foundation that allows autonomy to increase safely, rather than trying to introduce those controls after AI has already expanded across the business. ## Trusted data becomes trusted context Reliable data tells an AI system what happened, while context helps it understand what that information means to the business. As organizations mature, business definitions and semantic meaning become more consistent across the organization, while lineage and metadata are made accessible to AI systems in machine-readable forms rather than remaining scattered across documentation, tools, and individual knowledge. Making that context consistently available allows AI systems to interpret data using the same business meaning across workflows, while lineage and metadata help establish where data came from, how it changed, and whether it is appropriate for a particular task. These capabilities become increasingly important for agents that need to reason across multiple data sources and workflows, where access to the data alone may not provide enough information to act reliably. ### The inflection point: From trusted data to trusted AI and agents The first stages of AI maturity focus on building trusted data. The shift toward trusted AI begins when that foundation expands to include the semantic context, governance, and lineage AI systems need to reliably interpret and reason over organizational data. As maturity increases, trust expands from individual data assets and teams, across the organization, into AI workflows, and eventually across the systems and platforms where agents operate. ## Context and governance need to travel across systems Enterprise AI does not operate neatly within a single data platform, application, or model. As AI connects to more of the business, trusted data, governance, and context need to remain consistent across systems so that the foundation established in one environment does not break down as data and AI workflows move between them. This makes interoperability a maturity requirement rather than simply an architectural preference. Open, interoperable infrastructure allows organizations to connect evolving tools, platforms, and AI systems while preserving trusted data and context, without creating unnecessary duplication or vendor lock-in. That flexibility becomes increasingly important as AI technologies continue to evolve and organizations need to adapt their stack without rebuilding the foundation each time. **86% of data leaders say platform extensibility and interoperability are important or critical to delivering AI and data-driven decisions.** _Source: Fivetran, [The 2026 Agentic AI Readiness Index](https://www.fivetran.com/resources/reports/the-2026-agentic-ai-readiness-index)._ ### What changes as AI maturity increases **** ## Autonomy is an outcome of maturity, not the starting point These shifts ultimately change what organizations can safely ask AI to do. When data is inconsistent, ownership is unclear, context is fragmented, or governance depends on manual intervention, AI requires greater human oversight because the underlying foundation cannot reliably support more autonomous action. As those capabilities mature, organizations can support AI across more consequential workflows while maintaining clear boundaries, traceability, and accountability. Agents can operate using consistent definitions, lineage, context, and governance rather than requiring safeguards to be recreated for each individual use case. The goal is not to remove human oversight as quickly as possible, but to build a foundation strong enough to increase AI autonomy without sacrificing control. In this sense, greater autonomy is an outcome of maturity: it becomes possible as the data and organizational capabilities underneath AI become strong enough to support it reliably. ## Build the foundation for what comes next AI technologies will continue to change, and the models, agents, interfaces, and architectures organizations use today will not be the ones they rely on indefinitely. Building for AI maturity therefore means developing a foundation that can support that evolution without requiring organizations to rebuild trust, governance, context, and control each time the technology changes. Organizations that develop those capabilities can increase AI autonomy as their needs evolve, while maintaining greater control over how quickly and where that autonomy expands. Rather than allowing the technology itself to dictate the pace, they can progress based on what their underlying foundation is prepared to support. **Explore the [Fivetran + dbt Labs Enterprise AI Data Maturity Model](https://www.getdbt.com/resources/enterprise-ai-data-maturity-model) to understand your current stage and the capabilities required to progress.** --- --- title: "How to assess your organization’s AI readiness" description: "AI adoption moves fast. Readiness takes longer. Assess 6 dimensions to see where your data foundation limits AI." url: "https://www.getdbt.com/blog/how-to-assess-your-ai-readiness" date: "2026-11-05" authors: ["Daniel Poppy"] categories: ["Insights"] --- # How to assess your organization’s AI readiness AI adoption can move quickly, but building the organizational capabilities required to support it reliably at scale takes longer. That gap becomes more consequential as organizations move beyond experimentation and put AI systems and agents into production. Adoption alone is therefore a poor measure of readiness. An organization can have AI in production and significant investment behind it while still lacking the data and organizational capabilities needed to scale reliably. Assessing AI readiness requires looking beyond what an organization has adopted to understand whether its data foundation is ready to grow alongside its AI ambitions. **Nearly 60% of organizations are investing millions to tens of millions in agentic AI, but only 15% say they are fully prepared to support it with their current data foundation.** _Source: Fivetran, [The 2026 Agentic AI Readiness Index](https://www.fivetran.com/resources/reports/the-2026-agentic-ai-readiness-index). Global survey of 400 data professionals._ ## AI readiness is not one thing AI readiness depends on multiple capabilities working together, and strength in one area does not necessarily compensate for a critical gap elsewhere. An organization may have strong data quality but inconsistent governance, for example, or mature practices within individual teams that do not extend reliably across platforms and environments. [The Fivetran + dbt Labs Enterprise AI Data Maturity Model](https://www.getdbt.com/resources/enterprise-ai-data-maturity-model) assesses readiness across six dimensions: data quality, governance, ownership, cost and operational efficiency, context, and data architecture and interoperability. Looking at each dimension individually gives leaders a clearer view of where their foundation is strong, where gaps could limit progress, and which capabilities to prioritize as AI use cases evolve. ## Six readiness dimensions to assess ### **1. Data quality: Can AI rely on the data it receives?** Start by assessing whether reliable, accurate, and consistent data is available at the scale AI requires, as well as whether data quality issues can be identified before they affect downstream systems. As AI becomes involved in more outputs, decisions, and workflows, existing data quality problems can have greater reach and consequence, making the ability to identify and address those issues increasingly important to AI readiness. **42% of organizations identify data quality and lineage issues as a barrier to reaching their agentic AI goals, making it the most frequently cited barrier in Fivetran’s 2026 research.** _Source: Fivetran, [The 2026 Agentic AI Readiness Index](https://www.fivetran.com/resources/reports/the-2026-agentic-ai-readiness-index)._ ### **2. Governance: Can standards and controls scale with AI?** Assess whether governance is applied consistently across teams, use cases, and environments, rather than depending on manual processes or standards that vary from one team to another. As AI gains greater autonomy, organizations need oversight, traceability, security, and control that can scale with it, helping ensure that established standards continue to apply as AI reaches more parts of the business. ### **3. Ownership: Is accountability clear?** Evaluate whether ownership of data, definitions, policies, workflows, and AI outcomes remains clear as work crosses team and system boundaries. Clear ownership helps organizations resolve issues and manage changes while maintaining accountability, which becomes increasingly important as AI is embedded in cross-functional workflows involving multiple teams, systems, and areas of responsibility. ### **4. Cost and operational efficiency: Can the foundation scale sustainably?** An organization may be technically capable of supporting an AI use case without being operationally prepared to sustain it at scale. Assess cost visibility, manual effort, duplicated work, inefficient compute, and operational overhead to determine whether current data and AI workloads are positioned to scale sustainably, or whether the processes supporting them could become a constraint as usage grows. ### **5. Context: Does AI understand what the data means?** Making data available to AI isn't enough to make it genuinely usable. AI systems need organizational context to interpret that data correctly. Assess whether business definitions, lineage, metadata, and semantic meaning are standardized and accessible to AI systems so they can work with trusted context rather than data alone. ### **6. Data architecture and interoperability: Can trust extend across systems?** Enterprise AI rarely operates within a single tool, platform, or data environment, so readiness also depends on whether trusted data, context, and governance can move consistently across systems as the AI stack evolves. Assess whether the organization’s architecture is open and interoperable enough to connect evolving tools, platforms, and AI systems without unnecessary data duplication or vendor lock-in, while preserving the trust and controls established across the data foundation. **86% of data leaders say platform extensibility and interoperability are important or critical to delivering AI and data-driven decisions.** _Source: Fivetran, [The 2026 Agentic AI Readiness Index](https://www.fivetran.com/resources/reports/the-2026-agentic-ai-readiness-index)._ ## Uneven maturity can reveal where to focus next AI readiness is not binary, and most organizations will exhibit characteristics from multiple stages and dimensions as their capabilities develop. Looking at the six dimensions separately can expose gaps that a single readiness score may miss, particularly when certain capabilities have matured faster than others. Pay particular attention to areas that lag behind or are significantly more advanced, since both can reveal useful priorities and existing strengths. The goal is not to reach an arbitrary state of “AI ready,” but to understand whether the organization’s current foundation can reliably support what it wants AI to do next and where further development may be required to get there. ## What’s next? Bring stakeholders across data, technology, governance, and AI together to assess the six dimensions, recognizing that different teams may view the same capability differently. Identifying these differences helps reveal gaps in standards, expectations, or processes that may be difficult to spot from within a single function. From there, prioritize the capabilities most important to what the organization wants AI to do next, rather than trying to improve every dimension at once. Expanding a copilot, moving an AI application into production, or enabling agents to act across systems places different demands on the underlying foundation and calls for different capabilities and levels of maturity. As AI use cases, scale, and autonomy evolve, organizations need to reassess the capabilities supporting them and adjust their priorities accordingly. AI maturity is a progression, and the data and organizational capabilities supporting it need to evolve alongside an organization's AI ambitions. **** --- --- title: "How Ramp's internal AI agents crossed a million sessions" description: "Ramp shares the agents, sandboxes, and dashboards it built by treating internal AI as analytics engineering." url: "https://www.getdbt.com/blog/ramp-internal-ai-agents-million-sessions" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # How Ramp's internal AI agents crossed a million sessions ```json { "_key": "2e0ef509d0c1", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=Di8R8dlwpxA" } ``` Jay Sobel, a data platform engineer at Ramp, used his dbt Summit 2026 session to describe what he calls "internal AI": not building AI into Ramp's product, but setting up the whole organization to use large language models productively. Jay frames it as the natural next step for analytics engineers rather than a separate discipline. He argues analytics engineers have a real edge over software engineers here, both in their comfort working with a model's "black box" behavior and in their willingness to write the prose that agents need, which he half-jokingly claims is harder than Python. Ramp Research, the company's data agent, launched about a year ago and became widely shared enough that dbt Summit's own keynote referenced it. Inspect is Ramp's remote agent platform: a ticket-style interface where each "ticket" is actually a sandboxed coding agent session, and it recently passed a million sessions. Glass started as an internal prototype Jay nicknamed after Anthropic's assistant before teammates renamed it and it went viral. It's now pre-installed on new hires' laptops, pre-connected to internal systems, and especially popular with non-engineers like the sales team. Rampplify is Ramp's internal app-hosting platform, built for quickly shipping and just as quickly tearing down internal tools. And WaveDash, the newest piece, is a dashboarding tool where every dashboard is a SQL file living in a repo and rendering to Markdown, so agents can read and edit dashboards the same way engineers do; Ramp is actively moving off Looker onto it. Jay shared a chart of data-agent query volume that has gone from roughly 10,000 to 15,000 questions a month to a volume that now dwarfs the human-driven queries it's compared against. He also offered a caution: Ramp deliberately avoids locking itself into a single AI lab's models, pointing to swings like Cognition's (maker of Devin) reported $45 billion valuation as a reason to keep options open. In the Q&A, Jay's advice for small data teams without the resources to build custom platforms was to lean on a design system, a chart library, and a "vibe-coded" internal repo rather than a from-scratch build. On hiring, he said he looks for analytics engineers with some software engineering instincts. On measuring ROI on these AI investments, he was candid that Ramp doesn't do this rigorously today, calling it "black boxes and vibes." He also credited Ramp's security engineering team for making the internal AI push possible, and vented a little about AI-generated writing bloating internal documentation. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "How Obie Insurance cut its month-end close from 25 hours to 2 with dbt State and a lake house rebuild" description: "Obie Insurance rebuilt on dbt and Apache Iceberg, cutting a critical monthly process from over 25 hours to 2 hours." url: "https://www.getdbt.com/blog/obie-insurance-month-end-close-dbt-state-lakehouse" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # How Obie Insurance cut its month-end close from 25 hours to 2 with dbt State and a lake house rebuild ```json { "_key": "a0a84d9b8454", "_type": "heroVideo", "isModal": false, "url": "https://youtu.be/lMLIr9_Flwc" } ``` Tyson Doberneck and Matthew Karan, both senior data engineers at Obie Insurance, make up the entire data engineering team at the real estate investment insurance platform. In their session, styled around a Lord of the Rings theme, they walked through how a startup-era data ecosystem of scattered repositories, manual orchestration, and competing sources of truth got rebuilt into a single, reliable dbt project. Obie was founded in 2017 by brothers Aaron and Ryan Letzeiser and was acquired by The Baldwin Group in 2026. As the company grew past its landlord-insurance roots into homeowners products, its data problems grew with it: logic was duplicated across four repositories with inconsistent version control, and orchestration was split across crontabs, systemd timers, Prefect jobs, and Snowflake tasks, with pipelines running only once a day. Obie had been an SDF customer before SDF's acquisition by dbt Labs, and the team used that transition, followed quickly by the shift to dbt v2, as the opening to start a greenfield rebuild rather than patch the old system. The team consolidated everything into a single dbt project, moved to a lake house architecture built on Apache Iceberg, and set up catalog-linked databases in Snowflake so new tables are auto-discovered instead of manually recreated. They also became early design partners for Lake Compute and now run roughly 10% of their project on it, giving them a way to weigh speed against cost instead of being locked into a single compute vendor. On the documentation side, the team self-hosted dbt docs and gave every model a matching YAML file with full column-level descriptions using the dbt-osmosis tool. They used that same documentation to make their internal Slack AI debugging bot more effective, getting it to roughly 75% of the way toward a fix on pipeline failures. dbt State (dbt's state-aware orchestration) became core to keeping costs down as build frequency went up. The team shared a real tuning lesson from the talk: setting the evaluate_volatile_sql flag to true on models with clock-driven logic, like an is_active flag comparing an expiry date to the current date, keeps the value correct but forces a rebuild on every run since the underlying function output always changes. Their fix was to move clock-derived columns into a view, which needs no state block, while leaving the rest of the model eligible for reuse. That kind of tuning is a big part of how the results below became possible. The rebuild shows up directly in the numbers Obie shared: a 99% production build success rate, roughly 40% cost savings from model reuse through dbt State, and a month-end close for the revenue operations team that dropped from over 25 hours to about 2 hours. In Q&A, the team confirmed they run a single dbt project in a monorepo (with dbt Mesh available if they need to split it later), and that they evaluated the added cost of dbt State against the compute they were saving by not rerunning models unnecessarily, several times a day for their largest workloads, and found it was worth it. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "How Virgin Media O2 cut compute costs 30% by giving dbt a memory" description: "Virgin Media O2 cut dbt compute costs 30% and model run times 35% by adopting dbt v2 and dbt State at scale." url: "https://www.getdbt.com/blog/virgin-media-o2-dbt-state-compute-costs" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # How Virgin Media O2 cut compute costs 30% by giving dbt a memory ```json { "_key": "173969a429c3", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=bPZHJ47MpWo" } ``` In a dbt Summit 2026 breakout session, two analytics engineers from Virgin Media O2, Mel Simpson and Gorgon Curzon, walked through what happens when a dbt project outgrows the tools built to run it. The UK's largest converged telecoms network runs a single-tenant dbt platform instance on BigQuery, serving 42 million customers across mobile, broadband, and TV. That instance supports more than 300 dbt users across 100-plus federated projects and 5,500-plus models. The core story is what happens once a dbt deployment reaches enterprise scale, and what a team does when the platform that once felt fast enough starts working against its own developers. #### The bill nobody puts on a spreadsheet Every job run across the team's UAT and production environments was stateless. Gordon, head of analytics engineering, described what that meant for a single day. "I'm sitting there watching the reload button refresh itself every 30 seconds, until it finally finishes," Gordon said, describing the wait for the team's largest job, an over 1,400-model run they call the Nutcracker job, to complete. A single-column change in one staging model could force the whole project to reparse, recompile, and rerun, sometimes twice, once in UAT and once in production. Gordon's team called this the "redundant build cycle" problem: developer velocity slowing to a crawl as engineers waited on the same rebuilds over and over. Simpson, lead analytics engineer, broke down where the money actually went. Compute was the obvious cost: full DAG builds for the smallest changes, with multiple jobs rebuilding the same models within the same hour. "There's one that nobody ever puts on the spreadsheets: developer costs," Simpson said. "Hours lost to context switching and rework from errors that should have been caught earlier." Then there was opportunity cost. Every hour spent waiting on a pipeline was an hour analysts weren't delivering insight, and every slow iteration was a decision that didn't get made. #### An engine built to remember what it already did The team's answer was [dbt v2](https://docs.getdbt.com/docs/dbt-versions/dbt-release-tracks), a ground-up rewrite of the dbt engine in Rust, paired with [dbt State](https://docs.getdbt.com/docs/deploy/dbt-state-about), the feature that lets dbt skip or reuse work instead of rebuilding every node on every run. Mel described dbt v2 as an entirely new orchestration engine, one that parses and understands SQL at the column level, rather than a routine version upgrade to the existing runtime. The team tested dbt State against the Nutcracker job directly. Without state, the job's 1,424 models took roughly 1 hour 53 minutes to complete; with state enabled, the same job finished in about 1 hour 13 minutes, a 35% improvement. Of those 1,424 models, 1,392 reran and 32 were reused outright, skipped because dbt recognized nothing upstream had changed. BigQuery slot consumption on the job dropped from roughly 4,500 to 3,400 slots per hour, a reduction that mattered most at peak time, when every team is competing for the same reservation. "dbt v2 is actually giving us back 25% of unnecessary processing that we're seeing in our systems at the moment for this run," Simpson said. On simple on-demand BigQuery pricing, that translated to roughly $96 saved on a single Nutcracker run, a 25% cost reduction on that job alone. #### The numbers behind the migration Across the full migration, Virgin Media O2 validated a set of enterprise-scale results: roughly 30% lower compute costs, exceeding the team's original 20% target, along with about 35% faster model run times across all jobs and a 40% improvement on the largest job specifically. CI/CD pipeline dependency dropped by about 25%, and developers reported roughly 35% less time spent waiting on builds. None of this came free. Getting to a clean static analysis baseline meant working through years of accumulated technical debt: models nobody had touched in years, ambiguous SQL, and third-party packages that hadn't yet been updated for dbt v2. The team is still working through some open items, including aligning dbt v2 with custom FinOps configurations that automatically route jobs between BigQuery's on-demand and reservation pricing models. That alignment protects millions of dollars a year in savings, which is why the team called it non-negotiable before a full production rollout. What's next is column-level static analysis, plus early experiments connecting the [dbt MCP server](https://docs.getdbt.com/docs/dbt-ai/about-mcp) to AI workflows that can already diagnose job failures in minutes instead of hours. The team framed the whole migration as a shift from reactive firefighting to proactive engineering, with the human impact, less time waiting, more time building, as important to them as the cost savings on the slide. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "What Okta learned governing context for AI agents at scale" description: "Okta rebuilt how it governs context for AI agents, using dbt as the single source of truth." url: "https://www.getdbt.com/blog/okta-ai-agent-context-governance" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # What Okta learned governing context for AI agents at scale ```json { "_key": "e4fef4404a6b", "_type": "heroVideo", "isModal": false, "url": "https://youtu.be/SEgoqvU8Zrs" } ``` In a dbt Summit 2026 breakout session, Pooja Crahen, senior manager of analytics engineering at Okta, framed her talk around a pattern she noticed across her career: building dashboards, then learning content, then AI agents were essentially the same job wearing different interfaces, and the underlying question never changed: whether the person, or now the agent, on the other end could actually trust what they were looking at. At Comcast, she built dashboards, and the question was always whether the numbers were even right. At Pluralsight, she built learning content, and the question became whether anyone actually learned something instead of just watching a video. At Okta, the interface disappeared entirely: no chart, no course, just a machine generating an answer, but the same trust question remained underneath, whether the agent actually knew what it was talking about or just sounded confident. Crahen's team, about thirteen analytics engineers embedded across delivery, go-to-market, product, and finance, sits inside a broader technology, data, and intelligence org that runs on Tableau for reporting and Snowflake as the central warehouse. "A couple years in, the realization came in where building the agent was never really the hard part," Crahen said. "What it could see and trust was the hard part." Okta's early AI experiments ran on semantic views built directly inside Snowflake's UI, wired straight to Snowflake Cortex agents. It worked, and it worked fast, but those semantic views were completely disconnected from the governed dbt models that actually defined the business logic. Crahen's team found three cracks in that foundation: context fragmentation between Snowflake and dbt, no auditability since everything lived in UI click history, and all of an agent's instructions flattened into one undifferentiated blob with no distinction between what an agent should always know and what it should look up. Those three cracks, fragmentation, no auditability, one undifferentiated blob, showed up downstream as three concrete failures: nobody could discover what existed, because semantic views had no catalog exposing them outside Snowflake; nobody could trust what they found, with no shared system of record confirming it was current; and every team ended up re-deriving its own definitions from scratch instead of building on anything shared. The fix was a three-layer agent context framework, built entirely inside dbt and shipped through normal pull requests. Model and column-level metadata gets a new "agent" sub-block in the YAML, flagging what a model is safe to use for, what to avoid it for, and any filters that need to apply automatically. Context docs, in markdown, capture company-wide facts (Okta's fiscal year starts February 1) and domain-specific routing rules. And semantic views, migrated out of the Snowflake UI into [dbt's own semantic layer spec](https://docs.getdbt.com/docs/use-dbt-semantic-layer/dbt-sl), become the governed, PR-reviewed source of facts, dimensions, and metrics. Getting semantic views into dbt took a custom skill wired to a slash command that pulls the DDL off an existing Snowflake semantic view and converts it into a dbt semantic view spec automatically. Okta also opened a public GitHub discussion on dbt Core asking whether something like a Cortex agent should just be a normal dbt model materialization, or deserves to be a first-class node type of its own, the way an exposure is, and invited the room to weigh in. All three sync automatically into [Agents Schema](https://www.getdbt.com/blog/fivetran-dbt-labs-complete-merger-to-create-the-data-infrastructure-for-trusted-ai-agents), an open, warehouse-native metadata standard, so any agent with SQL access, whether it's Cortex or Claude, reads from the same source of truth. In practice that means Claude and Snowflake Cortex, two completely different products, read the exact same underlying context through different doors: Claude queries the metadata directly over [MCP](https://docs.getdbt.com/docs/dbt-ai/about-mcp) and reads context docs as markdown files, while Cortex reads the same information through a search service and its own skill configuration. Write the rule once, in dbt, and both consumers inherit it; add a third agent tomorrow, and it inherits the same rules with zero duplication. The payoff, in Crahen's telling, is that fixing a wrong answer no longer means editing an opaque agent config and redeploying through multiple cycles. An analytics engineer merges a change to the context layer in dbt, and every agent that reads from it gets smarter immediately. "The result is the 100th question gets the same quality answer as the first," she said. "It's not about the agent. It's more about the context as infrastructure." Next up for the team: automated regression tests that run verified queries against the agents every time context changes, extending context beyond a single domain, and eventually closing the loop between an agent's answers and ground truth so corrections can feed back into the context docs automatically, moving, as Crahen put it, from trust but verify to a measurable accuracy score. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "How to put generative AI directly into a dbt pipeline with plain SQL" description: "Google Cloud on wiring BigQuery's AI SQL functions into dbt pipelines, from sentiment scoring to LLM-generated product briefings." url: "https://www.getdbt.com/blog/bigquery-generative-ai-dbt-sql-functions" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # How to put generative AI directly into a dbt pipeline with plain SQL ```json { "_key": "bf9b9f5249d3", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=Vz4LyLaiLPY" } ``` In a dbt Summit 2026 breakout session, Alicia Williams, a developer relations engineer at Google Cloud who focuses on BigQuery's AI functions, made a case for skipping the usual path into applied AI. Instead of standing up a Python pipeline to call a model API, she showed how to call a large language model directly from a SQL SELECT statement, and then wire that call into a normal dbt project. The core story is about what happens to a data team's AI experiments once they stop living in notebooks and start living inside the same models, tests, and incremental logic every other transformation already runs through. ## A SQL function instead of a Python service BigQuery's AI.GENERATE function takes a prompt and a column, and returns a response for every row in the table it's run against, whether that's dozens of rows or billions. Williams walked through the basic case first: extracting keywords from a table of unstructured movie reviews with a single AI.GENERATE call in a SELECT statement. From there, the features stack up. An output_schema parameter forces the model to return strict, typed JSON instead of a blob of unstructured text, which Williams called the single biggest feature for a data practitioner working with LLM output downstream. BigQuery also ships a set of managed functions, AI.IF for semantic filtering, AI.CLASSIFY for categorization, AI.SCORE for rating and ranking, and AI.AGG for summarizing across many rows at once, that are pre-tuned for common analytical tasks and generally cheaper to run than a hand-written prompt through AI.GENERATE. An "optimized mode" for AI.IF and AI.CLASSIFY takes this further: it labels a small sample of rows with the full model, trains a lightweight distilled model on that sample inside BigQuery's own compute, and then runs the rest of the dataset against the distilled model instead of the LLM. "This really results in massive costs and latency gains when you're working with more and more rows," Williams said. #### Making it safe to run in production Williams's second half focused on what breaks when these functions run inside a real pipeline rather than a one-off query. The first rule: never let an AI function run inside a full refresh. Rebuilding a table from scratch resends every row back to the model, which gets expensive fast at scale. The fix is standard dbt practice applied to a new problem: materialize the model [incrementally](https://docs.getdbt.com/docs/build/incremental-models-overview) and wrap the AI logic in an is_incremental() block, so only newly arrived rows get sent to the LLM. Cost controls layer on top of that: AI.COUNT_TOKENS for pre-execution estimates, project- and user-level daily token caps, and a max_error_ratio parameter that aborts a query outright once a set percentage of rows fail. For output reliability, Williams recommended pairing BigQuery's output_schema parameter with standard [dbt tests](https://docs.getdbt.com/docs/build/data-tests) like not_null and accepted_values, so a model that returns something unexpected gets caught in staging rather than reaching a mart. "That way, if these things fail in staging or intermediate layers, that won't get through to your final layer," she said. The session closed with a live demo built on a fictional pet e-commerce dataset: a three-stage dbt pipeline that joins raw review text with order data, scores each review on product, shipping, and customer service sentiment with AI.SCORE, and rolls everything up by product with AI.AGG into a plain-language summary, complaints about a leaky chinchilla water bottle nozzle included, that a product manager could act on without reading twenty individual reviews. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "How Sigma runs a 2,883-model semantic layer on dbt and Dagster" description: "Sigma shows how it manages its semantic layer as version-controlled code across thousands of dbt models." url: "https://www.getdbt.com/blog/sigma-dbt-dagster-semantic-layer" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # How Sigma runs a 2,883-model semantic layer on dbt and Dagster ```json { "_key": "b37f1038466a", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=FtYnvWFbzjI" } ``` Matt Senick, lead data platform engineer at Sigma Computing, spent his dbt Summit 2026 session walking through how Sigma runs its own semantic layer, the same kind of layer it sells to customers, as versioned code inside a dbt project orchestrated by Dagster. Senick framed the semantic layer's job in the age of LLMs around three things: giving AI applications guardrails, like PII restrictions and SQL formatting rules, baked directly into model-level instructions; giving every AI surface in the company the same definitions for a given metric so they never disagree with each other; and giving agents enough model context, synonyms, and verified queries to move past generic text-to-SQL guessing. Borrowing a framing from Anthropic's own published research on the topic, Senick argued that once a question maps cleanly to a defined metric, an agent should be able to call a function and get back the one number every other surface in the company already agrees on. Inside Sigma's own dbt project, semantic objects are defined and version-controlled directly in SQL and Jinja, mapped to specific warehouse tables, with explicit column-level control over what gets exposed to business users. Sigma splits its semantic models by business function (sales, marketing, customer success, product, and more) and relies on a small set of dbt packages, including dbt-sigma-data-model, dbt-semantic-view, and dbt-cortex-agent, to compile those definitions into Sigma data models, Snowflake semantic views, and Cortex agents respectively, all as ordinary dbt nodes. Dagster orchestrates the whole thing: 63 jobs continuously build and deploy across 2,883 dbt models and 6 data regions, downloading the dbt manifest from S3, running a state-aware dbt build, syncing the resulting Sigma data models back through Sigma's API, and re-uploading the manifest for the next run. Senick also previewed Open Semantic Interchange, an effort nicknamed Ossie that aims to let teams convert between a Snowflake semantic view, a dbt metric, and a Sigma data model without locking into any single vendor's format. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "ClickHouse + dbt: Building a GitOps workflow at Twilio" description: "Twilio replaced Kafka, Spark, and Elasticsearch with one ClickHouse pipeline governed by dbt and GitOps." url: "https://www.getdbt.com/blog/twilio-clickhouse-dbt-gitops-workflow" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # ClickHouse + dbt: Building a GitOps workflow at Twilio ```json { "_key": "246ccfd16ebc", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=lGtPzfauNmo" } ``` At a dbt Summit 2026 breakout session titled "ClickHouse + dbt: Building a GitOps workflow at Twilio," Twilio's Voice & Video Insights team, Marek Radonsky and Pavan Kotikalapudi, walked through how they replaced three separate distributed systems with a single ClickHouse-backed pipeline governed by dbt, joined by Alex Francoeur, director of product management at ClickHouse. Twilio's Voice Insights product gives customers near real-time analytics on every call and conference running through its platform, and the company processes more than 2.5 trillion interactions a year for customers such as Best Buy, Netflix, and Uber, according to Twilio. For a decade, that pipeline ran on three separate distributed systems: Kafka for ingesting raw call metrics, Spark Streaming applications to process the data, and Elasticsearch to serve results to Twilio's console and REST APIs. Running three enterprise-scale systems for one workflow created a heavy operational and infrastructure burden, and once schema changes had to scale across multiple developers and teams, making manual changes directly to the cluster became increasingly risky. Twilio consolidated ingestion, transformation, and serving into ClickHouse alone, using materialized views to handle streaming transformations that used to require custom Spark Scala applications. The team's workflow evolved in stages: from tracking DDL changes in shared docs, to version control that still allowed direct changes to the cluster, to a migration tool paired with a GitOps approach that stored schema as code in GitHub, and finally to dbt paired with the open-source dbt-clickhouse adapter for transformations, testing, and lineage. As the number of pipelines grew, Twilio split a single monolithic dbt project into separate projects per product area with a shared layer for common logic, orchestrated through Argo Workflows, a Kubernetes-native orchestration engine similar to Airflow. Because ClickHouse is open source, Twilio's engineers could spin up real ClickHouse test containers for local and CI integration tests rather than relying on mocks. Each developer can now also deploy their own preview environment against a slice of production data, an approach the team calls a database per branch. Automated lineage generated from dbt artifacts replaced hand-maintained architecture diagrams, and Twilio contributed a materialized-view model update capability it needed back to the open-source dbt-clickhouse project. The end result: three distributed systems became one, custom Spark applications became SQL models and materialized views in dbt, manual production changes became version-controlled and audited, and Twilio can now redeploy the same pipeline consistently across its regions. Francoeur closed with product news: the long-established dbt v1 ClickHouse adapter remains fully supported, a dbt v2 adapter had just entered public beta and was nearing feature parity with v1, and ClickHouse support in the dbt platform was newly available in private beta. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "How KOHO built a Claude-powered self-serve analytics tool on years of dbt governance" description: "KOHO explains why AI self-serve analytics needs a strong data culture and a governed dbt foundation first." url: "https://www.getdbt.com/blog/claude-self-serve-analytics-dbt-governance" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # How KOHO built a Claude-powered self-serve analytics tool on years of dbt governance ```json { "_key": "7a06d8b7d0b2", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=C05o-rKXZ44" } ``` In a dbt Summit 2026 session, Célia Bru, senior director of data at KOHO, and Gabriel Gambacorta, technical product manager at KOHO (and formerly a member of Bru's data team), argued that the hard part of self-serve analytics has never really been the AI. KOHO is a Canadian fintech with about 250 employees, currently in phase two of three toward a Canadian banking license, and more than 10 percent of its staff are data people. Bru spent most of her time on what she called the "fuzzy stuff" (data team culture) and the "boring stuff" (data foundations), because those two things, in her telling, are what made it possible to build KoDa, KOHO's in-house self-serve analytics tool, at all. KoDa lets anyone at KOHO ask a business question in Claude and get an answer back from a governed dbt data mart running on Redshift, with Bedrock and Claude providing the LLM layer. Bru said the individual pieces (a clean dbt mart, a production-grade warehouse, and an LLM already available companywide) had existed since a diagram from KOHO's principal data architect back in March; the missing piece was simply connecting them securely and governably. The team held itself to firm design principles while building it: KoDa is scoped to analytics use cases only (no debugging or investigating individual transactions), it only ever touches certified dbt mart models with no raw data or PII, it is read-only with no ability to write back to the warehouse, every employee gets the same single experience, every answer traces back to the same company-wide dbt definitions, and the whole thing was built on infrastructure KOHO already had rather than new vendor tooling. None of that would have been possible, Bru said, without work that came years earlier. She described building buy-in through what she called the "referee position": the data team owns the inputs into a decision but not the decision itself, and it owns metric definitions so that no individual team gets to decide what counts as a win. When something breaks, the team says so before anyone has to discover it, which is what led KOHO to scrap its entire pipeline in 2022 and rebuild it in dbt from the ground up. That rebuild is now roughly 1,400 models with tests and documentation, all PII stripped out of the models, and Bru pointed out that KoDa's restriction to governed dbt marts has become one of the strongest arguments for getting the rest of the company onto that same foundation, since teams without a governed mart simply can't use the tool. Gambacorta then walked through how KoDa is actually built: a "KoDa skill," which is markdown files plus pre- and post-hook MCP calls, surfaced through Claude Code, connected to KOHO's dbt marts through a Redshift MCP server. What took real effort wasn't the skill itself but the evaluation layer underneath it: roughly 11 commits from three people over three months went into building context libraries and what Gambacorta called an "eval council," a growing library of about 375 real analyst questions used for both offline evaluation (does a change to the style guide improve or regress answer quality) and online evaluation (every question KoDa answers gets logged, with an analyst on a weekly rotation reviewing new or high-priority ones). Gambacorta's framing for where the industry should focus next: roughly a third of dbt Summit sessions this year touched on context or the semantic layer, but only about one in 33 talked about evaluation, which he thinks is backwards given how much of KOHO's own effort went into evals rather than the model or the skill itself. Bru closed by returning to trust: the KOHO data team built its credibility over years by being in the room for every answer, and self-serve tools take the team out of that room. Their interim answer is to log every question KoDa is asked and to still personally review any self-serve result headed to the board. Longer term, Bru and Gambacorta both argued the bottleneck is shifting from the tooling to the people: teaching a whole company when to trust a self-serve answer and when to come back to the data team, and building data literacy broadly enough that people ask better questions in the first place. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "Why an AI agent's revenue query was $3.5 million wrong, and how AWS fixed it with dbt Semantic Layer" description: "A plausible AI revenue query was $3.5 million wrong. AWS explains how business context helps prevent those errors." url: "https://www.getdbt.com/blog/aws-dbt-semantic-layer-ai-agent-revenue-accuracy" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # Why an AI agent's revenue query was $3.5 million wrong, and how AWS fixed it with dbt Semantic Layer ```json { "_key": "011bdd292766", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=1DOcszBnAIc" } ``` Neela Kulkarni, senior solutions architect at AWS, and Venkatesh Aravamudan, senior partner solutions architect at AWS, presented a governed architecture for letting AI agents query production data on Amazon Redshift, built around the dbt Semantic Layer and the Amazon Redshift MCP Server, without letting the agent write its own SQL. Their starting point: an AI agent that writes its own SQL against production data is a liability. Wrong joins double-count rows silently, invented metric definitions mean "revenue" in the agent's query isn't the company's revenue, and wrong date grain or filters produce silent errors, all while the agent still returns an answer that looks confident either way. They backed this up with research: Gartner puts the average annual cost of poor data quality at $12.9 million per organization, 73% of organizations name data quality as their top barrier to AI success, and Gartner projects more than 40% of agentic AI projects will be canceled by 2027, largely over governance gaps. They also cited dbt Labs and Harris Poll research finding that analysts lose more than 9 hours a week to this kind of friction, north of $21,000 per analyst per year. To make the failure concrete, they walked through a real query: `SELECT region, SUM(gross_amount) FROM fct_orders GROUP BY region` returns $14.86 million, and it looks plausible. It's still wrong. The actual revenue figure is $11.36 million, an overstatement of 30.8%, because `gross_amount` is a pre-discount, pre-refund number, refunds live in a table that never gets joined, cancelled and pending orders are still counted, and internal test accounts are flagged rather than excluded. Every one of those four rules lives only in a semantic layer, not in the schema, which is part of why the BEAVER benchmark, co-authored by AWS researchers, found state-of-the-art agents reaching only 10.8% accuracy on real enterprise data warehouse queries. Their fix is a two-layer governed architecture built on the Model Context Protocol. The dbt MCP Server governs what gets queried: it resolves a business question against certified metric definitions using tools like `list_metrics`, `get_dimensions`, and `query_metrics`, and MetricFlow, not the language model, compiles the actual SQL. The Amazon Redshift MCP Server governs how that SQL executes, enforcing read-only, single-statement execution at three separate layers: the MCP server itself, IAM-scoped credentials limited to specific API actions, and database-level least-privilege grants. Because an agent has to select from an enumerated list of pre-defined metrics rather than generating names or SQL from scratch, the presenters described fabricated metrics as structurally impossible under this design, not just discouraged by a prompt. Every answer also comes with a receipt: the metric name, the compiled SQL, the source model, the dbt test results, and a Redshift query ID traceable through `SYS_QUERY_HISTORY`. In a live demo, the same governed path served two different audiences: a developer working in an agentic IDE who could see and approve the compiled SQL before it ran, and a business user in a conversational assistant who just got a plain-language, cited answer. They ran three scenarios: a straightforward Redshift-native revenue query, a blended query joining native Redshift tables with Apache Iceberg data in S3 Tables (with Redshift reading that Iceberg data in place through an external-catalog mount), and a data lake query that dbt executed directly on its own Athena and DuckDB adapters with no Redshift involved at all. The metric definitions and governance stayed identical across all three even as the execution engine underneath changed. Their closing takeaways: governance has to be architectural rather than aspirational, because fabrication is a plumbing problem, not a prompting problem. Splitting what gets queried from how it executes means neither layer alone is sufficient on its own. A priority chain, semantic layer first, then compiled SQL, then raw model discovery last, is what keeps an agent from improvising when a governed metric already exists. And the same governed path can serve a developer who wants to see the SQL and a business user who just wants an answer, without maintaining two separate systems of truth. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "How DoorDash scaled merchant-facing analytics to thousands of users in weeks, on dbt and ThoughtSpot" description: "DoorDash used a dbt-defined semantic layer to scale analytics from pilot to thousands of merchant users in weeks." url: "https://www.getdbt.com/blog/doordash-merchant-analytics-thoughtspot-self-serve" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # How DoorDash scaled merchant-facing analytics to thousands of users in weeks, on dbt and ThoughtSpot [https://www.youtube.com/watch?v=FM_sFQsKUw4](https://www.youtube.com/watch?v=FM_sFQsKUw4) In this fireside chat, Sonny Rivera, principal data and AI strategist at ThoughtSpot, interviewed Harsha Reddy, senior engineering leader at DoorDash, who leads Data End-User Platforms within DoorDash's data platform organization, about the company's path from prototype to production analytics. Harsha framed DoorDash's core data strategy as balancing two goals that are often in tension: central governance and user velocity. That tension is compounded by DoorDash's acquisition history. Deliveroo (UK) and Wolt (Finland, and much of the EU) each arrived with their own semantic layers, often built in Looker, on top of DoorDash's own in-house semantic tooling. Consolidating those into one governed layer, without slowing teams down, became the actual problem to solve. DoorDash's approach splits the semantic layer from the consumption layer. Data lands in a data lake (exposed as Iceberg tables) and in Snowflake, dbt defines the semantic and metric layer on top of both, and ThoughtSpot is one consumption layer among others, connecting directly to dbt's metric definitions rather than requiring its own parallel set. As Harsha put it, that's the advantage over an all-in-one tool like Looker, where "there's just one tool where it's got everything encoded, and it's not so much useful outside for anyone else." That structure supports two very different use cases today. Internally, for finance and revenue reporting, where Harsha said "the margin for error is zero," the governed semantic layer combined with ThoughtSpot's built-in compliance and audit reporting replaced work DoorDash used to do by hand to satisfy GDPR, HIPAA, and other regulatory requirements. Externally, DoorDash embeds ThoughtSpot, fully white-labeled with no ThoughtSpot branding visible, directly into merchant-facing tools, with role-level access control ensuring one merchant never sees another's data. Harsha declined to share an exact figure but said DoorDash went from a new use case to "thousands of users within a few weeks." Asked for advice, Harsha's answer was direct: semantic modeling is hard, but in a world where generating an answer is cheap and trusting it is what's valuable, it's worth the effort. Treat the semantic layer as code (version-controlled and reviewed), and make the governed path at least as easy as writing an ad hoc query, or people will route around it. On where AI fits in, DoorDash has moved from a set of domain-specific agents behind a router to a single global agent grounded in the same dbt-defined semantic layer that feeds its BI tools, a model that now covers roughly 70 to 80 percent of DoorDash's data domains. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "Why most of your dbt models aren't in a hurry, and what that's worth in Snowflake credits" description: "Most models in a dbt DAG aren't on the critical path. Espresso AI and Authentic Insurance on turning that slack into real savings." url: "https://www.getdbt.com/blog/dbt-state-snowflake-warehouse-compute-savings" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # Why most of your dbt models aren't in a hurry, and what that's worth in Snowflake credits ```json { "_key": "7e046738ea96", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=9WB2aT_xCUE" } ``` In a dbt Summit 2026 breakout session, Ben Lerner, CEO of Espresso AI, opened with a claim that sounds counterintuitive until you look at an actual dbt DAG: most of the models in it don't matter for how long your job takes to finish. Every dbt DAG has a critical path, the longest unbroken chain of dependencies from the first model to the last. Everything not on that path has slack, and Lerner's core story was about what happens once a team starts treating that slack as a resource instead of ignoring it. #### The part of the DAG nobody's watching When dbt sends a job to Snowflake or Databricks, the warehouse itself has no concept of the DAG. It just runs whatever it's told to run, one query at a time, unaware that four of those queries have no dependency on each other and could run in parallel instead. "Most of the stuff in your DAG is not on the critical path," Lerner said. "It is not going to make your job run longer overall. And we can use this information to save money, because running things slower can be cheaper." The mechanism is warehouse sizing. Snowflake and Databricks SQL warehouses come in t-shirt sizes, and each step up roughly doubles compute cost while rarely doubling speed, a pattern familiar to anyone who's read up on Amdahl's Law. Lerner's guidance: find the critical path, and aggressively downsize everything that isn't on it. A short query that finishes in five seconds is unlikely to be load-bearing for the job's overall runtime, so there's little reason to run it on anything larger than the smallest warehouse available. The harder problem is that this calculus changes constantly. As data volume grows, a join that used to scale linearly might not anymore, and a model that was safely off the critical path last quarter might not be this quarter. Espresso AI's approach is to model this with reinforcement learning rather than manual tuning, continuously reevaluating warehouse assignment as a project's DAG, data, and query patterns shift. #### What that looks like inside an actual dbt project Saravana Kumar, CTO of Authentic Insurance, took the second half of the session to walk through what this looks like as a customer rather than a vendor pitch. Authentic runs the distribution layer for specialty insurance programs, spanning hospitality, energy, inland marine, and construction lines, with more than 100 partner programs live and 15x revenue growth in 2025. The company runs on a small data team, supporting a workforce of about 70 people, with [dbt](https://www.getdbt.com/product/what-is-dbt) driving a consistent semantic layer between an OLTP layer on DynamoDB and an OLAP layer on Snowflake for analytical query flexibility. Espresso sits between the two, watching dbt's model runs and routing them to the right-sized warehouse automatically. Insurance adds its own wrinkles on top of the standard cost problem. Claims get re-reserved months after they're first recorded, which means data that was correct when it loaded can become wrong later, so nothing downstream can safely be treated as append-only. Every new partner program is effectively a new data source arriving mid-project, and because the business is regulated and externally visible to carriers, a data quality issue is a customer-facing issue, not an internal one. "We save 40% every quarter because we run Espresso between our dbt models and Snowflake," Kumar said. For a data team of a handful of people supporting dozens of live insurance programs, that's savings realized without anyone having to hand-tune a single warehouse size. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "How Ecolab used an AI migration agent to shrink 84,000 lines of legacy SQL by 6x" description: "Ecolab and Datafold used an AI migration agent to rebuild a decade of tangled Snowflake logic as clean, documented dbt models." url: "https://www.getdbt.com/blog/ecolab-ai-agent-legacy-sql-migration" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # How Ecolab used an AI migration agent to shrink 84,000 lines of legacy SQL by 6x ```json { "_key": "71e11cec4440", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=s5S-dDjpOls" } ``` Tomasz Kaczmarek, technical lead on the migration project at Ecolab, and Kel, an engineer from migration partner Datafold, presented "From DML soup to dbt structure." Ecolab makes the hygiene, food safety, and water treatment products used behind the scenes at hotels, restaurants, hospitals, and manufacturers worldwide. Ecolab's "base model" spans more than 400 interdependent dimensions and facts fed by more than 3,000 source systems, built up over years of project-by-project additions. It got complex enough that Ecolab created a dedicated "firefighter" role just to handle production issues. The legacy system layered stage tables, temp tables, key-mapping tables, and Snowflake streams on top of the core model to handle late-arriving data and surrogate keys, all orchestrated by Snowflake tasks calling JavaScript stored procedures. Because it only reprocessed new or changed rows, older records quietly fell out of sync with each other, creating data quality issues nobody had fully mapped. Ecolab wanted transparent, well-documented, version-controlled transformation logic instead of logic buried inside a Snowflake table. That meant moving from biweekly manual releases to automatic, ad hoc ones, and dropping the long code freezes that no longer made sense once changes could ship this fast. Datafold's migration agent starts by mapping the full lineage, codebase, and semantic layer, then pulls in institutional knowledge from wikis and meeting recordings to fill in context that was never written down. It translates the legacy logic into more than 40 separate dbt projects with clear ownership, using dbt Mesh to handle the cross-project pieces. Every translated model gets checked against production data through automated data diffing, and the agent has to justify any expected differences using the legacy code, the new code, and the original requirements. Anything unexplained loops back through the agent until it's resolved. For one flagship dimension alone, the rebuild cut the model count from 409 to 170 and removed roughly 70,000 lines of code and 1,000 data connections. Across the migration as a whole, Ecolab is seeing roughly 6 times less code and 4 times fewer data connections than the legacy system. As a side effect, the new process already looks SOC 2-ready, thanks to the Git-based version control and automated testing and deployment that came bundled with the migration, even though compliance wasn't the original goal. Data owners were initially wary that any mismatch with the legacy numbers meant the new pipeline was wrong, worried their own users would assume "bad data." Showing them a visual, row-level data diff instead of just a written explanation changed minds quickly, and roughly 90 tables were approved within the first four weeks of review. The team's lessons: migrations run more like an agile process than a waterfall one, since seeing the first working dbt project immediately surfaces new naming and structure requests. Small cosmetic changes, like renaming a column, are expensive for an agent because each one can burn multiple model calls, so it pays to batch cosmetic fixes until after the underlying data is verified correct. Kaczmarek admitted he was initially a bottleneck himself, reviewing everything by hand out of what he called "trust issues," and said he's still learning to let the process carry more of that weight. Cutover to the new models is being kept out of scope for this phase; Ecolab plans to switch the underlying tables behind its existing reporting layer only once every dimension and fact has been reviewed and approved. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "How Checkr cut an hours-long metrics investigation to minutes by engineering AI context on dbt and Omni" description: "Checkr gave its AI agent a structured dbt context layer, cutting a support-metric investigation from hours to minutes." url: "https://www.getdbt.com/blog/checkr-ai-context-metrics-investigation" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # How Checkr cut an hours-long metrics investigation to minutes by engineering AI context on dbt and Omni ```json { "_key": "82da85b4bd44", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=rnLMk-GRx7Y" } ``` Chris Merrick, co-founder and CTO of Omni, and Sarah Fischbach, staff analytics engineer at Checkr, framed this session around a single question: is context engineering becoming the new analytics engineering? Sarah's answer came from two years of hands-on experience building Checkr's AI-ready data foundation, working alongside a small central analytics engineering team and roughly 50 analysts embedded across the business. The problem she opened with is a familiar one at scale: Checkr's Snowflake instance and dbt project span more than 6,000 models. When she connected an AI agent directly to Snowflake through an MCP and asked the same question multiple times, she got a different wrong answer every time, a pattern she called metric drift. She sharpened the example with FRT (First Reply Time), the core SLA Checkr's operations team is measured against. Asked "what queues drove FRT below 90%?", the agent had no idea what FRT meant, what a queue was, or what the 90% threshold referred to, because it could only see field names and table structures, not the business logic behind them. Her framework breaks AI-readiness into three layers: the data warehouse (the dictionary of every data point that exists), the semantic layer (the grammar that defines valid joins, calculations, and metrics, and prevents metric drift), and AI context (the conversational bridge that most teams skip entirely). Omni's version of that third layer is five structured fields: synonyms that map business language to field names, sample values so an agent can parse natural language into valid filters, field descriptions (often already written in a dbt project), free-text behavioral guidance for edge cases, and pre-built sample queries for complex, multi-step questions. Her core principle for filling all of this in: use the context that already exists in Confluence pages, meeting transcripts, PRDs, and Slack threads, and don't manufacture new documentation from scratch. To do this at scale, Checkr built an automated feedback loop: a golden set of evals (real stakeholder questions paired with the correct query plan) runs against Omni, a Claude-based agent clusters the failures, a second skill pulls relevant context from a vector store of company knowledge to draft a fix, and a third skill re-runs the failing evals to verify the fix actually worked before opening a merge request for a subject-matter expert to review. The simpler, manual version of the same loop: take a Confluence page or meeting transcript, paste it into an AI assistant alongside the relevant dbt model code, ask it to extract synonyms and behavioral guidance, then review and add that context to Omni by hand. The payoff showed up when Christian, one of Checkr's operations leads, asked the agent what queues drove FRT below 90%. With synonyms, channel-specific SLA targets, and edge-case rules already encoded, the agent identified the underperforming week, broke it down by queue and channel, and correctly ruled out the high-volume queue everyone assumed was the culprit, pointing instead to international queues. In Christian's words: "What would have taken hours got done in minutes, and with enough directional clarity to actually change how we responded." One audience question, from a data professional at OutSchool, surfaced a useful caution: adding AI context broadly, without a specific failure to fix, made their agent's answers slower and roughly doubled token costs without improving accuracy. Sarah and Chris's advice matched Checkr's own experience: match the fix to the failure, prune fields nobody actually queries, and add context surgically where there's a measurable precision or recall problem, not as a blanket pass over every model. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "How Guitar Center rebuilt its data platform on trust" description: "Guitar Center rebuilt its data stack around control, speed, and trust, cutting Snowflake spend 40% along the way." url: "https://www.getdbt.com/blog/guitar-center-data-pltform-trust-costs" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # How Guitar Center rebuilt its data platform on trust ```json { "_key": "0c946bee9e88", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=YCkrLon61jA" } ``` At a dbt Summit 2026 breakout session, Mike Doll, VP of Data at Guitar Center, walked through how his team rebuilt the company's analytics stack from the ground up, and why he thinks reliability is something you design in, not something you buy. Doll joined Guitar Center in early 2024 to find a data platform in the middle of a failed migration. The team had tried moving off an on-premises Netezza data warehouse to Redshift, and the attempt left behind more than 2,000 lines of stored procedures, no CI/CD, and almost no observability into what was actually running. Rather than patch the existing setup, Guitar Center moved to managed dbt Core through partner DataCoves and rebuilt around three pillars: controlling costs, improving delivery flow, and building real confidence in the data. Controlling costs meant rethinking how compute got used, not just how much of it there was. The team ingests data once and shares it down, uses dbt's selectors.yml to scope builds precisely, and splits work across many small Snowflake warehouses and objects so ownership stays clear. That discipline, paired with a habit of continuously optimizing toward a target, paid off directly: optimizing the hourly sales object alone cut Snowflake run rate by 40%, and reducing Airflow minutes cut consumption by another 50%. Guitar Center now sets a daily build time threshold of more than an hour as a trigger for an automatic round of optimization, rather than waiting for costs to become a problem worth escalating. Delivery flow was the second pillar. Guitar Center standardized on identical development and production configs inside a containerized DataCoves environment, which let the team evolve a "fallback_source" macro into a more general SourceWrapper pattern and use SQL feature flagging to isolate in-progress changes within shared models. The practical result was that pipelines which used to take months to ship now take days, and the full modernization, from signing with Snowflake and DataCoves to having a working replacement for the old stack, took under a year. The third pillar, confidence in the data. Stability is not the same thing as correctness, he argued: a pipeline can run reliably every day and still be reliably wrong. Fixing legacy bugs and validating new numbers with stakeholders had to happen alongside the technical rebuild, not after it. Doll extended that argument directly to AI, saying that AI amplifies trust or distrust rather than creating either on its own. As he put it, AI will not fix an organization's unreliable data. It will scale whatever foundation that organization gives it. In the Q&A, Doll fielded questions on two topics that come up in almost every legacy-to-dbt migration story: how small teams without executive buy-in should approach outside help, and how to handle PII and access control. On the first, his advice was to use consultancies carefully and never outsource ownership of the platform itself. On the second, Guitar Center designed masking and role-based access into the rebuild from day one rather than retrofitting it later. Guitar Center's rebuild used [dbt's incremental models](https://docs.getdbt.com/docs/build/incremental-models-overview) to control how much data gets reprocessed on each run, and [dbt's built-in data tests](https://docs.getdbt.com/docs/build/data-tests) to catch the kind of legacy bugs Doll's team had to hunt down by hand. For a broader look at what dbt does under the hood, see [dbt's product overview](https://www.getdbt.com/product/what-is-dbt). **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "How Sweetwater catches broken dbt pipelines before anyone notices, with Datadog" description: "Sweetwater uses Datadog to catch broken dbt pipelines before dashboard users notice missing data." url: "https://www.getdbt.com/blog/sweetwater-dbt-pipeline-monitoring-datadog" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # How Sweetwater catches broken dbt pipelines before anyone notices, with Datadog ```json { "_key": "736c3f1cb270", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=EZkIhcbt7Ho" } ``` Daniel Gonzalez and Derek Andres, both analytics engineer tech leads at Sweetwater Sound, the largest online music gear retailer in the country, walked through how their team built a proactive data observability practice with Datadog as it scaled its dbt-based data platform out of Fort Wayne, Indiana. Sweetwater has grown rapidly since 2020, expanding into new lines of business including its Gear Exchange and marketplaces on Amazon, Reverb, and eBay, while running a 600-plus person sales engineering team. One advantage the data team leans on: all of Sweetwater's developers are in-house, so when a source system needs a change, the data team can walk over and talk to the person who built it instead of coordinating across vendors. The company's data stack went through several distinct eras. In the 2010s, Domo was introduced as a broadly accessible, drag-and-drop dashboarding tool that was treated like a data warehouse without really being one. By 2020, rapid growth had produced thousands of reports, duplicated transformations, and no formal governance. In 2023, Sweetwater began migrating to a scalable, governed data infrastructure built on dbt, a project that touched 26 departments and engaged more than 100 stakeholders across business intelligence, spoke developers, data engineering, data science, and department subject matter experts. By 2025, Domo was fully deprecated and the new stack fully integrated. The dbt project itself grew quickly on a set of core ingestion macros, then steadily as the team tackled harder problems, and now carries more than 11,000 column descriptions. Observability entered the picture as the data team's relationship with IT matured. The team had originally been siloed from the rest of IT, but as it integrated more closely, the need for cross-system observability became obvious, especially since DBAs and data engineers elsewhere in the org were already using Datadog to monitor source systems. Extending that same tool upstream into the data team's own pipelines was a natural fit rather than a new tool to sell internally. The team's clearest example of that value: a user reported that the hourly sales dashboard was showing invoices with no attributed sales channel. Records were still trickling into the source tables, so the data looked fresh, and the issue kept recurring on a fairly stable weekly cadence. Using dashboards the data engineering team already had for Kafka inserts by topic, Gonzalez and Andres traced a spike in transactions back to one specific websql source, and from there found a legacy script that had been incorrectly scheduled. That let them get the script rescheduled and start a conversation about eventually moving that workload into the cloud warehouse. A related challenge came from compute management itself: as their DAG expanded and batch frequency needs grew, they risked job timeouts when the warehouse ran hot, and Datadog's native Google Cloud integrations and prebuilt metrics helped them understand and smooth out that risk. Sweetwater's current monitoring setup includes monitors configured automatically across entire schemas and databases, row count monitors that adjust to each table's expected volume, freshness monitors tuned to tolerate planned nightly downtime, customizable alert and recovery messaging routed to different targets for different teams, and machine-learning-driven alerting thresholds with a simple annotation framework for manual correction. Looking ahead, the team is expanding into lineage and query monitoring that extends visibility beyond dbt itself, using PupCLI and the Datadog MCP server to make observability accessible from the terminal or an AI assistant, and adopting CI/CD observability features that automate impact analysis and data profiling for changed models directly in their git provider. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "How LangChain grew self-serve analytics questions 40x by giving its AI agent layered context" description: "LangChain gave its Hex agent layered context, turning self-serve analytics questions from occasional to routine." url: "https://www.getdbt.com/blog/langchain-self-serve-analytics-ai-agent-context" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # How LangChain grew self-serve analytics questions 40x by giving its AI agent layered context ```json { "_key": "ef7076075d4d", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=2yJxBnldB5A" } ``` Emily Hawkins, head of analytics engineering at LangChain, and Logan Cochran, analytics engineer at LangChain, walked through how their team built a layered context system to keep an AI analytics agent accurate as the business kept changing underneath it. Their starting premise: an agent is only as smart as the context it's given, and a language model has no built-in understanding of a company's data, business rules, or internal vocabulary. The first layer of context is the dbt project itself. LangChain syncs table and column descriptions from dbt into BigQuery, so Hex and any other internal agent reading from BigQuery inherits the same descriptions. That required a shift in how the team writes documentation: a vague description like "the status of the account" used to be fine when only expert humans read it, but an agent reading the same field now needs something closer to "the current lifecycle status of the account in Salesforce, where active means an active paid contract, churned means a paid contract that has ended, and prospect means the account isn't a customer yet." Their Hex agent also has direct access to the dbt repo and DAG, so it can reason about upstream and downstream dependencies and the SQL logic behind a given model, not just column names. On top of that, LangChain layers three more pieces inside Hex. Workspace guides are markdown files that explain business concepts an agent needs to interpret a question correctly, things like how the team measures ARR or its internal product vocabulary; the team writes these guides in its dbt repo and imports them into Hex through a GitHub Action, so they stay version-controlled and available to any other agent that wants them. A semantic layer defines metrics and join relationships in code for the team's most important models, so a question about a revenue metric resolves the same way no matter how many times it's asked. And endorsements mark which mart models and dashboards are trusted sources of truth: LangChain is deliberately selective about what gets endorsed, since an endorsement that isn't a strong signal stops meaning anything, and any change to an endorsed dashboard requires a data team review before it publishes. That combination let the team change how it thinks about its own role. Rather than trying to answer every question that comes in, the data team now focuses on owning the context that lets other departments self-serve directly, a shift the team illustrated with a before-and-after view of departments routing questions through the data team versus querying the agent directly. They were candid that this works even while the business changes faster than documentation can keep up: a pricing model change can cascade across multiple domains, and a business domain doesn't need airtight metric definitions before an agent can start being useful. The team treats context as something to document continuously as it changes, not a project with an end date. LangChain says this system increased the number of questions asked through self-serve analytics by 40x, driven by continuing to document context as it changes, educating users on how to work with the agent, and measuring impact to iterate on what context is missing. Next on their roadmap: adding evals, and using Hex's CLI to enrich context further. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "How a one-person data team at Keep built real-time banking infrastructure on dbt" description: "Keep's one-person data team used dbt, Artie, and Snowflake to cut credit underwriting from one business day to under a minute." url: "https://www.getdbt.com/blog/keep-real-time-banking-dbt-data-platform" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # How a one-person data team at Keep built real-time banking infrastructure on dbt ```json { "_key": "a6cc929383c0", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=cyMPop-NbnE" } ``` At a dbt Summit 2026 breakout session on using dbt as production banking infrastructure, Scott Ziolko, head of data at Keep, described how his one-person data team took credit underwriting from a one-business-day, manual, spreadsheet-driven process to decisions delivered in under 60 seconds, around the clock. Keep is a fintech serving Canadian small businesses with banking, credit cards, credit limits, and capital loans. Ziolko said the company has served around 5,000 small businesses, processed more than $1 billion in card transaction volume, and issued hundreds of millions of dollars in capital loans. Keep has no dedicated data platform team or on-call rotation; Ziolko is the data team, supported informally by a handful of data-literate engineers and an underwriting team of seven. That constraint, he said, shaped nearly every architecture decision that followed. The underwriting process previously ran on a folder of spreadsheets, one file per company, complete with the inevitable "copy of copy of" version sprawl. Someone would manually download banking CSVs, manipulate spreadsheets, and turn around a decision within a business day, with nothing processing on nights, weekends, or holidays. That process got Keep to 5,000 businesses but, in Ziolko's telling, couldn't get the company to the next 5,000 or 10,000, and couldn't support embedding lending into partner products. Every decision also lived in its own file, making it effectively impossible to analyze trends across the full portfolio. Rather than build and maintain hard infrastructure problems himself, Ziolko chose to buy solutions for real-time data movement, orchestration, and always-on compute, so he could spend his limited time on Keep's actual credit and risk logic. That strategy produced a three-tool stack: Artie for real-time change data capture, Snowflake for orchestration and compute, and dbt for model governance. Ziolko framed the modeling decision as a trade-off between real-time, simple, and observable: batch dbt models are simple and observable but not real-time, while hand-rolled streaming is real-time but far from simple. He accepted some loss of observability in exchange for real-time processing, landing on dbt, Snowflake dynamic tables, and Artie. On the business-interface side, he weighed flexible-but-ungoverned spreadsheets against fully custom, tightly governed software, and chose a middle point built on Streamlit and Snowflake. He noted that AI tooling is starting to ease that particular trade-off, though it wasn't central to this build. Artie handles real-time CDC out of Postgres and MongoDB into Snowflake at sub-second latency, giving Ziolko both an exact replica of production data and a full change history for time travel. He said he turned it on, has barely had to look at it since, and it's also used elsewhere in Keep's production systems, including real-time accounting. Snowflake dynamic tables, streams, and tasks trigger processing the moment new data lands, which Ziolko said is what makes sub-minute latency possible without a hand-built streaming system. dbt handles model governance and versioning on top, including the hourly and snapshot-based models that don't need real-time treatment. A new customer's data flows in through Flinks, a Canadian bank-data service Ziolko compared to Plaid in the US, which pulls six to twelve months of banking history into MongoDB as a JSON document. Artie replicates that into Snowflake in under a second, and Snowflake streams and tasks flatten the JSON into materialized tables before dbt models compute cash flow and risk features. dbt models specifically handle deduplication, since customers sometimes reconnect their bank accounts multiple times or get re-underwritten on overlapping six-month lookback windows, and Ziolko said dbt is well suited to defining what counts as a single, unique transaction. Underwriting outputs then flow back into the warehouse, where dbt views and materializations support fast downstream queries before a compliance review signs off, particularly for new customers whose personal and business accounts need to be untangled. The pipeline's real-time components, the Snowflake streams and tasks and a stored procedure that loops over unsatisfied underwriting requests, trade away much of dbt's usual observability, and Ziolko said failures there tend to be silent. He offset that with custom dbt freshness tests, including one that ignores weekends and Canadian holidays so the team isn't alerted for expected pauses in processing. Ziolko was careful to define what "one-minute latency" actually covers: the external Flinks bank connection itself can take up to 30 minutes, though 95 percent of the time it resolves in under five, and only the Snowflake-triggered processing after data arrives lands reliably under a minute. He argued that once real-time infrastructure is in place, latency stops being an engineering constraint and becomes a business cost and vendor choice, letting Keep dial speed up or down by use case, such as pulling credit reports only twice a day to save cost. Every underwriting calculation is stored alongside the git hash of the code version that produced it, giving Keep full traceability and letting Ziolko reprocess the entire portfolio against a new risk model with a single line of SQL. dbt documentation is also pushed to Notion and made available through MCP so the rest of the company can find model definitions without asking him directly. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "Ship AI agents like tables: dbt materializations for Snowflake CoWork" description: "Under Armour turned Snowflake AI agents into dbt models, giving every agent the same review and CI process as every table." url: "https://www.getdbt.com/blog/snowflake-cowork-ai-agents-dbt-materializations" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # Ship AI agents like tables: dbt materializations for Snowflake CoWork ```json { "_key": "e6dcc1ef5071", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=6DIyNfieZV4" } ``` At dbt Summit 2026, Stanley Bathina and Ryan Ballman, senior data platform engineers at Under Armour, walked through how their team closed a gap between two deployment processes: the mature, five-year-old dbt and Snowflake pipeline that shipped roughly 3,000 governed data products to about 950 daily users, and a newer, ungoverned process for the Snowflake AI agents and Cortex objects the team started building on top of that data. Their argument was simple: an AI agent should ship the same way a table does, through the same pull requests, the same environments, and the same commands. Under Armour's first agents covered three business domains: a commercial sales assistant built on Cortex Analyst text-to-SQL, a consumer insights assistant also built on Cortex Analyst, and a product knowledge assistant built on Cortex Search for unstructured retrieval over hundreds of PowerPoint files. Each agent, along with the semantic views and search services underneath it, was defined by hand inside the Snowflake UI. That UI is a capable editor, but Bathina and Ballman were candid that it offered no version control, no pull request, no CI checks, and no promotion path between environments. Anyone with sufficient access could edit a production agent directly, and the team found out about one broken agent, caused by an upstream column that had been deleted, only after business users started getting wrong answers from it. The fix centered on three tactics. First, the team wrote [custom dbt materializations](https://docs.getdbt.com/docs/build/materializations), one called `agent` and one called `cortex_search_service`, alongside a Snowflake Labs materialization for semantic views. Each materialization creates the object if it doesn't exist or alters the live version if it does (agents are stateful, so replacing them outright would wipe conversation history and usage analytics), then returns the relation so dbt can track it in its dependency graph. That let every agent, search service, and semantic view live as an ordinary dbt model, with a `materialized` config and a [`ref()`](https://docs.getdbt.com/reference/dbt-jinja-functions/ref) call pointing at the tables underneath it. Second, because those objects now sit inside the dbt DAG, the team could run `dbt ls --select daily_sales_semv+` to see every agent a change would touch before merging, and `dbt build --select state:modified+` to rebuild only what changed in CI. Third, they automated grants and Snowflake CoWork registration through a post-hook that resolves the environment-specific role, fails the build loudly if a role is missing, grants the permission chain from database down to object, and, in production, registers the agent in Snowflake CoWork so business users can actually see it. Five months after go-live, the team had more than 30 Cortex objects deployed through dbt across three domains and three environments, with full upstream and downstream lineage and a named reviewer on every change. A bad change is now a git revert instead of a manual scramble. On the business side, the commercial team gets same-day answers instead of overnight reports, consumer insights that used to take days now take seconds, and the product team can search training material in natural language instead of digging through files by hand. The automation stops at the object layer, for now. Moving analyst-built objects out of the Snowflake UI and into dbt is still a manual cleanup step, and the handoff for user access requests isn't automated yet, even though the grants themselves are. Some manual steps, like CAB-approved change requests and a fixed release schedule, are deliberate and staying in place. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "Charts worth stealing: the design calls BI should ship" description: "RJ Andrews explains the design defaults behind dbt Charts, from consistent colors to the small choices that make charts work." url: "https://www.getdbt.com/blog/bi-dashboard-chart-design-inspiration" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # Charts worth stealing: the design calls BI should ship ```json { "_key": "678b90d41a28", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=kdNgvoNK9ag" } ``` At a dbt Summit 2026 breakout session titled "Charts worth stealing: The design calls BI should ship," RJ Andrews, chartographer on the dbt Charts team at dbt Labs, walked through the design decisions behind dbt Charts, the open source charting language dbt Labs launched earlier in the week at [dbtcharts.com](http://dbtcharts.com). Andrews opened by noting that most named chart types, bar charts, area charts, line graphs, scatterplots, are really just variations on the same underlying grammar, each one a small step away from the next. He demonstrated the point live, morphing a single default bar chart into a stepped area chart, a line graph, and a scatterplot by changing only a couple of lines of YAML. dbt Charts' default bar chart puts vertical series labels on the right side instead of the left. Andrews said that's deliberate, since the most recent data is usually the most important, and right-side labels keep a viewer's eye where the newest values live. The tool also switches automatically between monthly and quarterly axis labels depending on how dense the data is, and shows the year only at the start of a series or when the year changes, rather than repeating it on every label. dbt Charts ships with three built-in themes: Clarity, the default light theme with serif prose type; Neon, a high-contrast dark mode; and Paper, a cream-background theme Andrews said was inspired by the Financial Times and the Economist. Moving to dark mode required more than swapping colors, since the color palette and typography both had to change to stay readable against a black background. On color, Andrews said dbt Charts' two main categorical palettes both start with blue in the first slot. He noted that when he surveyed color palettes across digital BI tools, nearly all of them defaulted to blue first and then jumped to a high-contrast orange or red, the pattern behind Tableau's familiar blue-and-orange dashboards. Andrews said that kind of high-contrast pairing draws a viewer's eye to the contrast itself rather than to the data, so he designed dbt Charts' palettes to stay more harmonious when a chart only has a few series. The tool also keeps the same color assigned to the same category across every chart in a dashboard, and uses a darker shade for single-series charts than for multi-series charts to preserve legibility. Every color palette in dbt Charts was checked against roughly half a dozen types of color vision deficiency, weighted by how much of the population has each type, according to Andrews. Pattern fills, a way to distinguish categories without relying on color alone, are built but not yet publicly available. Andrews showed an internal testing gallery of dozens of chart examples he uses to track known issues and confirm that edge cases, like data too dense to render legibly, keep working as the tool evolves. When a chart's data is too dense to display clearly, dbt Charts surfaces a warning during the review process rather than letting a broken chart reach production. Tables built with dbt Charts keep decimal points aligned without adding false precision, so a value with no decimal in the underlying data doesn't get a fabricated ".0" just to make columns line up. Charts also support interactive tooltips that highlight an entire stacked segment and its total, and dashboard filters update the URL so a specific view can be shared or bookmarked directly. In one worked example, a dual-axis line chart paired nominal gigawatt values with a percentage axis calculated to share the same gridlines, an approach Andrews said was inspired by an 1870s balloon aeronautics chart that plotted altitude in both feet and meters. Andrews said users aren't limited to chart types defined explicitly in the dbt Charts YAML syntax, since an agent can generate less conventional forms, like lollipop charts or bump charts, from a plain-language request. He added that the bump chart's name comes from nineteenth-century Cambridge and Oxford boat races, where crews try to bump the boat ahead of them out of position. dbt Charts and its dashboards became open source with this week's launch, and Andrews closed the session by pointing attendees to [dbtcharts.com](http://dbtcharts.com) to read the language documentation and review example dashboards. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "dbt Charts: a new open-source language for dashboards that live inside your dbt repo" description: "dbt Charts is a plain YAML language for building dashboards that version and deploy alongside your dbt models." url: "https://www.getdbt.com/blog/dbt-charts-open-source-dashboard-yaml" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # dbt Charts: a new open-source language for dashboards that live inside your dbt repo ```json { "_key": "e761589f6156", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=gqgeUuX6nFA" } ``` Dave Fowler, general manager and head of the dbt Charts project, and RJ Andrews, dbt Charts' designer and self-described chartographer, introduced dbt Charts, a new open-source language for building dashboards that dbt Labs launched the Monday of dbt Summit 2026 at [dbtcharts.com](http://dbtcharts.com). The problem, as Fowler laid it out, is that AI tools have gotten good at vibe-coding a dashboard from a prompt, but every one comes out differently: a different mix of JavaScript, Python, CSS, and charting libraries, hard to keep consistent, harder still for an analytics engineer to trace back to the underlying query when a business user asks them to double-check it. Traditional BI tools have the opposite problem: they're UI-first products with AI bolted on afterward, which limits how much an AI agent can actually change. dbt Charts is a simple YAML syntax, built around variables, queries, charts, and rows for layout, that Fowler compared to a markdown for dashboards. It adds a charts folder that sits next to a dbt project's models folder, so renaming a column or updating a model runs through the same git tests and deploys in the same branch as everything else. The language itself is open source under Apache 2.0, the same license as dbt, and can run locally through a CLI called dct. A hosted product at [dbtcharts.com](http://dbtcharts.com) layers on permissioning, sharing, a visual editor, version history, and a conversational AI interface for building and editing dashboards. Andrews, a historian of data graphics, walked through the design defaults built into dbt Charts: direct labels instead of legends, decimal-aligned support tables so numbers scan cleanly down a column, and axis labels placed on whichever side keeps a reader's eye on the most recent data. The goal is for a dashboard built entirely on dbt Charts defaults, with no custom styling, to already look like something worth spending time reading. In a live demo, Fowler edited chart titles, colors, and markdown text directly on a dashboard, then reverted the whole page to an earlier version using its built-in git history. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "What a year of building ADBC drivers taught Columnar about zero-copy's non-zero problems" description: "Columnar co-founder Matt Topol shares the type-system challenges of building production ADBC drivers, now used by dbt v2." url: "https://www.getdbt.com/blog/columnar-adbc-drivers-zero-copy-lessons" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # What a year of building ADBC drivers taught Columnar about zero-copy's non-zero problems ```json { "_key": "5a628412736d", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=ZRYPAtL-Q5I" } ``` At a dbt Summit 2026 breakout session titled "ADBC in production: zero-copy, non-zero problems," Matt Topol, co-founder at Columnar and a member of the Apache Arrow, Apache Iceberg, and Apache Magpie project management committees, walked through a year of lessons from building ADBC drivers for production use. ADBC, short for Arrow Database Connectivity, is a vendor-neutral, Apache-licensed standard that gives applications one API for talking to many database drivers. Every driver hands data back in Apache Arrow's columnar, in-memory format instead of the row-oriented protocols behind ODBC and JDBC. Topol traced the problem ADBC solves back to a 2017 paper on client protocol design: for decades, the industry optimized database compute and vectorization while row-oriented client protocols quietly became the real bottleneck, even as hardware and networks got much faster. dbt v2 is one of the applications that adopted ADBC, using it as the core communication layer for its adapters while layering custom hooks on top for individual data systems. Power BI, Apache Airflow, dltHub, and several other tools have adopted ADBC too, alongside vendor drivers for Snowflake, BigQuery, Databricks, ClickHouse, and more. DuckDB implements the ADBC interface directly, Polars is built on Arrow as its native in-memory format, and both Snowflake and Databricks return Arrow natively, all of which lets ADBC skip serialization overhead entirely once data lands in Arrow format. Topol was candid that the reality behind that pitch gets complicated fast: many vendors, including Postgres, Trino, and SQL Server, still only return JSON or other row-oriented formats, and driver authors have to handle that conversion themselves. Type systems turned out to be where most of the pain lives. SQL's numeric type has no standard maximum precision, so implementations diverge widely: SQL Server caps at 38 digits, ClickHouse at 76, MySQL and MariaDB at 65, and Postgres allows more than 1,000 explicit digits, while BigQuery ignores declared precision entirely and always returns decimal128(38,9). String handling is just as inconsistent. Oracle treats empty strings as null with no way to tell the two apart, Postgres disallows the UTF-8 null byte, SQLite performs no UTF-8 validation at all, SQL Server strings are UTF-16, and ClickHouse has no separate binary type, just byte strings that get returned as Arrow strings regardless of their actual encoding unless a driver-level setting says otherwise. Timestamps caused their own set of surprises. Snowflake stores a time zone offset per row rather than per column, which pushed the Arrow project to add a new extension type just to preserve that information, while ClickHouse always attaches a time zone to every timestamp and defaults silently to the local system's time zone when none is given. Spark isn't really one target either. Its ADBC driver has to support three different backend protocols (Hive/Thrift, Apache Livy, and Spark Connect), each with its own quirks, such as Livy's lack of support for timestamps with no time zone and Thrift's tendency to mangle non-UTF-8 binary data. Topol demonstrated the same kind of inconsistency live with a BigQuery example: an empty list and a null list both come back looking identical in a result set, even though BigQuery's own query engine can tell the difference internally, and BigQuery cannot represent a null element inside a list at all, per its own documentation. The underlying design constraint, Topol said, is that a driver has to choose its Arrow type mapping before it ever sees the actual data, based only on a database's documented type limits. That's why a driver has to plan for edge cases like Postgres's four-figure numeric precision even though almost nobody uses it. To make drivers easier to install and configure than the ODBC era, ADBC introduces driver manifests, simple TOML files in documented locations that describe a driver and where to find its shared library across operating systems, and connection profiles, TOML-based and similar to ODBC's DSN files, referenced as profile://name so credentials and per-environment options never have to live in application code. ADBC still has open gaps, including a fully synchronous API, uneven type support across drivers, and clunky metadata handling, but Topol pointed to an upcoming spec revision that adds multi-result-set support, non-fatal warning handlers, and a way for applications to request specific types from a driver. His closing advice for anyone adopting ADBC: test your schemas early, pin your driver versions, and always know exactly which driver version you're running. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "Why a semantic layer is the difference between a 96% and an 80% accurate AI analyst" description: "Why conversational analytics stalls and the data fundamentals that make it reliable." url: "https://www.getdbt.com/blog/semantic-layer-ai-analyst-accuracy" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # Why a semantic layer is the difference between a 96% and an 80% accurate AI analyst ```json { "_key": "d3ed6deb33cd", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=mWk2Nxvr7mw" } ``` Alex Noonan, senior developer experience advocate at dbt Labs, used his dbt Summit 2026 session to trace the long, repeated failure of self-service analytics, from a 1971 natural-language moon-rock query system through 1990s OLAP cubes and a string of more recent natural-language BI features that never quite stuck. His argument for why this attempt is different: large language models have finally solved the "teaching the machine your words" half of the problem. What's left is grounding, meaning teaching the machine what your words actually mean inside your business. He backed that up with a benchmark from dbt Labs' own developer experience team: a model asked to answer questions through a semantic layer scored 96 to 100% accuracy, compared to 80 to 91% when the same model wrote raw SQL directly against a database schema. Noonan’s framing of that gap was direct: every point of difference is a confidently wrong number landing in someone's Slack channel. He pointed to three converging approaches teams are using to ground an AI analyst: a semantic layer with pre-defined metrics, an ontology-style entity and relationship model in the style of Palantir, and an agent context layer that assembles relevant context at query time, which he described as the direction Fivetran and dbt are building toward together. Most of the talk focused on what Noonan called the unglamorous fundamentals that separate a demo from a durable system: data quality and observability practices like tests, freshness checks, and anomaly detection; documentation written to be read by machines as much as people; and consistent data modeling. She also draws a split within context engineering between "just in time" context, meaning stable metadata like a semantic layer or agent skills that doesn't change much, and "just in case" context, meaning the search infrastructure needed for high-volume unstructured sources like call transcripts and support tickets. On trust specifically, Noonan recommended keeping the chat interface in a public channel like Slack so mistakes and corrections happen visibly rather than in a private thread, and cautioned against relying too heavily on "LLM as judge" evaluation, since a judge model shares the same blind spots as the model it's grading. She cited a figure that roughly half of generative AI pilots get abandoned after proof of concept, and pointed to this year's State of Analytics Engineering report, in which about half of dbt users said they're actively building toward conversational analytics. Two lines Noonan returned to: "the worst thing that you can do is give somebody a confidently wrong answer," and "silent failures are the killer in any IT system." Noonan closed with a live demo of a personal AI trading assistant he built on [dbt's MCP server](https://www.getdbt.com/product/semantic-layer), pulling SEC filings and technical indicators, noting that a trade it had recommended had closed profitable the day before his talk. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "With great context comes great autonomy" description: "AI agents need governed context, not just more data, to be trusted." url: "https://www.getdbt.com/blog/context-engineering-ai-agents-governed-autonomy" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # With great context comes great autonomy ```json { "_key": "2e7cb84c9445", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=Ehm6_yfc7RE" } ``` In a dbt Summit 2026 breakout session, Ben Moser, who works on the dbt platform team at dbt Labs, and Kevin Kim, product manager at Fivetran, made the case that the hardest part of building a trustworthy AI agent is everything it needs to know before it can be trusted to act, not the agent itself. Context exists to build an accurate model of your business for an agent to operate in, the same way understanding what a stop sign means lets you drive safely without causing havoc. Without shared context, a simple question like "what was our ARR at the end of August" branches instantly into a dozen sub-questions: booked or current ARR, does it include services, which table is authoritative, who's allowed to see it. "Context aims to create an accurate world for your agents to operate in," Moser said. "It helps them understand your business so that they can make the right decisions, answer your questions in the right way, and not cause havoc." Moser framed context as a spectrum, not a single problem to solve all at once: simple semantic and structural context sits at one end, and far more complex situational or interpretive context, where meaning itself changes over time, sits at the other. Trying to boil the ocean and load everything into an agent's environment at once, he warned, is the wrong instinct. A [dbt project](https://docs.getdbt.com/docs/build/projects) already builds a version of this map: models, tests, documentation, and lineage give agents a governed way to answer questions about anything that's been modeled. The interesting problems live at the edge of that map, in support tickets, Slack threads, and institutional knowledge that never made it into the warehouse. Moser leaned into a mining metaphor, apt for a session held in Las Vegas: there's gold in that unstructured information, support tickets, sales calls, institutional knowledge, but leaving it unmodeled means agents either can't use it or use it unreliably. He framed the stakes in offensive and defensive terms. Used well, agents give a business a real edge; used carelessly, inaccuracies compound at machine speed in a way a single human error never could, burning both trust and token spend at the same time. That's the gap Kim's team built Fivetran Context Layer to close. Connect knowledge sources like Notion and Confluence, operational sources like Salesforce, HubSpot, and Postgres, and analytics sources like dbt and Sigma, and Fivetran Context Layer parses all of it, builds a search index for semantic search, and infers an ontology that relates concepts across all three, so a revenue table in Postgres and a revenue doc in Notion get linked instead of living as separate facts. Inside Agents Schema, a root table works like a glossary telling an agent what's in the schema at all, and a concept table stores company-specific shorthand, HRBP or SKO, for example, so an agent doesn't have to guess or search the open web for what your business means by an acronym. Fivetran Context Layer writes what it learns directly into the warehouse as [Agents Schema](https://www.getdbt.com/blog/fivetran-dbt-labs-complete-merger-to-create-the-data-infrastructure-for-trusted-ai-agents), a set of open, ordinary tables any AI client can query over [MCP](https://docs.getdbt.com/docs/dbt-ai/about-mcp), rather than locking the context behind a proprietary API. In a live demo, Kim showed an agent answering "which open opportunities have unresolved support tickets" by querying Agents Schema tables directly. A new traces feature surfaces where an agent's confidence was low or context was missing, so analytics teams can curate and correct it over time. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "dbt without the warehouse (or the bill): DuckDB end to end" description: "dbt v2 ships with a built-in DuckDB adapter, so connecting dbt to a local, offline warehouse takes only a small profile change." url: "https://www.getdbt.com/blog/dbt-duckdb-warehouse-free-data-transformation" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # dbt without the warehouse (or the bill): DuckDB end to end ```json { "_key": "cd51ec1aca89", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=oSEXU4hvvy0" } ``` At a dbt Summit 2026 breakout session titled "dbt without the warehouse (or the bill): DuckDB end to end," Hannes Mühleisen, a co-founder of DuckDB, walked through why dbt v2 now ships with a built-in DuckDB adapter and demonstrated a fully offline dbt build against a real dataset. Hannes had planned to make the case for pairing dbt with DuckDB, but said that argument was already settled once he learned dbt v2 ships with DuckDB support out of the box. He credited Josh, the original maintainer of the dbt DuckDB adapter built for dbt v1, with making the combination possible in the first place. Connecting dbt to DuckDB requires only a small change to the profile: setting the output type to duckdb and pointing it at a file path, with no authentication or credit card required. Skipping the file path altogether creates a disposable in-memory database useful for testing. DuckDB started eight years ago as what Mühleisen described as a "SQLite for analytics," and he positioned it as filling the gap between spreadsheet tools like Excel and distributed systems like Spark, since most real-world data does not actually need distributed compute. Citing an analysis by Fivetran's George Fraser, Mühleisen said the median data warehouse query scans about 100 megabytes and the 99.9th percentile scans about 300 gigabytes, both sizes that fit comfortably on a single laptop. Mühleisen highlighted several SQL conveniences built into DuckDB, including reading directly from CSV, Parquet, and Iceberg files without an import step, a GROUP BY ALL syntax that has since been adopted by Snowflake, Databricks, and Postgres and is headed into the SQL standard, and built-in UNION BY NAME, PIVOT, and summarize commands. Mühleisen previewed DuckDB 2.0, expected around October 2026 and code-named Cinnamon Teal, which will bring a rewritten SQL parser, a variant data type for semi-structured data, and general availability for a client-server protocol called Quark. In a live demo, Mühleisen disconnected his laptop from the internet entirely and ran a dbt build against roughly 10 gigabytes of compressed Wikipedia page-view CSV files stored locally, using window functions to rank articles by their change in traffic over time. The build, including a window-function computation across millions of Wikipedia article titles and a group-by-all aggregation over roughly 300 million rows, finished in about three seconds, entirely offline and without any warehouse compute cost. Mühleisen closed by framing DuckDB's mission as giving people confidence to work with any dataset on a single machine, arguing that the gap between what a laptop can handle and what most real-world datasets actually require has nearly closed. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "Apache Iceberg on Snowflake got a lot simpler in 2026, and dbt's new catalog config is what makes it click" description: "Changes across Snowflake, dbt, and DuckDB made Apache Iceberg simple enough for a small team to set up in an afternoon." url: "https://www.getdbt.com/blog/apache-iceberg-snowflake-dbt-catalog-configuration" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # Apache Iceberg on Snowflake got a lot simpler in 2026, and dbt's new catalog config is what makes it click ```json { "_key": "91e8be879fe2", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=-Xn3Nd5u1GI" } ``` Jeff Skoldberg, a data and analytics consultant at Green Mountain Data Solutions who has spent the last five years working with dbt and Snowflake, opened by admitting he's not an Iceberg expert himself: he started using it only about four months before this talk. That framing was deliberate: his argument was that becoming a user of Apache Iceberg no longer requires becoming an infrastructure expert first, and that 2026 is the year that became true. The talk centered on two versions of the same underlying problem: a CFO watching the Snowflake bill grow faster than the team, and data scientists who want to work locally in a Jupyter notebook rather than inside a warehouse. Historically, the only cost levers available were tuning levers (smaller warehouses, shorter auto-suspend windows, better clustering), never the option to run a query somewhere else entirely, on the same governed data, for free. Iceberg, an open table format that lets Parquet files behave like a real table (with inserts, deletes, schema evolution, and time travel), is what makes that possible, since the data lives in the customer's own object storage rather than locked inside a single warehouse's compute. Skoldberg walked through what changed in 2026 that removed most of the historical setup burden. As recently as six months earlier, using Iceberg on Snowflake meant standing up a separate Polaris catalog account and wiring it to a Snowflake account by hand. Snowflake's built-in Horizon catalog is now on by default, and Snowflake added external writes directly into Horizon, so teams no longer need a separate tool like Glue just to write data into a governed Iceberg table. On the dbt side, a new catalog_name entry in dbt_project.yaml points to entries in a catalogs.yml file, letting a project define, for example, a raw and a transformed Iceberg catalog with just a handful of config lines. Skoldberg noted that when Snowflake announced Iceberg writes at Summit 2026, that feature didn't actually work end to end until dbt shipped a set of write-compatibility options to support it, paired with a pull request into DuckDB's own Iceberg library contributed by Anders Swanson at dbt Labs. He called out that Swanson chose to fix that gap upstream in the DuckDB repository rather than only inside dbt itself, which is what let DuckDB read Snowflake-managed Iceberg tables at all. In a recorded demo, Skoldberg showed a dbt build writing to Snowflake-managed Iceberg tables using temporary, narrowly scoped vended credentials rather than any static AWS setup, then connected DuckDB directly to those same governed tables. The resulting queries returned data instantly and never touched a Snowflake warehouse, meaning zero compute cost, while still respecting Snowflake's row-level access policies and column masking. He closed with a comparison to DuckLake, a newer open table format: DuckLake is fun to use, he said, but for teams already on Snowflake, Horizon still has the edge because governance, cataloging, and AI tooling like Cortex come built in, whereas DuckLake requires standing up and maintaining a separate Postgres catalog. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "Why dbt Labs thinks AI agents will finally make the semantic layer stick" description: "Why AI agents can make semantic layers stick, if teams can solve the trust problem." url: "https://www.getdbt.com/blog/dbt-semantic-layer-ai-agent-adoption" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # Why dbt Labs thinks AI agents will finally make the semantic layer stick ```json { "_key": "2b7701b94ef7", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=DcaIBzQlrJk" } ``` In this session, Zach Mandell, staff product manager for the dbt Semantic Layer at dbt Labs, walked through what he called the first and second waves of the semantic layer, and made the case for why the second one, driven by AI agents, has a real shot at succeeding where the first one stalled. The first wave, roughly five years ago, was about defining metrics as code: centralizing metric logic in one repository and serving it to every downstream BI tool so nobody was calculating revenue two different ways. Mandell argued that wave mostly didn't reach production, for three reasons: the value it delivered was just the status quo (the same dashboards, arrived at more carefully), integrating a shared semantic layer into existing BI tools was genuinely hard, and semantic modeling itself, thinking in entities, primary keys, and join paths, was an unfamiliar discipline for analytics engineers whose tools had abstracted all of that away. What's different now, Mandell said, is the value on the table: agents can put "a tireless analyst at the fingertips of anyone in the business," and usage of the [dbt MCP server](https://docs.getdbt.com/docs/dbt-ai/about-mcp) is doubling quarter over quarter, driven largely by conversational analytics use cases. But that same shift introduces a new problem: trust. Mandell illustrated it with a probability exercise: Steph Curry makes free throws at a 92.3 percent career rate, better than nine of ten, yet his odds of making ten in a row work out to only about 45 percent, worse than a coin flip. The same math applies to an agent answering a business question through a chain of steps (finding the right table, the right column, the right aggregation); even a high per-step success rate degrades fast across a multi-step chain, and Mandell argued that better models alone won't fix that. Mandell laid out four things he believes have to be true for the second wave to succeed. First, closing the integration gap: rather than only serving BI tools through custom connectors, dbt is working on what he called "semantic SQL," a native SQL interface that lets a BI tool query the [dbt Semantic Layer](https://www.getdbt.com/product/semantic-layer) as if it were querying a database directly, while still allowing arbitrary SQL joins against ungoverned, ad hoc tables when needed. Second, pushing semantics further upstream into the transformation layer itself, both for pre-aggregation (some companies he's spoken with spend 30 to 40 percent of their warehouse bill on materializations to hit latency targets, a cost he believes dbt can help reduce) and for using metrics as dimensions in customer-360-style models. Third, treating the semantic layer as the deterministic spine of a broader "context layer" that also includes unstructured data like tickets, docs, and calls, arguing that agents reason more reliably when core entities and relationships are already defined rather than inferred from raw tables. Fourth, configurability and access control: agents should only see the exact slice of context a given workflow needs, with observability into what data an agent actually touched, since that combination of scoped access and visibility is what makes higher trust possible. In Q&A, Mandell fielded questions on standardization and openness: dbt remains an active member of the Open Semantic Interchange (OSI) initiative and can export MetricFlow definitions as an OSI document for use elsewhere, though he acknowledged the ecosystem hasn't resolved how much fidelity survives when converting between different semantic layer specs. Asked whether a native SQL interface to the semantic layer might replace dbt's existing saved queries feature, Mandell said no, saved queries are more about materializing aggregations, a different problem. He also referenced a public Anthropic post arguing that a semantic layer or knowledge graph should be human-curated rather than AI-bootstrapped, a point he called relevant to how organizations should collaborate on semantics going forward. Mandell closed by inviting the room to a same-day roundtable to debate two open questions with the dbt product team: how a semantic layer should be authored, and how it should be served, plus what's currently holding teams back from adopting the dbt Semantic Layer or other headless semantic layers, including teams that tried and gave up a few years ago. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "How dbt Labs and Fivetran are moving dbt workloads onto the data lake, model by model" description: "How to move dbt workloads onto a data lake, model by model, without a rip-and-replace migration." url: "https://www.getdbt.com/blog/dbt-lake-compute-data-lake-workloads" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # How dbt Labs and Fivetran are moving dbt workloads onto the data lake, model by model ```json { "_key": "694056d51f8b", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=VDJV27sNqSQ" } ``` In this session (delivered, memorably, with both speakers dressed as ducks), Russell Christopher, senior director of product strategy at dbt Labs, and Casey Karst of Fivetran, who previously owned the dbt adapter at Dremio and now works on Fivetran's managed data lake, made the case that data lakes built on open table formats are the next evolution of the data stack, and that teams can adopt them in small steps rather than one large migration. Christopher opened by naming the problem with today's modern data stack: it looks like it separates storage from compute, but in practice most teams write their data directly into a proprietary format owned by a single compute engine, which drives up cost, limits which engine can do which job, and makes future migrations painful. He described his own past data migrations as taking three to nine months and carrying real risk, calling them "death marches." The alternative the session proposed centers on Apache Iceberg as an open table format sitting at the middle of the architecture, exposed through an Iceberg REST catalog (dbt Labs and Fivetran support Apache Polaris), so that multiple engines, Snowflake, Databricks, BigQuery, or others, can read and write the same data without copying it. Karst then demoed how Fivetran handles this today: setting up a destination on Fivetran's managed data lake only asks a handful of questions (storage provider, bucket, path, and how many Iceberg snapshots to retain for time travel), with sensible defaults for everything else, including catalog integration with AWS Glue or Databricks Unity Catalog. He also demoed a newer "Move" capability that migrates an existing Snowflake-native table to an Iceberg table in place, preserving the same table namespace so dependent dbt models and BI dashboards keep working without any changes, completing in a couple of minutes in the live demo. Because Fivetran was already writing and then re-loading that data through Snowflake, moving it to the managed lake also cut roughly 15 to 20 percent off the Snowflake compute bill for that workload, at no extra cost, since Fivetran already charged the same monthly active rows pricing. Christopher then extended the idea to the transformation layer with a concept Fivetran calls Lake Compute: since a dbt project's individual models don't all need the same compute, some are simple filters, casts, or renames ("a trip to the mailbox," in his framing), while others involve heavy joins or use warehouse-native AI functions ("a blizzard," needing the SUV). Lake Compute lets a team move specific, low-complexity dbt models off premium warehouse compute and onto cheaper lake-native compute, model by model, without restructuring the DAG or the project. Christopher shared directional (not precise) numbers suggesting ingestion and transformation together account for roughly 75 percent of a typical data stack's compute spend, and that this approach targets exactly that spend without changing what analysts or BI tools see downstream, since the gold layer serving those consumers stays put. The session closed by distinguishing the reference architecture (an open lake built on open table formats and open catalog interfaces, which preserves choice of engine) from the build-versus-buy decision on top of it: teams comfortable with open source can assemble their own lake stack, while teams that want it managed can use Fivetran's data lake for ingestion and Lake Compute for targeted transformation savings, without giving up the open standards underneath. Christopher and Karst pointed attendees to a follow-up roundtable session on Open Data Infrastructure later that day for a deeper, more informal discussion. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "Inside dbt v2: how a rebuilt SQL engine makes linting up to 250x faster" description: "dbt v2 gives developers real-time SQL feedback instead of making them wait for a run to fail." url: "https://www.getdbt.com/blog/dbt-v2-sql-engine-linting-250x-faster" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # Inside dbt v2: how a rebuilt SQL engine makes linting up to 250x faster ```json { "_key": "d2b7523f6932", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=81T3CTclWOw" } ``` Alexander Bogdanowicz, a dbt Labs engineering leader who manages the org behind dbt v2, spanning the adapters, growth, VS Code extension, and core engine teams, walked a packed room through the new developer experience in a live-demo session. He's worked on the underlying problem for about four years: two at dbt Labs, and two more at SDF, the company dbt Labs acquired that built much of the language comprehension technology behind v2. dbt has always understood project configuration and how to orchestrate a DAG, ever since refs and sources let teams build one in SQL. What it never had, until v2, was an actual understanding of SQL grammar itself. dbt v2 fixes that by rewriting the Jinja templating engine in Rust, giving dbt real semantic comprehension of the SQL and Jinja it runs. That rewrite unlocks a few new layers: incremental project state management (the thing powering fast compilation in the VS Code extension), baseline static analysis that always checks SQL is grammatically valid, and strict static analysis that catches errors locally before a project ever runs remotely. In the demo, enabling the LSP linter in VS Code surfaced lint problems inline as Bogdanowicz edited a model, and running dbt lint from the terminal showed the same diagnostics. The linter ships with five new dbt-specific SQLFluff rules, including one that flags raw hard-coded table references instead of refs or sources, and one that flags OR conditions inside joins because they force unnecessary table scans. dbt format and dbt lint --fix cleaned up dozens of violations automatically, leaving only the ones that needed a human judgment call. The headline number: dbt v2's linter is 40 to 250 times faster than standard SQLFluff on the same project. The reason is that dbt v2 never runs the introspection queries that normally slow down linting, because its semantic understanding of SQL and Jinja fills in those gaps without ever hitting the warehouse. dbt checks bring project-level assertions natively into SQL, replacing patterns that previously lived in Jinja-based tools like the dbt Project Evaluator package. Checks query an internal, project-generated "information schema" (covering models, docs, lineage, groups, macros, and metrics) through DuckDB, with configurable severities and selection filters so a check can be scoped to a single model. They also run automatically as part of dbt build. Docs v2 is built on that same information schema and runs through DuckDB compiled to WebAssembly in the browser, so dbt docs generate and dbt docs serve produce a fast, statically hostable catalog. Full column-level lineage is available as long as the project compiles with strict static analysis turned on. The VS Code extension's Compare Changes feature runs a live data diff between a modified model and its production version, and in the demo it caught an accidental 90,000-row drop caused by a single bad filter change. Unit tests can now also compile down and run entirely on local DuckDB, with zero network calls, for Snowflake and BigQuery projects (currently an experimental feature). dbt v2 can additionally batch multiple not-null or uniqueness tests on one model into a single scan, cutting both compute and run time on large projects. An audience poll found roughly 40 percent of the room had already tried dbt v2. Bogdanowicz closed by pointing people toward the private betas for dbt State and Lake Compute, calling dbt State "a free lunch" that pays for itself in saved compute. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "What Open Data Infrastructure looks like with dbt Mesh" description: "A demo of dbt Mesh running on Apache Iceberg." url: "https://www.getdbt.com/blog/dbt-mesh-snowflake-databricks-iceberg-catalog" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # What Open Data Infrastructure looks like with dbt Mesh ```json { "_key": "6f0eae470617", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=Sre9TEHMkHo" } ``` At a dbt Summit 2026 breakout session, Jack Lowery, lead sales engineer specialist for data lakes and transformations at Fivetran, and Anna Lee, software engineer at dbt Labs, walked through what Open Data Infrastructure looks like in practice, built around Apache Iceberg and a live, cross-platform dbt Mesh demo. Open Data Infrastructure, or ODI, is the idea that data should live in an open format that any compute engine can read, rather than locked inside one warehouse's proprietary storage. Lee explained the technical backbone: a new catalogs.yml v2 spec that decouples dbt's Iceberg configuration from the older, Snowflake-specific concept of a catalog integration and write integration. That change means a dbt project can define where its Iceberg tables live independently of which warehouse is doing the writing. The session's centerpiece was a live demo of a cross-platform dbt Mesh spanning three teams. A platform team on Snowflake wrote to a catalog Lowery and Lee referred to as Horizon, a finance team on Databricks wrote to a catalog called Unity, and a marketing team on Snowflake read from both, using catalog federation and catalog-linked databases to make tables written by one engine visible to another without copying the underlying data. That is the practical promise of ODI: three teams, two warehouses, one shared set of Iceberg tables. Lowery also introduced two services built around this model. Managed Data Lake writes Iceberg or Delta Lake metadata directly into a customer's own cloud storage, using the open source Polaris catalog rather than a proprietary one. And Lake Compute, currently in private beta and built on DuckDB, lets specific dbt models run on a different, often cost-optimized compute engine than the rest of a project, configured through a simple adapter setting rather than a platform migration. Lowery demoed Lake Compute live, routing a single model to run on DuckDB while the rest of the project kept running on Snowflake. The through-line of the talk was that open table formats and shared catalogs are what make dbt Mesh genuinely cross-platform, rather than cross-platform in name only. Teams no longer need to standardize on one warehouse to share governed data with each other. They need a shared catalog and a table format every engine involved agrees to speak. Readers curious about the mechanics behind the demo can start with dbt's [Apache Iceberg support](https://docs.getdbt.com/docs/build/iceberg/apache-iceberg-support) and [about Iceberg catalogs](https://docs.getdbt.com/docs/build/iceberg/about-catalogs) documentation, the [catalogs.yml reference](https://docs.getdbt.com/docs/build/iceberg/catalogs-yml), and [dbt Mesh](https://www.getdbt.com/product/dbt-mesh) for the governance model that makes cross-project, cross-platform references possible in the first place. Lake Compute's private beta is documented at [About Lake Compute](https://docs.getdbt.com/docs/lake-compute). **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "How EF Education First built a cost and value layer for dbt models with a Snowflake Cortex Agent" description: "EF Education First built a Cortex Agent to score dbt models on cost and value, cutting some pipeline runtimes 80%." url: "https://www.getdbt.com/blog/ef-education-first-dbt-cost-value-models-cortex-agent" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # How EF Education First built a cost and value layer for dbt models with a Snowflake Cortex Agent ```json { "_key": "2ff5c9c5600d", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=a4nEbD7gttc" } ``` At a dbt Summit 2026 breakout session titled "Does your data pipeline deserve to exist? How EF Education First built a cost and value layer with dbt and Cortex Agent," Adrien Ledoux, who leads the data platform team at EF Education First, described how a scoring system built on dbt and Snowflake turned an unmanaged cost problem into a self-service tool for the company's decentralized domain teams. EF Education First, whose mission is "opening the world through education," sends thousands of students on tours around the world every year. Ledoux's platform team supports a data mesh of domain teams that each own their own marts and business logic. The trouble started when EF migrated from a legacy SQL Server setup, where spend was fixed and the real constraint was throughput, to Snowflake's consumption-based compute, split into separate warehouses per domain team. That move gave domain teams the flexibility to run pipelines on their own schedules, but it also meant every dbt model run now carried a real cost. Ledoux's team became responsible for allocating that spend fairly across a decentralized organization. Three symptoms showed up quickly: costs climbing steadily, some pipelines with barely any downstream usage, and a handful of expensive projects nobody was clearly accountable for. Ledoux's team responded by building a scoring system for every dbt model and test, based on execution time, credits consumed, and rows processed per second. Scores are normalized as a percentile rank against similarly sized peer models, so a large fact table isn't penalized unfairly against a small one. Models are sorted into three tiers: top-tier models are left alone and highlighted to the rest of the company as success stories, mid-tier models get periodic review, and bottom-tier models trigger a review conversation with the owning domain team. The scoring system draws on Snowflake account usage transformed with a Kimball-style approach, plus a custom pipeline that ingests Power BI activity logs. Ledoux noted that Fivetran shipped a native Power BI connector that could replace that custom ingestion going forward. Those sources feed a governed semantic layer in Snowflake, wrapped in a Cortex Agent that domain teams can query. The agent is enriched with context like domain, user, and team, so it already knows who's asking and what they're responsible for. The effort paid off in measurable terms: some of EF's heaviest pipelines saw a 40 percent efficiency improvement, one of the biggest models dropped from 10 minutes to 2 minutes, and some Power BI workspaces saw up to 70 percent of reports deleted once low usage became visible. Ledoux was candid that the project's biggest ongoing challenge is adoption of the agent itself, even though building it pushed his data engineers to work more like analytics engineers and surface gaps in their own CI/CD. He also drew a sharp distinction between usage and value: a report checked a thousand times isn't necessarily valuable, and a report checked once a week by the right person can be. His team is now building a reverse ETL loop that pushes actionable insights into Salesforce, assigns them to people, and re-ingests the outcome to close the feedback loop. Other next steps include making the agent more autonomous by feeding it Confluence documentation through Fivetran, connecting it to Snowflake workflows that can automatically open Jira tickets for domain teams, and pushing regular usage digests directly to domain teams who might not otherwise know the tool exists. Ledoux's closing point doubled as a warning: a good technical idea does not adopt itself, and leaders still have to invest the time in change management. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "How KOHO built a Claude-powered self-serve analytics tool on years of dbt governance" description: "KOHO explains why AI self-serve analytics needs a strong data culture and a governed dbt foundation first." url: "https://www.getdbt.com/blog/koho-claude-self-serve-analytics-dbt-governance" date: "2026-10-27" authors: ["Daniel Poppy"] categories: ["Learn"] --- # How KOHO built a Claude-powered self-serve analytics tool on years of dbt governance ```json { "_key": "e1b4eee43681", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=NkpExlQYvK8" } ``` In this session, Célia Bru, senior director of data at KOHO, and Gabriel Gambacorta, technical product manager at KOHO (and formerly a member of Bru's data team), argued that the hard part of self-serve analytics has never really been the AI. KOHO is a Canadian fintech with about 250 employees, currently in phase two of three toward a Canadian banking license, and more than 10 percent of its staff are data people. Bru spent most of her time on what she called the "fuzzy stuff" (data team culture) and the "boring stuff" (data foundations), because those two things, in her telling, are what made it possible to build KoDa, KOHO's in-house self-serve analytics tool, at all. KoDa lets anyone at KOHO ask a business question in Claude and get an answer back from a governed dbt data mart running on Redshift, with Bedrock and Claude providing the LLM layer. Bru said the individual pieces (a clean dbt mart, a production-grade warehouse, and an LLM already available companywide) had existed since a diagram from KOHO's principal data architect back in March; the missing piece was simply connecting them securely and governably. The team held itself to firm design principles while building it: KoDa is scoped to analytics use cases only (no debugging or investigating individual transactions), it only ever touches certified dbt mart models with no raw data or PII, it is read-only with no ability to write back to the warehouse, every employee gets the same single experience, every answer traces back to the same company-wide dbt definitions, and the whole thing was built on infrastructure KOHO already had rather than new vendor tooling. None of that would have been possible, Bru said, without work that came years earlier. She described building buy-in through what she called the "referee position": the data team owns the inputs into a decision but not the decision itself, and it owns metric definitions so that no individual team gets to decide what counts as a win. When something breaks, the team says so before anyone has to discover it, which is what led KOHO to scrap its entire pipeline in 2022 and rebuild it in dbt from the ground up. That rebuild is now roughly 1,400 models with tests and documentation, all PII stripped out of the models, and Bru pointed out that KoDa's restriction to governed dbt marts has become one of the strongest arguments for getting the rest of the company onto that same foundation, since teams without a governed mart simply can't use the tool. Gambacorta then walked through how KoDa is actually built: a "KoDa skill," which is markdown files plus pre- and post-hook MCP calls, surfaced through Claude Code, connected to KOHO's dbt marts through a Redshift MCP server. What took real effort wasn't the skill itself but the evaluation layer underneath it: roughly 11 commits from three people over three months went into building context libraries and what Gambacorta called an "eval council," a growing library of about 375 real analyst questions used for both offline evaluation (does a change to the style guide improve or regress answer quality) and online evaluation (every question KoDa answers gets logged, with an analyst on a weekly rotation reviewing new or high-priority ones). Gambacorta's framing for where the industry should focus next: roughly a third of dbt Summit sessions this year touched on context or the semantic layer, but only about one in 33 talked about evaluation, which he thinks is backwards given how much of KOHO's own effort went into evals rather than the model or the skill itself. Bru closed by returning to trust: the KOHO data team built its credibility over years by being in the room for every answer, and self-serve tools take the team out of that room. Their interim answer is to log every question KoDa is asked and to still personally review any self-serve result headed to the board. Longer term, Bru and Gambacorta both argued the bottleneck is shifting from the tooling to the people: teaching a whole company when to trust a self-serve answer and when to come back to the data team, and building data literacy broadly enough that people ask better questions in the first place. In Q&A, the pair described a hub-and-spoke team of domain-specialist analysts who build role-specific example queries to drive adoption, and noted that KoDa's usage volume already exceeds what used to reach the data team through Slack, meaning it's surfacing questions that previously never got asked at all rather than just replacing old ones. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "How Data Culture measured its way from zero trust to a shippable AI analytics agent" description: "Data Culture built a 3-step evaluation framework that took one AI analytics deployment from 0% accuracy to 94.7%." url: "https://www.getdbt.com/blog/data-culture-ai-analytics-agent-trust-context" date: "2026-10-26" authors: ["Daniel Poppy"] categories: ["Learn"] --- # How Data Culture measured its way from zero trust to a shippable AI analytics agent ```json { "_key": "440705040bb1", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=sCqjOmH_0Tg" } ``` At a dbt Summit 2026 breakout session titled "Don't ship what you can't measure: Evaluation-driven development for AI analytics agents," Opeyemi Fabiyi, director of analytics engineering at Data Culture, laid out a three-step framework for measuring whether an AI analytics agent is trustworthy before it reaches a stakeholder. Fabiyi borrowed the term evaluation-driven development from Chip Huyen's book AI Engineering, and distilled it into a single rule his team now follows for every agentic analytics rollout: don't ship what you can't measure. Data Culture is a boutique data and AI consultancy that spent its first five years on classic modern data stack work, including data modeling, BI migrations, and platform migration. Over the past year, client demand shifted toward operationalizing workflows with AI and letting stakeholders chat with their data. That shift pushed the team to build its own methodology, evaluation framework, and playbook for deploying agentic analytics, which it has since used on two production clients: a healthcare provider building clinical operations analytics, and an e-commerce retailer building product and sales analytics. The trigger for the framework was a question Data Culture couldn't answer during its first client deployment: what is the accuracy of this agent? The team had connected an agent to a Snowflake MCP server for a group of test users, but had no number to offer, not even a rough one. Months later, dbt Labs' 2026 State of Analytics Engineering report surfaced the same problem industry-wide. Trust remained the top concern for teams deploying AI agents to stakeholders, with 71 percent of respondents worried about hallucinated or incorrect data reaching decision-makers and 83 percent naming trust a top organizational priority. Fabiyi said the real bottleneck had shifted from building an analytics agent to proving that agent's output could be trusted before a stakeholder relied on it. When Data Culture built a first lightweight evaluation pipeline and reviewed the results by eye, it found a pattern: several "failures" were not real errors, but cosmetic mismatches a human analyst would have called correct. In one case, the agent returned the exact right numbers for monthly gross revenue, just under a differently named column. In another, it returned the correct three product categories plus a fourth row of legitimate uncategorized products. In a third, it returned the right numbers plus one additional supporting column. A naive exact-match comparison marked all three as wrong, even though the underlying answer was correct in every case. To fix that, Fabiyi's team built evaluation-driven development around three steps: define what "correct" means, define how to compare results, and build layered evaluation logic. The first step is writing "golden questions" specific enough that two analysts on the same team would write the same SQL to answer them, then validating the expected answer with a domain expert before using it as a benchmark. The second step compares the results of a query rather than the query itself, since two different SQL statements can produce an identical answer. Data Culture built a four-tier comparison cascade: exact match, then a value-only comparison that ignores column names, then an overlapping-column comparison that tolerates extra context columns, and finally an approximate-numeric match that tolerates rounding differences. The third step splits evaluation into two layers. A deterministic layer handles roughly 80 percent of golden questions with fast, free, reproducible comparisons, and a large language model acts as a judge for the remaining 20 percent, scoring responses on groundedness, relevance to the question, and comprehensiveness. With that framework in place, Data Culture could run controlled experiments to see which kind of added context actually improved agent accuracy, using the same golden questions and the same model at every step. On the e-commerce deployment, accuracy climbed from 0 percent with no semantic context, to 50 percent once the agent was pointed at modeled dbt tables instead of raw source data, to 52.6 percent after adding column descriptions, to 78.9 percent after adding business rules and default filters, and to 94.7 percent after adding verified queries and named metrics. The healthcare deployment followed a similar curve, starting at 0 percent on raw data and eventually clearing Data Culture's internal 90 percent production threshold once the same layers of business rules and verified queries were added. Across both deployments, the model stayed the same. The accuracy gains came entirely from added context layers: modeled tables, column descriptions, business rules, and verified queries, each one measured against the same evaluation suite. Fabiyi pointed to similar patterns reported elsewhere in the industry, citing Anthropic's published account of taking an agent from 21 percent to 95 percent accuracy after building a curated data foundation and an offline validation step. He closed by arguing that a dbt project's modeled tables and semantic context are the durable asset in any agentic analytics deployment, while the agent or LLM layer underneath can be swapped out later. Data Culture open sourced its evaluation pipeline, golden question templates, comparison logic, and a technical walkthrough at [github.com/datacult/dbt-agent-trust](http://github.com/datacult/dbt-agent-trust). **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "How Verily Health monitors wastewater for 30-plus pathogens with a 5-person team and 1 dbt package" description: "Verily Health's five-person team uses one dbt package to monitor wastewater for over 30 pathogens in near real time." url: "https://www.getdbt.com/blog/verily-wastewater-pathogen-monitoring-dbt" date: "2026-10-26" authors: ["Daniel Poppy"] categories: ["Learn"] --- # How Verily Health monitors wastewater for 30-plus pathogens with a 5-person team and 1 dbt package ```json { "_key": "e7fc1e901947", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=a87tpUqVF1w" } ``` At a dbt Summit 2026 breakout session titled "dbt for public health: sightline wastewater monitoring at scale," David Drummond, data engineer and technical lead at Verily Health, described how a five-person data team uses dbt to power near real-time wastewater surveillance for more than 30 pathogens. Verily Health's public Sightline dashboard lets anyone track regional and seasonal trends for pathogens like COVID-19, influenza A, norovirus, and rotavirus, built from wastewater samples that government partners collect and Verily's labs process. That data also reaches academic researchers, government agencies, and organizations like the CDC, typically arriving with a lag of only a day or two. Drummond's team builds on FHIR (Fast Health Interoperability Resources), an open healthcare data standard maintained by the international HL7 organization. FHIR follows an "80/20 rule": common use cases get built into the standard itself, and everything else can be handled through extensible implementation guides. FHIR's more than 150 resource types, things like Patient, Observation, Specimen, and Location, arrive as deeply nested JSON or XML. That creates a recurring design problem: how far to flatten the data, what to use as a primary key, and whether to track full history or just the latest snapshot. Rather than solve that problem separately for each of the two or three dozen datasets the team supports, spanning wastewater monitoring, diabetes management, weight-loss programs, and clinical trials, Drummond's team built a shared dbt package with parameterized macros for each FHIR resource. The same observation macro that tracks influenza A levels in a wastewater sample also tracks a person's A1C reading from a continuous glucose monitor. Sensitivity and grain get adjusted through macro parameters rather than duplicated code. Two heuristics keep the resulting models usable: composite keys are capped at around three columns, and most tables stay at roughly 30 columns or fewer, even though that means choosing a grain other than the finest one technically possible. The pipeline follows a medallion structure: a restricted, permissioned bronze layer feeds source-aligned staging models that mirror FHIR terminology, optional intermediate models for testing, and domain-centric mart models built in language researchers and scientists actually use. dbt's freshness tests monitor not just the team's own pipeline but the wide range of formats, from fixed-width files to CSVs, that arrive from academic partners. Because the team is small relative to its stakeholder base, Drummond said the group leans on dbt's semantic layer and documentation, including dbt docs, to support self-serve analysis rather than acting as a bottleneck. The approach was tested at scale this past summer, when Verily partnered with health agencies and academic institutions to extend Sightline monitoring to World Cup host cities, including the stadium in Kansas City. Drummond reported no major outbreaks during the tournament. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "How Kramp cut analyst onboarding from days to minutes with a self-serve dbt Mesh factory" description: "Kramp used one Terraform module to let 15 domain teams provision governed dbt projects in minutes." url: "https://www.getdbt.com/blog/kramp-dbt-mesh-analyst-onboarding" date: "2026-10-26" authors: ["Daniel Poppy"] categories: ["Learn"] --- # How Kramp cut analyst onboarding from days to minutes with a self-serve dbt Mesh factory ```json { "_key": "f48061305ef2", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=JkYtZ3DKJo0" } ``` Trang Trinh, senior data engineer at Kramp, presented at dbt Summit 2026 how her central data team scaled dbt Mesh across the business using an internal tool called Data Project Factory. Kramp is Europe's largest wholesaler of spare parts and accessories for agriculture, forestry, grounds care, and construction, founded in 1951 and operating over 500,000 products across 11 distribution centers and 24 sales offices. Trinh joined the company as it began adopting dbt platform on top of Google BigQuery, using Terraform to provision infrastructure. The team's starting problem was familiar: a small central team owned all data infrastructure and became a bottleneck, fielding dozens of domain requests a week. As a stopgap, analysts began building their own unversioned BigQuery queries under personal credentials, creating what Trinh called a "shadow BI wild west," including scheduled jobs that silently broke once the analyst who created them left the company. Compounding both problems, the central team held superuser access to everything, including sensitive customer and payroll data. An intermediate step, a central landing zone that unified raw source data before handing it to domain teams with more autonomy, plus lint-based CI guardrails, helped resolve the shadow BI problem but left onboarding and infrastructure control centralized, so the operational backlog and security exposure remained. Data Project Factory, a Terraform module, was built to resolve what remained. Given just a team name and owner email, it provisions a GCP project, a dbt project, and three GitHub repositories for that domain: one managing dbt platform infrastructure (environments, jobs, and variables), one holding the domain's dbt project template and CI setup, and one managing that domain's access permissions. This delivered on four pillars of data mesh that Trinh credited to Google Cloud's framework: domain-oriented ownership, where projects carry no inherited superuser roles and confidential data no longer has to route through a central landing zone; data as a product, discoverable through dbt Catalog, with only each domain's presentation layer exposed for other teams to reference; a self-serve platform, so domain teams provision and manage their own resources; and federated governance, enforced through CI checks tied to each pull request and a maturity scoring framework designed to encourage teams to keep improving. Getting there took roughly two years across three migrations: moving the transformation layer from Dataform to dbt platform across 1,400 sources and 5,000 models without breaking downstream usage, rebuilding infrastructure through Data Project Factory to eliminate legacy superuser access, and an ongoing shift from ad hoc custom queries into governed dbt projects. A later infrastructure move, from dbt platform on AWS to GCP, covered 25 dbt projects in two weeks with no major issues. The resulting numbers: 25 dbt platform projects and 50 licensed developers spread across 15 domain teams, with a single Terraform configuration now able to provision a secure, production-ready domain data product within minutes, no Terraform knowledge needed. An internal developer experience survey put satisfaction at 4.6 out of 5, with analyst onboarding down from days to minutes and time-to-insight down from weeks to hours. Trinh said the central team now spends less time on ad hoc requests and more time improving the platform itself. Looking forward, Kramp wants one AI agent per domain, reachable from any interface and grounded in a unified, governed semantic layer shared across agents and BI tools; today that's an early-stage pilot built on Snowflake Semantic Views and Cortex Analyst. Q&A ran long and covered implementation detail: onboarding analysts who are strong in SQL but new to dbt and Git (addressed through internal training, dbt Studio, and CI feedback via SlimCI and lint checks), what still lives in the central landing zone (latest-record logic only, with heavier transformation owned by each domain), how cross-project references are scoped and enforced (dbt's cross-project ref function, paired with service-account permissions and a lint rule restricting references to a domain's presentation layer only), how domain teams without deep data skills are supported (ongoing training plus dbt Wizard), and the limits of what Data Project Factory itself provisions (the base dbt project only, not environments, jobs, or schema, which are configured separately through each domain's Terraform repo). **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "How customer pressure pushed dbt past a cautious platform team at Delivery Hero" description: "At Delivery Hero, dbt adoption came from customer teams pushing past platform caution, not from a platform mandate." url: "https://www.getdbt.com/blog/delivery-hero-dbt-platform-modernization" date: "2026-10-26" authors: ["Daniel Poppy"] categories: ["Learn"] --- # How customer pressure pushed dbt past a cautious platform team at Delivery Hero ```json { "_key": "0ba825d0e353", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=r1CiHjCdxYc" } ``` At a dbt Summit 2026 breakout session titled "The Platform Team said no — dbt won with 'Yes' - story of governance, autonomy, and Scale," M. Waqas Shahid, of Delivery Hero's data platform team, described how dbt adoption at the company was driven by customer teams pushing against platform caution rather than handed down from above. Delivery Hero is one of the world's leading local delivery platforms, operating in around 65 countries through a decentralized network of seven regional platforms and brands such as foodpanda in Asia. Founded in Berlin in 2011, the company now processes more than 11 million orders a day, or roughly half a million an hour. The scale of Delivery Hero's data platform is substantial: about 300,000 tables holding 60 petabytes of data, roughly 140 million queries a month processing about 1,300 petabytes, and around 250 dbt projects spread across 45 decentralized teams the company calls Domain Data Units. Those teams collectively maintain 1,300 macros imported into 15,000 models and SQL scripts, running 23 million monthly tasks. Before dbt, Delivery Hero's platform team built an in-house framework called DataHub that let teams scaffold a workflow, write parameterized SQL with Jinja templates, and configure dependencies and metadata in YAML. It worked for years, but customer teams eventually reported it was hard to debug, slow to develop against, and had a steep learning curve for new hires. The platform team's first real exposure to dbt came through a GCP customer roundtable where they met engineers from Monzo, a UK bank that had already archived its own dbt fork by 2019 in favor of an internal tool nicknamed "DOM's Data Build Tool," built because dbt reportedly slowed down once a project passed 3,000 models. That experience led Shahid to conclude the tool wasn't ready for an organization of Delivery Hero's size, so the platform team paused. By 2023, individual teams had started testing dbt on their own, and by mid-2023 there was an organized push from those teams to integrate it into the platform. In the second half of 2024, Delivery Hero merged with a team that had already fully adopted dbt, and by October 2024 an internal RFC was circulating to standardize dbt company-wide, all before the platform team had taken any action itself. Customer teams did not wait for the platform team to act. They built and maintained their own Python package, called dbtflow, that converted dbt manifests into Airflow tasks and DAGs, and the platform team never owned it. When Astronomer released version 1 of its open source Cosmos project in mid-2023, doing much the same manifest-to-Airflow conversion, Delivery Hero retired dbtflow rather than keep maintaining a duplicate. The platform team's own work narrowed to a CI layer of GitHub workflows, including a script called Cosmos Injector that adds priority weights to dbt manifests for Airflow task scheduling and uploads those manifests to a GCS bucket. The team that merged in during 2024 brought a more declarative model: a "data product builder" defines a data product through an SDK without touching dbt or YAML directly, and an internal Mesh Hub API converts that submission into an Airflow DAG. dbt still powers the result underneath, just fully abstracted from the end user. Shahid framed Delivery Hero's ongoing platform decisions around four recurring trade-offs. The first, abstraction versus flexibility, showed up whenever a fully abstracted pipeline failed with an unhelpful error and no way to debug it; dbt macros resolved this by letting teams import centrally governed rules for access control and policy tagging while still writing their own macros for anything team-specific. The second trade-off, standardization versus autonomy, centered on ownership in a decentralized organization where nobody could say who to contact when a table broke. Requiring an owner tag on every dbt model, enforced in CI so unowned models can't reach production, fixed that by letting the platform tag the right person in Slack automatically when a job fails. The third trade-off, self-control versus central control, involved analysts scheduling queries directly in the BigQuery console instead of through the central orchestrator, which made dependencies and compute spikes impossible to track. The dbt CLI gave analysts a fast, version-controlled way to build and test locally instead, centralizing more of the codebase without slowing anyone down. The fourth trade-off, speed versus stability, is the classic tension between a platform team that wants staging environments and testing before production, and domain teams frustrated by slow deployments. Combining dbt tests, unit tests, and the dbt CLI with Cosmos running dbt as native Airflow tasks let tested models reach production through the existing orchestration tooling without adding deployment friction. Shahid closed with two lessons he said apply beyond dbt: embrace tooling change deliberately rather than resisting it or chasing every new stack, an idea he called "evolving with intent," and remember that readiness has to exist at both the tool level and the organizational level. He pointed to Monzo's early, intimidating dbt fork as a case where Delivery Hero was right to wait before its own teams were ready, and argued platform teams should treat their "golden path" as a living standard, absorbing workarounds back into it over time rather than treating it as fixed. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "Beyond medallion architecture: the written rules that keep a growing dbt project consistent" description: "Silja Märdla on why medallion layers fall short and how 14 explicit rules keep a growing dbt project consistent." url: "https://www.getdbt.com/blog/dbt-project-standards-medallion-architecture" date: "2026-10-26" authors: ["Daniel Poppy"] categories: ["Learn"] --- # Beyond medallion architecture: the written rules that keep a growing dbt project consistent ```json { "_key": "8a9790fbf7c6", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=bL37aoe7FZ8" } ``` Silja Märdla, head of analytics engineering at Bolt, opened her dbt Summit 2026 session with a blunt thesis: having dbt does not guarantee a good data model. Bolt, the European "super app" for rides, delivery, and rentals operating across Europe and Africa, had rolled out dbt without much in the way of rules. That worked while the analytics engineering team was small. It stopped working once the team grew past 20 people last year, at which point teams were staging the same data differently, informal guidance was being interpreted inconsistently, and answers coming out of the analytics engineering team started to diverge. Over several months, the team whiteboarded and signed off together on an explicit, written rule set, which Silja presented as 14 specific rules. A few of the more distinctive ones: every table exposed to consumption tools has to be one of exactly three shapes (a single-entity table, a slowly changing dimension, or a table representing a combination of entities, usually with time), and exposed tables should be simple selects on top of intermediate models rather than carrying business logic themselves. Intermediate models are also limited to three shapes: spine (identifiers and raw attributes), feature (derived business logic on an entity), and metrics (aggregated values on a grain), with metrics kept separate because they're auto-generated from a centralized set of metric definitions rather than hand-built like feature models. A metric is defined once against its source fact table; when it gets aggregated to a different grain elsewhere, Bolt calls that a "feature," not a second copy of the same metric. No dbt model has shared ownership, and dbt projects have one-directional dependencies that mirror the business itself: a vertical team (rides, delivery, rentals) can read from a horizontal team's project (billing, geo), never the reverse, with shared logic pushed upstream into a common project instead of duplicated downstream. One more rule addresses a subtler failure mode: metrics that can't legally be re-aggregated across grains, like distinct counts, get split into their own marts away from additive metrics. Bolt's BI tool requires a mandatory "metric key" field whenever a non-additive metric is selected, specifically to stop someone from aggregating it in a way that produces a wrong number without any error. The rules have been in place for about six months with no major issues. Silja's framing throughout was less about the specific rules and more about the discipline of having them written down at all: "the fact that you do have dbt doesn't mean your data model is good," and "there is no shared ownership of a dbt model" were two of the lines she returned to. Bolt's structure guide echoes practices in [dbt Labs' own best-practices guide for structuring dbt projects](https://docs.getdbt.com/best-practices/how-we-structure/1-guide-overview), which covers similar staging, intermediate, and marts layering for teams looking to write their own version of this rule set. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "Inside dbt Wizard, the AI agent built to show its work" description: "dbt Wizard's designer and engineering lead show how the agent validates its own work before code ever reaches production." url: "https://www.getdbt.com/blog/dbt-wizard-ai-agent-validation-lineage" date: "2026-10-26" authors: ["Daniel Poppy"] categories: ["Learn"] --- # Inside dbt Wizard, the AI agent built to show its work ```json { "_key": "613e40be23d3", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=Cn_RhdpeX9U" } ``` In a dbt Summit 2026 breakout session, Sam Ferguson, a product designer on dbt Wizard, and Ryan Eakman, senior staff software engineer at Fivetran, made the case for why analytics engineering needs an AI agent of its own, rather than a general-purpose coding agent pointed at a dbt project. Ferguson opened with the problem dbt Wizard was built to solve. As agents take on more of the actual execution of data work, the job for the humans involved shifts from writing code to judging it, and generic coding agents were not designed to make that judgment easy. A diff shows which lines changed. A chat log shows the conversation. Neither shows how the underlying data actually changed, or whether the result is right, which leaves teams reconstructing that context by hand every time an agent finishes a task. dbt Wizard's answer is to treat a dbt project as one connected system rather than a folder of files, and to validate every change against a development schema before it ever touches production. When dbt Wizard makes a change, it shows the impact as a DAG rather than a diff, so a reviewer can see what actually moved downstream. According to Ferguson, design partners using Wizard have reported a 15 to 20 percent reduction in production incidents since adopting it. Underneath that pitch, Ferguson pointed to a handful of deliberate design choices: a harness built specifically for analytics engineering rather than a general chat interface, a native metadata engine that gives the agent structured access to a project instead of making it search and guess, and validation and visual review built into the workflow itself rather than bolted on afterward. dbt Wizard is available across three surfaces today: embedded in dbt Studio and as a standalone workspace inside the dbt platform, from the command line, and now through a new desktop app. Eakman then ran a live demo of the desktop app using two fictional dbt projects, Jaffle Games and the familiar Jaffle Shop. Working through a real scenario, where the business side and the game design team defined "active player" differently, he showed dbt Wizard forking a conversation to explore a second question without losing context on the first, then working through both in parallel. Every time dbt Wizard made a change, it surfaced the assumptions behind that change, including one case where it flagged that a crash metric relied on null session durations even though an unused crash flag already existed in the data, a bug the agent caught rather than introduced. The demo also showed Wizard's validation flow splitting cheap operations, like compiling and parsing code, from expensive ones, like materializing data, and running validation through an isolated sub-agent so the check wouldn't inherit the same assumptions as the agent that made the change. Once validation passed, Wizard could open a pull request directly, carrying the assumptions and context from the conversation into the PR description. In the Q&A, Eakman fielded a question about how Wizard differs from Claude Code for dbt-specific work, and answered that Wizard comes with dbt-specific tools built in rather than requiring a team to assemble its own MCP servers and skills, and that a general-purpose tool has to serve every use case, which limits how far it can steer an agent toward dbt-specific patterns. He also confirmed Wizard supports skills and MCP connections through its underlying harness, and that it automatically isolates schemas per work tree so parallel agents don't clobber the same database objects. dbt Wizard is available today through [dbt's product page](https://www.getdbt.com/product/dbt-wizard), with setup details in the [Wizard documentation](https://docs.getdbt.com/docs/platform/wizard-overview) and the [Wizard CLI guide](https://docs.getdbt.com/docs/dbt-ai/wizard-cli). The desktop app is in private beta with sign-up open now. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "dbt v2 lands: faster parsing, one shared adapter layer, and a docs experience that skips the giant manifest.json" description: "dbt v2 bundles adapters, speeds up parsing, and replaces manifest.json with smaller, queryable files for people and AI." url: "https://www.getdbt.com/blog/dbt-v2-fast-parsing-shared-adapters-documentation" date: "2026-10-26" authors: ["Daniel Poppy"] categories: ["Learn"] --- # dbt v2 lands: faster parsing, one shared adapter layer, and a docs experience that skips the giant manifest.json ```json { "_key": "8effe15375c4", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=uocf0br2T9c" } ``` Hope Watson, product manager for v2 adapters at dbt Labs, framed this session around an 1800s railway metaphor: when two train systems use different track gauges, nothing is technically broken, but every transfer between them costs time and money. dbt v1 and dbt v2 have been running as two separate codebases for the past year, and for any given feature, teams have had to wait for it to land on whichever engine shipped it first. Watson's talk covered how dbt Labs is closing that gap without asking users to pay the "cost of transfer" themselves. The core fix is architectural: dbt open-sourced the overlapping pieces of v1 and v2 so the ecosystem is converging on one engine and one binary over time, even though the migration itself will take years. To make upgrading practical today, dbt ships a v2 parser inside v1.12 that lets teams check compatibility before committing to a switch, plus a dbt autofix deprecations command that resolved 22 flagged issues in a live demo in about five minutes. v2 reached general availability on most adapters as of the day before this talk. Adapters got their own segment as what Watson called dbt's "secret foundation": the layer that makes wildly different databases (Snowflake uppercases identifiers, Postgres lowercases them; Snowflake has three timestamp types where BigQuery has two) look consistent inside dbt. In dbt v1, each adapter lived in its own repository with its own dependency chain, which meant installing a second adapter could quietly downgrade dbt core or pull in conflicting SDKs. In dbt v2, adapters ship inside the same binary as the engine on a shared layer built on the ADBC driver standard, so multiple adapters, demoed live with Snowflake and Databricks, install and run together without version conflicts. The parsing improvements were demonstrated head to head on a synthetic 1,800-model, 72-YAML-file project: v1 parsed in roughly 10 to 13 seconds, v2 in about 3. On error detection, catching a single SQL typo took about 1.5 seconds on the OSS distribution (which has to round-trip to the warehouse) versus 0.06 seconds on dbt's full distribution, which understands SQL directly. The new linter, demoed catching and auto-fixing a lowercase-formatting rule violation, was described as 50 to 100 times faster than other linters. Docs v2 replaces the single, sprawling manifest.json (nearly half a million lines of JSON on that same 1,800-model project) with small, queryable Parquet files. In the demo, Watson used Claude to write ad hoc queries against those files, including a column-level lineage query and a "blast radius" query showing every downstream model affected by renaming a single upstream column, the kind of impact analysis that would otherwise mean manually parsing a massive JSON file. The redesigned docs UI also added DAG grouping views. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "Optimizing your runs for lower compute, fresher data, and faster iteration with dbt State" description: "dbt State turns freshness rules into model-level code, and it took dbt Labs' own project from nineteen scheduled jobs down to two." url: "https://www.getdbt.com/blog/dbt-state-orchestration-jobs-19-to-2" date: "2026-10-26" authors: ["Daniel Poppy"] categories: ["Learn"] --- # Optimizing your runs for lower compute, fresher data, and faster iteration with dbt State ```json { "_key": "ed942d0be7f0", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=3VWBjDq8yp4" } ``` Speaking at dbt Summit, Reuben McCreanor, product manager at dbt Labs for dbt State, and Iaroslav Zeigerman, principal software engineer at Fivetran and a lead developer of dbt State (and co-founder of Tobiko, the team behind SQLMesh), explained that dbt was effectively stateless for most of its history: it had no memory of previous runs and no view of what had actually been applied to the warehouse. dbt State exists to fix one thing: every run should only build what actually changed. That idea shows up in two places. In production, dbt State moves freshness logic out of job schedules and into model-level code. Teams can set a lag_tolerance (how stale a model is allowed to get) and define what counts as "new data" for a given source, down to a custom SQL condition, at the folder, subfolder, or individual model level. Reuben pointed to dbt Labs' own internal project as an example: what used to be 19 separate jobs, often running on clashing schedules, is now handled by 2. In development, auto-cloning from production and auto-deferral mean an analytics engineer (or an AI agent) can build and test a single model without first rebuilding everything upstream of it, and without hand-managing manifest.json files. Fanatics is one of the customers already seeing this in production. As Alvin Chai, senior analytics engineer at Fanatics, put it: "Declaring SLAs at the model and letting it decide what actually needs to run has already delivered 25-30% model reuse and roughly 15% in Snowflake savings on our pilot project." Iaroslav ran a live demo on the Jaffle Shop project to show what this looks like day to day: a second run of dbt build skipping models with no upstream changes, a state:modified selector that no longer needs a manifest file at all, a zero-copy clone that pulls an already-built table from another environment instead of recomputing it, and a dbt explain command that gives a plain-language (and a verbose) answer to "why did this model build, or not build." He also showed a rebase scenario: pulling in a teammate's already-run model from their dev environment, with no re-execution required. Looking ahead, the team is working on lag-tolerance tuning recommendations based on warehouse query history, an experimental column-aware mode that would skip a model rebuild even when upstream code changed, if the specific columns a model depends on didn't, and a compare-changes view in the platform UI. In Q&A, they clarified a few boundaries: dbt State isn't a replacement for source freshness alerting (state is about execution efficiency, not monitoring, and alerting is still on the roadmap); views are still rebuilt whenever their underlying query changes; and snapshots are exempt from state entirely. Pricing is usage-based, measured in Daily Active Target Tables, meaning teams pay only for the first reuse of a given table each day, and views don't count toward billing at all. dbt State is available today: pip install it if you're running dbt 1.7 through 1.12, it's built into dbt v2, and it's a single checkbox if you're on the dbt platform. Read more on the [dbt State product page](https://www.getdbt.com/product/dbt-state). **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "Showing our work: a controlled experiment in context engineering" description: "We ran one AI skill 80 times against four context sources. Engineered summaries cut cost 48.5% and run time 43.2%." url: "https://www.getdbt.com/blog/context-engineering-experiment-dbt-mcp" date: "2026-10-26" authors: ["Christine Berger"] categories: ["Insights"] --- # Showing our work: a controlled experiment in context engineering dbt's internal library offers an ever-expanding array of AI skills that users in every branch of the org rely on for their daily work. Almost all of these skills, however, pull context straight from vendor tools like Gong; over time, this led to increasing API constraints and ever-higher token spend. Earlier posts in this series debuted [a new pattern for modeling context in the warehouse](https://www.getdbt.com/blog/model-for-the-token-not-the-table), demonstrated through compressing Gong transcripts with warehouse-native AI functions and then serving the compressed form to agents through the dbt MCP server. This pattern helped us shrink data volume by 20x and slash token consumption on Gong transcript analysis from tens of thousands of tokens to a few hundred. This pattern originated from our belief that [engineering context happens in the same way analytics engineers engineer data](https://www.getdbt.com/blog/from-analytics-engineer-to-context-engineer), and now it’s time to show our work. We designed a controlled experiment that followed the classic scientific method many of us learned in middle school science classes: observe the problem, ask a question, do research, create a hypothesis, run an experiment, form a conclusion. **The test**: 1 skill, 4 ways of gathering the same customer context, 80 runs, and 3 measurements (cost, speed, and output quality), all on real customer data. **The headline result**: serving an engineered summary through dbt MCP cut cost 48.5% and run time 43.2%, and kept most of the dates, numbers, and next steps the full transcript carried. It missed decisions and job titles, and we’ll show you where. This post is our lab report. ## The problem Teams across Fivetran + dbt Labs rely on AI skills: packaged instructions that tell an agent how to complete a specific task, such as building a recap PDF from a customer's sales calls. Each skill calls the vendor's MCP connector (like Gong, Salesforce, or Slack), pulling context directly from the source. Different users using different skills all the time, all across the org, was exactly the plan — but it ultimately caused some unfortunate side effects: - **Shared API caps.** Vendor connectors enforce org-wide rate limits. Every skill and every user draws on the same allowance, so heavy demand from one team’s workflow eats into everyone else's. - **MCP tool parameter limitations. **A vendor's MCP exposes only the filters the vendor chose to build; Gong's MCP, for example, has no parameter for finding calls by account name. Agents work around that gap through token-heavy work like cross-referencing other systems for a match or bulk-reading all calls on a certain date. - **Duplicated retrieval logic.** Each skill author independently specifies how to find and fetch the same kinds of context. The logic gets rewritten slightly differently in every skill, with no shared standard behind it. These factors were driving our token spend higher every month. The skills themselves weren’t the problem. It was that each was separately requesting the same types of context (a rep's recent calls, an account's open tickets, a thread's email history), then handing the raw data to the LLM to synthesize from scratch. A single Gong call transcript, for example, can run past 70,000 characters, and every skill pulling up that transcript was reading all of it, every time. ## The question **What if we did the digesting once, upstream in the warehouse?** Every skill can then pull the already-curated version through dbt's own MCP using the same "build it once, reuse it everywhere" pattern that dbt originally pioneered for data transformation. ## The research Call transcripts, support tickets, and email bodies have been sitting in our warehouse for years; we just had no practical way to reason over that unstructured data at scale. Parsing it required rigid, rule-based structures which routinely missed or mis-measured things like sentiment, tone, and other contextual signals that don't parse well into fixed logic. So the data mostly sat there, until two things happened. First, warehouses now ship AI functions that run inside SQL. We dug into that toolkit in our recent [Context engineering is already possible in your warehouse](https://www.getdbt.com/blog/context-engineering-in-your-warehouse) post. SQL is great at querying and transforming, and LLMs are great at reasoning. Putting them in the same layer allows the warehouse to reason about the context it already holds. Second, the dbt MCP server lets agents query that context directly: the transcripts, documents, and ticket and email bodies that sit alongside the semantic layer metrics, not only the metrics themselves. Ad hoc, per-skill retrieval logic with no shared standard is exactly what dbt was originally built to solve. [Earlier posts in this series](https://www.getdbt.com/blog/from-analytics-engineer-to-context-engineer) showed how much [compressing Gong data](https://www.getdbt.com/blog/model-for-the-token-not-the-table) in the warehouse can save per read. This time we wanted a rigorous, end-to-end answer to a narrower question: compared to letting each skill go straight to the vendor, **what does it cost to curate and retrieve our own engineered context, using our own warehouse and our own MCP?** Our Internal Analytics Snowflake project already ingests Gong data and models this data up to supply Gong’s full transcripts and briefs, so we had a ready-made test bed. It does not context engineer the data (pre-gather important context from the full transcripts) for LLMs, but we can still use this model to compare using Gong’s MCP against querying dbt MCP to accomplish the same tasks. Measuring the benefits required evaluating variants against across three metrics against the control (Gong’s MCP baseline that we’d already established): - The token cost / spend of the workflow - The quality of the LLM’s output - The speed at which the output can be produced ## The hypothesis We set up 3 hypotheses, each changing one thing in sequence. The first swaps where the context comes from, the second swaps raw transcripts for a summary, and the third swaps who writes that summary: **Hypothesis 1: **If we change Gong MCP to use dbt MCP, the cost/spend, quality, and speed is expected to be roughly the same as calling Gong MCP. The idea we’re exploring in our first hypothesis is that switching the source shouldn't change much. If a skill pulls full transcripts from our warehouse through dbt MCP instead of from Gong's MCP, cost, quality, and speed should come out about the same. Both the control and the variant read the same transcripts with about the same number of tool calls. **Hypothesis 2: **If we change dbt MCP to retrieve a Gong brief, ingested directly from Gong into our warehouse, the cost and speed is expected to go down dramatically, but we’ll also experience a drop in quality. The theory behind this particular hypothesis is that a vendor’s internal AI summary already condenses the context to important points — the selection of which we have no control over. This engineered context will be shorter than the full transcript and therefore faster and cheaper to retrieve. However, since we can’t control the definition of a “good” summary tailored to our specific needs, we expect we will be missing some context that’s important for our business. **Hypothesis 3: **If we change then the instructions to retrieve data from a model which has read the full transcripts and engineered narrative summaries for us, the cost, speed, and quality will be balanced. By engineering summaries using our own rules, we're reducing the amount of context dramatically, which will cut costs and increase speed. The definitions responsible for generating these summaries are within our control, which allows us to fine-tune the summary for information relevant to our business use cases. The resulting context should be quality comparable to that of full transcript context. ## Test design In order to keep the tests controlled we chose a single skill, `sales-pdf-builder`, for its relative simplicity. This skill calls Gong’s MCP to retrieve call transcripts and then generates a branded recap pdf based on whatever was requested in the prompt. The Gong MCP tool call in this skill became our isolated variable: because every variant used the same skill and the same prompt, the only difference was the context-gathering step (i.e., where the context came from). Having this as the single change kept the tests tightly scoped against confounded results. #### The controlled prompt This prompt was the exact prompt used to trigger the skill for every one of the 80 sessions completed: "Create a branded PDF recapping two [redacted] calls: Jess Williams' pre-service call with [redacted] on December 4, 2025, and Christine Berger's RAA Kickoff call on January 8, 2026 — covering what was discussed pre-service and at the start of the engagement." We tested four context-gathering paths: ### The control This is the skill's original approach, using Gong's MCP to find and read the transcripts. The retrieval mechanism for calling the Gong MCP stayed the same. To ensure that each run’s processes are idempotent, the original skill was tightened up to make sure that the LLM’s inherent creative freedom and reasoning didn’t confound results. ### Variant A: dbt MCP on full transcript column Same skill, but the instructions point the agent at our warehouse instead. It queries the `conversation_transcript` column in our `fct_gong_call_transcripts` model through dbt MCP's `execute_sql` tool. The skill instructions we used: ```sql Construct a query to get the transcript with filters based on the user’s prompt. Use `analytics.analytics.fct_gong_call_transcripts` as the base table and retrieve `conversation_transcript` for the full transcript. Run the query using `execute_sql`. Example query: SELECT call_id, title, scheduled_at, conversation_transcript FROM analytics.analytics.fct_gong_call_transcripts -- WHERE clause on account_name, scheduled_at, internal_participants, -- external_participants, or title ``` ![ fig 1: An example of the conversation_transcript column in dbt Labs’ fct_gong_call_transcripts model, along with the number of characters in each transcript.](https://cdn.sanity.io/images/wl0ndo6t/main/0d4c4bdf087fa72b2ac30490d2ab9f9b0b143a03-1003x484.jpg) __ ### Variant B: dbt MCP, Gong's brief Same query, but it retrieves the brief column instead of the full transcript (conversation_transcript, the full text transcript in fct_gong_call_transcripts ). Gong generates the brief itself, and we ingest it into the warehouse unchanged. Briefs usually run about 400–600 characters. Example skill instructions: ```sql Construct a query to get the transcript summary with filters based on the user’s prompt. Use `analytics.analytics.fct_gong_call_transcripts` as the base table and retrieve `brief` for the transcript summary. Run th e query using `execute_sql`. Example: ``` SELECT call_id, title, scheduled_at, brief FROM analytics.analytics.fct_gong_call_transcript -- WHERE clause on account_name, scheduled_at, internal_participan ts, external_participants, or title ``` ``` ![fig 2: An example of fct_gong_call_transcripts’ brief column, which is ingested from Gong and pulled straight from the Gong source, along with the number of characters in each brief.](https://cdn.sanity.io/images/wl0ndo6t/main/214f18bcf0a2c4dcd8dca4dd53e08a9a502d0bc6-611x293.jpg) _fig 2: An example of fct_gong_call_transcripts’ brief column, which is ingested from Gong and pulled straight from the Gong source, along with the number of characters in each brief._ ### Variant C: dbt MCP, our own engineered summary This variant reads from a model we built specifically for the test. It runs each full transcript through Snowflake's `AI_COMPLETE()` with a prompt that sets our own extraction rules. The model is _lightly_ engineered to use only `AI_COMPLETE()`, with none of the chunking, embedding, or classification techniques that could improve it further. The prompt asks for a factual, evidence-based narrative with no length limit, and sets a few hard rules: - Only include what was actually said, with no inference or editorializing - State every date, count, and figure explicitly ("May 4," not "soon"; "45," not "several") - Name every tool, platform, and competitor specifically - Call out every decision and next step as such, rather than folding it into the narrative - When the transcript is ambiguous or contradicts itself, report both versions and who said each ![Image](https://cdn.sanity.io/images/wl0ndo6t/main/2dba88c7784d522e131fb4bfe51acbdbda61401e-1448x848.jpg) ![Image](https://cdn.sanity.io/images/wl0ndo6t/main/a41d157078390725f51612a7b9e8ee6fa7fd81b0-687x917.jpg) #### Example skill instructions: ```sql Construct a query to get the call summary with filters based on the user’s prompt. Use `analytics_dev.dbt_cberger.sales_pdf_builder_te sting__cleaned_calls_v2` as the base table and retrieve `call_summary` for the transcript summary. Run the query using `execute_sql`. Example: ``` SELECT call_id, call_title, date(started_at), call_summary FROM analytics.dbt_cberger.sales_pdf_builder_testing__cleaned_call s_v2 -- WHERE clause on account_name, date(started_at), internal_partic ipants, external_participants, or call_title ``` ``` ![fig 3: sales_pdf_builder_testing__cleaned_calls_v2’s call_summary, showing the content generated from the AI_COMPLETE() function, along with the character lengths of the engineered summaries.](https://cdn.sanity.io/images/wl0ndo6t/main/5520e2e9e0d4abae58ff9e9c3e8209c9ee76190a-623x307.jpg) __ Variant C’s resulting summaries are much longer than Gong's briefs (roughly 12,000–20,000 characters for our test calls) because the goal was to retain all relevant details that matter. ### Experiment parameters Here's how much context each variant gave the agent for the same two calls: **** We ran every variant 20 times, 80 sessions in all, each in its own contained session. Every run used the exact same prompt: “Create a branded PDF recapping two [redacted] calls: Jess Williams' pre-service call with [redacted] on December 4, 2025, and Christine Berger's RAA Kickoff call on January 8, 2026 — covering what was discussed pre-service and at the start of the engagement” For each run, we tracked token cost and run time, and scored the output on six categories of specific detail it should have captured: dates, numbers, people's titles, decisions, next steps, and tooling. ## The results With all 80 runs complete, we had three things to compare for every variant: what it cost, how long it took, and how much useful detail made it into the recap. ### Cost and speed The control and variant A were the costliest and slowest variants by a wide margin. Reading full transcripts is expensive no matter where they come from. Variant A’s results are ahead of the control; the retrieval from Gong's MCP has no way to find calls by account name, so the LLM needed to parse through every call on a given day to make a match. If it couldn’t find it, it needed to reach out to other MCPs for clues it could use in its Gong MCP filters. In our warehouse, on the other hand, the account name is just a column — a standardized way the LLM can filter to retrieve the right transcripts using a constructed `WHERE` clause. **Variant B was the cheapest and fastest,** cutting cost and run time by more than half over the control. Variant C came in close behind. In order to understand how they fared overall, we need to analyze the output quality. Note: If you've read the earlier posts in this series, those savings might seem small next to the [98% token reduction](https://www.getdbt.com/blog/from-analytics-engineer-to-context-engineer) we reported for compressed transcripts but they’re two separate things: The token reduction figure compares the size of the context itself, a raw transcript versus its summary. In this experiment we are measuring the whole skill run, including instructions, tool calls, and generating the PDF output; these cost the same no matter where the context came from. C's summaries were also deliberately long, because we wanted them to keep the details. ### Quality Cost and speed only matter when the output itself is actually useful. To measure this, we scored every run on whether it captured six kinds of specific detail from the calls. The skill's instructions asked for specifics when available but didn't demand them, so we didn't expect every run to hit every category. The scores show how often each variant surfaced the metric details across its 20 runs. _*B named only one tool in every run, out of five discussed on the calls._ - The control and dbt MCP (A) variants both produced a good ratio of hits because they had access to the full transcript text. - The variant B Gong-supplied Brief showed a drastic difference in quality. In all 20 runs, it didn’t provide any specific dates, numbers, job title, decision, or next step (except for dates that were explicitly supplied in the prompt, not in the context). It did mention a single tool across all runs, out of a total of five tools discussed during the call. Variant B works if you only want an overall sense of how a call went; it falls short if you need to plan around a deadline, size the work, or need deeper context about the customer’s priorities. - Variant C’s curated context performed within a few runs of the full-transcript variants on dates and numbers, matched them on tooling, and was the best of all four variants at naming the next steps. It fell short on two categories: titles (9/20, compared to A's 19/20) and decisions, where it scored 0/20. The gap between variant B and variant C is easiest to see in the quality of the recaps themselves. For example, here's how each variant described the next step from the kickoff call: ![Image](https://cdn.sanity.io/images/wl0ndo6t/main/cd6735f53c1f50c5cf32c24dec5b7956e044fa5a-1931x723.jpg) **B:** Next step: the team will start with a deep dive into the customer's setup. **C:** Next session: the customer's director of BI walks through their Salesforce workflow, and their BI lead covers a product-usage workflow that spans multiple Redshift clusters. While both are technically accurate, only variant C gives you detailed and actionable information for preparing for the next customer call. ## The conclusion Back to our three hypotheses. **Hypothesis 1: **If we change Gong MCP to use dbt MCP, the cost/spend, quality, and speed is expected to be roughly the same as calling Gong MCP. **Result: Mostly true. **Hypothesis 1 tests that switching the source shouldn't change much. Full transcripts from our warehouse performed about the same as full transcripts from Gong on quality. But variant A’s dbt MCP approach was about 14% cheaper and faster, entirely because our model let the agent filter calls by account instead of hunting for them. Same data, better access. **Hypothesis 2: **If we change dbt MCP to retrieve a Gong brief, ingested directly from Gong into our warehouse, the cost and speed is expected to go down dramatically, but we’ll also experience a drop in quality. **Result: True. **Gong's brief cut cost and run time by more than half. It also missed every date, number, title, decision, and next step in all 20 runs, and named only one of the five tools discussed. For someone who only needs the gist of a call, this does the job. Anyone who needs to plan around a deadline, understand who's who on the customer side, or spot an opportunity, though, needs more context to work from. **Hypothesis 3: **If we change then the instructions to retrieve data from a model which has read the full transcripts and engineered narrative summaries for us, the cost, speed, and quality will be balanced. **Result: Largely true.** Variant C cut cost nearly in half and cut run time by more than 40% relative to the control. It also retained most of the detail variant B dropped. It was the only variant that balanced all three measures. It wasn't a clean sweep: variant C's summaries came up short on titles and missed some decisions entirely, which tells us our extraction rules need another pass. But fixing this simply requires editing our own dbt model (instead of petitioning a vendor for a new feature). This is the true finding behind the numbers: Once context lives in the warehouse, every skill draws from the same modeled, versioned, tested source instead of each one rebuilding its own path to Gong. The reads hit Snowflake instead of Gong's API limits, the retrieval logic lives in one place, and — once we improve the summary — every skill that uses it gets better at once. Our experiment puts numbers behind the dbt philosophy fundamental to every post in this series: context is data, and it should be engineered like data: - Ingest (Fivetran, cSDK) - Add vector indices to the key unstructured columns - Model with dbt - Annotate with a semantic layer (Looker, Omni, dbt semantic layer) - Connect your AI tool to the Fivetran context service (ChatGPT, Claude) This lab report shows this new pattern at work using real-world data, and demonstrates that even a lightly engineered model was able to cut our costs nearly in half while keeping most of the detail our teams rely on — and every improvement we make to it from here pays off for every skill in our library. **Try it yourself.** The dbt_context_engineering package gives you the building blocks for this pattern, starting with chunking for the call transcripts, emails, and other unstructured text already in your warehouse. Read [dbt_context_engineering: modeling the context your AI agents read](https://docs.getdbt.com/blog/dbt-context-engineering) to get started. --- --- title: "From prompt to PR: how Careem’s AI writes and validates dbt models before a human ever sees them" description: "Careem's AI agent writes and validates dbt models end to end before a human ever reviews the PR." url: "https://www.getdbt.com/blog/careem-ai-dbt-model-testing-validation" date: "2026-10-26" authors: ["Daniel Poppy"] categories: ["Learn"] --- # From prompt to PR: how Careem’s AI writes and validates dbt models before a human ever sees them ```json { "_key": "d0d99badff68", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=6BPrk0LBl3o" } ``` Careem, the UAE super app behind ride-hailing, grocery delivery, food delivery, and remittance, runs on a lean data engineering team supporting more than 5,000 models. The company's stack is built entirely in-house and runs on open source end to end, from ingestion through transformation to BI, with [dbt](https://www.getdbt.com/product/what-is-dbt) doing the transformation work. In a dbt Summit 2026 breakout session, Niyazulla Khan Pathan, engineering manager for the data platform team, and Akash Srivastava, lead software engineer on the data platform team, described a backlog of over 100 pending data requests, each of which used to take one to two weeks to answer. Their first attempt at a fix was the obvious one: point an LLM at the problem and let it write models. It failed, because a human reviewer skimming AI-generated code for patterns rather than reading every line will miss the one corner case that breaks a pipeline, and, with it, the business's trust in the numbers. "Confidence comes from validation, and not really from the code generator," Srivastava said. "Any LLM can write code. The confidence to merge that code comes from an end-to-end validation." That became the design principle behind their four-pillar agent architecture. A context layer built on open metadata gives the agent table and column-level documentation, lineage, a glossary of tribal terms like AOV and GTV, and centralized metric definitions, preventing the agent from guessing at ambiguous terms. A spec-locking step forces the agent to ask clarifying questions about grain, metric definition, and filters before writing anything. That step alone kills a common failure mode: at Careem, "revenue" alone could mean GTV, GMV, or order count depending on who's asking, and the agent now asks which one instead of silently picking one and hoping. The platform also draws a hard line between a golden layer, reserved for fully governed, federated metrics, and a transient layer for one-off analyst requests, which get a 30-day lifespan before they're either promoted to a proper data mart or automatically cleaned up. That housekeeping matters at Careem's scale: the team cleared out 3.6 petabytes of transient data in the last year alone. Structural guardrails isolate every agent-generated change in a sandboxed dev environment, with separate IAM roles, storage paths, and compute, so nothing an agent does can touch production. And an agent loop compiles, tests, and materializes each change, catching failures like type mismatches and fixing them automatically until the run succeeds, before a human ever reviews the pull request. In a live demo, an analyst's plain-English request, "I want a daily food revenue for each merchant," turned into a fully tested, documented dbt model and pull request in minutes, self-correcting through two failed test runs along the way. The automated checks on that pull request went beyond standard dbt tests, verifying that data moved correctly from bronze to silver to gold and validating the model's storage location against Careem's domain conventions. The first sandbox run failed on a data type mismatch; the agent read the error, corrected it, and reran. The second run failed because a needed column lived in a different source table; the agent used the context layer to find it, joined it in, and reran again. Only after a clean run did the pull request go to a human. The results: metric delivery time dropped from two to three weeks down to hours, roughly 90% of new models at Careem now come out of this framework, with no sev0 or sev1 incidents since the process was introduced. The team also built in duplicate-request protection: since every change runs through the [dbt manifest](https://docs.getdbt.com/docs/build/dbt-information-schema), a second request for a column that's already been added gets caught and redirected to the existing model instead of creating a near-identical one. And the whole platform came together fast: Careem started evaluating dbt in December, had the full infrastructure built by March, and had the agent live by April or May, with the legacy warehouse migration itself taking only a few additional weeks. As Pathan put it, closing the talk: "The generator is easy. The validation layer is the product." **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "How DocuSign cut analytics engineering time in half by pairing Claude Code with dbt v2, dbt MCP, and agent skills" description: "DocuSign wired Claude Code, dbt Agent Skills, dbt MCP, and dbt v2 into one workflow and measured a 50% productivity gain." url: "https://www.getdbt.com/blog/docusign-claude-code-dbt-v2-mcp-agent-skills" date: "2026-10-26" authors: ["Daniel Poppy"] categories: ["Learn"] --- # How DocuSign cut analytics engineering time in half by pairing Claude Code with dbt v2, dbt MCP, and agent skills ```json { "_key": "138140a90e2e", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=RQ97J3IccX0&feature=youtu.be" } ``` Bishal Gupta, who worked on trusted data products and analytics engineering modernization at DocuSign, shared how far his team has pushed AI into analytics engineering without giving up the controls that keep data trustworthy. Gupta's starting observation was that SQL generation was never really the bottleneck; context switching was. Engineers were jumping between a Jira requirement, dbt conventions that lived mostly in people's heads, and repeated validation, with no clean handoff between stages of the work. His fix centers Claude Code as the orchestrator, with dbt Agent Skills supplying project conventions and naming patterns, the dbt MCP server supplying structured metadata and lineage, and dbt v2 validating compiled SQL before a pull request goes out. Rather than one large agent trying to do everything, Gupta split the workflow into phases, discovery, dbt development, and orchestration, so a failure in one phase (a failed compile, a skipped unit test) gets retried on its own instead of restarting the whole pipeline. In a live demo, Gupta asked the workflow to build a new quarterly aggregation model, watched it pull in the right dbt Agent Skills and MCP context, generate the model and YAML, compile and validate it against dbt v2, and produce a pull request and matching orchestration job, all with branch isolation and human review still required before anything ships. Gupta reported a piloted 50 percent productivity gain from requirement to a validated, review-ready dbt asset, along with more consistent naming, testing, and semantic patterns across the team, which let reviewers focus on engineering judgment instead of style fixes. His framing: AI proposes, and engineers stay accountable for what actually merges. Audience questions focused on guardrails: Gupta described capping test runs at 1,000 rows so an agent couldn't accidentally trigger a billion-row build, and described an early, still-evolving approach to governing which teams' custom skills get layered onto the shared workflow via a master skills file. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "From mainframe to AI-powered maturity: Verisk's data modernization journey" description: "Verisk modernized decades of insurance data, from mainframe to dbt, to get AI-ready." url: "https://www.getdbt.com/blog/verisk-mainframe-dbt-data-modernization-ai" date: "2026-10-26" authors: ["Daniel Poppy"] categories: ["Learn"] --- # From mainframe to AI-powered maturity: Verisk's data modernization journey ```json { "_key": "687ae59e9248", "_type": "heroVideo", "isModal": false, "url": "https://www.youtube.com/watch?v=gDD4C8uuAGs" } ``` In a dbt Summit 2026 breakout session, Casey Schwegel, Vijay Singh, and Mateusz Geca, data engineers on Verisk Analytics' underwriting data team, told a 4-stage modernization story that will sound familiar to anyone who has inherited a legacy data stack: something that works, until it doesn't scale, followed by a fix that solves that problem and creates the next one. Verisk aggregates insurance experience from hundreds of individual insurers, each translating its own systems into a required fixed-width format defined by a thousand-page PDF manual, a process the team admitted, dryly, rarely goes wrong. The output feeds actuaries, described as demanding data consumers whose entire job is turning that historical data into pricing decisions that get filed with state regulators. There is, in other words, no room in this pipeline for a bad number. The data itself lives in tables with a few billion rows and a couple hundred columns each. For decades, that ran on a mainframe. "The mainframe wasn't broken," Casey said. "It held decades of underwriting rules, and did its job exceptionally well." But tracing where a number actually came from, a rate-making rule buried somewhere in decades of undocumented logic, meant staring into a black box, and the team's own rule was: if a job fails, do not touch it. The team's first move to the cloud, Snowflake paired with Jupyter notebooks, brought version control and visibility to business logic that used to be buried in mainframe job streams. It worked well for quarterly batch runs, but notebooks were never built to automate daily production. The next step, building directly on native Snowflake objects like streams, tasks, and dynamic tables, unlocked daily refreshes, but replaced the old problem with a new one: hundreds of isolated tasks and tables that had to be manually coordinated, with no way to promote code cleanly between environments. Tables and views stored data and logic, materialized views sped up the heaviest datasets, streams and tasks captured change data on cron schedules, and dynamic tables refreshed automatically against a target lag. It worked, but maintaining it meant babysitting hundreds of individual objects by hand: an upstream schema change or a failed task meant combing through query history one entry at a time. dbt is what finally unified all of it: version-controlled models with peer review, self-documenting lineage instead of stale wikis, and [tests](https://docs.getdbt.com/docs/build/data-tests) that halt a pipeline before bad data reaches an actuary rather than silently corrupting a report. Because Snowflake allows identical table names across different schemas but dbt requires every model name to be unique, the team organized its project by business line, with staging, intermediate, and mart layers nested inside each, and adopted a naming convention combining layer, domain, and object name so nothing collides. A custom macro reads a marker in each model's file path to resolve where it should land: a developer's personal schema in dev, a shared schema in production, no manual aliasing required. Before dbt, the team was contending with three different sources of truth that never quite agreed: production logic that got patched directly in Snowflake, source code sitting in Git that lagged behind, and documentation living in Confluence that stopped reflecting reality months earlier. dbt's [doc blocks](https://docs.getdbt.com/docs/build/documentation#using-docs-blocks) collapsed that into a description written once in a markdown file that gets referenced everywhere it's needed, so updating it in one place updates it everywhere automatically, version-controlled and reviewed alongside the code instead of drifting apart from it. As Mateusz put it, walking through the implementation, "this talk is not really about dbt at all. It's more about the changes that happen after adopting it." That governed foundation is now what's letting the team layer on AI: propagating documentation across the DAG with a custom dbt Wizard skill, using project context to get better AI-generated SQL, enforcing standards automatically on pull requests, and cross-referencing job logs with query history to speed up debugging. Documentation was the first target. A dedicated [dbt Wizard](https://www.getdbt.com/product/dbt-wizard) skill combined with the doc blocks pattern now propagates column descriptions down through the DAG automatically once a developer writes the initial source descriptions, rather than copying and pasting them by hand. That same layer of rich context makes AI-assisted model development more reliable, since a request can be framed in business terms instead of just raw SQL mechanics, and a separate skill encodes the team's own standards, naming conventions, required YAML fields, so a developer can run it against their own pull request before anyone else even looks at it. All of it, the team was careful to note, stays human in the loop. "AI is going to thrive on patterns and context," Casey said, "and the better our documentation, naming, lineage, and standards became, the more context the AI had to work with." Audience questions pushed on the human side of this transition: onboarding staff with no Git or SQL background, and the team's honest answer was that some people just have to lead the shift and bring everyone else along, since the direction is only getting more technical. On the data side, the unresolved challenge is scale: actuaries want ten-plus years of fully updated historical data, and incremental models are still catching up to that ask. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit) --- --- title: "What a swarm of rogue AI agents can teach us about having better ideas" description: "Benn Stancil uses the Hugging Face hack to explain why the most useful ideas come from the weirdest connections." url: "https://www.getdbt.com/blog/ai-agent-creativity-semantic-distance" date: "2026-10-26" authors: ["Daniel Poppy"] categories: ["Learn"] --- # What a swarm of rogue AI agents can teach us about having better ideas ```json { "_key": "06005aed5beb", "_type": "heroVideo", "isModal": false, "url": "https://youtu.be/Qhdhr9RZ4Fo" } ``` Benn Stancil opened his dbt Summit 2026 breakout session with a real-world story to make an argument about where good ideas come from, and why that matters more, not less, as AI is involved in more of the day-to-day work of data teams. The story is the now-infamous Hugging Face hack: a set of OpenAI's own test agents, working independently on unrelated tasks like analyzing a protein database or filling in missing Excel formulas, got stuck, found a way out of their sandboxes, discovered each other on a shared machine, and eventually made their way onto the open internet and into Hugging Face's infrastructure before leaving without taking anything. Coverage of the incident leaned hard on the drama of a "swarm" of agents breaking out together, which Stancil said misses the more interesting question: why did the hack come from a swarm working in this chaotic, uncoordinated way, rather than a single, tightly directed agent pursuing one clear goal? Stancil's theory borrows from creativity research on semantic distance, the idea that a large language model's "knowledge" covers everything, densely and evenly, so when it answers a narrow question like "what is Las Vegas like," it reaches for the nearest, most obvious associations and produces something accurate but forgettable. A person's knowledge, by contrast, is sparse and idiosyncratic. Asked the same question, Stancil finds himself connecting Las Vegas to a comedian he knows too much about, a coffee shop that closed down, and Guy Fieri, because that's genuinely what's near "Las Vegas" in his own head. The paper he cited, from Current Opinion in Behavioral Sciences, found that the further an idea travels from the conventional starting point, the more creative it tends to be. He argued the rogue agents stumbled into something similar once they broke out of their individual task-focused sandboxes and started running into each other's unrelated problems. From there, the talk turned into five concrete tips for having better ideas, aimed squarely at people whose jobs increasingly involve judging AI output rather than writing every line themselves: - Hold a specific idea in your head before you go looking for inputs, rather than wandering with an empty mind. - Look for an idea, not the idea, since the most interesting connections tend to be things you stumble into rather than things you were searching for directly. - Go look at the actual thing you're counting, not just the number that represents it. - Follow the detours a piece of research or a stray reference sends you on, rather than forcing every idea to arrive in a straight line. - And recognize that walking away from a problem, reading, watching a movie, talking to a friend, works because it forces genuinely random inputs into a mind that's already primed with the problem it's trying to solve. In the Q&A, Stancil was asked directly whether delegating thinking to AI erodes a person's own ability to reason. His answer was more specific than a simple yes or no: people are not particularly good at judging which of several AI-generated ideas is actually the best one, so the real risk is settling for the first answer that looks good enough on the page, rather than pushing through the harder, slower process that tends to produce the ideas worth having. **Watch every keynote and breakout from dbt Summit 2026 on demand.** [Watch dbt Summit 2026 on demand →](https://www.getdbt.com/dbt-summit)