Skip to content

Interface: AgentTrajectoryResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Cognitive / AgentTrajectoryResponse

Interface: AgentTrajectoryResponse

Defined in: src/types/cognitive.ts:1350

A trajectory/trend summary over an agent’s episodes.

Properties

direction

direction: string

Defined in: src/types/cognitive.ts:1352

Trend direction: "improving", "declining", or "flat" (stable token, not localized prose).


ewma

ewma: number

Defined in: src/types/cognitive.ts:1360

Recency-weighted (EWMA) mean.


metric

metric: string

Defined in: src/types/cognitive.ts:1354

Echo of the metric that was summarized.


n

n: number

Defined in: src/types/cognitive.ts:1356

Number of episodes summarized.


netChange

netChange: number

Defined in: src/types/cognitive.ts:1362

last - first chronologically.


outcomeTransitions

outcomeTransitions: number

Defined in: src/types/cognitive.ts:1364

Success/failure flips (for the success_rate metric).


overallMean

overallMean: number

Defined in: src/types/cognitive.ts:1358

Equal-weight mean of the projected metric.