---
title: "Data Lineage for AI and How Agents Trace a Number | Dawiso Blog"
description: "Data lineage for AI lets an agent trace a number to its source, definition and owner. See how agents walk lineage over MCP to explain a metric change."
url: "https://www.dawiso.com/blog-post/data-lineage-for-ai"
language: "en"
---

# Data Lineage for AI and How an Agent Explains Why a Number Changed

Samuel Nagy

VP of Strategic Growth

December 3, 2026

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.

TL;DR

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](https://www.dawiso.com/glossary/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](https://www.dawiso.com/glossary/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](https://www.dawiso.com/glossary/semantic-gap) the agent papers over with a confident answer and one it points out. It is also why a [business glossary](https://www.dawiso.com/glossary/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](https://www.dawiso.com/glossary/model-context-protocol-mcp) works through it. It searches the catalog, traces lineage upstream from the report and reads definitions, owners and modified dates along the way.

Finance assistant Connected to Dawiso over MCP  Live

Why does Net Revenue in the CFO report differ from last month?

Tracing lineage

1. Search catalog `Net Revenue` glossary term, Approved, owner Finance Controlling
2. Trace lineage upstream CFO Monthly Report from `fct_net_revenue` (dbt) from ORDERS and RETURNS_ADJ (Snowflake)
3. Read attributes `fct_net_revenue` modified 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.

Lineage Agent tracing upstream

Table ORDERS Snowflake / SALES amount

Table RETURNS\_ADJ Snowflake / SALES return\_amount

dbt model fct_net_revenue Revenue Analytics Modified Nov 28 net_revenue

Report CFO Monthly Report Power BI / Finance Net Revenue

Glossary term Approved

Net Revenue

Gross sales minus returns and discounts, in EUR, by invoice date.

Owner Finance Controlling

Illustration with example names: an AI agent connected to the catalog over MCP traces lineage upstream from a report and reads the glossary definition and owners before it answers.

Each step uses something the catalog already holds. Broken down, the trace looks like this.

1

### 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.

2

### 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](https://www.dawiso.com/glossary/column-level-lineage) starts to matter.

Agent reads

The report object, its fields and the links between fields and glossary terms.

3

### Walk the lineage upstream

The agent traces lineage upstream from the report field: to the [dbt model](https://www.dawiso.com/glossary/dbt-models) 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.

4

### 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.

5

### 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](https://www.dawiso.com/product/interactive-data-lineage) 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](https://www.dawiso.com/blog-post/snowflake-cortex-agents-semantic-views-dawiso) 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](https://www.dawiso.com/blog-post/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](https://www.dawiso.com/glossary/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](https://www.dawiso.com/blog-post/ai-gateways-agent-data-governance) 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](https://www.dawiso.com/blog-post/ai-agent-data-access) covers permissions and approvals. [AI observability](https://www.dawiso.com/glossary/ai-observability) builds on the same logs.

## EU AI Act and data lineage

**The [EU AI Act](https://www.dawiso.com/glossary/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](https://www.dawiso.com/blog-post/ai-omnibus-eu-ai-act-changes), [Regulation (EU) 2026/1744](https://eur-lex.europa.eu/eli/reg/2026/1744/oj).

| Article | What it asks | Applies to | From |
| --- | --- | --- | --- |
| **[Art. 10(2)(b)(c)](https://artificialintelligenceact.eu/article/10/)** | 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](https://artificialintelligenceact.eu/article/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)](https://artificialintelligenceact.eu/article/53/)** | 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](https://docs.databricks.com/aws/en/data-governance/unity-catalog/data-lineage), 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](https://help.dawiso.com/actual/data-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](https://help.dawiso.com/actual/sources-of-data-lineage/): lineage that supported connectors read from platforms such as [Databricks](https://www.dawiso.com/connectors/databricks), [Snowflake](https://www.dawiso.com/connectors/snowflake) and [Power BI](https://www.dawiso.com/connectors/power-bi), transformation frameworks such as [dbt](https://www.dawiso.com/connectors/dbt), parsing of SQL scripts, which is set up together with the Dawiso team, and relations users add by hand. The [business glossary](https://help.dawiso.com/actual/business-glossary/) holds approved definitions with owners and approval workflows.

Through the [Dawiso MCP server](https://www.dawiso.com/product/mcp), MCP-compatible agents can [search catalog objects, read attributes](https://help.dawiso.com/actual/dawiso-model-context-protocol-mcp/) 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](https://www.dawiso.com/product/ai-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?**

Data lineage for AI is lineage that AI agents and assistants can read and act on. It records how data flows from source systems through transformations to reports and metrics, together with the business definition and owner of each object, so that an agent can trace a number to its source, explain what it means and see what a change would affect.

**How can an AI agent use data lineage?**

An agent connected to a data catalog, for example over the Model Context Protocol (MCP), can trace lineage upstream from a report or metric to the tables and source systems behind it, and downstream from a table to the reports and agents that depend on it. Combined with glossary definitions and owners, that lets it answer questions such as where a number comes from, why it changed and who to ask.

**Can an AI agent explain why a number in a report changed?**

It can narrow it down. The agent resolves the metric in the business glossary, traces column-level lineage upstream from the report, reads attributes such as modified dates and owners on each object and returns the likely cause with the objects it read. A person, usually the owner of the definition or the model, still confirms whether the change was intended.

**Does the EU AI Act require data lineage?**

The AI Act does not use the word lineage, but several articles ask for what lineage records. Article 10(2) asks providers of high-risk systems for data governance practices covering the origin of training data and its preparation steps, Article 12 asks that high-risk systems allow automatic logging for traceability, and Article 53 asks providers of general-purpose AI models for technical documentation and a public summary of training content. After the AI Omnibus, Annex III high-risk obligations apply from 2 December 2027.

**Does Dawiso track the training data of AI models?**

No. Dawiso does not track model training data or model weights; that stays with the model provider or your ML platform. Dawiso covers lineage at system, table and column level across connected sources, a business glossary with owners and approval workflows, and an MCP server through which MCP-compatible agents read that context and trace lineage.

**Is Unity Catalog lineage enough for AI agents on Databricks?**

Often, if the agent and the tables it reads all live in Databricks, because Unity Catalog captures table and column lineage for queries run there. A cross-platform catalog becomes worth it when answers depend on other platforms or BI reports, or on business definitions with owners.

## Sources

- EUR-Lex - [Regulation (EU) 2024/1689](https://eur-lex.europa.eu/eli/reg/2024/1689/oj), the AI Act. Articles 10, 12 and 53
- AI Act Explorer - [Article 10](https://artificialintelligenceact.eu/article/10/), [Article 12](https://artificialintelligenceact.eu/article/12/) and [Article 53](https://artificialintelligenceact.eu/article/53/)
- EUR-Lex - [Regulation (EU) 2026/1744](https://eur-lex.europa.eu/eli/reg/2026/1744/oj), the AI Omnibus
- Databricks documentation - [Lineage in Unity Catalog](https://docs.databricks.com/aws/en/data-governance/unity-catalog/data-lineage)
- Dawiso Help - [Data lineage](https://help.dawiso.com/actual/data-lineage/), [Sources of data lineage](https://help.dawiso.com/actual/sources-of-data-lineage/), [Business Glossary](https://help.dawiso.com/actual/business-glossary/) and [Dawiso Model Context Protocol (MCP)](https://help.dawiso.com/actual/dawiso-model-context-protocol-mcp/)

[See it in action](https://www.dawiso.com/product/interactive-data-lineage)

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.

### Table of contents

What is data lineage for AI?Why AI agents need lineage and definitions togetherHow an agent traces why a number changedImpact analysis before a changeWhat lineage an AI agent needsKeeping agent access to lineage governedEU AI Act and data lineageWhen platform lineage is enoughWhere Dawiso fits and where it stopsFAQSources

## More like this

Keep reading and take a deeper dive into our most recent content on metadata management and beyond:

### [What AI Agents Gain From an MCP Server on a Data Catalog](https://www.dawiso.com/blog-post/mcp-server-data-catalog-ai-agents)

Read more

### [Data Lineage Diagram Examples and How to Document It](https://www.dawiso.com/blog-post/data-lineage-diagram-examples)

Read more

### [Govern Snowflake Cortex Agents and Semantic Views](https://www.dawiso.com/blog-post/snowflake-cortex-agents-semantic-views-dawiso)

Read more
