Audio
Compresses voice recordings from instrumentation, such as LiveKit Agents call audio, to Opus audio in Ogg files instead of raw PCM. Install it alongside the main SDK, and Braintrust loads it automatically. Requires Braintrust v3.41.0 or later and Node.js 20 or later. The package is in early development (alpha). Expect backwards-incompatible changes between releases until v1.0. API reference · npm:@braintrust/audio
Autoevals
Pre-built scoring functions for evaluating LLM outputs, including factuality, similarity, and answer relevance scorers. Use it alongside the main SDK to score evaluations without writing your own scorers from scratch. API reference · npm:autoevals
LangChain
Braintrust’s LangChain.js integration. Deprecated as of v0.2.5. Use auto-instrumentation, or importBraintrustLangChainCallbackHandler from braintrust and attach it to each call yourself. See the LangChain integration guide for setup examples.
API reference · npm: @braintrust/langchain-js
OpenAI Agents
Braintrust’s integration for the OpenAI Agents.js framework. Traces agent runs, tool calls, and handoffs, with no manual instrumentation required. API reference · npm:@braintrust/openai-agents
OpenTelemetry
Braintrust’s OpenTelemetry JS integration. Exports OTel-compatible traces from your application to Braintrust, useful when your app is already instrumented with OpenTelemetry. API reference · npm:@braintrust/otel