Create a Bedrock agent
Shows how to set up your Agent in Amazon Bedrock.
After you have created a knowledge base, you can use it to create an agent on Amazon Bedrock.
Before you begin this guide, you will need:
-
A Bedrock knowledge base connected to a Redis Cloud vector database.
Create an agent
-
Sign in to the AWS console.
-
Use the Services menu to locate and select Machine Learning > Amazon Bedrock. This takes you to the Amazon Bedrock admin panel.
-
Select Agents > Create Agent to create your knowledge base.
-
In the Agent name section, enter a name and description for your agent.
-
Select whether or not you want the agent to be able to ask for additional information in the User input section.
-
Select the IAM role for the Bedrock agent in the IAM Permissions section.
-
Choose how long you want your idle session timeout to be in the Idle session timeout section. Select Next to continue.
-
In the Model details section, choose which model you want to use and enter the instructions for your agent. Select Next to continue.
-
In the Action groups section, you may specify any tasks you would like the agent to perform. Select Next to continue.
-
Select the knowledge base you created and summarize the information in the knowledge base in the Knowledge base instructions for Agent form. Select Add another knowledge base if you would like to add multiple knowledge bases.
Select Next to continue.
-
Review your agent before you create it. Select Create Agent to finish creation.
Amazon Bedrock will create your agent and link it to your knowledge base. This will take some time.
Your agent will have a status of Ready when it is ready to be tested.
Select the name of your agent to view the versions and draft aliases of your agent. You can also test your agent by entering prompts in the Enter your message here field.