Skip to main content

Context by Design: Building AI-Ready Data Products at Mastercard on Databricks

Summary

  • Context as IP: meaning, expertise and norms let AI answer why-questions instead of just what-questions.
  • Federated governance: manages context lifecycle using lineage and consistent definitions across agents and Genie spaces.
  • Metadata enrichment: saved over 6,000 hours across 30,000 assets with compliance automation through consistent context.

Context by Design: Building AI-Ready Data Products at Mastercard on Databricks

Watch: Context by Design: Building AI-Ready Data Products at Mastercard on Databricks
Talk by Brian Piel, Vice President, Mastercard; Vivek Radhakrishnan, SVP, Data & Analytics, Mastercard; Austin Kronz, AI and Data Strategy Lead, Atlan
An enterprise context layer is the managed store of meaning, expertise and norms, the definitions and procedural knowledge analysts carry in their heads, that lets AI answer why-questions instead of only what-questions. This video shows how Mastercard and Atlan engineer AI-ready data products on Databricks, treating context as intellectual property while models become a commodity, and managing the context lifecycle across many agents and Genie spaces using lineage, a semantic layer and a federated governance team model.
Austin Kronz of Atlan explains the three parts of context (meaning, expertise, norms), why models are a commodity while context is your intellectual property, and how to manage the context lifecycle across many agents and Genie spaces. Brian Piel and Vivek Radhakrishnan of Mastercard cover six data governance drivers, a federated team model, and federated data products published to a marketplace with consistent definitions. Results include AI metadata enrichment that saved more than 6,000 hours across over 30,000 assets, MCP access for agents, and compliance automation.
Sponsored by Atlan.

Chapters

FAQs

What is an enterprise context layer?

It's the managed store of meaning (definitions), expertise (procedural knowledge) and norms (standards) that analysts carry in their heads. On Databricks, it lets AI agents answer why-questions instead of just what-questions.

Why is context your intellectual property?

Models are becoming commodities, but your business context—how you define revenue, customer segments and risk—is proprietary and valuable. Managing this context with lineage and semantic layers gives agents the right foundation.

How does Mastercard manage context across agents?

Through a federated governance team model that publishes data products with consistent definitions to a marketplace, combined with lineage and a semantic layer, so agents query the right tables with the right meaning.

What results does Mastercard see from governed context?

AI metadata enrichment saved more than 6,000 hours across over 30,000 assets, and compliance automation became possible through consistent definitions and MCP access for agents.

Full transcript

00:00 Introduction

Thank you to everyone who came to the first session. I think this is the first theater session at the entire Databricks conference. My name is Austin Krons. I lead AI and data strategy at Atlan. In fact, this means that I talk to clients almost every day about how to build AI that truly understands my business. So I want to take a few minutes before I introduce Vic and Brian from MasterCard, who will talk about how they use engineering context and implement it into their data foundations.
And just talk a little bit about what I mean when I say "context"? I think if you haven't been to the Expo Hall yet or at least attended the keynote, the context and idea of how to make AI work in a corporate environment will be a major topic of your conversations. There is a lot of noise around this, so there is a lot of confusion. And I think sometimes after we go through these forward-looking statements and fill out your surveys, it would be good to break down an example of what we mean when we say "context"?
I'll remove technology names, tool names, and all that. And just going back to an example of what this might actually look like for you. I always start with a fundamental question. If you go to the Atlan booth, you will see many references to service times in the auto drive. This is because we created a fictional burger chain for all of our demos. So, we have McContext. This will be a cross-cutting theme for all of our demonstrations.
But even with this basic question, many of the "what" questions are relatively simple. For example, what was your income last year? It's easy enough for AI to reason about them and provide a simple answer. When you move on to the "why" questions and diagnostic questions , things get much more complicated. And the reason is that even in such a seemingly simple question as "why did the service time at the drive-thru increase this week," there is a lot of hidden context.

01:30 Why AI needs business context for "why" questions

So, what do I even mean when I say " service time in a drive-thru"? Where does this exist? What does service time mean ? Also, what does " this week" mean? Is this a Monday to Friday period? Or from Sunday to Monday? There are various definitions that may not even be documented. This is simply the hidden knowledge of an analyst who does this kind of work. So understanding what things mean in business is the first element of what we think of as context.
There is also the concept of expertise. When I notice a problem, an anomaly, something in the data that seems wrong, even a human analyst applies some procedural knowledge. In our business, a SaaS company, a great example is: "Oh, if we see that the figures in the third quarter are falling, we immediately think: there are holidays in Europe , so a lot of things are sagging at this time ." This is hidden knowledge that is embedded in the mind of the analyst .
So, this procedural knowledge—what steps do I need to take to reach a conclusion? This is another element of context. The last component of context is norms. When I ask a question, it will be completely different than when a sales professional does it. In the example of a burger chain: the owner of the establishment, the corporate manager, the operations manager, and the cashier— they all expect different answers and, frankly, need access to different data.
Therefore, understanding what is permitted or what actions an agent can take is the last aspect of context we think about. And it all adds up to the big picture. I hope this is a good foundation for understanding the topic, and now I'll tell you what Atlan is doing to help along the way. We call this the path to contextual intelligence. If you think about the models themselves, they are extremely intelligent. Of course, reasoning models evolve, the next one will be better than the previous one, but, in essence, they are fixed.

03:31 Path to contextual intelligence: context as your IP

Your competitors have access to the same models as you . Intelligence has essentially become a commodity . So what really sets your agents apart is your context and your data. Is n't that right? Context is almost like the intellectual property of your business. If you are creating an agent for a contact center, what makes a MasterCard agent better than the competition? Well, that's how they do business. And a lot of this needs to be recorded.
When we work with clients, they usually go through a process where they first try to just structure the context. Starting the agent is relatively simple. Getting it to give correct and consistent answers is a difficult path that you will have to go through together with the agent itself. So, I think one to three agents can be handled manually. You know, you're probably going to start using whatever platform is available to develop agents.
You will use Databricks. You will use the Genie code. Running Genie instructions, presenting metrics , all in a row. As you move to the next three to thirty agents your enterprise needs, you start to run into lifecycle management issues . We've spoken to clients who have implemented certain things into their instructions or even created their own skills for broader operational agents. The lifecycle of these skills deteriorates, just as data can shift or age, so does context.

04:31 Managing the context lifecycle across agents and Genie spaces

So this context management lifecycle is something Atlan is very keen to solve for its customers. And if you look at it from the broadest perspective, we have a lot of customers using Databricks Genie, have thousands of Genie spaces, and they're trying to better understand the context that we put into the first agent that was created so that the 50th agent can use that, rather than starting from scratch. Therefore, the idea that context should be interoperable and stored in a place accessible regardless of the agent development platform, framework, or tools you use is very important for managing context blurring and drift.
I won't go into detail on this slide. We believe that context has a similar development lifecycle as any software, data, or agents themselves. There is a kind of continuous cycle that has to happen. Context as a foundation— Inside Atlan, this manifests itself in the fact that we create a repository of limited context for your agents. There are several ways to do this. We obviously need to first understand whether your data is AI-ready.

05:45 Building a context repository with lineage and a semantic layer

And Atlan will help by connecting to all your sources. It will automatically pull up all linearity at the column level. It will merge glossaries. This applies to everything from your source system to your repository, lakehouse, business intelligence tools, and unstructured sources. We found that with our contextual agents that traverse and document descriptions of columns, tables, etc. , we can build work on these foundations.
Because we have extremely rich documentation that takes advantage of all the linearity—that is, if I'm trying to document a table, because Atlan knows all the dashboards where it's used, each description we generate contains much more information to make it as meaningful as possible. Once we get that, we can easily and in many ways launch the semantic layer. And skills on top of that add procedural knowledge. And again , the idea of ​​a learning loop is very important for the entire context management lifecycle , as a lot of traces accumulate as an agent operates in production.
These traces are a real goldmine for understanding how to constantly adjust the context. So instead of just launching and hoping everything works, Alation will leverage this learning cycle. If you're interested, I'll talk more about this context lifecycle at the booth, but I want to hand the floor over to Vivek and Brian. I'm always happy to chat about agent creation and context, so come visit us . But you want to hear what people actually do and what it looks like in a large company—preparing data to an AI-ready state and implementing it into the foundation.
So, I'm with Brian and Vivek, who will tell you about what they do at MasterCard. Thank you. Can you hear me? OK. The best part is that I have no idea what he's saying. Even better is that he doesn't know what I'm going to say either. So I can say whatever I want about him . Not heard. OK. So, I'll briefly talk about MasterCard. I don't think we should spend a lot of time on this. What did we do? We are, of course , a huge company.
We process a lot of data. We process a lot of transactions. Here are some statistics: over 200 markets. Over 200 billion transactions. 3. 4 billion credentials. But the main thing I want to say by showing this data is that we influence each of us. People, businesses, governments are everywhere, and improving our data practices can and does have a global impact. So, every little thing we do will greatly improve our lives.

08:24 Mastercard's six drivers of data governance

With that in mind, I would like to talk about six factors that shape our approach to data management. Some of them may resonate with you, some may be something you are experiencing yourself. I want to talk briefly about each of them, then we'll move on to a few slides, and then I'll hand it over to Brian. So what are the main driving forces? First, there is a demand for responsible use of data and AI. So it's not just about the data itself or its quality, but also about the quality of the metadata, because, you know, good data is only as good as how well it's described, and that's where metadata comes in.
The second point is growth. We have a multitude of environments, the number of which will continue to grow— public, private, sovereign clouds—and we need unified management across them all. That is, you can't just manage one platform separately and do whatever you want with the others - it won't work. The third factor is the exponential growth of data. You've seen how much data we create, and we'll continue to create just as much and even more over time, which naturally happens through partnerships and acquisitions.
They will keep coming, and it will never stop. The fourth challenge we often encountered is a situation where multiple teams work with the same data, creating their own versions of what they call the truth. So now you have 10, 15, 20 versions of the truth, and it starts to negatively affect all of us because, first of all, in terms of quality, you're going to get different results from different people. As for the cost—just imagine how many teams of data engineers, product teams, and other specialists you would have to engage to manage all these disparate, duplicated data sets.
The fifth factor is the increasing complexity of complying with regulatory requirements. Mastercard, of course, operates in a highly regulated industry, the rules are constantly changing, and we must stay ahead of these changes. And the last point sums up a lot of this: historically, we believed that we could manage everything centrally and that everything could be done by a small or even slightly larger team. We just know that it's impossible.
Given this, the growth of systems and the volume of data, we need to act quickly, and the only way to do that is to delegate some of the work to different groups, while maintaining some degree of centralized control, but again , federalization plays a major role here. So how did we approach this? We identified our drivers and then moved on to how we were going to put it into practice. This is a kind of overview of the teams and how we structured ourselves from the inside to solve this problem.
This may be useful hints for all of you when you try to solve the same problem in your ecosystem. Let me start by saying that it's about key partners. Again, data governance is impossible to do, and you can't just lock yourself in a room and say, "You know what? We'll decide everything, no one else. We're the ones who decide everything." It just won't work. That's why you need friends along the way. And these are just some of those friends, right?

10:49 Federated governance team model

For example, privacy, data science, security. There are a number of groups that need to be involved as early as possible. It's difficult, but you need to involve them in advance , otherwise you will never succeed in what you set out to do. But with that in mind, we have , you know, four core functions that we rely on to implement our data governance practices. The platform team is those who provide requirements and functionality assessment.
They really communicate with our internal and external customers about what's relevant. The second is the semantics and cataloging team. These are the people who describe some of the metadata standards, in many cases providing the metadata itself for some of our core datasets. The third concerns data products. I'll give Brian the opportunity to talk in detail about how we build our marketplace and how we turn these basic data sets into products for the entire company.
And the fourth is data management engineering, which is actually the technology component: whether it's developing internal solutions, or partnering with other ecosystems like Atlan, or just having a strategic vision of the technology landscape to address these challenges across all of our environments, with the huge amounts of data and the federation that we're striving for. So, there are a lot of people involved here together, but this structure really helped us accelerate the path to our goal.
With that in mind, I invite Brian to talk about data products and how we are moving from fragmented data to product fundamentals. Thank you. So, I'll talk a little bit about how we implemented context at scale. Medallia is not new, but for MasterCard we have taken it to the next level. We look at this through the lens of how we provide data to consumers and our models, providing access to it in a controlled way, right?

12:39 Federated data products with consistent context

So when we talk about enterprise-ready data for AI, we mean adding the right context and making sure everyone agrees with it. So we really think about : what is this data about? How are they used or how can they be used? And then— we really understand how to manage them. So, moving forward and looking at all possible avenues, we turned our attention to federated data products. We mean adding context to all our data, properly understanding how it’s being used, which is critical for a regulated company like Mastercard, and thinking about how to federalize it.
This is creating common foundations for AI, for all our products and services, and then being able to use it across the company's various services. Think of Mastercard as a collection of many different companies, but consistency in how you handle data is key, right? Managing this data is of paramount importance. Reusability, legality of application, all of these things are extremely important for scaling our models, as well as clear definition of responsibility.
So, we mean a context based on the owner, on the consent for the data, and on how it can be used. The context itself and why it is so important to us is that we have to agree on the definition of data. We bring together different groups of data stewards who agree on this, and then it is applied to the data itself. The key point is that this context is consistently applied across all our models, which is very important for our clients.
Data delivery and appropriate SLAs are also important —these are key aspects to ensure there are clear ownership and everyone understands what it means. When we build and analyze data products in general, we define business needs, understand what everyone is trying to do with the data, how our models will perceive it, curate and standardize across all levels of Medallion, and then make the data products available. It is also important to ensure consistent cataloging of these products.

15:09 Data product marketplace and discoverability

We are partnering with Atlan to create a marketplace of data products that can be used consistently across all of our models and services. Additionally, we ensure that these data and data products are easily searchable once published. So, again, the key here is consistency in the definitions and context of this data. Getting insights faster means not everyone has to figure out what exactly it means on their own. Avoiding duplication is key for us because of the amount of data we have.
And also built-in compliance . So again , the industry is highly regulated, so we have to have compliance built into what is consumed. In practice, this means a kind of data pipeline. So we look at what is needed for our models and services. I mentioned data management and agreements regarding that. And a network of consumers working together to understand what the right context is for our data, for using models , products, or whatever services we build.
Creating assets means we write code and ensure its consistency. We are also working on significantly automating this process. And then we make them available on the marketplace so that when creating new products, someone can find the data they need, point their models at it, and get consistency and built-in regulatory components. So, overall, it's really important that we consider metadata, context, and clarity around it.
And also that all of this is easily displayed through interfaces, like the Atlan UI that we use with our internal teams. And we're also working with MCP to make all of this available on demand for our models. I'll hand over to Vivek to conclude. Thank you. Good. This is the last slide to summarize everything that has been said: the work that Brian and the team have done , and the work that all of us have done. We did a lot of fundamental things.

17:13 Results: AI metadata enrichment and compliance automation

So, the question is : what next? Are we getting the benefits that were theoretically talked about —not by adding hundreds and thousands of people to help with management, but instead by using technology where possible? And the good thing is that we already feel it. So within our journey with Atlan, or through the practices we talked about, we started to see the first successes. I will specifically highlight a few. With the semantic foundation, we are now using it at Mastercard to develop a layer of context to provide to our various applications.
So, we at Mastercard have a lot of computing systems. So, how do we provide the semantic base that we created at Atlan for this. The second part, um, I want to thank Zena. She did all the hard work. I'm just taking credit, which is, by using AI metadata enrichment at scale, we've gotten over 6,000 hours, so that's over 30,000 metadata-enriched assets ready and ready to go . Just done. You can calculate for yourself how much time it would take a person to do these 6,000 hours of work.
We just did it through context agents in Atlan. Oh, that's fantastic. And then again , that was just the beginning, right? This gave us an insight into SQL intelligence. This gives us an idea of ​​the descriptions of things. It really helped to leverage a lot of the data we had already put effort into to get a good return. MCB provisioning, again, using some of the technology we got from Atlan, as well as in-house developments.
How do we connect this to agent workflows at Mastercard? Because we have our own ecosystems. And how do we bring all this rich metadata, enriched, managed, and connected to everything else we have at Mastercard at the enterprise level? And finally, compliance automation. Again , I've touched on this a little bit already, but it's just a recognition that scale can be achieved through agents, technology, and automation.
We have done a lot. In the past, when a regulator or someone else came in and asked, “Hey, what data do you have? What confidential information do you store? Can you provide a report on X, Y, or Z? This usually meant a bunch of emails. It was a lot of letters, meetings, a lot of clarifications, and we managed, but it required a lot of effort. But now we can automate most of this because we have all the information, we've done all the hard work up front, and we're using AI to speed up many of the tasks.
And this is a significant recognition in the context of compliance automation. That's all, this is us. It's all of us here. Thank you, Austin. Thank you, Brian. And yes, thank you all very much. We're here if you want to chat. Thank you.

Learn more about the Databricks Data and AI platform.

The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.