Skip to main content
1

Get an API key

Create a project in the bryel dashboard and copy its API key (bk_…). Set it as BRYEL_KEY in your environment.
2

Install the SDK

Pick the package for your stack.
3

Register the processor

Add the bryel span processor where you set up OpenTelemetry.
In instrumentation.ts:
4

Enable telemetry per call

Turn on experimental_telemetry for each generation you want traced.
5

See it in bryel

Run your app, then open the dashboard. You’ll see the run: streamed turns, tool calls, tokens, and cost.
A streamed span finalizes only once the stream is fully consumed — always drain it.

Next steps

Instrumentation

Set up bryel for your framework — Vercel AI SDK, OpenTelemetry, or anything else.

Concepts

Understand traces, sessions, and turns, and how bryel models an agent run.