# Braintrust SDK: 7.4 out of 10

A strong pick. 3rd of 9 in [LLM evals and tracing](https://elestia.ai/opensource/llm-evals/index.md).

Braintrust SDK is the TypeScript client for Braintrust, a hosted service for evals and tracing that is not open source. Its offline evals and CI checks are among the best in the category, and the company is well funded. You need to accept a paid platform you can't self-host, plus a cloud breach in May 2026 that exposed stored customer API keys.

**Best for:** Product teams that want polished offline evals, CI checks and prompt iteration on a managed platform, and don't need to self-host.

## Scores

- **Overall: 7.4** (likely 6.4 to 8.4)
  - Claude Opus 5.5 (7.0): It is a strong pick for teams that value managed offline evals and CI checks and accept a closed, hosted backend. Langfuse leads on downloads and offers open source and self-hosting, which suits more teams. The 2026 breach and the vendor lock-in keep it below the category default.
  - GPT-6.2 Sol (7.8): Braintrust is a strong new-project choice when a TypeScript team wants regression evals in code and live traces in the same platform. Langfuse is the stronger default for teams that prioritize a self-hostable open-source backend, and Promptfoo is a better fit for standalone CI evals. Braintrust’s proprietary backend and recent credential incidents leave some uncertainty about how well it fits teams with strict data controls.
- **Needed by many: 4.6** (likely 3.6 to 5.8)
  - Claude Opus 5.5 (5.0): Evals and tracing matter to the large and growing group of developers who build LLM features, but that is still a minority of JavaScript work. This SDK only pays off for people who adopt the Braintrust platform, which narrows it a little further.
  - GPT-6.2 Sol (4.2): The SDK serves teams shipping LLM features across several providers and JavaScript runtimes. Its combined eval and tracing workflow is most relevant to teams willing to use Braintrust as their shared backend. A 2026 survey of production AI teams found that many still use in-house eval pipelines, and that sample leaves the share of all JavaScript developers uncertain.
- **Helps a lot: 8.0** (likely 6.9 to 8.9)
  - Claude Opus 5.5 (7.5): An independent comparison calls its offline eval tooling the strongest in its class, and praises its CI integration and prompt playground. The same source rates its production tracing below Langfuse and Arize. Much of the value lives in the closed web UI, and the SDK is not useful without the service.
  - GPT-6.2 Sol (8.4): Version 3.44.0 combines typed scorers, local and CI evals, automatic provider tracing, and OpenTelemetry support. Supabase shows how those pieces work together with a tracked dataset and live traces. Provider coverage varies by API, and the available evidence gives limited confidence about runtime overhead or how reliably coding agents configure tracing.
- **Holds up over time: 7.6** (likely 6.5 to 8.7)
  - Claude Opus 5.5 (7.5): Activity is very high: 923 commits, 103 releases, 1823 merged pull requests and 84 contributors. An $80M Series B in 2026 funds the company behind it. The risk is lock-in to one vendor's closed backend, and the major version is already 3.x, which points to some breaking changes.
  - GPT-6.2 Sol (7.7): The core npm package published 63 versions in a year, and the company announced Series B funding in 2026. The repository’s 923 commits cover several JavaScript packages, and the people authorized to approve releases are only partly visible. The v3 templating change and the upcoming v4 Node.js and tracing changes show that major upgrades can take work.
- **Used widely: 6.6** (likely 5.3 to 7.8)
  - Claude Opus 5.5 (7.0): Downloads rose about 9.8 times in a year, to 11.1M per 4 weeks, well above the 4.1 median. That is second in the category, behind Langfuse at 18.1M. Many of these installs probably come from CI and from enterprise build servers. The repository has only 32 stars, and there are no Bluesky posts and no dependents count, so independent signs of how many projects use it are thin.
  - GPT-6.2 Sol (6.2): Four-week downloads rose to 11.1 million from 1.13 million, about 9.8 times year over year. That beats the 4.1 times catalog baseline and trails Langfuse and Promptfoo on growth. CI and downstream integrations add installs, and ecosyste.ms provides no dependent count. Stack Overflow’s optional observability question puts Braintrust at 5.8% of respondents, ahead of Promptfoo at 5.3% and behind Langfuse at 15.2%.
- **Vouched for: 7.5** (likely 6.4 to 8.5)
  - Claude Opus 5.5 (7.0): Several well-known companies are named as customers, including Notion, Replit, Cloudflare, Ramp and Dropbox, and major investors back it. Independent comparisons rate its eval experience highly. Most write-ups come from vendors, and there is no data on satisfaction from developer surveys.
  - GPT-6.2 Sol (8.0): Supabase documents Braintrust in CI and on live Studio Assistant traces. Gusto Engineering describes using it to score generated JSX, and Vercel documents automatic AI SDK tracing and a Marketplace integration. These are concrete use cases, with limited evidence on SDK satisfaction, retention, or performance against peers.
- **Safe: 5.8** (likely 4.7 to 7.1)
  - Claude Opus 5.5 (5.5): The SDK has no OSV advisories and a permissive licence. It does pull in 28 dependencies, and there is no Scorecard data. The bigger risk is the service: in May 2026 an attacker accessed one of its AWS accounts and exposed stored customer AI provider keys. Braintrust found it within a day and told every customer to rotate their keys.
  - GPT-6.2 Sol (6.0): The MIT-licensed npm package ships through a reviewer-gated workflow with build attestations, and the bundle lists 28 dependencies. GitHub records a high-severity credential-logging advisory missing from the bundle’s OSV snapshot, with a fix in 3.23.1 released one day before disclosure. A separate May 2026 hosted-service incident prompted rotation of stored provider keys. The missing OpenSSF Scorecard and unverified release-approver count widen the range.

## Good

- Its Eval() API, scorers (through Autoevals) and experiment comparison make offline evals in CI quick to set up.
- It is very actively developed: 923 commits and 103 releases in the last year, with wrappers for the OpenAI, Anthropic, AI SDK and Temporal clients.
- The company is well funded, with an $80M Series B in 2026 and named customers such as Notion, Replit, Cloudflare and Dropbox.
- It ships with TypeScript types, and the free tier is generous for trying it out.

## Bad

- The backend is closed source, and the hybrid self-hosted data plane is only on the Enterprise plan.
- In May 2026 an attacker got into one of Braintrust's AWS accounts and exposed the AI provider keys that customers had stored there.
- The SDK pulls in 28 runtime dependencies, which is heavy for a tracing client.
- Reviewers find its production tracing and online monitoring less mature than Langfuse or Arize Phoenix.

## The numbers

- Downloads, 4 weeks: 11M
- In a year: ×9.8
- GitHub stars: 32
- Commits, 12 months: 923
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: Apache-2.0
- GitHub: https://github.com/braintrustdata/braintrust-sdk-javascript
- npm: https://www.npmjs.com/package/braintrust

The SDK of an eval service that is not open source.

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
