In 30 seconds
AI agents can write queries and make charts, but they need to know what a company’s data means. Fivetran CEO George Fraser argues that data teams should reuse their existing warehouse and curated models, rather than make agents piece answers together from separate business systems. His proposed map is a set of ordinary database tables describing other tables, columns and joins. An F1 demonstration combines race data with searchable transcripts and tests the agent against questions with known answers.
- 1Writing the query is no longer the data team’s whole jobFraser says agents can already write SQL and make charts, but the answers still depend on reliable business context. He thinks the data team should supply it.
- 2Several companies reuse their existing analytics data for agentsFraser points to Ramp, Stripe, DoorDash, OpenAI and Anthropic as examples of agents connected to existing data platforms. The same cleaned, modeled data used by people can serve agents.
- 3Direct connections to source systems are a poor substitute for a warehouseIn Fraser’s view, source data is messy, systems use different query languages and joins across them are hard. He still sees direct connections as useful for actions and fresh individual records.
- 4Store the agent’s map inside the database itselfHis proposed AGENTS schema starts with a root table and describes other tables, columns and joins. The agent can follow that map instead of trying to discover an unfamiliar warehouse from scratch.
- 5A single query can combine race results with searchable press conferencesThe F1 example loads both structured records and text, indexes the text, and filters results by conventional fields such as year. Fraser also runs questions with known answers as evaluations.
- 6The F1 agent asks what “most improved” means before queryingAfter Fraser specifies race positions gained, the agent searches the metadata, writes a query with joins and returns Lance Stroll. Fraser says he does not know enough about F1 to judge the result himself.
Takeaways
- Make the data team responsible for maintaining business context that AI agents can use.
- Reuse cleaned, business-specific warehouse models instead of relying on scattered source systems for analytics.
- Give the agent a database-resident map describing tables, columns and how they join.
- Test data agents with questions whose answers are known, and rerun those tests as the system changes.
- Combine searchable text with structured data when questions require both.
Read the edited text by chapter
AI agents make context the data team’s new job
Agents can create queries and charts quickly, but their answers still need business context. Fraser sees the data team as responsible for supplying it.
Fivetran serves data teams, and after its merger with dbt Labs it can both move and transform data. We have done this for thousands of companies over more than a decade, but the work is changing rapidly for vendors, engineers and data teams alike.
AI agents are good at writing SQL queries and making charts, so they can do many activities that used to occupy data teams. The new job is to connect those agents to context: a quickly generated dashboard is useful only if its answers are correct.
I say business intelligence is dead and that dashboards are now called artifacts, but there is a real change underneath the language. We can make more dashboards and let them live for less time because they are faster to produce. Autonomous agents also need answers grounded in business data.
Consider a sales leader asking an assistant for its three best ideas to improve pipeline conversion. Open-ended questions like that are worth encouraging, but the system needs access to relevant facts if its suggestions are to be useful.
Reuse the analytics stack that already serves people
Fraser describes companies connecting agents to the same modeled data that powers their business intelligence. Cleaned data from multiple systems provides a common foundation.
A pattern has emerged among technology-forward companies. Ramp built an agentic analyst connected to data modeled with dbt and stored in Snowflake. Stripe has a knowledge agent called Kai, while DoorDash has Vera, which also works with modeled data.
OpenAI and Anthropic have built internal data agents connected to their data platforms too. What these examples share is that their agents use the same data stacks built to serve business intelligence: data that people have already relied on for years.
The architecture puts data from business systems into a warehouse or lake, then connects both analytics tools and agents to it. Data is modeled for the particular business: modeling is a way of presenting a simpler view of the messy, complicated information in the original systems.
Those earlier investments still matter for AI. Agents can also work with unstructured material that was harder to use in traditional analytics: they can read large numbers of customer call transcripts, for example, after selecting customers with particular characteristics.
Why direct source connections fall short for analytics
Source systems contain messy data, use different query languages and make cross-system joins difficult. Direct tools remain useful for taking actions and retrieving fresh records.

Connecting an assistant directly to each system of record through MCP tools sounds intuitive, but I do not think it works well for analytics. Imagine asking a human analyst to answer a business question by logging into each application and clicking around: the process would be slow and error-prone.
Source data is messy. The warehouse has been cleaned and organized according to business rules, but Salesforce and other source systems have not necessarily been. Each system also has its own query interface, from Salesforce’s SQL-like language to Jira’s JQL or Slack search.
Those interfaces make it difficult to answer data questions or join information across systems. MCP tools still have useful roles: taking actions and retrieving individual records that were just updated. My objection is to using a web of source-system tools as the main source of analytical context.
Give the agent a map of the warehouse
Fivetran connects several clients and its support agent to its existing BigQuery and dbt models. Fraser proposes storing metadata in a special database schema that agents can query.
At Fivetran, a Slack data bot, Claude and autonomous agents can use the same data stack. Our support agent answers some customer questions when it has high confidence, using infrastructure originally built for business intelligence.
These clients connect through an MCP server to our BigQuery warehouse and a dbt model that has evolved for roughly ten years. MCP itself is only a protocol for connecting tools; the problem in the earlier example was the choice of tools and data, not the protocol.
Two problems remain: making unstructured information usable and giving an agent a map of the database. We have tried simply connecting an agent and telling it to look around. That works better than it used to, but it generally does not produce good enough answers.
My proposal is to put the map in the database itself. Metadata is data too. Create a schema called agents and a root table with Markdown descriptions of the other metadata tables, much like an agents.md file for a database.

The rest of the schema depends on the organization. The demonstration describes dbt tables, columns and joins; Fivetran’s production version includes metadata from Looker because that is currently its best source of descriptions. The map tells an agent where to find and how to relate the business data.
Agents can interpret open-ended questions and explain answers, but they are nondeterministic and need information available to them. A database reliably stores information but does not provide that kind of interpretation. Together, the database can hold both business records and a guide to navigating them.
Put structured data and searchable text together
Vector indexes let agents search unstructured text alongside regular records. An F1 example combines telemetry and race data with rules and press-conference transcripts.
Agents can also read unstructured text, provided they have a way to search it. I recommend using the vector indexes built into major data platforms. Keeping text and structured records in one database makes it convenient to write queries that combine both.
For a demonstration, I chose Formula 1 rather than Fivetran’s internal data, which would take time to explain. The public data includes races and detailed car telemetry. The F1 website also provides rules, terminology and press-conference transcripts.
Long text can live in ordinary database columns. Here, we put the structured data and unstructured documents into the same database, rather than assuming that every long document needs separate object storage.

The sources are the OpenF1 API and the F1 website. We use connectors built with the Fivetran Connector SDK to replicate the data into BigQuery; I had Codex help write the connectors. The SDK supplies a Python interface for the capture part of a connector.
Build and test an F1 analyst
Connectors load data into BigQuery, dbt models normalize and index it, and a Gemini agent is directed to the metadata. Known-answer evaluations test whether changes break its answers.
A dbt model normalizes the sometimes awkward API data so the agent can understand it, and incrementally creates vector representations of the text for search. I use a Gemini agent for convenience, but the pattern does not depend on that particular agent.
The agent’s system prompt is short: look at agents.root to find the rest of the information. As the metadata in the database changes, the agent can discover those changes there. We also run evaluations: questions with known answers that can detect regressions after changes.
The connector calls the APIs, interprets responses and writes rows. The dbt models are SQL queries with configuration describing how to run them as a pipeline. One model turns glossary text into embeddings and creates an index to make it searchable.
The example evaluations are multiple-choice questions in Python, run as part of continuous integration. Each has ten options and one correct answer. There are other ways to evaluate an agent, but this is a simple approach for the demonstration.

One example query asks what people said about tire problems in 2025. It searches the text for the topic and also filters for post-race transcripts from that year. Many practical questions have both a semantic text search and ordinary structured conditions.
The database has a source schema from the connectors, a normalized schema produced by dbt, and an agent schema describing the normalized tables, columns and joins. We are still experimenting with how much metadata to provide, but these three categories take the agent a long way.
I spent about five hours building the example: roughly two hours on an initial version and another three cleaning up the architecture. The goal is to demonstrate a reusable pattern rather than a proprietary agent.
The agent asks for a definition before answering
In a live demonstration, the agent interprets a question about improvement and asks how to measure it. Fraser closes by arguing that data teams should maintain context with standard components and definitions in code.
I ask the agent who the most improved driver is this year. It first reads the agent schema, which describes roughly 30 normalized tables, and makes a small exploratory query to see what is in the database. Then it asks me to clarify what I mean by improvement.
I specify race positions gained. The agent writes a longer query with multiple joins, similar to those a human analyst might write, and returns Lance Stroll. I am not an F1 expert, so I cannot personally judge the result; “most improved” also depends on the chosen measure.
Other questions combine the sources differently. To identify the toughest corners, the agent can look at crash data and press-conference transcripts. The example illustrates how a question can require both structured records and unstructured explanations.
This pattern has worked better as models have improved, because it gives the model responsibility for interpreting and querying the data. Data teams should own the context: the skills used to deliver analytics also help deliver the definitions and data an agent needs.
Use standard components and avoid getting locked into a walled garden. Agents and databases can take you a long way, and keeping definitions in code lets agents help write and maintain them.
More from this channel
29:31EN
27:30EN
26:53EN
26:36EN
11:44EN
12:26EN