Skip to main content

Sponsored by: Dataiku | Engineering Trustworthy AI Agents with LLM Mesh + Mosaic AI

Summary

  • Agent lifecycle management: This video explores how Dataiku's LLM Mesh pairs with Databricks Mosaic AI to streamline the entire AI agent lifecycle from data preparation in the lakehouse through deployment and monitoring.
  • Trustworthy design: This video covers implementing guardrails, automated validation, lineage tracking, and human-in-the-loop review processes to ensure AI agents are both resilient and transparent in enterprise environments.
  • Production patterns: Learn actionable patterns for setting guardrails, logging decisions, and surfacing explanations so your organization can deploy domain-specific agents faster and safer on the Databricks Data and AI platform.

Sponsored by: Dataiku | Engineering Trustworthy AI Agents with LLM Mesh + Mosaic AI

Watch: Sponsored by: Dataiku | Engineering Trustworthy AI Agents with LLM Mesh + Mosaic AI
Talk by Dmitri Ryssev, Solutions Architect, Dataiku (Sponsor Speaker)
AI agent systems hold immense promise for automating complex tasks and driving intelligent decision‑making, but only when they are engineered to be both resilient and transparent. In this video we will explore how Dataiku’s LLM Mesh pairs with Databricks Mosaic AI to streamline the entire lifecycle: ingesting and preparing data in the Lakehouse, prompt engineering LLMs hosted on Mosaic AI Model Serving Endpoints, visually orchestrating multi‑step chains, and monitoring them in real time. We’ll walk through a live demo of a Dataiku flow that connects to a Databricks hosted model, adds automated validation, lineage, and human‑in‑the‑loop review, then exposes the agent via Dataiku's Agent Connect interface. You’ll leave with actionable patterns for setting guardrails, logging decisions, and surfacing explanations—so your organization can deploy trustworthy domain‑specific agents faster & safer.
Here's more to explore:
Databricks named a leader in the 2024 Gartner® Magic Quadrant™for Cloud DBMS: https://www.databricks.com/resources/analyst-paper/databricks-named-leader-by-gartner
An open, unified approach to your data, BI and AI workloads: https://www.databricks.com/product/databricks-sql
See all the product announcements from Data + AI Summit: https://www.databricks.com/events/dataaisummit-2025-announcements

FAQs

What is the complete lifecycle for deploying AI agents?

The lifecycle includes data ingestion and preparation in the lakehouse, prompt engineering for LLMs hosted on Mosaic AI Model Serving Endpoints, multi-step orchestration, validation, lineage tracking, and real-time monitoring.

How do you ensure AI agents are trustworthy?

This video demonstrates implementing guardrails, automated validation rules, lineage documentation, and human-in-the-loop review processes. These mechanisms ensure agents operate transparently and securely within defined parameters.

What is the Agent Connect interface?

Agent Connect is Dataiku's interface for exposing AI agents to end users. This video shows how to integrate it with your Databricks-hosted models and governance processes for safe, controlled agent deployment.

How do monitoring and explanations improve agent reliability?

By logging all agent decisions and surfacing clear explanations for actions taken, teams can identify issues, understand agent behavior, and maintain accountability in production environments on the Databricks Data and AI platform.

Full transcript

Hello everyone and uh welcome to today's session. I'm a solution architect with data IQ and today we'll be talking about engineering trustworthy AI agents with data IQ's LM mesh and mosaic AI. So first we can discuss the promise of agents. Uh as you all know by now there is a lot of talk about AI agents in the market today. All the way from uh customuilt agents using frameworks like lang chain and llama index all the way through to pre-built off-the-shelf agents that vendors promise can do uh everything for you autonomously.
And there are a lot of opportunities for value in the enterprise for agents. The most common use cases that we're seeing today are around of course process automation, being able to do tasks that uh otherwise were quite laborious and time inensive. So very mundane things like uh maybe contract clause validation in law or doing support ticket management. Uh another very common category of use cases is around worker augmentation.
Uh you're all familiar with the stories around AI agents being useful for uh coding assistance but we think that this sort of concept actually applies um is my audio working properly? Good. Okay. Uh so this type of concept applies uh across not just coding uh but across different domains and uh we believe that we'll see more of this as well across uh different types of uh departments from uh sales management assistants uh maintenance schedulers adding to the productivity and effectiveness of uh of different workers.
And we're also seeing now agents being able to intelligently uh predict and apply business chains to ultimately drive more profitability and more revenue for organizations almost as like an intelligent reasoner uh across different business segments especially with more complex multi-chain scenarios for uh use cases like demand-driven replenishment orchestration uh production process optimization uh and more. So there is a lot of promise with agents in the enterprise but with that comes a lot of complexity and complexity causes a lot of issues.
Uh so there are different frameworks as we know now for building agents and uh not one that we can necessarily uh standardize off of different vector databases. Should we deploy on prem? Should we buy off the shelf? What about the cost of these use cases? Is it worth the uh the value? So there are a lot of considerations when it comes to being able to leverage agents in the enterprise even with the value that is uh that is as or may be ascertained.
Uh some of the most common uh challenges that we're seeing today number one fragile connections to the underlying systems that power these agents uh being able to connect to enterprise data enterprise systems from the ground up. having that connection um has been a challenge uh from different implementations that we've seen. Along with that, it's very difficult and sometimes these agents are quite opaque. So being able to quickly and easily diagnose any issues of failures that have come up is key.
And then of course making sure that people that uh run these agents, someone is held accountable in the case where things do go wrong. That is absolutely crucial with these types of capabilities. So the way that we can solve for this in data IQ is to be able to apply the enterprise orchestration that we've already had from the ground up in our platform uh to allow these agents be to be connected to the approved data and models within your existing systems.
Along with that allowing for continuous optimization of these agents such that they're closely monitored and uh configured over time to ensure their performance maintains. not dissimilar from the concept actually of MLOps uh sort of paradigm but now attributed more so to agents and LLMs and then the governance of these models is absolutely crucial as well. So being able to understand who created them who signed off on these agents under what circumstances um it is considered to be u a candidate for production and who needs to be involved in that process that's something that we consider absolutely crucial as well.
So taking a step back, some of you may or may not know about data IQ. We are an enterprise platform, a universal AI platform that uh connects the technology teams and the business together to be able to create different data projects and products. Uh not just agents in fact but across the entire life cycle from data analytics, building predictive models, traditional ML models and now through to agents as well. uh built with centralized governance from the ground up uh agnostic from a deployment and a technology perspective and of course a very tight integration with data bricks as we'll get into uh honing in on the agentic story behind data IQ we already have the capabilities to solve for what I described earlier we have enterprise orchestration and have had from the ground up since the inception of our platform uh we also have the capabilities to do continuous optimization and to provide essential uh basically pain of governance uh around these different agents and what's more is we provide an interface for both knowledge workers and the technical developers to be able to build and maintain these models over time such that it's not limited to the most technical uh let's say Python developers in the company but can be democratized across the different uh users of the organization and of course uh being able to connect these agents to the approved data and AI architecture and infrastructure within your environment.
So, data IU provides visual and codebased interfaces uh depending on your proclivity to be able to develop these sorts of agents. And what's more is we provide out ofthe-box built-in tools that you can use to empower your agents to be able to accomplish different tasks. So, if you wanted to be able to uh query a data set or if you wanted to be able to write a Jira ticket, that's something that you can pro provide for your agent and you can do it through data.
IU without writing a single line of code. We also uh allow for enterprise orchestration. Uh whether you're using uh single agent or multi- aent approach, we have a backbone that's called the LLM mesh which allows for centralized access to different LM providers and models along with the governance that is associated and the filtering that's associated with the connection to these systems. Along with that, the ability to provide guard rails uh to enforce uh specific safety frameworks around your LM connections either at the use case or at the overall enterprise level and an out- of-the-box entry point called agent connect to allow your end users to interact with these agents again with those guardrails and permissions in place uh but in a very easy lightweight way in a way that makes them feel comfortable in working with these agents. uh around continuous optimization.
We provide out- of- the-box capabilities to monitor the cost of your agents and of your LLM such that you're able to understand historically how much they have cost per project per user. Uh we also allow out-of-the-box capabilities to monitor the quality and the performance quantitative aspects of the performance of your agents over time. So you can see if the performance is going up or down and then a traces explorer so there's no black box around how an agent comes to a particular result.
You'll be able to see and dig into exactly how an agent came to a specific response or conclusion. And then from a governance perspective as well a centralized registry for your organization uh cataloging all of your various genai and agentic related use cases. So you'll be able to view all of them and the performance metrics associated with them uh on one pane of glass along with a workflow that allows for signoffs of your agents.
So you're able to have a spec a specified workflow to determine uh what steps need to occur and who has to sign off prior to an agent use case being deployed into production and if it doesn't get signed off then it cannot physically get moved into production. Uh and then the ability to provide a uh value and risk monitoring uh dashboard to qualify use cases by their value versus their perceived risk and or cost. And with the power of data bricks uh mosaic AI for the inference and for the um the uh yes the inference of these models that they uh that they host. uh data IU can connect directly to these uh models in data bricks mosaic AI and leverage them as a part of the agentic chain for these use cases but again no coding is required uh and you can easily swap out models depending on the needs of the use case and their performance over time. uh data Iiku throughout our entire platform can uh easily connect with data bricks resources including their LLMs and specifically for the LMS we can uh connect to them to do one-off uh batch processes of use cases but also of course being able to run agentic behavior through them.
Let's take a look shall we? So taking uh a step back we see a flow here in uh data IU. This is a project that we have and consider a financial institution that has a data set or has data sets that has customers and maybe we're trying to understand whether or not we should approve them for uh loans that we'll be we'll be granting. So in this project all of the data sets that you see in blue are actually data bricks data sets.
Uh so we're directly connected into the data lakeink and into unity catalog. In this case we have uh done some data preparation steps. We've built a predictive model to be able to uh predict whether or not a customer is likely to default on a loan. We've also built uh an agent that has access to that predictive model along with to some underlying data sets that's powered by a genie space and has access to some corporate policy documents that we'll uh shortly show you how you can use a rag uh process around and we're also doing continuous monitoring of this agentic use case all throughout this project and all without writing a single line of code.
It's all fully visually built. To give you a sense of how easy this really is, if I've connected to this uh corpus of documents that you see here, this is a set of documentation that this company has that's related to its credit scoring policy documentation, its loan scoring policy documentation. This may be living in SharePoint or data bricks volumes. Again, we're agnostic from this perspective. So, we can connect to any of these uh systems whether they're structured or unstructured data.
Then from there we go through a uh a visual uh retrieval augmented generation process where for the cases where the file is more of an image in nature it actually goes through and does a visual embedding process to generate the vectors or if it's a text more text based file in that uh folder or in that repository then it's going to go ahead and just uh generate the vectors right away. But again, no coding that's required.
It's all happening behind the scenes. Uh, and what we're left with is this vector store here that we're then going to attach to the agent such that it has it as a tool to be able to uh um answer questions based on this corpus of documentation. This is a visual agent in data IU. You can build agents visually or with code. uh and you can first specify the overlaying sort of reasoner uh model that's going to determine which tools it's going to utilize based on the user's query.
And as you can see, we can connect to a wide variety of uh data bricks mosaic AI models along with other providers and the latest ones from Mosaic as well. Along with that, you specify what the instructions for the agent should be. It should act in this case as an expert on our policies. maybe some instructions on what uh tools it has access to. And further down, I'm giving the definition of which tools it has access to and a brief description.
So in this case, it has access to a text to SQL tool. Maybe it has access to that predictive model that we developed earlier. It has access to this vector store that we call a knowledge bank and more. In terms of actually creating these tools, it's very straightforward because we provide built-in capabilities for you to be able to augment your agent with any tools. again without writing any code. Uh these all come out of the box.
If you're looking to do a data set lookup, maybe send an email, work with um Jira, uh work with uh Genie Space, uh all of these are available out of the box. No coding required to set them up. Just simply make them the selections and off you go. Uh along with that, from a guardrails perspective, if you want to be able to determine that this agent has filtering capabilities for uh toxicity detection, you can apply that here.
You can specify that this agent uh should be able to filter out uh toxic content. If you want to filter for some specific uh forbidden terms, some specific words that you don't want to have as responses by the LM, maybe it's customerf facing and you want to make sure certain key terms are limited. uh if you want to filter for things like PII, sensitive data or other uh filters that you can custom build, these are all available to you as well uh either at the agent level or also at the uh connection level to the models as well.
Now once you have created your agent, you can spin up uh a web application called agent connect that looks like this. Very easy to do. Uh you can just simply specify the top level LM that's going to be responding for your users. You can also specify the agents that this interface has access to. You can see we provided access to a few different agents that you see here. And then from there when we ask a question of uh of this agent connect we ask it hey can you tell me about our loan approval policies?
If you recall in the corpus of documentation that we showed you earlier there was some documentation specifically around loan approvals. So what the agent is doing is it's going through its uh its list of tools that it has access to. It's figuring out um which tool prep will provide the correct information based on the user's intent. It's sending that back to the top level LM and that LM is responding. So you can see the specific information that's given here along with the sources.
So you can actually understand how the LM came to its conclusion, which tool it used, etc. If I wanted to ask a follow-up to say, can you tell me everything about customer this guy here? Um, now it's using a different tool. It's actually leveraging the Genie API through a Genie tool to be able to uh run a quick text to SQL query, get the information about this customer, but it's going to present that information back to the user uh in natural language.
So again, no coding that's required to set this up. Very easy to do. Um, and the and the agent is going to go ahead and provide that information for me uh along with the history of uh of that customer. Now, there we go. So, it's provided me with information about that customer that you see here. And that all looks interesting, but I want to figure out, okay, based on our policies, are we likely to approve a loan here?
So, I'm gonna ask it uh can you predict if this customer is likely to be approved for a loan and now it's going to go ahead and actually query the predictive model that we had created uh as a part of this data IQ flow. So again the connection between the analytics, the predictive modeling and the agent all in one project is uh is very powerful and as you can see here based on the agent's behavior and the tools that it called it was able to ascertain that the customer is not likely to default on this loan which is good news.
It means we can uh give this loan to this customer. But let's talk a little bit about how this agent came to its conclusion. What's going on behind the scenes? Well, in data IU, we have an out-of-the-box explorer that allows us to figure out exactly what's going on at each step in its process. So, for that last query that we had, is that loan likely to be approved or not? We can actually go ahead and look through here and uh understand exactly how it came to its conclusion, which tool that it called, which uh query that it sent to the LM, etc.
Um, if you don't like this view, we have a few other different types of views that you see here that will allow us to understand exactly uh what it's sent over. It will also show you the number of tokens that uh were sent and received and actually the estimated cost. We'll come back to cost a little bit more in in a moment. But now you're able to actually understand for each of these queries, how much is it costing us in the back end on a per token basis.
Um let's talk a little bit about evaluation. So of course it's great that we have a response from the agent, but how do we know it's correct? Well, one aspect is qualitative, right? It's kind of the vibe of it. Is it doing good or not? But it's better to have a quantitative approach as well. So in data IU what you can do is you can set up say a list of questions here. We have our questions and we have our labeled answers and you can run it through this agent which is exactly what we've done here.
We have the agent is connected to those questions. We're asking the agent to respond one by one to each of those questions and then we're using an LLM as a judge to uh basically uh create the calculations for these specific metrics. uh is the answer correct based on the labeled uh data set that we had. Is it relevant? If it's using a rag approach, we can also calculate things like the context, precision, and recall. Did we do a good job from a a retrieval perspective of finding the right documentation or using the right tools?
So, you can configure the exact metrics that you'd like to compute. And once you've done that, uh then you get this view uh we call it an eval store that allows you to track the per performance of your model over time. So as you get more label data, as you get more responses, maybe you try different iterations of your agent with different tools and different LLMs over top, then you get these performance metrics that you can dig into and you can understand at a question by question level uh what was the question, what was the output of the LLM versus the reference answer and how did the LLM judge actually come to its conclusion around some of these calculations that you see here.
So we can actually go quite granular understand exactly how the performance of the of the agent is shifting over time. But apart from performance there's also the cost considerations and in data IQ we allow for you to have an oversight into the historical calculations uh or the performance of these models in terms of their cost. So you can filter this of course by project by user by uh the connection type. So if I want to filter for only one particular project, I can see how much it's cost us over time.
I can see which users are mainly using this project or these LLMs. And if I wanted to have a more proactive approach to being able to uh monitor these models, then I can certainly uh create uh a a blocking uh proactive blocking quota where I specify if the um the cost for all of the uh queries to let's say Mosaic AI reaches some threshold that we specify like a $100, uh alert me of this. First of all, send me an email and also maybe block any further queries from going. uh to stop it before uh it may be uh considered too late.
Last but not least, I do want to also call out the fact that data has a governance capability built over top of the platform such that you're able to see all of your Genai and Agentic use cases uh in one uh view or one pane of glass. So you'll actually be able to view all of your agents with their corresponding performance metrics and build a approval workflow process around these agent agentic use cases as well. So you can define what exactly needs to happen and be documented prior to this agent being pushed to production.
Maybe it's a performance metric that needs to be met. Maybe we need to get sign off from these specific parties, IT, operations, risk and compliance. Maybe from a regulatory or a compliance perspective. We need to get sign off from these individuals prior to this agent being able to be pushed into production to be used by our business teams. You can define that consideration here and then you can apply it uh across your entire organization such that any agentic use case has to go through these steps prior to being moved into production.
To very quickly summarize um three key points. Number one, trustworthy agents as we refer to them uh are not just hype. There are value to them and there is a a practical engineered approach to building them. And what's more is those capabilities exist today out of the box within data IQ. The second aspect is that humans remain crucial in this process. That's why the governance workflow is so crucial here. Uh autonomous agents with no oversight uh can often times lead to disaster especially when there's no one that's accountable.
And number three, data IQ and data bricks is an absolutely powerful combination for building and governing these types of use cases. the inherent power of the scale and compute and the models of data bricks plus the interface and the collaboration and the governance of data IQ. Thank you so much. Uh we are at booth F628 just near theaters I believe it's one and three near the 3. If you would like to find out more information we'd be more than happy to uh meet you there.
Thank you so much for your time.

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.