AxContextMetricsSummary Generated TypeScript API reference. typescript api api/reference build/apidocs/TypeAlias.AxContextMetricsSummary.md type AxContextMetricsSummary

AxContextMetricsSummary

TypeScript
type AxContextMetricsSummary = object;

Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/agent/benchmarks/contextMetrics.ts#L34

Properties

checkpoints

TypeScript
checkpoints: number;

Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/agent/benchmarks/contextMetrics.ts#L39


compactionRatio

TypeScript
compactionRatio: number;

Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/agent/benchmarks/contextMetrics.ts#L45

(originalChars - renderedChars) / originalChars across all compactions; 0 when nothing compacted.


compactions

TypeScript
compactions: number;

Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/agent/benchmarks/contextMetrics.ts#L41


completionTokens

TypeScript
completionTokens: number;

Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/agent/benchmarks/contextMetrics.ts#L49


cumulativeTokens

TypeScript
cumulativeTokens: number;

Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/agent/benchmarks/contextMetrics.ts#L47


finalMutablePromptChars

TypeScript
finalMutablePromptChars: number;

Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/agent/benchmarks/contextMetrics.ts#L38


peakMutablePromptChars

TypeScript
peakMutablePromptChars: number;

Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/agent/benchmarks/contextMetrics.ts#L37


pressureCounts

TypeScript
pressureCounts: Record<AxAgentContextPressure, number>;

Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/agent/benchmarks/contextMetrics.ts#L46


promptTokens

TypeScript
promptTokens: number;

Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/agent/benchmarks/contextMetrics.ts#L48


series

TypeScript
series: AxContextTurnSample[];

Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/agent/benchmarks/contextMetrics.ts#L50


tombstones

TypeScript
tombstones: number;

Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/agent/benchmarks/contextMetrics.ts#L40


totalOriginalChars

TypeScript
totalOriginalChars: number;

Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/agent/benchmarks/contextMetrics.ts#L42


totalRenderedChars

TypeScript
totalRenderedChars: number;

Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/agent/benchmarks/contextMetrics.ts#L43


turns

TypeScript
turns: number;

Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/agent/benchmarks/contextMetrics.ts#L36

Number of budget_check events observed (one per actor turn).

Docs