Disassociate collaborator agent - Amazon Bedrock

Disassociate collaborator agent

You can disassociate one or more collaborator agents from the supervisor agent in the Amazon Bedrock console, using the APIs, using the AWS CLI, or by using the AWS SDK. To learn how to disassociate a collaborator agent choose the tab for your preferred method, and then follow the steps:.

Console
To disassociate collaborator agent from the supervisor agent,
  1. If you're not already in the agent builder, do the following:

    1. Sign in to the AWS Management Console using an IAM role with Amazon Bedrock permissions, and open the Amazon Bedrock console at https://console.aws.amazon.com/bedrock/.

    2. Select Agents from the left navigation pane. Then, choose an agent in the Agents section.

    3. Choose Edit in Agent builder.

  2. In the Agent builder, scroll down to the Multi-agent collaboration section and choose Edit.

  3. In the Multi-agent collaboration page, choose Expand all.

  4. In the Agent collaborator sections, go to the collaborator agent section you want to disassociate and choose the trash can icon.

  5. After you've finished disassociating collaborator agents, choose Save and then Prepare to test your updated multi-agent collaboration configurations. To learn how to test your multi-agent collaboration team, see Test and troubleshoot agent behavior.

  6. To return to the Agent Details page, choose Save and exit.

API

To disassociate a collaborator agent, send an DisassociateAgentCollaborator request with an Agents for Amazon Bedrock build-time endpoint. Because all fields will be overwritten, include both fields that you want to update as well as fields that you want to keep the same..

To apply the changes to the working draft, send a PrepareAgent request with an Agents for Amazon Bedrock build-time endpoint. Include the agentId in the request. The changes apply to the DRAFT version, which the TSTALIASID alias points to.

You must minimally include the following fields:

Field Use case
agentId The agent ID.
agentVersion The agent version.
collaboratorId The collaborator agent ID.