AI Engineer World's Fair 2026

Why Building an Eval Platform Is Harder Than It Looks — Braintrust

Loading slides…

Read the talk

Why Building an Eval Platform Is Harder Than It Looks — Braintrust

Selected presentation frame from Why Building an Eval Platform Is Harder Than It Looks — Braintrust at 426 secondsOpen full source frame
A circular diagram labeled “The Improvement Loop” connects production observations, analysis, evals, and iteration.

Hossein Niazmandi follows evals from a spreadsheet to a production feedback loop, showing how collaboration, large traces and competing query workloads turn a simple testing interface into a systems problem.

From a talk by Hossein Niazmandi

At a glance

Ideas worth remembering

  • Offline evals establish expectations; production observability tests those expectations against real interactions.

  • A custom UI improves access, but experimentation also needs editable candidates, comparable results and data that supports analysis over time.

  • The improvement loop turns observed failures into offline tests, checks changes for regressions and returns the chosen version to production.

  • An eval platform must support both immediate investigation of arriving traces and long-running analysis of large, nested data.

  • Coding agents can run evals and propose changes, while humans review the resulting alternatives and choose what ships.

Testing before launch only establishes a hypothesis

An agent can respond differently to similar inputs, and that variability makes confidence harder to earn. Hossein Niazmandi, who leads solutions engineering for the West at Braintrust, frames agent quality around two connected activities: testing behavior before deployment and observing behavior once real users arrive.

Selected presentation frame from Why Building an Eval Platform Is Harder Than It Looks — Braintrust at 91 secondsOpen full source frame
A slide introduces evals and observability as the two pillars of agent quality.
  • Evals before production. Run examples, experiment with the agent and test whether its behavior meets the intended standard. These results establish a hypothesis about how the deployed application will behave.
  • Observability in production. Monitor actual interactions to see whether that hypothesis holds. Real users supply requests and circumstances that offline development may never have covered.

The same flexibility that lets an LLM handle different domains and user needs creates operational risk. Inconsistent behavior can damage a brand; an inappropriate statement or action can create compliance problems; difficult debugging increases maintenance costs. Evals reduce uncertainty before launch. Continuous monitoring supplies the evidence needed to keep reducing it afterward.

0:120:42
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

0:12 · section reference included

The spreadsheet captures the visible part of the work

A spreadsheet is a reasonable first step. It acknowledges that agent behavior needs inspection and gives the team somewhere to record results. The smallest eval system needs three things: examples that invoke the agent, a way to execute those examples, and a way to inspect outputs or scores. An example can contain a prompt, a request or whatever context starts the run.

That simple arrangement is the tip of the iceberg. A useful platform eventually needs better datasets, scoring systems, review processes and debugging tools. It also needs a way to connect pre-production tests with production behavior. Each addition changes what the system must retain and what people must be able to do with it.

Selected presentation frame from Why Building an Eval Platform Is Harder Than It Looks — Braintrust at 334 secondsOpen full source frame
An iceberg diagram lists supporting eval work beneath the spreadsheet-level workflow.

The people involved change too. Engineers implement and debug the agent. Product managers who previously wrote product requirements now participate in evals. Subject-matter experts bring the domain knowledge needed to judge the product’s behavior. An interface that works for the engineer running a script may leave the people who understand the desired outcome outside the process.

This expands evaluation into an operating workflow. Testing once and shipping does not finish the job: the team keeps improving agent quality as the application runs. The platform has to support that continuing work, rather than merely preserve the output of one test run.

3:514:21
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

3:51 · section reference included

A nicer report still leaves experimentation unfinished

The target is an improvement loop: observe production failures, turn them into test cases, improve the agent offline and check that the changes do not introduce regressions. This loop has to continue because both user behavior and the agent itself change over time. The stages leading toward it reveal why a small internal eval tool tends to grow.

The first stage is a loop over input examples. Execute the agent, record its output, tweak something and run the examples again. Its advantage is speed: a team can begin with almost no barrier to entry. Its weakness is the work surrounding those runs. Comparing results over time, organizing human scoring and collaborating with domain experts remain manual and awkward. The spreadsheet records attempts, but offers little support for systematic experimentation.

The second stage adds a custom UI, often built by a product engineer. Product managers can now enter the eval process more easily, and iteration can become quicker. But presentation alone does not solve review, collaboration, data persistence or analysis across a long history of runs. Niazmandi’s verdict on this stage is concise: “Still just a reporting tool.”

The third stage lets nontechnical users change the system being evaluated. They can adjust the system prompt, switch the underlying model or vary parameter values, then compare the resulting behavior side by side. That is a meaningful capability change: users can investigate alternatives rather than only read logged results.

Yet those comparisons still use a curated offline dataset. A good result on that set tells the team what to expect on those examples; it does not reveal the steps the deployed agent takes or where live interactions fail. Without production visibility, the team can ship a carefully tested version and still operate blind.

6:496:56
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

6:49 · section reference included

Production failures become the next test cases

The fourth stage connects experiments to production traces. Log the input, output and each execution step so a poor interaction can be examined rather than represented only by a disappointing final answer. The team defines dimensions of success and failure, uses the traces to understand what happened, and selects failed scenarios for offline evaluation.

Those scenarios then become reusable tests. The team iterates on the agent, checks the proposed improvement alongside regression cases and ships the chosen version. Production supplies fresh behavior for the next pass. The practical gain is a connection between a live failure and the evidence used to decide whether a proposed change helps.

Where does a production failure go, and how does a fix return to users? The cycle below follows that movement. Traces supply diagnostic information; selected scenarios become tests; offline comparisons guide the next release. The return arrow matters because a release creates new evidence rather than ending evaluation.

Selected presentation frame from Why Building an Eval Platform Is Harder Than It Looks — Braintrust at 669 secondsOpen full source frame
A circular diagram links observe, analyze, improve, test, and deploy steps in an eval flywheel.

At this point the team owns a product containing much of its development cycle. A proof of concept can make that look easy. Maintaining the same workflow at production scale exposes the storage and query problems hidden beneath the interface.

From a live failure to the next release

Observe productionLog inputs, outputs and execution steps; identify poor interactions.
Create test casesTurn selected failure scenarios into offline eval examples.
Compare improvementsIterate offline while checking for new regressions.
Ship the chosen changeReturn the improved agent to real users.
Production traces feed offline tests; tested changes return to production, where new interactions restart the loop.
Read the diagram as text
  • Observe production. Log inputs, outputs and execution steps; identify poor interactions.
  • Create test cases. Turn selected failure scenarios into offline eval examples.
  • Compare improvements. Iterate offline while checking for new regressions.
  • Ship the chosen change. Return the improved agent to real users.
  • Observe production → Create test cases: Select and understand failures.
  • Create test cases → Compare improvements: Evaluate candidate changes.
  • Compare improvements → Ship the chosen change: Release an improvement.
  • Ship the chosen change → Observe production: Collect new behavior.
10:556:56
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

10:55 · section reference included

Large, nested traces create two query workloads

“Agent traces are nasty.” They contain semi-structured JSON, deeply nested fields and full text. Niazmandi describes some interactions producing tens or hundreds of megabytes—“a movie’s worth of data”—compared with kilobyte-sized heartbeat observability records. The storage problem includes payload size, data shape and the ways people need to read it.

His claim that typical cloud data warehouses can collapse under this load comes from the workloads he describes, rather than a comparative benchmark in the recording. The concrete requirement is to query large, irregular traces while also keeping newly arriving production data useful immediately.

  • Immediate investigation. Query traces as they arrive to understand why users are having poor experiences and respond quickly.
  • Long-running analysis. Examine larger bodies of data to improve the agent experience or support humans annotating the outcomes of evaluation judges. These reads also include large aggregations and point-in-time snapshots.

Braintrust built BTQL as an abstraction layer through which people can query that data. The query interface is itself another component to design and maintain. The recording explains why the layer exists, without specifying its underlying database design: the platform must make the trace data accessible while supporting these different workloads. A polished results page is only one part of that system.

11:4012:10
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

12:10 · section reference included

Agents run the loop; humans choose what ships

The platform’s users now include coding agents. A headless interface lets a person request traces from the last twenty-four hours where users had poor experiences, then ask the agent to run evals. With access to the codebase and underlying infrastructure, the coding agent can execute the tests and log their results. This shifts some of the labor away from engineers and product managers who previously performed each step themselves.

Trace analysis can also help discover failures the team did not think to label in advance. Braintrust’s proposed mechanism is to run inference over stored tracing data and surface patterns such as silent failures or users repeatedly prompting for the same request. Repetition is a useful signal of possible frustration; it still needs interpretation to establish what went wrong.

Follow that repeated-request scenario through the loop. Initially, the observable behavior is a user asking for the same thing again and again. Analysis of the stored interaction can flag that pattern for investigation. Once the team understands the failure, the request and relevant context can become an offline test case. Candidate changes can then be evaluated against that case and the existing regression set. The visible change is in the workflow: an interaction that might have remained an unnoticed production trace becomes a case the team can rerun and compare. This is an illustrative path through the mechanism, not a reported successful fix.

That automation still depends on the rest of the platform: a database, role-based access control to manage permissions, and data masking. These are additional responsibilities for the team building the system. Supporting more participants and more production data requires controls as well as analysis.

The ending assigns the final decision to a human. Coding agents can iteratively change the application, suggest improvements and run different eval iterations. A person reviews the outcomes and decides which version best serves what they want to ship. Faster iteration makes comparison more important: the agent produces alternatives, and the human chooses the production behavior.

Selected presentation frame from Why Building an Eval Platform Is Harder Than It Looks — Braintrust at 1035 secondsOpen full source frame
A hand-drawn circular diagram shows an iterative self-improvement process.
14:2814:58
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

14:28 · section reference included

Resources

Transcript download
Full transcript

Loading transcript…