# Interface WeightedAgentRecord

Extended agent performance with Byzantine detection.

interface WeightedAgentRecord {
agentId: string;
totalTasks: number;
successfulTasks: number;
failedTasks: number;
partialTasks: number;
successRate: number;
weight: number;
trustScore: number;
byzantineFlags: number;
lastActive: Date;
createdAt: Date;
}

- Defined in packages/nexus-agents/src/consensus/types-weighted-voting.ts:20

##### Index

### Properties

agentId
totalTasks
successfulTasks
failedTasks
partialTasks
successRate
weight
trustScore
byzantineFlags
lastActive
createdAt

## Properties

### `Readonly` agentId

agentId: string

- Defined in packages/nexus-agents/src/consensus/types-weighted-voting.ts:21

### `Readonly` totalTasks

totalTasks: number

- Defined in packages/nexus-agents/src/consensus/types-weighted-voting.ts:22

### `Readonly` successfulTasks

successfulTasks: number

- Defined in packages/nexus-agents/src/consensus/types-weighted-voting.ts:23

### `Readonly` failedTasks

failedTasks: number

- Defined in packages/nexus-agents/src/consensus/types-weighted-voting.ts:24

### `Readonly` partialTasks

partialTasks: number

- Defined in packages/nexus-agents/src/consensus/types-weighted-voting.ts:25

### `Readonly` successRate

successRate: number

- Defined in packages/nexus-agents/src/consensus/types-weighted-voting.ts:26

### `Readonly` weight

weight: number

- Defined in packages/nexus-agents/src/consensus/types-weighted-voting.ts:27

### `Readonly` trustScore

trustScore: number

- Defined in packages/nexus-agents/src/consensus/types-weighted-voting.ts:28

### `Readonly` byzantineFlags

byzantineFlags: number

- Defined in packages/nexus-agents/src/consensus/types-weighted-voting.ts:29

### `Readonly` lastActive

lastActive: Date

- Defined in packages/nexus-agents/src/consensus/types-weighted-voting.ts:30

### `Readonly` createdAt

createdAt: Date

- Defined in packages/nexus-agents/src/consensus/types-weighted-voting.ts:31