@bryel/vercel maps the Vercel AI SDK’s OpenTelemetry spans into OpenInference
and ships them to bryel — models, tokens, cost, tool calls, and the full
multi-step trajectory. No wrapping your model calls.
1. Register the processor once
instrumentation.ts (Next.js calls this on startup):
2. Enable telemetry per call
Grouping & feedback
Themetadata you pass becomes how bryel groups and joins data:
Groups multiple turns into one conversation.
The end-user behind the run.
A per-turn id you mint (
crypto.randomUUID()). bryel stamps it onto the
spans as bryel.interaction.id so feedback joins back to
the right turn. Return it to your client to attach 👍/👎.