track* methods for each event category.
When you finish this page, you’ll know which API to use for each kind of telemetry and how events appear in the session timeline.
Workflow steps
Name logical steps inside a run for readable session replays:agent.workflow.step.started, agent.workflow.step.completed, agent.workflow.step.failed
LLM calls
Track model invocations with token and latency metadata:agent.llm.called, agent.llm.completed, agent.llm.failed
MCP calls
For in-process MCP clients (not the proxy), track MCP tool invocations:agent.mcp.called, agent.mcp.completed, agent.mcp.failed
Handoffs
When one agent delegates work to another, track the handoff lifecycle:agent.handoff.requested, agent.handoff.accepted, agent.handoff.completed, agent.handoff.failed
Errors
Capture errors without failing the run:agent.error
Low-level tracking
For events that don’t fit a wrapper, usetrack* methods or track directly:
Next steps
Multi-agent pipelines
Combine steps, handoffs, and child runs.
Events reference
Full event type catalog.
