Skip to main content
Trace Vercel AI SDK agents in TraceRoot. Unlike LangChain, OpenAI, or Anthropic, no instrumentModules configuration is needed — the Vercel AI SDK emits OpenTelemetry spans natively when experimental_telemetry is enabled, and TraceRoot enriches them via the OpenInference span processor automatically.

Setup

Initialize TraceRoot at your entry point — no instrumentModules config:

Usage

What Gets Captured

Run the example

Clone the repo and run a complete agent end-to-end.

TypeScript

Run the TypeScript example