Braintrust
NewEvaluation and observability platform for AI agents: trace production calls, turn logs into versioned datasets, score outputs with code, LLM judges or human review, and compare experiments in the UI or in CI.
Braintrust
Explore features, practical uses and pricing below.
Braintrust is a platform for measuring and improving AI applications, with evaluation at the centre. You log what your agent does in production, collect interesting cases into datasets, score outputs with code, model-based judges or human reviewers, and compare one version of a prompt or model with another before it ships. The company now pitches it as an observability platform for agents.
Evals as code: Eval(), scorers and experiments
A Braintrust eval has three parts: data, a task and scorers. In the TypeScript or Python SDK you call Eval() with a project name, a dataset, the function that calls your model and a list of scorers, then run it locally or with the bt eval CLI. Each run is saved as an immutable experiment, and the comparison view lines cases up against a baseline to show which rows improved or regressed. The same eval files can run in CI, for example from GitHub Actions.
Scorers come from three places. The open-source autoevals library supplies ready-made checks such as Factuality, semantic similarity, Levenshtein distance and JSON or SQL validation. Custom code scorers handle business rules. LLM-as-a-judge scorers grade tone, helpfulness or intent against criteria you write. Human review adds queues where people score rows and leave comments.
Turning production traces into test cases
Tracing records LLM calls, tool calls and retrieval steps with inputs, outputs, latency, tokens and cost. The homepage lists SDKs for Python, TypeScript, Go, Ruby and C#, and OpenTelemetry data can be sent in too. Online scoring rules run scorers on live logs in the background, so monitoring doesn't slow requests down. Topics classifies logs by intent, sentiment and issue, Patterns looks for recurring problems, and any trace can be copied into a dataset for the next round of tests.
Loop is Braintrust's built-in agent. The docs say it can query logs, diagnose traces, write scorers, run experiments and build dashboards from plain-language requests, and it can run on a schedule and post results to Slack or a webhook. Playgrounds compare prompts and models in the browser, and prompts can be versioned and called from code.
Who Braintrust is aimed at
The natural user is an engineering team that already ships an AI feature and wants a repeatable answer to "did this change make it better?" Product managers can run experiments from the UI, though writing good custom scorers usually falls to a developer. If you mainly need a place for non-technical staff to edit prompts, or a self-hosted open-source tool, other options in our machine learning platforms category or an evaluation product like Deepchecks may fit better.
Example: testing a model swap for a RAG assistant
- Log questions, retrieved passages and answers as traces.
- Add a few hundred answers users rated unhelpful, plus some good ones, to a dataset.
- Write an Eval() with the current model as the task, using Factuality and a custom scorer that checks citation format.
- Run it again with the candidate model and compare the two experiments, with the first run set as the baseline.
- If the candidate wins, add an online scoring rule so the same scorers keep watching production after the switch.
Deployment, metering and other fine print
Braintrust is a hosted service. The deployment docs describe SaaS on every plan and a bring-your-own-cloud option, in which Braintrust runs the data plane inside your cloud account, but BYOC requires an Enterprise plan. Autoevals score individual spans rather than whole traces, so judging a multi-step agent run end to end takes a custom scorer. Usage is metered on processed data and scores, which adds up if you score every production request.
The pricing page lists Starter at $0 a month with 1 GB of processed data, 10k scores and 14-day retention, Pro at $249 a month with 5 GB, 50k scores and 30-day retention, and custom Enterprise pricing. All three list unlimited users, projects, playgrounds, experiments and datasets.
Common questions about Braintrust
Does it lock me into one framework?
No. The integrations list covers direct provider SDKs such as OpenAI, Anthropic, Gemini and Amazon Bedrock, and frameworks including the Vercel AI SDK, LangChain, LlamaIndex, DSPy and LiteLLM.
Where is the documentation?
The Braintrust docs have quickstarts for tracing and evaluation.