Building Multiple Agents Using CrewAI and Bedrock

Building Multiple Agents Using CrewAI and Bedrock
Building Multiple Agents Using CrewAI and Bedrock

CLOUD LABS



Building Multiple Agents Using CrewAI and Bedrock

In this Cloud Lab, you’ll build CrewAI agents with Amazon Bedrock to future-proof your skills by creating Knowledge Bases, using foundational models, and integrating vector stores.

8 Tasks

intermediate

1hr 30m

Certificate of Completion

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

Learning Objectives

Thorough understanding of Bedrock Knowledge Bases
Basic understanding of setting up an RDS vector store database using PostgreSQL
Hands-on experience working with CrewAI agents
Hands-on experience creating tools in CrewAI that leverage AWS Bedrock Knowledge Bases

Technologies
Bedrock
RDS
S3 logoS3
Cloud Lab Overview

Amazon Bedrock is a service that provides foundational models from companies like Anthropic, Cohere, and Meta. It has various features that allow us to build generative AI applications. You can also use Amazon Bedrock to build knowledge bases using the foundational models available and then create AI agents using third-party platforms such as CrewAI, a framework that allows us to create, coordinate, and manage AI agents.

In this Cloud Lab, you’ll create an S3 bucket and upload data about a hypothetical company. You’ll then create an Aurora cluster and use it as a vector store of the knowledge base. You’ll also use AWS Secrets Manager to store Aurora cluster credentials. After this, you’ll enable the Amazon Titan foundational model and use it to create a knowledge base in Amazon Bedrock. Finally, you’ll create CrewAI agents that will use the knowledge base you created to reply to user queries and test these agents by assigning them different tasks.

After completing this lab, you’ll be well-equipped to use Bedrock Knowledge Bases and base models in your AI applications and will be able to build CrewAI agents integrated with Amazon Bedrock. The following is the high-level architecture diagram of the infrastructure you’ll create in this Cloud Lab:

Building CrewAI agents powered by Amazon Bedrock
Building CrewAI agents powered by Amazon Bedrock
Cloud Lab Tasks
1.Introduction
Getting Started
2.Provisioning the Required Resources
Create an S3 Bucket
Create an RDS Cluster
Configure the Amazon Aurora PostgreSQL Cluster
3.Create a Knowledge Base and CrewAI Agents
Create a Knowledge Base
Create the CrewAI Agent
4.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 Courses

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