Introducing Mastra Custom Benchmarks

Our research team turns your production traffic into benchmarks, so you can measure your agents on the work they do.

Sam Bhagwat·

Nov 23, 2026

·

2 min read

Today we published our Terminal-Bench results, a successor to our work running BEAM and LongMemEval. Our research team uses these benchmarks and their traces to find and fix problems in Mastra's harness. Each time, running the benchmark (and our analysis of it) leads us to a number of bugs to fix and areas to improve.

We meet a lot of teams who want to do the same with their own agents. They want to know how their agents perform on their own workloads, how their agents progress over time, and what to change to make them better.

Mastra provides many of the primitives to do this: datasets, annotations, and agents to help with the labeling work. But the hard part is applying knowledge and elbow grease, and developing the carefulness of AI researchers. There's a discipline to building a benchmark, using it to tune your agent or harness, and then rinsing and repeating.

That's why we're launching the Mastra Custom Benchmarks program today. Our team takes your production traces, works with you to pull out agent tasks, and turns them into benchmarks you can run yourself.

Finding where your agent falls short

With a custom benchmark, you can evaluate your agent on its own workload and find the areas where it falls short.

You can try different models, structures, and features, and see which setup works on your tasks. Put your benchmark in CI to catch regressions before they ship, and track progress over time.

The Custom Benchmarks program

  • Custom benchmarks built by Mastra's team from your production traces
  • Dashboards on Mastra Platform to track how your agent scores over time
  • Regular updates to your benchmarks as your agents and traffic change
  • Infrastructure to run them, including sandboxes, so you don't have to stand it up yourself
  • A trace review of where your agent falls short and what to change, the same way we improved our own harness

We start with a session on what your agents do and what they need to get right. Then our research team builds your benchmarks and keeps them current.

Get started

Tell us what your agents do and what you want to measure. Grab time with our team.

Share on X or LinkedInSam BhagwatSam BhagwatCEO

Sam Bhagwat is the founder and CEO of Mastra. He co-founded Gatsby, which was used by hundreds of thousands of developers. A Stanford graduate and veteran of web development, he authored 'Principles of Building AI Agents' (2025).

All articles by Sam Bhagwat →

More on Evals

All postsArticleOct 27, 2026

AI Agent Testing: What it is and how to get it right

Learn how to test AI agents with code checks, LLM judges, and human review, using Mastra to catch tool errors, policy mistakes, and regressions.

ArticleOct 19, 2026

How to Build an LLM as a Judge for Evals

Build an LLM-as-a-judge eval in Mastra: define the failure, write a rubric, create a custom scorer, calibrate it against human labels, and run it in CI.

ArticleOct 1, 2026

LLM Evaluation Metrics: What to Measure and Why

Learn about LLM evaluation metrics and how to calculate scores, validate judges, and compare agent experiments.