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

Configuration for agent collaboration settings.

Used as props by: [AgentCollaboration](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-bedrock-alpha.AgentCollaboration.html)

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`bedrock/agents/agent-collaboration.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/@aws-cdk/aws-bedrock-alpha/bedrock/agents/agent-collaboration.ts#L6)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_alpha from '@aws-cdk/aws-bedrock-alpha';

declare const agentCollaborator: bedrock_alpha.AgentCollaborator;
const agentCollaborationConfig: bedrock_alpha.AgentCollaborationConfig = {
  collaborators: [agentCollaborator],
  type: bedrock_alpha.AgentCollaboratorType.SUPERVISOR,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_bedrock_alpha as bedrock_alpha

# agent_collaborator: bedrock_alpha.AgentCollaborator

agent_collaboration_config = bedrock_alpha.AgentCollaborationConfig(
    collaborators=[agent_collaborator],
    type=bedrock_alpha.AgentCollaboratorType.SUPERVISOR
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.alpha.*;

AgentCollaborator agentCollaborator;

AgentCollaborationConfig agentCollaborationConfig = AgentCollaborationConfig.builder()
        .collaborators(List.of(agentCollaborator))
        .type(AgentCollaboratorType.SUPERVISOR)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.Bedrock.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock.Alpha;

AgentCollaborator agentCollaborator;

var agentCollaborationConfig = new AgentCollaborationConfig {
    Collaborators = new [] { agentCollaborator },
    Type = AgentCollaboratorType.SUPERVISOR
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsbedrockalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import bedrock_alpha "github.com/aws/aws-cdk-go/awsbedrockalpha"

var agentCollaborator AgentCollaborator

agentCollaborationConfig := &AgentCollaborationConfig{
	Collaborators: []AgentCollaborator{
		agentCollaborator,
	},
	Type: bedrock_alpha.AgentCollaboratorType_SUPERVISOR,
}
```

## Properties

- `collaborators`: [AgentCollaborator](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-bedrock-alpha.AgentCollaborator.html)[] (required) — Collaborators that this agent will work with.

- `type`: [AgentCollaboratorType](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-bedrock-alpha.AgentCollaboratorType.html) (required) — The collaboration type for the agent.
