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.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image