Skip to main content

SDKs

TypeScript

Complete TypeScript ecosystem for Braintrust:

Braintrust SDK

Core TypeScript SDK for logging and evaluation

Autoevals

Pre-built scoring functions for evaluations

LangChain

LangChain framework integration
https://img.logo.dev/openai.com?token=pk_BdcHD9e5SCW3j1rnJkNyMQ

OpenAI Agents

OpenAI Agents SDK integration

OpenTelemetry

OpenTelemetry tracing integration

Python

Complete Python ecosystem for Braintrust:

Braintrust SDK

Core Python SDK for logging and evaluation

Autoevals

Pre-built scoring functions for evaluations

LangChain

LangChain framework integration

Google ADK

Google Agent Development Kit integration

Other languages

Additional language support:

Java SDK

Complete Java SDK reference

Go SDK

Complete Go SDK reference

Kotlin SDK

Complete Kotlin SDK reference

Ruby SDK

Complete Ruby SDK reference

C# SDK

Complete C# SDK reference

API

The Braintrust API provides programmatic access to all platform features through a REST interface:

API overview

Authentication, resources, and common tasks

API resources

Complete endpoint reference with examples

CLI

CLI quickstart

Install the bt CLI and run your first eval

CLI commands

Complete command reference with flags and environment variables

SQL

SQL reference

Query syntax for filtering and analyzing logs, experiments, and datasets