Prerequisites for creating Amazon Bedrock Agents
Ensure that your IAM role has the necessary permissions to perform actions related to Amazon Bedrock Agents.
Before creating an agent, review the following prerequisites and determine which ones you need to fulfill:
-
You must set up at least one of the following for your agent:
-
Action group – Defines actions that the agent can help end users perform. Each action group includes the parameters that the agent must elicit from the end-user. You can also define the APIs that can be called, how to handle the action, and how to return the response. To see the quota for action groups in an agent, refer to the Action groups per Agent quota in Amazon Bedrock endpoints and quotas in the AWS General Reference. You can skip this prerequisite if you plan to have no action groups for your agent.
-
Knowledge base – Provides a repository of information that the agent can query to answer customer queries and improve its generated responses. Associating at least one knowledge base can help improve responses to customer queries by using private data sources. To see the quota for knowledge bases attached to an agent, refer to the Associated knowledge bases per Agent quota in Amazon Bedrock endpoints and quotas in the AWS General Reference. You can skip this prerequisite if you plan to have no knowledge bases associated with your agent.
-
-
(Optional) Create a custom AWS Identity and Access Management (IAM) service role for your agent with the proper permissions. You can skip this prerequisite if you plan to use the AWS Management Console to automatically create a service role for you.
-
(Optional) Create a guardrail to implement safeguards for your agent and to prevent unwanted behavior from model responses and user messages. You can then associate it with your agent.
-
(Optional) Purchase Provisioned Throughput to increase the number and rate of tokens that your agent can process in a given time frame. You can then associate it with an alias of your agent when you create a version of your agent and associate an alias with it.