Skip to main content

Autonomous AI Agents in AI Infrastructure

Summary

  • Autonomous AI agents architecture: This video explores the architecture and design principles required to build autonomous AI agents within scalable AI infrastructure for real-time decision-making.
  • Modular, reusable frameworks: This video covers constructing modular frameworks using containerization and orchestration techniques to enhance agent flexibility and performance while enabling low-latency decisions.
  • Robustness and ethics considerations: Participants learn about ensuring robust agent behavior, addressing ethical considerations and implementing feedback loops for continuous improvement in autonomous AI systems.

Autonomous AI Agents in AI Infrastructure

Watch: Autonomous AI Agents in AI Infrastructure
Talk by Apurva Kumar, Principal Software Engineer, Walmart Global Tech
Autonomous AI agents are transforming industries by enabling systems to perform tasks, make decisions and adapt in real time without human intervention. In this talk, I will delve into the architecture and design principles required to build these agents within scalable AI infrastructure. Key topics will include constructing modular, reusable frameworks, optimizing resource allocation and enabling interoperability between agents and data pipelines. I will discuss practical use cases in which attendees will learn how to leverage containerization and orchestration techniques to enhance the flexibility and performance of these agents while ensuring low-latency decision-making. this video will also highlight challenges like ensuring robustness, ethical considerations and strategies for real-time feedback loops. Participants will gain actionable insights into building autonomous AI agents that drive efficiency, scalability and innovation in modern AI ecosystems.
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

Chapters

FAQs

What are autonomous AI agents and how do they differ from traditional systems?

Autonomous AI agents are systems that perform tasks, make decisions and adapt in real time without human intervention, using AI infrastructure to enable decision-making at scale and speed.

What architectural principles are essential for building scalable AI agents?

Key principles include modular, reusable frameworks; optimized resource allocation; containerization and orchestration for flexibility; and low-latency decision-making capabilities integrated with data pipelines.

what are ai agents?

This video explains AI agents as autonomous systems that perceive their environment, make decisions, and take actions toward goals. Agents use reasoning to determine next steps rather than following predetermined workflows. The Databricks Data and AI platform provides infrastructure for building, governing, and scaling agents.

How do enterprises govern autonomous AI agents?

This video discusses governing autonomous AI agents in enterprise environments through the Databricks Data and AI platform. The platform provides control planes for agent access, tool validation, and comprehensive audit logging. Organizations maintain governance and security while enabling agent autonomy.

How will autonomous AI agent swarms change security operations over the next 3 years?

This video explores how agent swarms (multiple coordinated agents) will transform security operations. The Databricks Data and AI platform prepares organizations for this transition through scalable governance. Swarms will enable faster response to threats while distributed decision-making maintains organizational control.

Full transcript

0:00 Introduction and motivation

Uh thanks everybody for joining in. Uh I have been working in the ML and data infrastructure space for the past 15 years at companies like Uber, Amazon and Walmart. And uh today I'm going to present on a like an it's an individual study that I did uh over the past one year. and the topic is on the autonomous AI agents and how to leverage those in the AI infrastructure space. Let's introduce um like why why why AI infrastructure is so important in this in the computing world.
So it is the like the backbone of the nearly all the AI applications that you use out there. So whether you are using a like a chat agent from meta or like or or a shopping agent from Amazon Rufus or or you are interacting with the day-to-day with any of the AI application somewhere down the line they are using some models inside either embedded as a like a service or an agent these days that's fairly common and u so where is the gap like um traditional AI infrastructure it's been heavily focused on human like it's like It's more policy based and it's very human-driven.
Uh like if you look at the application side, we have moved on to using AI agents a lot. But if you look at the infra side, the one the one that is maintained by DevOps inside your companies, you might still feel that we are not leveraging AI agents uh or might have started using it but not to the full effect. And uh one of the uh key problems uh that some of these application they have started leveraging AI infrastructure AI agents in the AI infrastructure they are focusing on like bits and pieces of the infrastructure not like a holistic view.
So there is definitely a research gap uh that is not looking at the AI infrastructure in a holistic space and by what and to give you like a real example like this is like one of the uh like why we do we need like an AI agent in the like autonomous agents in the AI infrastructure space. So one of the examples there are like numerous outages that have happened in the industry like one of them like the key one that at Amazon happened in 2017 when a DevOps uh while doing like a routine maintenance task he was upgrading some server there was a typo in the server like the query that he issued and it took down like S3 nodes from the rotation and what happened was there was like a massive outage for like many hours and uh it costed like S&P 500 like $150 million So this was like an example where something like an AI agent that does lot of automation like it does things on its own with the rule based or like learning based checks that can avoid those typos in the first place.
So DevOps is there can be code reviews but still there can be typos and it happens now and then in the industry quite often. So that's where like u that's where this study is all about like how to leverage this AI agents in this uh infra and u the overall objective is not just to use them but to uh to make them selfmanaging and make them scalable and energy efficient as well. So and I will focus on why energy is so important in AI infra.
You might have already known that without we being efficient in the like using of the power uh it's not going to scale in the long run and this is based out of a publication. It's uh the paper link is here in the slide. So what are AI agents? So I mean these are like autonomous system that basically does three things. They perceive the environment. they process information and performs actions. So perception is like they take some inputs that they take uh inputs from like sensors or data or metrics that in the infrastructure space they can look at all these different metrics of the server side like how much like compute is being used disk is being used memory is being used those is the perception input and then the decision-m layer either can have like algorithms or like models like we can use like leverage like RNN uh like a learning model that can make decisions for us and the action is what the action the AI agent took.

3:43 Understanding AI agents

So the examples of uh these AI agents are quite common. I mean they have for the past six months or one year they have like exploded in the industry. People have been using it for like different use cases for like coding based editors to like chat bots to like recommendation system to and they are also being leveraged in autonomous vehicles also now. So why do we need AI agents in the infrastructure space? I have touch touched this upon in the introduction slide but we do want our infrastructure to be more dynamic and resilient to failure.

4:45 Benefits of AI infrastructure

Humans are always been helping her for the past 20 30 years in the tech industry but it's time now to also adopt the AI agents in along with the humans. So we have a DevOps community we have data engineering community but we also need AI agents to play together with them as well and they can help in many folds. They can do things like fault recovery pretty quickly. They can do resource optimization for us. They can do sustainability goals like like allocate nodes based on the power capacity and reallocate nodes based on power needs or the energy utilization.
So those are the metrics that they can take actions on and uh or they can also do like real-time threat analysis. They like like instead of somebody reporting on uh like on social media that hey you have a security threat and things go wrong for you. They can do realtime monitoring of the logs and see if there is perceived threat to your data or or users uh that you are serving and they are not going to replace humans.
I mean they are going to collaborate with humans. That's the end goal that what like everybody wants to see like humans are going to be in the loop and they can be more efficient u as as we go. So what are the different type of AI agents? So at a broader category there are like five different categories. There can be more based on different studies that are coming out. So one is the like reactive agent. Reactive agents are like they don't have any memory.

6:06 Categorizing AI agents

They just give immediate response. So it can be like a chess playinger. You can have a chess agent that you are playing against. They can give you a response without using much memory or very little memory. The model bas are more like they have internal states. So for example, you have a thermostat based model that adjust to based on some patterns like time of the day, energy or or the or the temperature inside the house.
Those are the things that a model based agent you can leverage. Google based agent are more towards like earning at some objective like you're building like a like say last mile delivery bot for your company and u those those are the example of autonomous robots they have a goal to deliver they're uh go from point A to point B without getting obstructed on the way utility based agents are more like for like based on some utility like example like they have like a business goal in mind for example like a financial trading system can be example of a utility based agent agent learning agents are more like uh they adopt through their past experience or historical experience.
So for example like if you are like a voice assistant like a Siri or Alexa that's where like learning based agent might be more useful. So in terms of if you map these AI agents to AI infrastructure I think like the learning based agent have a better fit because you want to learn from the historical uh data as well as the real-time inference that your models are making. So those like logs, metrics, real-time metrics, real-time logs, those are the key input that can help your model perceive and make uh decisions.
So yeah like choosing the right agent there are like different uh dimensions that you can use it like one is the task complexity. Are there like simple task or multifaceted task? That is one criteria like is your agent doing just one thing or are you is your agent doing multiple things like you can build like a like a tourist uh AI agent that can do like airline booking bus booking and things like that is like a multifaceted example versus just chatting is that can be like a single faceted environment like uh what kind of environment this AI agent is going to behave in that is another criteria resources how much memory and or like or CPU or GP CPU that you are going to uh give that is another choosing criteria and the scalability like is it serving like few users or like thousands and millions of users that is another area that you can choose your agents on.

7:53 Choosing the right agent

So this is an example of like it's an illustration of an AI infrastructure that you can use in your like like can be applied in AI infrastructure space. So the middle tier is the like like a manager tier. If you're looking at Kubernetes architecture, the green nodes uh the can be in the Kubernetes managing architecture and the orange nodes can be in the worker tier. That's where your actual containers are running. And then we have a feedback loop uh which is uh which can perform like different aspects of your uh goals of your AI agent.

8:47 System architecture design

It can be uh like a sorry it can be based on the performance. It can be energy or it can be security based on what what are you optimizing for and at the top is your data that is your real-time user events or any like clickthrough events that are coming to your system. So the core like the core of this is the middle tier the manager tier that's where you are you're going to utilize the AI agents and we have a decision t tuning layer the white box right there and u it takes continuous feedback from the real-time metrics and the users uh and uh that is where you can tune your models to make the optimal decision for a particular event.

9:58 Core functions and energy

So like I said real-time decision making layer is the core of this uh entire system and u you can use like different type of uh like for this study I did uh like I used a learning based agent like a re I'll use RNN and also had this rule based logic as the another aspect. So I coded hardcoded all the rules there like given an event what will the kubernetes master is going to decide like is it going to do decision a versus b and the rnn is something that I uh trained uh on a set of data I'll talk more about that in future slide and the key functions that I evaluated this setup was uh three-fold one was the adaptive load balancing like like you want to make sure that you are making a real-time decision uh on your existing Like the routing task like given an input event which node you are going to send your data uh event to for actions and if you have like some node failures or you have some bottlenecks how are you going to do heal healing on it and also these agents can do elastic scaling for you and uh so that you can handle unpredictable loads and uh also given we have a feedback loop on energy we can utilize our we can downsize or upsize our cluster based on the energy utilization ation.
So another aspect that I focused on was the fault recovery. So like we want to have like an automatic failure detection. Uh so that uh based on like the real-time health events we can detect our failures and do um like compared to a rule based or human based it will take a lot of time but with the AI agents being detecting it in the real time it will be much faster. They can do root cause analysis for you reading the logs.
They can do like ML based correlation for you and enhance those logs so that it's more readable for the humans. They can do self-healing uh restarting a service, rerouting a traffic, those sort of things that it can do. They can state preserve and roll back in case you fa encounter a rollout failure with a new like let's say you roll out a new version of your software, it it has some issues, they can do the roll backs for you.
The other goal that I focused on was the energy like based on like uh different uh C like power consumptions uh of these different uh u like different type of uh compute nodes like CPUs, GPUs or TPUs. You can control like uh how much resource they are going to use and uh you can do this dynamic resource up scaling up and down. Similarly, you can do load shedding. You can do hardware aware decision making like if you have a compute task, you can choose the right task based on the hardware that is available to you.
And you can also focus on green AI principles so that uh your architecture is well suited for the like the like the green AI goal if your org has it that in in mind. So for the AB experiment setup like there were two groups. One is the treatment group, one is the control group. For the treatment group I used a learning based agent uh agents. So it's like a multi- aent environment where there's uh it's all they are based on RNNs and the control group is more on like a rule based like traditional AI infrastructure that has been in industry and the and the input data that I used was from the Google Google has this open uh cluster workload data sets that is publicly available.

12:52 Experiment methodology

So this was the input uh that I ran my cluster setup against and the key metrics that I monitored was the resource utilization how much is resources I'm using the fault recovery time and the energy consumption and uh like the outcomes were pretty promising for the agents for example for the rule based um like I had like two two dimensions one is the like the rules and the third was the human intervention and uh if you look at the results um like using the AI agents I found like 30% higher resource efficiency and 50% reduction in the fault recovery.

13:33 Performance results

So definitely AI gents have much better resource utilization compared to traditional rulebased system that we have in place in industry right now and uh they also have tend to do better better in terms of fault recovery. So if you have like nodes going down or you have some error fatal errors they can do quick action using the log analysis and take actions on their own or involve human in the loop. The other aspect was the energy efficiency utilization here also uh like for example like load load redistribution putting the right load on the right node that was another criteria.
So we saw like 40% reduction in the energy cost and uh we have like better like it it definitely leads to better environmental uh sustainability. So last but not the least uh like the autonomous agents are not going to replace humans. They are going to help humans especially in the DevOps data engineering community or like uh or or anybody who is on the like in production environment they are going to help them and uh like I said human in the loop is going to be the future and u collaboration examples can be multiffold like uh like agent can for example automate a pipeline and human can approve the release agent can propo propose a fix if it's like a normal fix it can apply on its own but If it needs a like a human review, it can send it for human review.

14:40 Human-agent collaboration

It can do like u root cause analysis. It can do uh train the jobs, rank the jobs and human can adjust the priorities for the those jobs. Uh the other final aspect I want to touch on is the ethical and the regulatory considerations. Uh AI agents needs to be ethically sound like they need to be transparent and fair in decision- making. Uh they they which we need to introduce like bias metrics. So while we are in deploying these AI infra AI agents in the infrastructure space, we need to have those metrics in place like example being disperate impact which controls like racial bias or or those aspect touches on like those aspects, allocation fairness and resource fairness index.

15:29 Ethical and compliance

It has to like in in a multi-reion environment you need to have like allocation fairness so that one region is not being uh heavily utilized and others being like like less utilized. So these kind of uh like bias metrics needs to be in place before we even uh like uh deploy them in production. And of last but not the least they have to be compliant with the data protection standards because they are reading real user events in real time.
They need to follow all these uh policies like HIPPA GDPR and so forth. Uh so some of the codes that are really powerful in the space is like from one is management. Uh so this one is makes like the energy and the AI in AI tightly coupled together like we cannot get enough AI in the world if we don't have enough energy. So energy uh has to be one of the three pillars that we should focus our next set of uh like AI infrastructure and they study from Gartner that uh uh that in the next 5 years we'll have like 150% utilization additional utilization in the data centers just running AI applications and the world doesn't have that much energy right now and then this is confirmed like like he has mentioned that like in the next 10 years or 5 years we will be needing much more power than what we have right now and this is not sustainable in the long run if we don't have energy in mind right now.

16:32 Energy and future outlook

So like data centers and energy they are tightly coupled right now and next five years we should focus on solutions that are energy efficient and I think when we deploy these AI gent infrastructure which which is purely like the data centers we should keep those things in mind like the principles that have been discussed here. So to conclude like autonomous AI agents will make things more dynamic and resilient in data centers. they will be making better decisions compared to humans.

17:50 Conclusion

They will have less typos, those kind of human errors that can be overlooked uh because they can be trained uh on historical data and they they will not try to make those mistakes and uh humans are going to be in the loop. They're not going to go away. I mean, they will be more efficient, 10x more efficient as a DevOps community using AI agents. And uh last but not the least, please fill out the survey if you like the talk.
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.