Sponsored by: Insight Enterprises | Unity Catalog Agent Assistant
Summary
- Multi-agent architecture: Insight Enterprises built a LangGraph-based agent assistant to handle complex data requests from business users lacking SQL skills.
- Self-service analytics: The Unity Catalog Agent Assistant empowers non-technical users to easily access and analyze specific datasets without requiring SQL expertise.
- Operational efficiency: This solution streamlines data requests, enhances team collaboration, and drives better decision-making across organizations.
Sponsored by: Insight Enterprises | Unity Catalog Agent Assistant

Talk by Stephen Lundall, Practice Manager, Insight (Sponsor Speaker)
Insight will explore a multi-agent system built with LangGraph designed to alleviate the challenges faced by data analysts inundated with requests from business users. This innovative solution empowers users who lack SQL skills to easily access insights from specific Unity Catalog datasets. Discover how the Unity Catalog Agent Assistant streamlines data requests, enhances collaboration, and ultimately drives better decision-making across your organization.
Here’s more to explore:
Open data sharing for data, analytics, and AI: https://www.databricks.com/product/delta-sharing
A new approach to data sharing: https://www.databricks.com/resources/ebook/a-new-approach-to-data-sharing
See all the product announcements from Data + AI Summit: https://www.databricks.com/events/dataaisummit-2025-announcements
FAQs
What is the Unity Catalog Agent Assistant?
The Unity Catalog Agent Assistant is a multi-agent system built with LangGraph that enables business users without SQL skills to easily access and analyze specific datasets from the Databricks Data and AI platform.
Who benefits from this agent assistant?
Data analysts inundated with requests from business users benefit significantly, as the agent streamlines data access for non-technical users, reducing the workload on technical teams and improving efficiency.
How does this solution improve collaboration?
By empowering non-technical users to retrieve their own insights without SQL expertise, the agent assistant enhances collaboration, enables faster decision-making, and improves data accessibility across the organization.
What problems does this solution solve?
This video demonstrates how the Unity Catalog Agent Assistant solves challenges of siloed data access, manual data requests, and limited self-service capabilities for business users lacking SQL skills.
Full transcript
All right. Uh, welcome to Summit. Uh, it's very nice to see you guys here and I hope you get to take away something special with you um, after the presentation's done. Um, in terms of ways of working, I'm going to run through uh, my complete slide deck. Uh, once I'm done, uh, I probably will not have time for questions. However, the inside booth is located just over there. If you could please find us directly afterwards for more information and for us to be able to assist you with any sort of questions that you have, uh, that would be brilliant.
Um, so. I've been with Inside for approximately 8 to 10 years, somewhere around about there. I've been always working in the area of data engineering, um, and also AI. Um, and as you can tell from my accent, I'm not from the United States originally. I was actually part of the insight offices in Australia and moved over around about two years ago and joined the insight uh team here in the United States. So that's a little bit of background from me.
I've been working in the industry for around about 15 years. Uh so I have got I have been around the block um as you can say. Um and how many of us show of hands, how many of you actually made it to the keynote this morning? All right, excellent. So the pre-node speech is actually quite a good prequel to what we're going to be covering today. And basically what you'll be seeing is you'll be seeing a high level architecture with regards to uh the democratization of data uh utilizing apps uh within uh data bricks.
So walking around between the different booths you'll notice a sign just up the front. Okay. And it has something it really got my mind thinking where it said the future is open. All right. So I'll just let you dwell on that just for a second where the future is open. Now imagine a world where every decision maker within the organization from your CEO to any sort of frontline employee has immediate access to insights that they require.
Um now this isn't just a dream, right? This is actually a reality and it is the future that we're currently building now where we actually have this ability to be able to um enable people and members within our organization through the power of democratizing data. So from that particular thought you guys uh most of you will be leaders um or innovators right and of course um members that have come over to summit and so you basically understand and you get data right you understand the power of data however for most of us how many of us actually truly understand how to implement that within the organization in a democratized way so resting on that point if we're looking at uh members within the organization and being able to enable them at this rapid speed right uh what we're actually looking at is we're looking at reducing friction and we're also looking at reducing the wait time that is taken now most of the organizations that you're probably part of might think that you're not really there in your journey yet and that's completely okay you might have challenges that you have to deal with some of those challenges might include our data is siloed Another one might be that we're looking at access to data.
All right, so we want to make sure that our access is secure. Two things which data bricks has covered really well, right? Um and I suppose the third part of that um is looking at how are we going to be for smaller teams there's a large emphasis and pressure put on them to be able to provide insights to the rest of the organization and actually takes away from their day-to-day job which actually makes it really inefficient for them.
So I suppose the talk today as I mentioned before is looking at a high level uh methodology and architecture that can be put in place within your organization that will allow you um to be able to reduce those um blockers that you saw or that I mentioned before. And then also to think about it in this way is that data bricks and you being with data bicks is a really good partnership mainly because they are driving this and they are leading the charge in terms of uh looking at that um future is open in this whole datadriven um culture.
So just running on the first point that I mentioned, this is a common use case that we see with most of our clients, right? I work in consulting services. Uh I get to hang out with quite a few different people across multiple different industries. And the one the main thing that I keep seeing is that the data engineers or previously DBAs had a lot of time taken away out of their jobs, the day-to-day jobs to be able to self or to serve the business. uh whereas in now in this particular era that we're in, this could be done in a self-s serving way.
So in terms of what the vision is, this is actually looking at a multi- aent system for conversation. So allowing members within the organization to use natural language, which means I don't need to know SQL. I don't need to know Python. And even if I don't know SQL well, I can still be able to utilize this. All right. And so looking at this as a very high level architecture, you'll see I've got a smiley face at the front because he is really happy that he's be able to interact with an application that within underlying that uh you basically have got a system in place which is constructed of agents in a supervisor and uh agent with actual tools underneath uh manner where the supervisor can actually start communicating downwards in terms of being able to um offload and route any sort of information.
So the main purpose of this is that you're looking at a bridging the gap between users and the governed data within Unity catalog which is the main feature, right? You want to make sure that the applications that you're building are secure and that you actually do have that authentication authorization correctly implemented to make sure that only the right people who need to access the data uh get to access it as well.
And as mentioned before, uh we're looking at um those users asking the natural questions and then basically this whole emphasis on the securely shared um within the organization or application within the organization. So thinking about it from a systems architecture components part, the first one we have is looking at the data bricks app. So we're leveraging the full data bricks platform as it was mentioned in the keynote today.
We're looking at bringing those applications down to the data layer as as opposed to what we're doing currently. Um the second one is a system orchestrated by Lang Graph. I don't know how many of you are familiar with Langraph. How many of you have utilized it before? All right. So as you know Lang graph actually enables you to be able to um have multiple cycles. uh you'll have to have states and then it's also governed by uh your nodes and your edges in terms of that relationship and that workflow that you put in place which actually gives it a very powerful leverage with regards to what we utilize uh within um the application with regards to the system.
So the final part that we're looking at in terms of the components is looking at the agents. Now the main one is going to be your brain and the brain you can think of as basically managing the ultimate workflow. From there, you're looking at the second agent, which is basically your Genie agent. And this is utilizing Genie um over the top of Unity catalog uh to be able to use that natural language and return that SQL um back to you or that uh text answer that you require.
And the final agent is a chart generator which basically creates your data visualizations. Now, there's different ways of doing this. As I mentioned, this is high level. So, I've kept it relatively agnostic in terms of the approach that you utilize. um in terms of u a small little app that I built out as like a test for this particular convention is basically using streamllet and so it's actually passing through a string in terms of what that visualization is supposed to look like and that is rendered using streamllet itself for their visualization.
So now it's time to meet the agents. So our first agent as mentioned before is our supervisor agent and this is basically your central coordinator and the router or router of any sort of um requests that need to be made from the user down to the necessary agents that are required. Now the main role of the agent is to determine the user's intent and be able to understand how it should actually route those tasks to either Genie or to the chart generator.
Um and finally you're looking at that management estate as well uh with regards to that conversation and those data flows. Um the second agent uh that we have is the Genie agent. And so this is based on the APIs that are available uh through Genie. And it's basically where you get to utilize that natural language um SQL translator um that can be utilized by Genie mainly for the purposes of that implemented as a callable tool for the supervisor.
It'll basically interact with data bricks genie uh conversations API and it's basically looking at targeting uh the specific preconfigured genie space that has been done. Now the caveats for this right and there are three main ones is that the success heavily relies on how well curated your genie uh space is right and that takes into account any sort of metadata any instructions and any examples that you do feed through.
So, as we know from the data side, garbage in equals garbage out, right? And so, if you're looking at being able to fully utilize, you'd want to make sure that you do take care of that genie space to ensure that what the results that you get um are complete. Now, the third agent and final agent is a chart generator. So, basically this creates a static chart uh from the data. It's invoked by your supervisor agent where the actual data set is actually passed through in that state.
It then references that state and is able to basically create a string which is then going to be rendered by streamlet. So for this uh you're also looking at using um an LLM to be able to generate um that visualization. Now there are different ways of doing this. You can actually store the images. So you can create the images and store them statically and then reference those afterwards is another approach. So I suppose the next section that we'll go into is looking at the platform integration and control.
So with this as I mentioned before we're looking at LAN graph and the basic uh functionality and purpose of langraph is used for building those stateful and controllable agent workflows. It also looks at managing the state um and defines also uh the logic that's going to be utilized. Second one we're looking at unity catalog which is your governance data or your governed data within uh unity and the final one is looking at authentication.
So there's multiple different mechanisms that you can use for authentication. One is like a self-generated pat token. Uh the other method you can also use is through service principles also an oorthth 2 uh M2M method where you're actually having the user log into a browser which basically creates a session for them for about an hour and then after that it will actually re uh create that session for them after that. So looking at the data bricks app as I said I threw this together in a matter of hours in terms of the full end to end and so the chatbot that we have here is just an interaction that we have where we basically um having this model that's deployed so that system that I spoke about before is actually packaged up and we utilize MLflow uh to then look at uh deploying those into our Unity catalog as a model and then basically referencing it to a service endpoint for consumption.
So we can work with multiple versions. You can wind back on versions if you notice that say for instance you do have inaccuracies with the results that you're getting. And so the main purpose of this is just to look at the interface that you'd have as I said very basic. Um we have that query being sent to the agent and then we have the displayed of a response that comes in at the end in the form of a data frame. Now what does the end toend journey look like? it doesn't work.
So you can see we start off with the user. The user posts a natural language query. The application receives a query and then pushes that query down into that registered model or that service endpoint. The service endpoint supervisor agent receives a query. It gets the intent. It then routes that through to Genie. from then receives a query, generates a response, returns a response, and then that goes back into our supervisor agent, which checks to see if there's a requirement for a visualization to be created.
If there's a requirement, then basically it routes it through to the chart agent. The chart agent receives it. It basically generates uh the code that's required to be able to render that image and then returns this back as a final as a final um message through to uh the control agent. And then from there we look at them being rendered and displayed in the application for the end user to be able to perform or to consume.
So in terms of what this looks like from a coding perspective, uh we're looking at basically building the tools. Now for those of you who are familiar uh with Langraph uh you know that your agents would have access to tools and can have access to uh communicating in terms of with edges to other agents as well as functions that you have defined. So in this particular example we're looking at utilizing classes to break down what each of those return strings is going to look like.
And these strings are what I was talking about when I mentioned that we're looking at having these come back through and then for that rendering at the end. So we define the classes that are required for the tool. Uh the next step that we have is looking at the actual prompts that we'd have for each of them. So you'll see for the genie agent it's being very specific in terms of uh what its task is. Um the code agents description as well uh we can have a code agent available for this as well.
And the final one which is looking at your chart agent which is basically if we have a look at the bottom where it has the other JSON formats and examples. Um it basically will list out each of the different visualizations that can be rendered. Um it has the format in terms of what is acceptable. Now the classes that we defined before are basically checking to see whether or not it fits that criteria because at the end of it we're looking at a dynamic return direct back to the um supervisor agent from there. mainly because what you'd have is if you don't use your return direct, uh you'd actually have a summarization that's built at the end.
So you'd have your string coming back perfectly fine. It's gone through a number of checks, finally gets one that's correct. Then basically your agent would then give you a summarization and will come as a string as a text string in terms of that answer that's being given. Now in terms of the next part, we're looking at uh defining the agent state. And so we can see is that we're utilizing um the endpoints. Now unfortunately for me um I did all the developments inside data bricks express and it didn't give me claude.
I couldn't get access to claude. I tried multiple different ways. I tried llama as well and so I actually ended up creating um a model within Azure and then registering that service endpoint within data bricks uh for this particular example. Uh so what I'm doing at the first part is I'm looking at my genie space ID. you know, this could be parameterized, right? Um, and so it passes a genie spa uh space ID in. And then we're looking at the construction of your genie agent, which includes uh looking at the genie space ID, the genie agent name, and also the description, which we defined earlier above, which is basically your initial prompt.
So this is the first prompt that's given before whatever the question is is appended and that question is routed uh via or created via your supervisor agent. Uh the next one is the final one which you have is the chart agent. I did have a separate coder agent as well which I tried out. Genie did the same task. Uh so I did have a coder agent which basically means that any sort of code whether it's Python, whether it's SQL can be generated by the same LLM that I defined before which is my GPT40.
In terms of uh defining the graph nodes, this is basically the meat of it. This is looking at um how each of the nodes are going to be interacting with each other and what that workflow looks like and what the edges look like um as well. Now I have to wrap things up. I've got two more minutes. So the main thing is looking at handling ambiguity and limitations. So the system by itself handles um any sort of issues gracefully, right? uh the genie clarification.
It detects Genie asking for more information then routes the question back to the user. Uh now if Genie cannot answer it basically detects if Genie can't answer and then provides a helpful message back to the user. And the final one is looking at tool errors. So it's basically those classes that we define are going to be catching whatever those tool errors are and then waiting and retrying until it actually gets uh the required um output.
Now the payoff versus your uh benefits and value. So as mentioned before the core value is that democratization of the data. You want to be able to make this accessible to everyone within your organization right who's got access to that particular data. Now the good thing is with these models that we do build and we deploy as service endpoints. I can have multiple Genie workspaces referencing these. So I don't need to have a a duplicate of these agents.
I can actually basically have multiple workspaces that actually uh reference these and then multiple applications on the end of that. So we're looking at the empowerments of the business users increase the analyst productivity better utilization for governed data and enhances uh data literacy and then is consistent and reliable with regards to the results. Now looking ahead for future enhancements, we want to have more complex multi-turn conversations.
We want to be able to make sure that we have this interactive charts. So you could look at utilizing plotly for that. We want to look at the human in a loop that was mentioned our keynote, right? We have human in the loop to make sure that the data that we're getting back or the results that we're getting back are accurate. We also to make sure that there's other scenarios where you could have a rag enabled agent as well.
So you could be looking at documents and blend these into that one um model and there's a performance cost and scalability improvements that can be done because that'll be the main thing that you want to wrangle with is basically based on those costs. So I put up the forward statement uh from data bricks and then we just ask that you do complete the survey for this particular session. I thank you so much for attending.
It's been great. It went by so fast. Um, and yeah, if you have any questions, please make your way over to our booth. You'll see it's under insight. Uh, wish I had somebody there to wave. Uh, but we can actually walk you over. There we go. You can follow these people over here waving at the back row. Uh, that'll take you over to that. Please make sure you scan in. If you require any sort of videos and so forth, please put a note in for that.
I'll be happy to share those with you. Thank you very much.
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.