Interface: AgentTrajectoryResponse
@kortexya/reasoninglayer / AgentTrajectoryResponse
Interface: AgentTrajectoryResponse
Section titled “Interface: AgentTrajectoryResponse”Defined in: src/types/cognitive.ts:1540
A trajectory/trend summary over an agent’s episodes.
Properties
Section titled “Properties”direction
Section titled “direction”direction:
string
Defined in: src/types/cognitive.ts:1542
Trend direction: "improving", "declining", or "flat" (stable token, not localized prose).
ewma:
number
Defined in: src/types/cognitive.ts:1550
Recency-weighted (EWMA) mean.
metric
Section titled “metric”metric:
string
Defined in: src/types/cognitive.ts:1544
Echo of the metric that was summarized.
n:
number
Defined in: src/types/cognitive.ts:1546
Number of episodes summarized.
netChange
Section titled “netChange”netChange:
number
Defined in: src/types/cognitive.ts:1552
last - first chronologically.
outcomeTransitions
Section titled “outcomeTransitions”outcomeTransitions:
number
Defined in: src/types/cognitive.ts:1554
Success/failure flips (for the success_rate metric).
overallMean
Section titled “overallMean”overallMean:
number
Defined in: src/types/cognitive.ts:1548
Equal-weight mean of the projected metric.