Skip to main content

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 import BraintrustLangChainCallbackHandler 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/openai-agents is deprecated and will no longer receive releases. Use the braintrust package instead: prefer auto-instrumentation with Braintrust’s import hook (node --import braintrust/hook.mjs), or import OpenAIAgentsTraceProcessor from braintrust/instrumentation for manual setup. See the OpenAI Agents SDK integration guide for setup examples.
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