Agents for Amazon Bedrock - Amazon Bedrock

Agents for Amazon Bedrock

Agents for Amazon Bedrock offers you the ability to build and configure autonomous agents in your application. An agent helps your end-users complete actions based on organization data and user input. Agents orchestrate interactions between foundation models (FMs), data sources, software applications, and user conversations. In addition, agents automatically call APIs to take actions and invoke knowledge bases to supplement information for these actions. Developers can save weeks of development effort by integrating agents to accelerate the delivery of generative artificial intelligence (generative AI) applications .

With agents, you can automate tasks for your customers and answer questions for them. For example, you can create an agent that helps customers process insurance claims or an agent that helps customers make travel reservations. You don't have to provision capacity, manage infrastructure, or write custom code. Amazon Bedrock manages prompt engineering, memory, monitoring, encryption, user permissions, and API invocation.

Agents perform the following tasks:

  • Extend foundation models to understand user requests and break down the tasks that the agent must perform into smaller steps.

  • Collect additional information from a user through natural conversation.

  • Take actions to fulfill a customer's request by making API calls to your company systems.

  • Augment performance and accuracy by querying data sources.

To use an agent, you perform the following steps:

  1. (Optional) Create a knowledge base to store your private data in that database. For more information, see Knowledge bases for Amazon Bedrock.

  2. Configure an agent for your use case and add at least one of the following components:

  3. (Optional) To customize the agent's behavior to your specific use-case, modify prompt templates for the pre-processing, orchestration, knowledge base response generation, and post-processing steps that the agent performs. For more information, see Advanced prompts in Amazon Bedrock.

  4. Test your agent in the Amazon Bedrock console or through API calls to the TSTALIASID. Modify the configurations as necessary. Use traces to examine your agent's reasoning process at each step of its orchestration. For more information, see Test an Amazon Bedrock agent and Trace events in Amazon Bedrock.

  5. When you have sufficiently modified your agent and it's ready to be deployed to your application, create an alias to point to a version of your agent. For more information, see Deploy an Amazon Bedrock agent.

  6. Set up your application to make API calls to your agent alias.

  7. Iterate on your agent and create more versions and aliases as necessary.