← All stories
● Covered by 2 sources · 3 reportsMedium impact3 neutral

Cloudflare Introduces Agent Tracing and Local Debugging for AI Agents on Workers

🔄 Updated 22h ago — new reporting from InfoQ
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Cloudflare Agents platform launched for hosted agent deployment and management.
  • Agent tracing provides visibility into model calls, tool execution, and token usage.
  • `wrangler dev` and `vite dev` now capture OpenTelemetry traces for local Workers.
  • Local Explorer API allows AI agents to debug Workers using these traces.
  • Supports OpenTelemetry-compatible agent harnesses like Think, Flue, and AI SDK.
  • Agent tracing is the first component of Cloudflare Agents.
  • Agent tracing is free during beta.
  • Agent tracing will fall under Workers Observability pricing from October 1, 2026.
  • Agent tracing adds agent-level spans to existing Workers tracing.
  • Agent tracing provides spans for agent invocations and approvals.
  • Model and token usage are attached as metadata to agent tracing spans.

Cloudflare Enhances AI Agent Development

Cloudflare has introduced two new features to support the development and management of AI agents: Cloudflare Agents and local tracing for Workers. Cloudflare Agents is a new platform designed for deploying and managing hosted agents, initially focusing on observability features. This platform provides agent tracing, offering direct visibility into agent behavior, including model calls, tool execution, and token usage.

Automated Local Tracing for Workers

In parallel, Cloudflare's development tools, `wrangler dev` and `vite dev`, now automatically capture OpenTelemetry traces for local Worker invocations. This functionality is activated when the tooling detects an agent session, directing the agent to the Local Explorer API. This local debugging API allows agents to query these traces without requiring manual SDK installation, tracing enablement, or agent configuration.

Structured Feedback for AI Agents

The integration of local traces provides coding agents with structured feedback directly from the development environment before code deployment. This allows agents to identify and resolve issues, such as a `POST /api/orders` returning a 500 error, by analyzing the traces. The Local Explorer API is automatically discovered by agents when they start `wrangler dev` or `vite dev`.

Agent Tracing Capabilities

Agent tracing, a core component of Cloudflare Agents, measures and presents every model call, tool execution, and token used by an agent. This provides insights into an agent's actions and costs. The feature supports OpenTelemetry-compatible agent harnesses, including Think, Flue, and AI SDK.

Building on Existing Infrastructure

These new capabilities build on Cloudflare's existing developer platform investments, such as the introduction of Miniflare and making local mode the default in Wrangler 3. The company views agents as another application type that benefits from its established infrastructure for model access, durable runtime, orchestration, sandboxed execution, and persistent storage.

Updates

🕒 2026-08-15 · new reporting from InfoQ
  • Agent tracing is the first component of Cloudflare Agents.
  • Agent tracing is free during beta.
  • Agent tracing will fall under Workers Observability pricing from October 1, 2026.
  • Agent tracing adds agent-level spans to existing Workers tracing.
  • Agent tracing provides spans for agent invocations and approvals.
  • Model and token usage are attached as metadata to agent tracing spans.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~7 min · 6 stories · Aug 15

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

How outlets covered it

Cloudflare launched agent tracing, the initial component of Cloudflare Agents, to provide a centralized view of deployed agent sessions and detailed spans for AI agent activities within Workers. This feature addresses the challenge of debugging AI agents where application telemetry alone does not reveal internal agent behavior, offering insights into model calls, tool execution, and subagent interactions.

Cloudflare's `wrangler dev` and `vite dev` now automatically capture OpenTelemetry traces for local Worker invocations, enabling AI agents to debug issues using a new Local Explorer API. This feature provides structured feedback for agents during local development, reducing the need for manual logging and token consumption.

Cloudflare introduced Cloudflare Agents, a new platform for deploying and managing hosted agents, starting with observability features. This platform provides agent tracing to offer direct visibility into agent behavior, including model calls, tool execution, and token usage.