Agents, Workers - Agent traces for Think, Flue, and AI SDK instrumented by Agents SDK
Cloudflare has introduced agent tracing in the Agents SDK, automatically logging turns, model calls, tool runs, approvals, tokens, and Workers runtime operations.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Cloudflare announced agent tracing availability for applications built using the Agents SDK. The tracing mechanism captures agent turns alongside model calls, tool executions, approvals, token usage, and general Workers runtime operations. Enabling tracing requires setting observability.traces.enabled = true in the Wrangler configuration. While Think and Flue applications emit these traces automatically, direct AI SDK usage requires wrapping the AI SDK namespace once using wrapAISDK from agents/observability/ai , with support confirmed for AI SDK versions 6 and 7.
可执行摘要
Cloudflare Agents SDK added agent tracing support for Think, Flue, and AI SDK (v6/v7 via wrapAISDK ), tracking agent turns, tool executions, approvals, token usage, and Workers runtime ops via Wrangler tracing configuration.
- Agent 实用度
- 80/100
- 可信度
- 90%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Enable tracing in Wrangler configuration by setting observability.traces.enabled = true .
- If using direct AI SDK calls (v6 or v7), wrap the AI SDK namespace with wrapAISDK from agents/observability/ai to emit agent traces.