Agent

class Agent

Contains details about an agent.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Amazon Resource Name (ARN) of the agent.

Link copied to clipboard

The agent's collaboration settings.

Link copied to clipboard

The unique identifier of the agent.

Link copied to clipboard

The name of the agent.

Link copied to clipboard

The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.

Link copied to clipboard

The status of the agent and whether it is ready for use. The following statuses are possible:

Link copied to clipboard

The version of the agent.

Link copied to clipboard

A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.

Link copied to clipboard

The time at which the agent was created.

Link copied to clipboard

The Amazon Resource Name (ARN) of the KMS key that encrypts the agent.

Link copied to clipboard

Contains custom orchestration configurations for the agent.

Link copied to clipboard

The description of the agent.

Link copied to clipboard

Contains reasons that the agent-related API that you invoked failed.

Link copied to clipboard

The foundation model used for orchestration by the agent.

Link copied to clipboard

Details about the guardrail associated with the agent.

Link copied to clipboard

The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent.

Link copied to clipboard

Instructions that tell the agent what it should do and how it should interact with users.

Link copied to clipboard

Contains memory configuration for the agent.

Link copied to clipboard

Specifies the orchestration strategy for the agent.

Link copied to clipboard

The time at which the agent was last prepared.

Link copied to clipboard

Contains configurations to override prompt templates in different parts of an agent sequence. For more information, see Advanced prompts.

Link copied to clipboard

Contains recommended actions to take for the agent-related API that you invoked to succeed.

Link copied to clipboard

The time at which the agent was last updated.

Functions

Link copied to clipboard
inline fun copy(block: Agent.Builder.() -> Unit = {}): Agent
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String