Building Multi-Agentic AI Workflows Using Amazon Bedrock

Building Multi-Agentic AI Workflows Using Amazon Bedrock
Building Multi-Agentic AI Workflows Using Amazon Bedrock

CLOUD LABS



Building Multi-Agentic AI Workflows Using Amazon Bedrock

In this Cloud Lab, you’ll build a multi-agentic system using Amazon Bedrock, S3, Lambda, and integrate an agent with a Flask web application.

8 Tasks

intermediate

2hr

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

Hands-on experience building a multi-agent system using Amazon Bedrock
The ability to configure Bedrock Agents with action groups linked to AWS Lambda functions
The ability to design and implement a supervisor agent for coordinating multiple agents
Hands-on experience integrating Bedrock Agent with a frontend application to handle real-time queries

Technologies
Bedrock
Lambda logoLambda
S3 logoS3
Cloud Lab Overview

Amazon Bedrock enables developers to integrate powerful generative AI models without the complexity of model training, infrastructure management, or scaling. You can build intelligent multi-agent applications that process and respond to user queries using advanced AI techniques efficiently.

In this Cloud Lab, you’ll begin by creating and populating a dataset in an Amazon S3 bucket. This dataset will serve as the source for hotel and restaurant information that your agents will use to generate recommendations.

Next, you’ll create two Bedrock Agents: the hotel and restaurant agents. Each agent will be configured with its own action group, which links the agent to an AWS Lambda function. These Lambda functions will be responsible for retrieving, filtering, and returning relevant results from the dataset in S3. The Hotel Agent will process queries based on city and budget, while the restaurant agent will focus on city and cuisine.

After setting up specialized agents, you’ll create a supervisor agent that coordinates requests and determines when to invoke the hotel agent, the restaurant agent, or both in parallel. This ensures that user queries are intelligently routed and handled by the appropriate agents.

Finally, you’ll integrate the supervisor agent with a simple frontend web application, enabling users to submit natural language queries and receive clear, structured recommendations. The supervisor agent will orchestrate agent collaboration, merge the results, and deliver concise responses back to the frontend in real time.

After completing this Cloud Lab, you’ll have the skills to use Amazon Bedrock to create multi-agent systems, integrate them with AWS services like S3 and Lambda, and connect them to a frontend application. You will also gain hands-on experience building agent collaboration workflows and designing a recommendation engine powered by generative AI.

The following is the high-level architecture diagram of the infrastructure you’ll create in this Cloud Lab:

End-to-end multi-agentic AI workflow using Amazon Bedrock
End-to-end multi-agentic AI workflow using Amazon Bedrock

Cloud Lab Tasks
1.Introduction
Getting Started
2.Configure Multi-Agentic Flow
Create an S3 Bucket
Create and Configure the Hotel Agent
Create and Configure the Restaurant Agent
Create the Supervisor Agent
Integrate the Supervisor Agent with a Flask Application
3.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Relevant Course

Use the following content to review prerequisites or explore specific concepts in detail.

Hear what others have to say
Join 1.4 million developers working at companies like