# Interface ReasoningNode

A single reasoning step in a reasoning tree. Represents an atomic unit of thought with content, scoring, and metadata.

interface ReasoningNode {
id: string;
treeId: string;
parentId: string | null;
children: readonly string[];
depth: number;
stepType: ReasoningStepType;
content: string;
metadata: ReasoningNodeMetadata;
state: NodeState;
isActive: boolean;
activationScore: number;
confidence: number;
qualityScore: number;
estimatedValue: number;
createdAt: number;
updatedAt: number;
}

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:117

##### Index

### Properties

id
treeId
parentId
children
depth
stepType
content
metadata
state
isActive
activationScore
confidence
qualityScore
estimatedValue
createdAt
updatedAt

## Properties

### `Readonly` id

id: string

Unique node identifier

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:119

### `Readonly` treeId

treeId: string

ID of the tree this node belongs to

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:121

### `Readonly` parentId

parentId: string | null

Parent node ID (null for root nodes)

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:123

### `Readonly` children

children: readonly string[]

Child node IDs

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:125

### `Readonly` depth

depth: number

Depth in the tree (0 for root)

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:127

### `Readonly` stepType

stepType: ReasoningStepType

Type of reasoning step

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:130

### `Readonly` content

content: string

The reasoning content/thought at this step

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:132

### `Readonly` metadata

metadata: ReasoningNodeMetadata

Optional structured data associated with this step

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:134

### `Readonly` state

state: NodeState

Current state of this node

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:137

### `Readonly` isActive

isActive: boolean

Whether this node is currently activated (for sparse activation)

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:139

### `Readonly` activationScore

activationScore: number

Activation score determining priority (higher = more likely to activate)

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:141

### `Readonly` confidence

confidence: number

Confidence in this reasoning step (0-1)

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:144

### `Readonly` qualityScore

qualityScore: number

Quality score from evaluation (0-1)

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:146

### `Readonly` estimatedValue

estimatedValue: number

Estimated value for path selection (like MCTS value)

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:148

### `Readonly` createdAt

createdAt: number

Creation timestamp

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:151

### `Readonly` updatedAt

updatedAt: number

Last update timestamp

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:153