Data Lineage for AI and How an Agent Explains Why a Number Changed
Data lineage for AI is lineage that an AI agent can read: the path of every number from source system to report, together with what the number means and who owns it. With that context an agent can answer the questions data teams field every week, such as why a metric changed or what a schema change would break. This guide shows how an agent traces a number step by step, what lineage it needs and how to keep that access governed.
Data lineage for AI gives an agent the path behind every number. An agent connected to the data catalog over MCP can trace lineage upstream from a report to its source tables, read the glossary definition and owner of each metric, and trace downstream to see what a change would break. That is how it answers "why did this number change?" with the objects it read and the person who can confirm. It needs column-level lineage across platforms, approved definitions and owners on every object, and access that runs with the user's own permissions.
What is data lineage for AI?
Data lineage for AI is lineage that AI agents and assistants can read and act on. Classic data lineage shows how data flows from a source system through transformations to a report, and people read it in a diagram. When an agent reads the same lineage, together with the business definition and owner of each object, it can do the tracing work that used to take an analyst an afternoon.
The term is also used for lineage of the data a model was trained on. That matters to whoever builds the model, and we cover it briefly at the end. For an enterprise team that runs agents on a bought model, the daily question is different: when the CFO asks why Net Revenue dropped, can the agent find the report, the model and the tables behind the number, tell what Net Revenue is supposed to mean and name the person who can confirm? Data provenance, the wider record of who created or changed data and why, sits around both uses.
Why AI agents need lineage and definitions together
Lineage tells an agent where a number comes from, and the glossary tells it what the number is supposed to mean. Either one alone leaves the agent guessing. A lineage path from a Power BI measure to a Snowflake table says nothing about whether returns should be subtracted. A definition that says "net of returns" says nothing about which model implements it.
An agent that reads both can compare what a metric should be with how it is built, and an agent that also reads the owner knows who decides when the two disagree. That is the difference between a semantic gap the agent papers over with a confident answer and one it points out. It is also why a business glossary linked to lineage is worth more to AI than either on its own.
How an agent traces why a number changed
A typical request: "Why does Net Revenue in the CFO report differ from last month?" The illustration below shows how an agent connected to Dawiso over MCP works through it. It searches the catalog, traces lineage upstream from the report and reads definitions, owners and modified dates along the way.
Why does Net Revenue in the CFO report differ from last month?
Tracing lineage
- Search catalog
Net Revenueglossary term, Approved, owner Finance Controlling - Trace lineage upstream CFO Monthly Report from
fct_net_revenue(dbt) from ORDERS and RETURNS_ADJ (Snowflake) - Read attributes
fct_net_revenuemodified on Nov 28, owner Revenue Analytics
Answer
Likely cause: since Nov 28, fct_net_revenue also reads RETURNS_ADJ, so returns are now subtracted, as the approved definition of Net Revenue says. Please confirm with Finance Controlling.
Net Revenue
Gross sales minus returns and discounts, in EUR, by invoice date.
Each step uses something the catalog already holds. Broken down, the trace looks like this.
Resolve the metric in the business glossary
The agent searches the catalog for "Net Revenue" and finds the glossary term. It reads the definition, the workflow state and the owner, so it knows what the metric should contain and that the definition is approved rather than a draft.
Agent reads
Definition, workflow state and owner of the term.
Find the report and the field behind the number
From the term, the agent moves to the CFO report that uses it and to the measure or column that holds the number. A metric is built from specific columns, so this is where column-level lineage starts to matter.
Agent reads
The report object, its fields and the links between fields and glossary terms.
Walk the lineage upstream
The agent traces lineage upstream from the report field: to the dbt model that calculates it, and on to the Snowflake tables the model reads. Every hop is a cataloged object with its own description and owner.
Agent reads
The upstream path at column level, across BI, transformation and warehouse.
Look for what changed along the path
The agent reads attributes on each object in the path, such as when it was last modified and who owns it. A model modified a few days before the number moved, with a returns table among its sources, is a strong lead. It compares what the model reads with what the approved definition says.
Agent reads
Modified dates, owners and upstream sources of every object in the path.
Answer with the objects it read and the owner
The answer names the likely cause, lists the objects the agent read and points to the owner who can confirm. The agent changes nothing. Whether the new behavior is a fix or a mistake is a decision for Finance Controlling, and the lineage tells everyone which report, model and table that decision concerns.
Agent returns
Likely cause, the objects behind it and the person who decides.
The same trace works for questions that never mention a change: where a KPI comes from, which source system feeds a dashboard, or whether two reports that show "revenue" use the same definition.
In Dawiso the same context sits in one place for people too. Select any object in the lineage diagram and its approval state, owner, steward, classification and modified date open next to it, the same attributes the agent reads over MCP.
Impact analysis before a change
The same lineage, traced downstream, tells an agent what a change would break. Before a data engineer renames a column, drops a table or changes a dbt model, an agent can trace lineage downstream from that object and list every model, report and data product that depends on it, with their owners. Impact analysis turns from an investigation into a lookup, and the owners on the list are the people to tell before the change ships.
People do the same in the diagram: expand an object's lineage upstream, downstream or both, to the depth they need, and the path runs from warehouse tables into the reports that depend on them.
AI agents are now among those downstream consumers. Dawiso scans Snowflake Cortex agents and the semantic views they read into the same interactive lineage, so a downstream trace from a table can end at an agent as well as at a report. When a source changes, you see which agents will start answering from different data.
What lineage an AI agent needs
An agent can only trace as far as the lineage goes, so the depth of lineage decides which questions it can answer. The table shows what each level adds.
| Lineage context | What an agent can answer | What it means for you |
|---|---|---|
| System level | Which platforms feed a report or a data product | Enough for "where does this come from" in broad terms, not for a number. |
| Table level | Which tables and models a report reads, and what reads a given table | The minimum for impact analysis before a schema change. |
| Column level | Which columns make up a metric and where each one comes from | Needed for any question about why a number changed. |
| Across platforms | The path from a BI measure through transformations to the source system | Without it the trace stops at the first platform boundary. |
| Glossary links | What a metric is supposed to mean and whether that definition is approved | Lets the agent compare how a number is built with how it is defined. |
| Owners and stewards | Who to ask, and who decides when build and definition disagree | Turns an agent's finding into a task with a name on it. |
Owners and classifications can also be shown directly on the objects in the diagram, so a person can follow the same path an agent took and see who is responsible at each hop. Our data lineage diagram examples show how to document the hops that no connector captures.
Keeping agent access to lineage governed
Lineage reveals a lot about where sensitive data flows, so an agent should see only the lineage its user may see. Serve it through one governed door, such as an MCP server on the catalog, where calls run with the user's identity and permissions and the tools on offer depend on the user's role. Then an agent working for a finance analyst traces finance lineage, and nothing in HR it was never meant to read.
The answer itself still needs a record. Log the question, the user, the model version and the objects the agent read, in the agent runtime or in an AI gateway in front of it, and decide how long those logs are kept. For agents that also call tools that change data, our guide to giving AI agents access to data covers permissions and approvals. AI observability builds on the same logs.
EU AI Act and data lineage
The EU AI Act never uses the word lineage, but three articles ask for what lineage and logs record. Which of them apply depends on your role and on how your system is classified, so treat the table as orientation and check your own obligations with counsel. The dates for high-risk systems follow the AI Omnibus, Regulation (EU) 2026/1744.
| Article | What it asks | Applies to | From |
|---|---|---|---|
| Art. 10(2)(b)(c) | Data governance practices covering data collection, the origin of data, the original purpose of personal data and preparation steps such as annotation, labeling, cleaning and enrichment | Training, validation and testing data of high-risk AI systems | 2 December 2027 (Annex III), 2 August 2028 (Annex I) |
| Art. 12 | Automatic recording of events (logs) over the system's lifetime, enabling traceability | High-risk AI systems | 2 December 2027 (Annex III), 2 August 2028 (Annex I) |
| Art. 53(1)(a)(d) | Technical documentation including the training and testing process, and a public summary of the content used for training | Providers of general-purpose AI models | Since 2 August 2025 |
For an enterprise team running agents on a bought model, Article 12 is the one that touches daily work: an answer log that names the objects an agent read only explains something if those objects have lineage, definitions and owners behind them.
When platform lineage is enough
If the agent and every table it reads live on one platform, that platform's own lineage may be all you need. Unity Catalog, for example, captures table and column lineage for queries run on Databricks. The picture changes when an answer depends on more than one platform.
One platform
Start with built-in lineage
The agent reads tables in a single platform, the business terms it needs are few and stable, and one team runs both. Platform lineage plus an answer log covers the trace.
Several platforms
Add a cross-platform catalog
Answers draw on several platforms and BI reports, or rely on business definitions with owners. Then the trace crosses platform boundaries, and lineage, definitions and owners need one place an agent can query.
Where Dawiso fits and where it stops
Dawiso holds the lineage, definitions and owners an agent needs, and serves them over MCP. Its interactive lineage shows data flows at system, table and column level across connected sources, on the same page as each object's description, owners and glossary links. Lineage comes from four sources: lineage that supported connectors read from platforms such as Databricks, Snowflake and Power BI, transformation frameworks such as dbt, parsing of SQL scripts, which is set up together with the Dawiso team, and relations users add by hand. The business glossary holds approved definitions with owners and approval workflows.
Through the Dawiso MCP server, MCP-compatible agents can search catalog objects, read attributes such as a term's definition and workflow state, and trace lineage upstream or downstream from an object. Calls run with the user's identity and permissions, and an agent sees only the tools the user's role allows. Agents built in Dawiso Agent Studio keep a history of every run.
Where Dawiso stops matters as much. It does not track model training data or model weights. Lineage of training data, meaning the origin of each data set and the preparation steps behind a model, stays with the model provider or your ML platform. Dawiso does not inspect prompts and responses of external agents at runtime, so the answer log lives in your agent runtime or gateway, and it does not check or score data quality. Its part is making sure every number an agent explains has a path to its source, a definition and an owner.
FAQ
What is data lineage for AI?
How can an AI agent use data lineage?
Can an AI agent explain why a number in a report changed?
Does the EU AI Act require data lineage?
Does Dawiso track the training data of AI models?
Is Unity Catalog lineage enough for AI agents on Databricks?
Sources
- EUR-Lex - Regulation (EU) 2024/1689, the AI Act. Articles 10, 12 and 53
- AI Act Explorer - Article 10, Article 12 and Article 53
- EUR-Lex - Regulation (EU) 2026/1744, the AI Omnibus
- Databricks documentation - Lineage in Unity Catalog
- Dawiso Help - Data lineage, Sources of data lineage, Business Glossary and Dawiso Model Context Protocol (MCP)
See it in action
Give your AI agents the lineage behind every number
See how Dawiso shows lineage at system, table and column level across your connected sources and serves it, with definitions and owners, to AI agents over MCP.