AI Engineer27 min
UPDATED: The New Job of the Data Team Is Providing Context to AI — George Fraser, Fivetran
Conference Presentation
Strategic Shift in Data Teams:
- Data teams are transitioning from traditional "business intelligence" (dashboards) to a role defined as connecting AI agents to business context.
- "Dashboards" are being reclassified as short-lived "artifacts" generated by AI, allowing for rapid creation of correct, specific answers.
- The core new function is enabling autonomous AI agents (e.g., in Slack, Claude, or ChatGPT) to ask open-ended questions and receive data-grounded responses.
Emerging Industry Patterns:
- Leading companies (Ramp, Stripe, DoorDash, OpenAI, Anthropic) are deploying "agentic data analysts" connected directly to their existing data warehouses.
- Ramp: Built an agentic analyst connected to data modeled in dbt and stored in Snowflake.
- Stripe: Deployed "CHI," a knowledge AI agent connected to their internal data platform.
- DoorDash: Utilized "Vera," an agent connected to model data replicated and modeled via Fivetran and dbt.
- OpenAI & Anthropic: Built in-house data agents that consume the same data stacks used for human business intelligence.
- Common Architecture: All examples utilize the existing data stack (data warehouse/lake + modeling) as the single source of truth for AI, rather than building new specialized systems.
Technical Architecture & Standards:
- Unified Data Stack: AI agents consume the same structured data models (dbt) used for humans; this ensures data consistency, simplification, and accurate joins across systems.
- Handling Unstructured Data:
- AI agents can process unstructured data (e.g., call transcripts, rules) by vectorizing it within the main data platform using built-in vector indexes (e.g., BigQuery).
- This eliminates the need for separate vector databases or external vector stores.
- Rejection of MCP-Heavy Context:
- Connecting AI directly to systems of record (Salesforce, Slack) via Model Context Protocol (MCP) tools is discouraged for data context.
- Reasons: Source systems have messy data, use poor query languages (e.g., JQL, native API search), and do not support cross-system joins.
- MCP Utility: MCP remains useful for actions (writing to systems) or retrieving specific, fresh records, but not for querying historical business context.
The "Agents.md" Proposal (Metadata Strategy):
- Core Concept: Instead of buying external context catalogs, metadata should be stored as standard data tables within the database itself.
- Implementation: Create a dedicated
agentsschema containing:roottable: Markdown blobs describing the rest of the database schema.- User-dependent tables: Representations of specific domain models (e.g., Looker models).
- Mechanism: The agent reads the
agents.roottable in its system prompt to understand the database schema, relationships, and column definitions before querying. - Benefits: Uses existing standard components (SQL tables), keeps definitions in code, and scales automatically as the database evolves.
Demonstration Case Study (F1 Data):
- Data Sources:
- Structured: F1 API (telemetry, race data).
- Unstructured: F1 website glossary and post-race press conference transcripts.
- Pipeline:
- Data replicated via Fivetran connectors to BigQuery.
- Normalized and modeled using dbt.
- Unstructured text vectorized within dbt models and indexed in BigQuery.
- Agent Configuration:
- Used Google Gemini as the agent interface.
- System prompt directs the agent to read
agents.rootfor schema context.
- Query Capabilities:
- Successfully executes hybrid queries combining structured predicates (e.g.,
year = 2025) and unstructured vector search (e.g.,topic = "tire problems"). - Performed reconnaissance queries to probe schema before generating complex, multi-join analytical queries.
- Capable of answering subjective questions (e.g., "most improved driver") by synthesizing structured stats and unstructured commentary.
- Successfully executes hybrid queries combining structured predicates (e.g.,
- Data Sources:
Recommendations for Data Teams:
- Ownership: Data teams must own the "context" and metadata layers for AI agents, leveraging existing skills in data modeling and governance.
- Simplicity: Avoid over-engineered context assistants; rely on the synergy between non-deterministic AI and deterministic databases.
- Vendor Agnosticism: Use standard components (SQL, dbt, vector indexes) to avoid lock-in; the pattern works across various LLM providers (Gemini, ChatGPT, Claude).
- Evaluation: Implement automated "evals" (multiple-choice questions with known answers) in CI pipelines to validate agent accuracy and prevent regressions.