Braintrust: AI Evals and Agent Observability, Explained
Braintrust is an observability and evaluation platform for teams running AI agents in production. It captures prompts, responses and tool calls as traces, scores outputs with LLMs, code or humans, and turns recurring failures into regression datasets. This guide covers tracing, Patterns, evals, Loop, SDK support, security controls, pricing and where the platform earns its keep.
View 3 referencesAllow the functional cookie to save your likes. Privacy details
Braintrust is a platform for the part of AI development that begins after launch. A prototype can look impressive in a demo and still drift, regress or quietly fail once real users arrive. Braintrust is built around that gap: it records what agents actually did, finds recurring problems, and turns those problems into tests you can run before the next release.
What is Braintrust?
Braintrust is an observability and evaluation platform for teams running AI agents in production. It captures prompts, responses and tool calls as traces, lets you score outputs with LLMs, code or humans, and turns recurring production failures into regression datasets you can test against before shipping.
The official Braintrust site frames the product around a single workflow: find issues in traces and logs, turn the patterns into evals, then test the fix. It is framework agnostic, integrates with common model providers, and positions itself as a shared quality layer for engineering and product teams rather than a tool used only by model researchers.
How does Braintrust tracing work?
Braintrust records each agent run as a trace containing the prompt, model response, latency, cost and every tool call. You can search across millions of logs with the Nitro query engine, inspect a single session, and build custom annotation views for support chats, code generation or other workflows.
Cost is tracked per component — completion, cached prompt writes and reads, uncached prompt tokens — so a rising bill can be tied to a specific change in behaviour. The platform also supports task-specific annotation views: a support conversation can be reviewed differently from a code-generation run without building a frontend. Brainstore is the name used for the underlying observability database.
What is Braintrust Patterns?
Patterns surfaces recurring behaviours and opportunities across traces automatically instead of requiring you to read logs one by one. You review the findings, check the supporting evidence, and decide which issue to fix first. Notion reported roughly $1 million in savings on coding agents using Patterns.
That Notion figure comes from a customer case study on the vendor's own site, so read it as a reported result rather than a universal benchmark. The underlying idea is simple and useful: agents fail differently from ordinary software, and a partial failure — work completed but never reported back to the user — is invisible to conventional error monitoring. Patterns is designed to find exactly that class of problem.
What are Braintrust evals and how do you run one?
Braintrust evals are tests that score AI outputs against a dataset. You version the dataset, choose an LLM, code-based or human scorer, run experiments across prompts and models side by side, and block a release when quality regresses. Traces can become eval datasets with one click.
The important design choice is that failures from production become the test cases. Instead of inventing synthetic examples, you promote a real edge case into a regression set and write a scorer that distinguishes it from a successful run. Braintrust supports LLM judges, deterministic code and human annotation, and the same eval can be used in a CI gate and in ongoing production monitoring.
What is Braintrust Loop?
Loop is the assistant inside Braintrust. Ask it in natural language to explain a failure, find high-confidence examples, draft a scorer, build a regression dataset and configure monitoring. It can also draft code changes for your review; the platform frames it as speeding up investigation, not replacing judgement.
A documented example has Loop identifying runs where the agent finished the work but returned an empty final response, grounding a rubric on two failures and two successes, testing the scorer, then saving the dataset and a monitor. That sequence shows the intended role: an agent that assembles the evidence and the harness, while a human decides what "correct" means.
Which languages and frameworks does Braintrust support?
Braintrust is framework agnostic and provides native SDKs for Python, TypeScript, Go, Ruby and C#, among others. It also offers an MCP server so a coding agent can query logs, run evals and update prompts from the IDE. That avoids rewriting an existing stack to adopt the platform.
Instrumentation usually starts with a few lines of SDK code that wrap a model call or an agent run. Because scoring and datasets live in the platform rather than in your application code, you can change a judge or a dataset without redeploying the agent. The MCP integration extends the same loop into the editor rather than forcing a context switch to a separate console.
How secure is Braintrust for enterprise use?
Braintrust states SOC 2 Type II certification and GDPR and HIPAA compliance, with SSO, SAML, role-based access, granular permissions and encryption in transit and at rest. Those controls matter when traces contain customer conversations or personally identifiable information from production systems.
Security claims on a marketing page are a starting point, not proof of your own compliance posture. Review the trust centre, data-retention settings and regional processing options before sending regulated data. The platform's own documentation separates project-level and resource-level permissions, which is useful for large organisations with several teams sharing an account.
How much does Braintrust cost?
A third-party product index listed a free tier with 1 GB of processed data and 10,000 scores per month, and a Pro tier at $249 per month with model credits, data processing, scoring and retention billed separately as of 23 November 2026. Confirm current figures with Braintrust before budgeting.
Usage-based components are the part to model carefully: tracing volume, scoring calls and retention each scale with traffic. A team that scores every production run with a large LLM judge can spend far more than one that samples. Start with a measured sample, then expand when the value of a check is clear.
Is Braintrust worth it for a small team?
Braintrust pays off mainly when an agent is already in production and failures are costly to diagnose manually. A small team shipping a single prompt-driven feature may not need it yet; a team running many agents across customers benefits from shared traces, evals and a single quality baseline.
| Situation | Likely fit |
|---|---|
| One prototype, no users yet | Wait until real traces exist |
| Agent in production, opaque failures | Strong fit for tracing and Patterns |
| Regulated data or several teams | Strong fit, subject to security review |
| Tight budget, low traffic | Free tier may be enough |
Frequently asked questions about Braintrust
Braintrust is usually adopted by teams that already have an agent in production and need a reliable way to understand failures. The questions below cover the practical details: what the platform includes, whether it can run locally, how it relates to prompt management, and how it differs from ordinary application monitoring.
Is Braintrust only for evaluation?
No. Tracing and observability came first, and evals are layered on top so that production evidence feeds directly into tests. The platform also includes Pattern discovery, annotation views and an MCP server.
Can Braintrust run locally?
Braintrust offers a self-hosted option for teams that need data control. Confirm the current deployment documentation and licensing terms, since self-hosting changes the operational burden.
Does Braintrust replace a prompt-management tool?
It overlaps with one. Prompts are versioned in the platform and can be changed through the SDK or MCP, so many teams use Braintrust instead of a separate prompt store.
How is Braintrust different from generic application monitoring?
Generic APM tracks latency and errors in code you control. Braintrust also scores the quality of a model's output, which can be wrong even when every request returned HTTP 200.
Braintrust is most valuable as a feedback loop rather than a dashboard. The sequence — trace, detect a pattern, promote it to an eval, block the regression — is the part that generic logging does not provide. Treat the published speed, savings and pricing figures as vendor-sourced inputs to your own evaluation, and validate them against a small slice of your traffic before committing.