@cdklabs/generative-ai-cdk-constructs
@cdklabs/generative-ai-cdk-constructs / bedrock / AgentCollaborator
DEF - Agent Collaborator Class ***************************************************************************
new AgentCollaborator(
props):AgentCollaborator
AgentCollaborator
readonlyagentAlias:IAgentAlias
readonlycollaborationInstruction:string
Instructions on how this agent should collaborate with the main agent.
readonlycollaboratorName:string
A friendly name for the collaborator.
readonlyoptionalrelayConversationHistory:boolean
Whether to relay conversation history to this collaborator.
- undefined (uses service default)
_render():
AgentCollaboratorProperty
Internal
Format as CFN properties
This is an internal core function and should not be called directly.
AgentCollaboratorProperty
grant(
grantee):Grant
Grants the specified principal permissions to get the agent alias and invoke the agent from this collaborator.
IGrantable
The principal to grant permissions to
Grant
The Grant object