# Interface AgentCluster

Cluster of agents that work together frequently.

interface AgentCluster {
clusterId: string;
agents: string[];
cohesion: number;
internalInteractions: number;
externalInteractions: number;
dominantPattern?: string;
}

- Defined in packages/nexus-agents/src/observability/swarm-observer-types.ts:156

##### Index

### Properties

clusterId
agents
cohesion
internalInteractions
externalInteractions
dominantPattern?

## Properties

### `Readonly` clusterId

clusterId: string

Cluster identifier

- Defined in packages/nexus-agents/src/observability/swarm-observer-types.ts:158

### `Readonly` agents

agents: string[]

Agents in this cluster

- Defined in packages/nexus-agents/src/observability/swarm-observer-types.ts:160

### `Readonly` cohesion

cohesion: number

Cohesion score (0-1, higher = tighter cluster)

- Defined in packages/nexus-agents/src/observability/swarm-observer-types.ts:162

### `Readonly` internalInteractions

internalInteractions: number

Number of interactions within cluster

- Defined in packages/nexus-agents/src/observability/swarm-observer-types.ts:164

### `Readonly` externalInteractions

externalInteractions: number

Number of interactions with external agents

- Defined in packages/nexus-agents/src/observability/swarm-observer-types.ts:166

### `Optional` `Readonly` dominantPattern

dominantPattern?: string

Dominant interaction pattern

- Defined in packages/nexus-agents/src/observability/swarm-observer-types.ts:168