Interface: AgentTrajectoryResponse
@kortexya/reasoninglayer / AgentTrajectoryResponse
Interface: AgentTrajectoryResponse
Section titled “Interface: AgentTrajectoryResponse”Defined in: src/types/cognitive.ts:1696
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:1698
Trend direction: "improving", "declining", or "flat" (stable token, not localized prose).
ewma:
number
Defined in: src/types/cognitive.ts:1706
Recency-weighted (EWMA) mean.
metric
Section titled “metric”metric:
string
Defined in: src/types/cognitive.ts:1700
Echo of the metric that was summarized.
n:
number
Defined in: src/types/cognitive.ts:1702
Number of episodes summarized.
netChange
Section titled “netChange”netChange:
number
Defined in: src/types/cognitive.ts:1708
last - first chronologically.
outcomeTransitions
Section titled “outcomeTransitions”outcomeTransitions:
number
Defined in: src/types/cognitive.ts:1710
Success/failure flips (for the success_rate metric).
overallMean
Section titled “overallMean”overallMean:
number
Defined in: src/types/cognitive.ts:1704
Equal-weight mean of the projected metric.