OpenRouter launches Agent Tracing feature
Understand this story
OpenRouter has released the Agent Tracing feature and an accompanying tutorial: it merges the run, model call, and tool call spans recorded by agent code with the generation and provider attempt spans recorded by Broadcast into a single trace, thereby tracking every tool call and provider attempt. The feature offers Privacy Mode, which when enabled discards prompt and completion text but retains token counts, cost, and latency; users can enable it in the Privacy settings of a Broadcast destination. Each Broadcast destination has its own sampling rate, for example 0.5 means about half of traces are sent; OpenRouter notes that stop sequences are still sent.
AI overview based on source reports · Updated 1 days ago
Coverage timeline
Follow the coverage to explore different perspectives.
- OpenRouter AnnouncementsAgent Tracing: See Every Tool Call and Provider Attempt
OpenRouter describes agent tracing that records each step of an agent run as a timed OpenTelemetry span, combining spans from your own code (tool calls and run outcome) with Broadcast spans for each model generation and provider attempt in a single trace. In 27 test runs of an order-support agent across three models, the agent's spans caught bad tool arguments in all 9 runs where they occurred, while OpenRouter's spans showed which provider served each call, three recovered provider failures, and that a 133-second model call was mostly spent waiting on the provider. Setup requires adding a Broadcast destination and passing trace id and span id in the request's trace field, with Privacy Mode available to drop prompt and completion text while keeping tokens, cost, and timing.
Activity for this story
- Current comparable activity
- 5
- Peak comparable activity
- 9Dec 2 10:00
- Change in the past 24 hours
- -49%
Trends compare the same fully observed participants, which may cover fewer participants than current activity. Move the pointer or tap the chart to inspect hourly activity; use the left and right arrow keys with a keyboard.