Export from any framework
Send traces from the Vercel AI SDK, Mastra, or any OpenTelemetry-emitting framework by pointing its JSON exporter at Bento. This is the recommended path for TypeScript today.
${BENTOLABS_BASE_URL}/v1/traces and the header Authorization: Bearer ${BENTOLABS_API_KEY}, using a JSON OTLP exporter (Bento doesn’t accept protobuf yet). The Export from any framework page has copy-paste examples for the Vercel AI SDK and Mastra.
The dedicated SDK
A dedicated
@bentolabs/sdk (a drop-in OpenTelemetry span processor, like the Python SDK’s BentoLabsSpanProcessor) is in active development and not yet generally available. Want early access? Reach out at support@bentolabs.ai. Until then, use direct export above.See also
Export from any framework
Point Vercel AI SDK / Mastra at Bento with no SDK.
Attributes
How OpenTelemetry attributes map to dashboard columns.