From the course: Cloud-Based Agentic AI Design Patterns
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Serverless agent capability functions
From the course: Cloud-Based Agentic AI Design Patterns
Serverless agent capability functions
- So when we put the entire agent into a container, we basically are deploying the application as a whole. This may be totally fine for many agents, especially those that don't get invoked too often, or those with a narrow functional scope, meaning that they may only have one or a few lightweight capabilities that they carry out. But for an agent with a more coarse grained action module that contains the logic to carry out a set of capabilities, especially ones we need to invoke more frequently, we might be imposing too much processing overhead to invoke and load the entire application each time one of those capabilities needs to be executed. To better optimize the processing of agent action logic, we can use serverless computing, which is a very common cloud-based technology, whereby we can build and run applications without managing the underlying servers, and we can use serverless functions to encapsulate small single purpose logic that is executed in a way so that the cloud…