Expand description
Structured metrics types for Agent observability.
These types were moved from agent-base to phi-telemetry so that agent-base remains a pure runtime kernel with no knowledge of metrics.
Structs§
- Session
Metrics - Accumulated session metrics. Written incrementally to
session_metrics.jsonat the end of each turn. - Session
Summary - Lightweight summary returned by
list_all(). - Turn
Metrics - Per-turn metrics — one per LLM interaction.
Enums§
- Session
Outcome - Outcome of a session (the entire conversation).
- Turn
Outcome - Outcome of a single turn (one LLM interaction).
Functions§
- run_
outcome_ to_ session_ outcome - Convert agent-base
RunOutcometoSessionOutcome. - run_
outcome_ to_ turn_ outcome - Convert an agent-base
RunOutcometo a turn-levelTurnOutcome. Checkstools_usedto distinguishToolCallsfromCompleted.