# Class ResultAggregator

Aggregates results from multiple experts.

- Defined in packages/nexus-agents/src/agents/collaboration/result-aggregator.ts:55

##### Index

### Constructors

constructor

### Methods

aggregate

## Constructors

### constructor

- new ResultAggregator(options?: AggregatorOptions): ResultAggregator

  #### Parameters

  - options: AggregatorOptions = {}

  #### Returns ResultAggregator

  - Defined in packages/nexus-agents/src/agents/collaboration/result-aggregator.ts:61

## Methods

### aggregate

- aggregate(input: AggregatorInput): Result<AggregatedResult, AgentError>

  Aggregates expert results into a final result.

  #### Parameters

  - input: AggregatorInput

  #### Returns Result<AggregatedResult, AgentError>

  - Defined in packages/nexus-agents/src/agents/collaboration/result-aggregator.ts:71