Recommended: go through the Vercel AI SDK
The Vercel AI SDK wraps OpenAI, Anthropic, Google, and dozens of other providers behind one interface, and bryel has a first-class adapter for it. If you can call your model through the AI SDK, it’s the least-effort, best-instrumented path — models, tokens, cost, and the full tool trajectory, out of the box.Calling a provider SDK directly
If you call the OpenAI / Anthropic / LangChain SDKs directly, add any OpenTelemetry instrumentation that emits GenAI spans, then ship those spans withbryelSpanProcessor — it forwards OTel spans to
bryel without modifying them:
bryel speaks the OpenInference convention over OTLP and
owns its conventions outright — there’s no
third-party observability SDK in your dependency tree. Any instrumentation that
emits OpenInference- or OTel-GenAI-shaped spans works.