> **Experimental**
>
> `@aws-cdk/aws-bedrock-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# AgentCollaboratorType

Enum for collaborator's relay conversation history types.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`bedrock/agents/agent-collaborator.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-bedrock-alpha/bedrock/agents/agent-collaborator.ts#L10)

## Example

```ts
// Create a specialized agent
const customerSupportAgent = new bedrock.Agent(this, 'CustomerSupportAgent', {
  instruction: 'You specialize in answering customer support questions.',
  foundationModel: bedrock.BedrockFoundationModel.AMAZON_NOVA_LITE_V1,
});

// Create an agent alias
const customerSupportAlias = new bedrock.AgentAlias(this, 'CustomerSupportAlias', {
  agent: customerSupportAgent,
  agentAliasName: 'production',
});

// Create a main agent that collaborates with the specialized agent
const mainAgent = new bedrock.Agent(this, 'MainAgent', {
  instruction: 'You route specialized questions to other agents.',
  foundationModel: bedrock.BedrockFoundationModel.AMAZON_NOVA_LITE_V1,
  agentCollaboration: {
    type: bedrock.AgentCollaboratorType.SUPERVISOR,
    collaborators: [
      new bedrock.AgentCollaborator({
        agentAlias: customerSupportAlias,
        collaborationInstruction: 'Route customer support questions to this agent.',
        collaboratorName: 'CustomerSupport',
        relayConversationHistory: true
      }),
    ],
  },
});
```

## Members

| Member | Description |
| --- | --- |
| `SUPERVISOR` | Supervisor agent. |
| `DISABLED` | Disabling collaboration. |
| `SUPERVISOR_ROUTER` | Supervisor router. |

## Referenced by

- [`AgentCollaboration`](/v2/docs/@aws-cdk_aws-bedrock-alpha.AgentCollaboration).type
- [`AgentCollaborationConfig`](/v2/docs/@aws-cdk_aws-bedrock-alpha.AgentCollaborationConfig).type
