Willinski says agent building is difficult because both AI behavior and user behavior are unpredictable. After launch, teams need to collect feedback, study failures and usage patterns, and turn what they learn into evals and product improvements. More users bring more data, failures, and opportunities to improve.
Turning Fails into Features: Zapier’s Hard-Won Eval Lessons
Speakers
Rafal Willinski and Vitor Balocco of Zapier explain how their team uses user feedback, run traces, and layered evals to improve Zapier Agents at AI Engineer.
Balocco recommends tracing tool calls, errors, and preprocessing and postprocessing steps, while keeping run data in a shape that can be replayed in evals. Explicit feedback is scarce, so Zapier asks users for it after an agent run and also looks for implicit signals, such as enabling a tested agent, copying a response, or repeating a request. Willinski says Zapier also uses an LLM to group user frustrations into a weekly Slack report, though it took considerable tuning.
Balocco advises using LLM operations software to connect the many calls and tool interactions that can contribute to one failed run. Zapier also builds internal tools so teams can inspect data in their product context and turn an interesting run into an eval with one click. Aggregating feedback and failure patterns can reveal which tools and interactions need attention, while reasoning models may help explain individual failures.
Zapier groups evals into unit tests, trajectory evals, and staged A/B tests. Unit tests are quick to add and useful for specific failures, but Willinski says they can overfit to one model's path and make comparisons noisy; different models may reach the same goal in different ways. Trajectory evals assess the full run and its artifacts, while LLM judges and human-written rubrics help assess broader capabilities and criteria.
Willinski cautions that a near-perfect score may mean an eval dataset is too easy, not that the system is excellent. Zapier separates regression cases that protect existing use cases from aspirational cases that test difficult goals, such as 200 consecutive tool calls. The team sees A/B tests with a small share of traffic, such as 5%, as the ultimate check, using user feedback and measures like activation and retention.
Takeaways
- Trace tool calls, errors, and intermediate processing so failures can be replayed and debugged.
- Ask for feedback at useful moments and treat user actions and repeated requests as possible signals.
- Make it easy to turn notable failures into evals, then use aggregated patterns to prioritize work.
- Use unit tests for specific regressions and full-run evals for multi-step behavior; watch for path overfitting.
- Keep eval datasets challenging and use staged A/B tests to check whether changes improve user outcomes.
Mentioned in this talk
Search inside this talk
What was claimed 7
- feature
Agent S: Lets users describe a process, receive proposed tools and a trigger, and enable the agent to automate the process.“You describe what you want, we propose a bunch of tools and a trigger, and you enable that.”
YouTube Unverified1 source· Talk
- feature
Braintrust platform: Provides tracing for completion calls and supports inspecting runs with MCP.
“Whether you’re using Braintrust or something else, they all offer an easy way to get started, such as tracing your completion calls.”
YouTube Unverified1 source· Talk
- uses
“with Braintrust MCP and a reasoning model, you can ask it to look at two runs”
YouTube Unverified1 source· Talk
- uses
“So we started experimenting with trajectory evals.”
YouTube Unverified1 source· Talk
- uses
Zapier uses LLM-as-a-judge
“We're also leaning a bit more into LLM-as-a-judge.”
YouTube Unverified1 source· Talk
- uses
“Lately, we've also been experimenting with rubric-based scoring.”
YouTube Unverified1 source· Talk
- metricStaged rollouts: Route about 5% of traffic to the new model or prompt, then monitor feedback and metrics such as activation and retention.
“Take a small proportion of your traffic, let's say 5%, and route it to the new model or the new prompt.”
YouTube Unverified1 source· Talk









