Skip to content

Agents for Amazon Bedrock

Agents for Amazon Bedrock offers you the ability to build and configure autonomous agents in your application. For more information, visit the AWS documentation here.

Prerequisites

The principal must have the following permissions:

Configurations

agenteval.yml
target:
  type: bedrock-agent
  bedrock_agent_id: my-agent-id
  bedrock_agent_alias_id: my-alias-id
  bedrock_session_attributes:
    first_name: user-name
  bedrock_prompt_session_attributes:
    timezone: user-timezone

bedrock_agent_id (string)

The unique identifier of the Bedrock agent.


bedrock_agent_alias_id (string)

The alias of the Bedrock agent.


bedrock_session_attributes (map; optional)

The attributes that persist over a session between a user and agent, with the same sessionId belong to the same session, as long as the session time limit (the idleSessionTTLinSeconds) has not been surpassed. For example:

bedrock_session_attributes:
  first_name: user-name

bedrock_prompt_session_attributes (map; optional)

The attributes that persist over a single call of InvokeAgent. For example:

bedrock_prompt_session_attributes:
    timezone: user-timezone