Agent
¶
Source code in docs_src/capo_bedrock_agent/types/agent.py
agent_collaboration
instance-attribute
¶
agent_collaboration: NotRequired[AgentCollaboration]
The agent's collaboration settings.
agent_resource_role_arn
instance-attribute
¶
agent_resource_role_arn: AgentRoleArn
The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
agent_status
instance-attribute
¶
agent_status: AgentStatus
The status of the agent and whether it is ready for use. The following statuses are possible:
-
CREATING – The agent is being created.
-
PREPARING – The agent is being prepared.
-
PREPARED – The agent is prepared and ready to be invoked.
-
NOT_PREPARED – The agent has been created but not yet prepared.
-
FAILED – The agent API operation failed.
-
UPDATING – The agent is being updated.
-
DELETING – The agent is being deleted.
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
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.
custom_orchestration
instance-attribute
¶
custom_orchestration: NotRequired[CustomOrchestration]
Contains custom orchestration configurations for the agent.
customer_encryption_key_arn
instance-attribute
¶
customer_encryption_key_arn: NotRequired[KmsKeyArn]
The Amazon Resource Name (ARN) of the KMS key that encrypts the agent.
description
instance-attribute
¶
description: NotRequired[Description]
The description of the agent.
failure_reasons
instance-attribute
¶
failure_reasons: NotRequired[FailureReasons]
Contains reasons that the agent-related API that you invoked failed.
foundation_model
instance-attribute
¶
foundation_model: NotRequired[ModelIdentifier]
The foundation model used for orchestration by the agent.
guardrail_configuration
instance-attribute
¶
guardrail_configuration: NotRequired[GuardrailConfiguration]
Details about the guardrail associated with the agent.
idle_session_ttl_in_seconds
instance-attribute
¶
idle_session_ttl_in_seconds: SessionTTL
The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
instruction
instance-attribute
¶
instruction: NotRequired[Instruction]
Instructions that tell the agent what it should do and how it should interact with users.
memory_configuration
instance-attribute
¶
memory_configuration: NotRequired[MemoryConfiguration]
Contains memory configuration for the agent.
orchestration_type
instance-attribute
¶
orchestration_type: NotRequired[OrchestrationType]
Specifies the orchestration strategy for the agent.
prepared_at
instance-attribute
¶
prepared_at: NotRequired[DateTimestamp]
The time at which the agent was last prepared.
prompt_override_configuration
instance-attribute
¶
prompt_override_configuration: NotRequired[PromptOverrideConfiguration]
Contains configurations to override prompt templates in different parts of an agent sequence. For more information, see Advanced prompts.
recommended_actions
instance-attribute
¶
recommended_actions: NotRequired[RecommendedActions]
Contains recommended actions to take for the agent-related API that you invoked to succeed.
updated_at
instance-attribute
¶
updated_at: DateTimestamp
The time at which the agent was last updated.