FoundationHazelJS
Trace
A hierarchical record of operations for one agent run, typically model calls and tool calls.
- Authors
- editorial-team
- Published
- Last reviewed
Direct answer
A hierarchical record of operations for one agent run, typically model calls and tool calls.
Plain language
The flight recorder showing what the agent tried and what came back.
Technical explanation
Distributed trace with executionId correlation via @hazeljs/observability; spans for inference and tools; Inspector getTimeline for operator views—aligned with OpenTelemetry conventions.
Example
Inspector getTimeline({ executionId }) shows three tool spans and a final answer span with total cost.