Retooling Intelligence: Build Scalable, Secure AI Agents for the Enterprise with Databricks + Retool
Summary
- Enterprise AI agents: Build production-ready AI agents that are both powerful and secure using Retool and the Databricks Data and AI platform.
- Real-time governance: Integrate Databricks data with governance controls to ensure scalability and security in agent applications.
- Operational blueprints: Learn best practices for deploying agents that automate complex workflows without common pitfalls.
Retooling Intelligence: Build Scalable, Secure AI Agents for the Enterprise with Databricks + Retool

Talk by Tom Konewka, Strategic Solutions Architect, Retool (Sponsor Speaker)
Enterprises need AI agents that are both powerful and production-ready while being scalable and secure. In this lightning session, you’ll learn how to leverage Retool’s platform and Databricks to design, deploy, and manage intelligent agents that automate complex workflows. We’ll cover best practices for integrating real-time Databricks data, enforcing governance, and ensuring scalability all while avoiding common pitfalls. Whether you’re automating internal ops or customer-facing tasks, walk away with a blueprint for shipping AI agents that actually work in the real world.
Databricks Named a Leader in the 2025 Gartner® Magic Quadrant™ for Data Science and Machine Learning Platforms: https://www.databricks.com/blog/databricks-named-leader-2025-gartner-magic-quadrant-data-science-and-machine-learning
Build and deploy quality AI agent systems: https://www.databricks.com/product/artificial-intelligence
See all the product announcements from Data + AI Summit: https://www.databricks.com/events/dataaisummit-2025-announcements
FAQs
Why should enterprises use Retool with Databricks for agent development?
This video shows that Retool and the Databricks Data and AI platform together enable rapid development and secure deployment of enterprise AI agents. Retool provides a platform to build applications quickly, while Databricks supplies the unified data foundation with governance controls that agents need to operate safely.
What governance and scalability concerns does this video address?
This video covers integrating real-time Databricks data into agent applications while enforcing governance and ensuring scalability. Best practices include proper data isolation, monitoring, and enforcing policies so agents can handle production workloads without compromising security.
How can AI agents help data scientists build, debug, and productionize machine learning models?
This video demonstrates how combining Retool with the Databricks Data and AI platform enables data scientists to deploy AI agents that operationalize their models. By providing deterministic tools and guardrails through the Retool platform, agents can reliably interact with Databricks data to automate complex workflows and surface model predictions to business users. This eliminates the friction between model development in notebooks and real-world production use.
What makes a platform suitable for AI agents on enterprise data?
An effective platform for enterprise AI agents requires security controls, data governance, and scalable infrastructure. This video shows how the combination of Retool's rapid development capabilities and Databricks' unified data governance enables enterprises to build, deploy, and scale agents safely. Secure authentication via SSO, role-based access control, and audit trails ensure that agents operate within appropriate guardrails while accessing sensitive business data.
How do I build a custom AI agent for enterprise workflows?
This video provides a blueprint for building enterprise AI agents by connecting Retool applications to Databricks data through deterministic tools that constrain agent decision-making. The process involves defining the workflows you want to automate, equipping the agent with tools to query and act on Databricks data, and tuning the agent to balance autonomous action with human-in-the-loop approval. Most processes achieve approximately 80 percent agent-only task completion with the remaining 20 percent requiring human review.
Full transcript
All right, I think we are uh good to get started here shortly. So, uh just some quick housekeeping items for those of you that maybe just recently walked in. Uh we're holding a raffle. So, if you haven't picked up a raffle ticket yet, grab one on your way out. Uh the raffle is going to be held at 2 p. m. by the Retool booth in the Integrations Gallery. So stop by our retool booth after the session later today uh for your chance to win a prize.
So uh let's actually go ahead and start the presentation here. Retooling intelligence. So a lot of you today are here because you want to learn about AI agents. You want to learn about how you can combine them with uh combine them with data bricks and how you can actually help out yourself and your business over time. So let's actually go ahead and describe like why retool and data bricks together. Now uh normally I would ask a question in the audience like how many are data engineers, data scientists but I don't get a lot of feedback here.
So please raise your hand. Uh are you are people in the audience data engineers, data analysts, data scientists, data bricks administrators. All right, we got around half half the crew here. So what is retool? For those that actually don't know, retool is a software development platform to deliver enterprise applications on top of data bricks data and any data and any data source for that for that matter at a fraction of the cost and effort.
And there's a lot of factors that go into cost and effort for that. But at the end of the day, we're able to rapidly build and deploy applications within hours and days instead of weeks, months, and quarters. So you know the problem what what is the problem that we're experiencing today with our data really it comes to a matter of team synchronization right um yourselves that are working in the data bricks world there's a lot of teams building great models but struggle to make them usable by business users and that struggle is because you can't connect with perhaps software developers you don't have the right tools right resources in order to actually bring that data to life in the form of applications insights and action and operations team they want to act on these insights like for example approving a loan re reviewing prediction anomalies but they can't use notebooks or raw SQL and then front-end teams need to build custom UIs for every internal tool right what if there was a way to actually standardize templatize those UIs on top of your data in a very governed and secure way so the solution here with retool what we provide is you can actually actually do fast internal development right you'll be able to build AI apps with frontends and workflows all in a secure governed way.
So for those that don't know with retool we have over 60 native data source connectors one of them being with one of them being data bricks and data bricks you can actually connect securely using ooth authentication into our platform and once it's actually connected you can you're ready to start building uh web apps in a drag and drop way workflows with our workflow canvas editor and what you're all here for today is actually AI agents so I'm not going to bore you with too many slides today this presentation will be somewhat 60% slides 40% demo near the end.
So stick around and you'll get to see agents in action. So what are some of the use cases that you can do with AI agents? You can actually create decisioning applications to reason and take action, right? So that's the key here. Uh you want to reason and act. That means AI agents are basically reactive applications. And now, traditionally, up until a few years ago, we were perhaps limited with uh simple LLM models where you couldn't reason or the level of hallucination was actually too great and too high.
But with Retail, what you'll see soon is we're actually able to provide our agents with tools, specifically deterministic tools to help these undeterministic agents, give them a guardrail and make accurate decisions 99. 9% of the time. So what are some of the other things that you can do in retool beyond just agents? Making inventory and forecasting tools, data quality dashboards, MLOps interfaces. I'm sure many of you in your current roles have wanted to develop an application or wanted help to get an application on top of your data bricks data, but you just didn't have the resources, don't have the development team, don't have the time, you got other priorities.
And there's so many applications that have not been created as a result that could have helped your organiz enterprise and helped your organization. So agents, what are they? Let's actually take a look bit of a dive and education on what an agent actually is so you can actually really understand how you can apply agents in your organization and specifically tying it with data bricks. So, an I at its core, an agent actually leverages an LLM model to actually accomplish reasoning in an open-ended multi-step process.
The open-ended part is key because it actually allows an agent to loop through a set of actions and tasks until it determines whether it's actually completed it or not. Now, traditionally, this has actually been a challenge in the industry for a lot of agent and agent builders that are out there today because of things like hallucinations and undeterministic outcomes. So, there had to be a better way to actually build an agent, design an agent on top of your data, but provide them with guardrail tooling to help accomplish the task that it actually needs to do.
So, and the other part, the other kind of key layer here is how can we actually all do this in a secure and governed way. So we need a platform that can actually tie to our data sources with SSO with arbback all of the security and governance controls that are expected for any large enterprise even SMB and mid-market to be very frank and then from there uh once you have an agent deployed uh the agents will actually decide when the job is completed and they'll decide when to actually terminate.
So what can you actually do with agents on top of your data right there's thousands of manual processes that are out there things like expenses reports scheduling provisioning IT access requests many of which you know that core underlying data resides in data bricks today and it just needs to be unleashed and unlocked for your agents to make decisions on that data but really machines are only a part of the process right at the bottom there you'll see that for the most part maybe we can achieve a model where we get 80% agent task completed by agents only and then 20% require some sort of human in the loop, some sort of human layer for approval.
And depending on the actual task at hand, that could be 955, you know, 9010, depends on how you tune your agent and what you're actually expecting it to complete. So this quote over here, 92% of companies are investing in AI, but only 1% describe AI implementations as mature. And that was from McKenzie earlier this year. So, you know, if you read between the lines, what that actually tells you, there's a lot of investment in underlying AI infrastructure, whether it's LLM models, whether it's staff, whether it's resources, but in terms of the actual results, the output, the ROI, it's not there yet or it's getting there.
We're in that inflection point right now. And you can argue that 2025 is the year of the agents and uh 2026 and 20 27 will be more even more complex agents going forward. So what are some of the more expanded use cases? Right? For classification and triage resolution, you could create an inbound SDR agent. You can do support IT ticket resolution. You can create a data analy data analysis agent for autonomous assistance and task automation.
Really at the end of the day, if you're provided with a platform and tooling to actually unlock your data that resides in data bricks, you yourselves, even in your current roles today, would be able to create applications on top of your data using retail agents. So the first step for any retool agent is to first select your actual LLM model. And really there's two two distribution types that we offer. You can choose one of the retool manage models.
We have dozens of them available. But there's a good chance in your organization you already have an existing relationship with a model vendor. Or perhaps you even have your own custom models available internally. So you can add your own uh add your own key in a bring your own key environment. That way you can leverage investments that you've already made. Now let's actually build a data bricks AI agent on top of retool.
So here are the key steps that you need to do and there really there's only four. There's configure, evaluate, deploy and observe. Really at the very first step is once you actually connect data bricks as a data source into the retool platform, you'll be able to configure agents and add data bricks as an actual tool to your AI agent. so that as it reasons through the task that's at hand, it will see data bricks as an available tool at its disposal to get data, get those insights and create uh actions and tasks on top of it.
Next, you'll have to evaluate. You want to you want to know what the expected behavior is. So, as part of our actual agent platform, we do provide an ability to upload data sets and evaluate. So you can actually see what an agent is actually expected to do and train your agents over time and edit prompts to make sure that you're getting the results that you're actually uh expected and then deploy. This is the coolest part in my opinion with the retool platform.
You can actually deploy agents as an AI chatbot within your web applications. You can invoke them through an email trigger. So you can email your actual agents or you can call them through a web hook as a programmatic process. Instead of being human to machine, it can be machine to machine using our retool workflows editor. So many ways to actually trigger an agent and really just depending on what your use case is and whether it needs to be scheduled or triggered on demand, we'll be able to accommodate for that.
And then finally, the performance. No agent platform will be good without a good performance and observability layer. The reason for that is you want to see you know how your model stack up against different tasks. You want to see how many tokens are being consumed. You want to see what the actual running cost is for these tasks that these agents are uh these these agents are actually uh accomplishing. All right. So the build process we're going to go through this a little quickly.
So first in the retool platform you would start by creating an agent. There's a bunch of templates and providers available for you or you can start from scratch. In this kind of example, we're actually creating like a support assistant agent where we're actually going to give it a set of instructions. We're going to choose the underlying model. And the next thing that we actually have to do is select a tool. From there, we need to actually arm this agent with the available tools that we have out of the box or create our own custom tool.
So, you'll see some examples here like being able to get calendar events, create documents, execute code, search the web, right? So very quickly you can combine these tools with your data that you have with data bricks and these are the actual management aspects of it where you can see the total cost tokens runtime and how it evaluates based on the data sets that you upload into the platform. So with a few minutes remaining I'm actually going to go ahead and play the demo and describe it for you so you can actually see it really in action to get an idea of what you can actually do with your underlying data bricks data.
All right, let's make sure we're playing. Perfect. So, what we're seeing here is we're actually seeing an agent being configured and we're going to actually provide it with some tools, right? So, I'm going to select the Google uh Google Google tools. We're going to access the data bricks tool. So, we're what how we're actually going to configure the data bricks tool is we're going to go into the function logic and we're actually going to actually connect into our data bricks sandbox environment.
So from here you can see we have a simple select star from our actual account data. Now that we've actually armed this account info tool, let's actually go to a hypothetical customer account dashboard. Here we see things like contracts, uh, industry types, dates, etc. Right? But what if I actually wanted to get some information, get some insights from this data that's actually being surfaced through data bricks. So from here, what we can do is we can actually go ahead and open up our Ask AI agent.
Now what you're seeing here is basically an application that was built using our web app builder. And here you actually have the agent chat component and we're actually going to invoke that agent that we just configured in the previous screen. So what we're doing now is like let's actually ask the agent can you tell me how many industries we have with our accounts. So now what the agent's going to do is it's actually going to think what set of tools do I actually have available at my disposal to actually uh to actually accomplish this task.
So you can see even within the chat we're showing like the reasoning output of the underlying agent. So it gives you kind of live feedback where you can kind of troubleshoot in real time. So you know in case if it does fail you know where to go but it gives you kind of that feedback as to the steps that it's actually um the steps that it's actually occurring. So now we can see it's using the account data agent uh that and it's using that specific tool that we saw here that will invoke the data bricks query.
So right now it's thinking and as it's thinking really this will depend on what kind of model you actually choose as your underlying LLM reasoning model whether it's a quick one and it's uh let's say cost effective or whether it's actually maybe more more expensive but very very detailed and deep. So you'll have to kind of balance both performance and cost. So you can see this agent really went through our data bricks data set that we had really uh classified all of the different types of accounts that we have and now this is great.
Let's actually see if we can put this into a doc and uh let's see if we can actually get the link. But we want to make sure that we want to prepare this as an executive summary to my VP. So uh let's actually test that agent. So now if you think about this, we actually have a tool where we're surfacing data from data bricks but now and we're with that data we're actually able to get insights and very shortly we're actually going to be able to perform actions on those insights.
So, as it's thinking, it's going to great create a new Google Doc. It has to create a new Google Doc. That's great. And now, shortly after, it's going to have to update it with a VP executive summary. So, we'll give that a few more seconds. And as it's thinking, it will now create this doc and give and provide us the link here shortly. All right. And now it's updating the dock. All right. Now we have our new doc. So let's actually go ahead and open it in a new tab just to validate it.
Great. Now our AI agent using that underlying data bricks data has actually given us the insights in terms of the percentage distribution, the key findings, etc. All right. Now that I have a doc, it's quite useless without actually performing some sort of actions on it. So let's actually schedule a meeting with my VP for open time slots that I have next week. So now I'm just going to ask the agent because we saw earlier that we gave it a tool to be able to look at calendar invites, open slots, schedule meetings.
So let's actually go ahead and do that right now. And then after a few seconds, it's going to determine the tool that it needs to use. In this case, using the Google calendar tool. And then we'll see it actually from there uh create the meeting slot invite. Now with this one, this particular agent is being powered by Claude Opus 4. So for those of you in the software development space quite a heavyweight reasoning model I could have used a quicker easier model quicker and easier model for this just to kind of balance performance and speed but I did I wanted to make sure that I actually had the mo most accurate data as it was surfing it surfacing it from data bricks.
So we can see the actual steps that it's taking and we see that it actually uh from here scheduled a new meeting on Thursday, June 19th, 2025 Pacific time. So let's make sure there it is and you can see it's scheduled with my VP Francisco. It gave us a document link and it gave us a brief little summary as to what to expect for this particular meeting. So this was an endto-end process that was actually triggered by a human uh by me by simply chatting and prompting with the agent itself.
As you can imagine, we can have this even more automated as well into an actual workflow. So, the key takeaway here is that with Retool, we provide you the actual tools that you need to build these agents, get the insights from your data, and perform actions on top of it. So, with that, I do want to thank everyone that's been actually in the in the crowd today. We are hosting a raffle at 2 p. m. by the Retool booth in the data integrations gallery.
So, if you haven't picked up a raffle ticket, pick one up on your way out with Shireen and Prity and we'll see you at the booth at two. I'll stick around here for any kind of questions, for any kind of Q&A. But with that, you know, it's the end of the conference. I want to thank you for showing up here after lunch. I hope this was a good use of your time and thank you very much for uh for your time here.
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.