A managed home for eval-driven development: datasets, scorers, experiment history, and a UI where the whole team compares runs.
What it is
Braintrust is a managed platform for eval-driven development. It gives you datasets, scorers, experiment tracking, a prompt playground, and a UI to compare runs against each other. It folds evals together with observability, so the failing traces you capture in production and the experiments you run to fix them live in one place, visible to engineers and non-engineers alike.
The one job
Every eval run becomes a versioned experiment you can diff against the last one. That history is what turns "it feels better" into "run 14 beat run 13 on these scorers."
Reach for it when
Skip it when
A minimal look
import { Eval } from "braintrust";
import OpenAI from "openai";
const openai = new OpenAI();
Eval("support-bot", {
data: () => [{ input: "refund window?", expected: "30 days" }],
task: async (input) => { // call the model under test
const r = await openai.responses.create({ model: "gpt-5", input });
return r.output_text;
},
scores: [({ output, expected }) => output.includes(expected) ? 1 : 0], // tracked as experiment
});
The principle it teaches
Close the loop. Failed production traces become dataset rows become regression guards, and the next release has to beat the last on those rows. Braintrust is the managed version of that flywheel. That is Session 9's loop, hosted.
Where it fits your labs
This is a Week 5 tool. When Lab 5 grows from a one-off eval into the flywheel, where captured failures continuously feed the dataset, Braintrust is the platform that keeps the datasets, scorers, and experiment history in one shared place.