Duran says the main gap is often operational rigor, rather than model capability. A demo can work while production exposes edge cases, and logs alone may not reveal why a system behaves as it does. The workshop focuses on tracking changes, finding failure modes, and improving the system through repeatable workflows.
Shipping complex AI applications
Speakers
Duran, a Braintrust representative, and Osama and Mayank, senior AI/ML engineers at Trainline, lead a hands-on AI Engineer workshop in London on building and operating reliable AI applications with Braintrust.
Osama describes Trainline as a platform for booking rail tickets across carriers, with 27 million active users. Its customer-facing Travel Assistant can suggest alternative trains and handle refunds, with a human handoff when needed. Trainline combines traditional software quality checks with offline and online evaluations for its partly nondeterministic agent systems.
The workshop builds a fictional support triage agent that gathers context, triages a ticket, checks policy, drafts replies, and decides whether to escalate. The presenters add tools and split the work into stages, then use Braintrust tracing to inspect nested calls, inputs, outputs, token counts, cost, and latency. A ticket about a Pro-to-Enterprise upgrade and website errors illustrates how the staged flow can produce an escalation.
The team creates a small golden dataset of ten support cases and applies deterministic checks alongside an LLM judge for nuanced criteria such as customer-facing tone. They show how managed prompts and parameters can support shared changes, and how online scoring can assess production traces. For a case where a customer downplays an invoice deadline before a board meeting, they adjust the prompt and rerun evaluations to check the change and catch regressions.
The presenters recap a workflow from a single prompt to a five-stage agent, then tracing, evaluation, managed deployment, online scoring, and remediation. They recommend starting with an operational system, collecting real edge cases, and using them to build evaluations. Production feedback and repeated evaluation help teams improve the system over time.
Takeaways
- Treat production readiness as an operational workflow: trace behavior, evaluate changes, and monitor real use.
- Break complex agent tasks into explicit stages so teams can locate and fix failures.
- Start a golden dataset with concrete edge cases, then add production failures as they emerge.
- Use deterministic checks where possible and an LLM judge for criteria that need nuanced assessment.
- Rerun evaluations after prompt or model changes to catch regressions before shipping.
Mentioned in this talk
Search inside this talk
What was claimed 12
- foundedAnkur Goyal founded
Braintrust
CEO“That’s what led to Braintrust.”
0:49inHow Zapier Builds AI Products and Features with the Help of BraintrustYouTube Verified6 sources· Talk, Web· archived
- built
Braintrust built
Brainstore
“So we created a new category of databases called Brainstore.”
YouTube Verified5 sources· Talk, Job posting, Web· archived
- works atOussama Hafferssas works at
Trainline
AI and machine-learning engineer“I'm a senior AI/ML engineer at Trainline.”
YouTube Verified2 sources· Talk, Web· archived
- works atGiran Moodley works at
Braintrust
Founding Field Engineer, EMEA“I'm one of the first engineers to join and help build out our go-to-market function here.”
YouTube Verified2 sources· Talk, Web· archived
- works atMayank Soni works at
Trainline
Senior AI Engineer“I'm a senior AI engineer at Trainline.”
YouTube Verified2 sources· Talk, Web· archived
- feature
Braintrust: AI observability platform
“We're helping organizations ship quality AI at scale. We're the platform for AI observability.”
YouTube Unverified1 source· Talk
- metric
Trainline: 27 million active users
“We have 27 million active users and counting.”
YouTube Unverified1 source· Talk
- metric
Trainline: Almost 6.3 billion train tickets sold
“We sell almost 6.3 billion train tickets.”
YouTube Unverified1 source· Talk












