Skip to main content

Sponsored by: Snorkel AI | Evaluating and Improving Performance of Agentic Systems

Summary

  • Agentic System Evaluation: Reliably evaluate LLM-driven agentic systems that manage multi-turn conversations and execute complex, multi-step tasks autonomously.
  • Performance Bottleneck Identification: Apply evaluation techniques to systematically identify where agentic systems fail, enabling targeted improvements to reliability.
  • Better-Aligned AI Agents: Use actionable insights from evaluation to create agentic AI systems that are more reliable, policy-compliant, and better-aligned with business objectives.

Sponsored by: Snorkel AI | Evaluating and Improving Performance of Agentic Systems

Watch: Sponsored by: Snorkel AI | Evaluating and Improving Performance of Agentic Systems
Talk by Chris Borg, Solutions Engineer, Snorkel AI (Sponsor Speaker)
GenAI systems are evolving beyond basic information retrieval and question answering, becoming sophisticated agents capable of managing multi-turn dialogues and executing complex, multi-step tasks autonomously. However, reliably evaluating and systematically improving their performance remains challenging. In this video, we'll explore methods for assessing the behavior of LLM-driven agentic systems, highlighting techniques and showcasing actionable insights to identify performance bottlenecks and to creating better-aligned, more reliable agentic AI systems.
Databricks Named a Leader in the 2025 Gartner® Magic Quadrant™ for Data Science and Machine Learning Platforms: https://www.databricks.com/blog/databricks-named-leader-2025-gartner-magic-quadrant-data-science-and-machine-learning
Build and deploy quality AI agent systems: https://www.databricks.com/product/artificial-intelligence
See all the product announcements from Data + AI Summit: https://www.databricks.com/events/dataaisummit-2025-announcements

FAQs

Why is evaluating agentic systems different from evaluating standard LLMs?

Agentic systems are more complex than basic question-answering—they execute multi-step tasks autonomously over multiple turns. Evaluation methods must assess not just answer quality but the system's ability to plan, execute, and adapt across long conversations.

How can you identify performance bottlenecks in agentic AI?

This video explores evaluation techniques that reveal where agentic systems fail or perform poorly. By systematically assessing behavior across different scenarios, you can pinpoint specific improvements needed for better reliability.

What does it mean for agentic systems to be 'better-aligned'?

Better-aligned agentic systems are more reliable, policy-compliant, and behave consistently with business objectives. Evaluation helps ensure agents follow guidelines, avoid harmful outputs, and maintain user trust.

What real-world examples are covered?

This video includes a case study of a multi-agent experience co-pilot, showing how evaluation methods applied to real customer deployments can identify and fix performance issues at scale.

Full transcript

Hi everyone. Thanks uh so much for coming to my talk. Uh hope you're all having a good time at the conference so far. I'm on the solutions team here at Snorkel AI. Uh today what I want to talk about is how um some of the the new work we've been doing around LLM evaluation and specifically how we apply that to agentic systems. So I'll I'll I'm just going to break things out into well three parts. One one fortunate um the I just want to introduce people to snorkel if you're not super familiar with us and then give you a little take on our view on genai evaluation and then talk about some considerations for Agentic systems and then finally we'll end on a case study that we've worked with a customer on a multi- aent uh experience co-pilot.
And so at Snorkel, we've always been driven sort of by one central mission, which is to help our customers build and improve AI systems through data development. Snorkel started out in the AI lab where our founders pioneered a lot of techniques around AI assisted and programmatic labeling of data. Today, Snorkel has dozens of customers across many different vertical including insurance, healthcare, pharmaceuticals. Um, we uh have have many customers in in the Fortune 500 and are in seven of the top 10 US banks.
We're we're very fortunate to be backed by some of the best VCs in the business and um have been recognized as an AI technology leader in in a few different areas. So I'll I'll start and before I dive into maybe how we we're starting to think about solving a lot of problems around evaluation, I really want to motivate um why evaluation matters and what it really means. Um so while these uh three cases may seem a little extreme or unlikely, they're they're very much uh real examples of what can happen when Gen AI systems sort of go wrong.
Um on the left we see a legal case involving Air Canada where they were forced to pay damages after a co-pilot sort of misspoke about bereavement fairs. And so this kind of is a is a prime example of what happens when these systems aren't really carefully tested for factual reliability or policy compliance. Uh the middle one is my favorite example where someone was actually able to uh coersse a co-pilot into giving them a truck for a dollar.
Um, don't really have to go into too much detail about why that's problematic. Um, and then on on the right, this one's also pretty interesting. Uh, McDonald's had sort of a three-year run of implementing sort of like AI systems to help with their ordering. Uh, but after many strings of like different like edge cases with the ordering, like very bizarre orders for like hundreds of chicken nuggets, they decided to end the program. uh which I think kind of uh reflects the like um you know even with years of testing if your evaluation doesn't actually have the right complexity or variation for a real world use case uh it's inevitable that the system will fail in some way and so to me all these highlight that like robust evaluation really isn't an optional part of the system and that in order you need it in order to uh build out a system that is you know reliable safe and aligned with your your business and legal conr raints.
And so, uh, now I want to talk a little bit about, uh, why it's so hard to maybe kind of get this right in the first place. Um, you know, despite all the advances in LLM development that there are evaluation still remains one of these big bottlenecks. Um, and so I've kind of put three three big themes here. So the first one is scaling custom evaluation can be very difficult. Uh so you know it's not just requiring a few labeled examples but it's about designing like very specific criteria often requiring deep domain expertise and applying them consistently al across large data sets.
And so that typically is uh involves a lot of manual effort. And then on the flip side, we see a lot of uh companies sort of employing this uh LMS judge methodology to try to automate this process. But a lot of these evaluators out of the box don't have the specificity required to actually uh do a good job at the task. So you sort of have this paradigm where one method is really accurate but slow. The other method has a lot of automation but lacks that specificity.
And then it in the middle I think this is an important aspect I don't see talked about a lot is that the uh even when teams um do start to evaluate they often struggle to measure what actually matters you know it's easy to get stuck in optimizing for spe like you know average metrics or accuracy or correctness but uh you know if you do that over the entire data set the reality is that you know the failures that affect users or your KPIs might actually live in sort of nuanced corners of your data set.
And so understanding those is really important. Um and then the final thing which I think is actually the most difficult is acting on the results of your evaluation is typically non-trivial. And so let's say you do identify where the model is underperforming. What's next? There are many options that you could take, you know, model distillation fine-tuning, but they often require various amounts of time and energy. So like where do you spend your time and how do you identify what will give you the biggest lift for the lowest amount of effort is typically a difficult trade-off that we see organizations trying to make.
And so Snorkel's approach to evaluation again sort of has three themes that intend to sort of solve the themes that I just just focused on. It's really purpose-built against real world challenges that we've done with our customers. And so I'll start with specialized here on the left. So instead of relying on general purpose metrics or open benchmarks that might not rely with your uh align with your specific use case, these um evaluations that we can do on the platform are grounded in expert opinion and specific to the behaviors that matter to your um like specific use case.
The way that we achieve this is through this iterative loop where the evaluators are aligned with continuous feedback from experts. And I'll dive into a little bit more detail again in the case study at the end of the talk. Um the second we'll do we'll talk about is sort of the fine grain view. Right? Instead of a single macro level score-l like accuracy if you have score accuracy says 95%. You might think you know that sounds like a really good system but it can hide you know sort of like very critical variations.
You know what? If one slice of your data performs at 64% while the other slice performs at 97%. We enable you to slice performance by category, behavior, user segment to really give you that what we call like a fine grain analysis on your data. And then finally, snorkel's evaluation is tightly integrated with our programmatic data development loop. Meaning when you do find errors, you can now develop the right data to fix those errors.
And so when a slice underperforms, you can immediately generate new data sets that are targeted and informed by the evaluation. And so in short, we're try we're focused on this paradigm of sort of this continuous loop of finding errors and then fixing errors through our our specialized evaluation. And so Snorkel's uh platform, Snorkel Evaluate, is sort of our all-in-one place that allows teams to build out these deep targeted evaluators.
And so I just put a few screenshots here to illustrate some of the capabilities and functionality um that our our customers use on the platform. And so what we'll see is a you know a screenshot in the middle where we're sort of tracking the accuracy over many different forms of the evaluator as we're tuning that evaluator. And then we'll see below that we can see a breakdown of performance by the evaluation criteria and highlight sort of which evaluator was used.
And so you'll see there's like LM as judge but also fine-tuned SLM. This is a modular design that gives you the full flexibility to sort of pick and choose for appropriate for each task what kind of evaluation you need. Is it something that you can automate? Is it something that needs to be manual or something that's sort of in between those two things? Okay. Now, we'll talk a little bit about how we take those themes and um ideas and apply them specifically to agentic use cases.
So this is a really uh basic mockup of what an agentic system could look like in its sort of simplest form maybe. Um you have an LLM interacting with the environment. It could be external tools or knowledge bases and it takes some action receives feedback possibly involves you know some kind of human deciding like when to stop. It's fairly linear and understandable. But even a setup like this introduces quite a bit of variability.
You know, should the agent act again? Did it succeed at its initial task? Even here, you need to evaluate not just the final answer, but also the entire decision-m process. A genensic system could also look like this. Um, there's much more complexity in a system like this. This is a multi-step multi-tool agent system that receives the tasks, generates some intermediate steps and then selects tools, evaluates progress and loops and sort of until that goal is met.
Now here you're not evaluating a single output. You're evaluating really a plan, the tools chosen, the order of execution, and whether the agent recognizes like when to stop or backtrack. So while both of these systems are quite powerful, they really multiply the space where things can start to go wrong. And so they require a much higher level of oversight than maybe sort of a more simplistic Gen AI platform that we may have been working with, you know, even just two or three years ago.
And so I I kind of put this visualization together to drive the point home a bit further where it's like at every time you make a decision, you start to increase the surface area that you have in terms of opportunities where the system could go wrong or fail. And so while these systems offer a lot of great flexibility in terms of enabling you to automate a lot of these decision points, the without that proper evaluation infrastructure, there's uh they quickly sort of become unpredictable and unmanageable from an evaluation standpoint.
And so that's why we think these uh methods for eval sort of have to evolve to sort of match the complexity of these systems. And so these are the themes that I'll talk about with uh our our case study is what does it actually take to displace this complexity. And so the first is sort of tried and true to what Snorkel has been working on for many years which is expert curated data sets. So first you need training data that's purpose-built to stress test the agent.
Right? This means expert curated data that covers edge cases, those like tricky decision points and scenarios that you're really likely to encounter in a deployment. And then the second is what I talked about with our specialized or customized evaluators. These are evaluators that actually reflect the criteria that your subject matter experts care about. And so we need to understand how an expert defines a specific criteria like accuracy and then align that evaluator to that definition through um you know specific definitions and examples.
These can be heruristics codebased evaluators. They're typically that sort of LMS judge approach like when you hear that we're thinking about a customized LMS judge. Um and then the third category of ways to improve these systems is through reward signals. So like you know these are what allow your system to improve sort of through experience. Once an agent acts you need to tell it was this a good decision. Was the respon was the response like aligned with what I expected?
And these signals can come in many forms often like these human ranking forms like a preference ranking model or an outcome ranking model that sort of gives your system the right gradient to improve those decisions over time. So these are kind of the three three themes we'll work with here. And then again uh when we think about uh the capabilities that we're developing around agentic system specifically there's sort of three areas I wanted to highlight.
So the first is that you know capturing the full agent trace is very important. Um you know the thoughts actions tools and everything across turns. So this is like lets us again not just understand the final answer but also how the agent got there. So very critical. Um and then next sort of in the in the bottom right you can see like we don't just apply sort of a single criteria. We sort of capture many different criteria into a single benchmark that you can use to monitor the behavior of your system.
And then in the top right I think this is the again like one the most important aspect is that alignment with an expert. And so we track that alignment score with an expert and we also give you the opportunity to sort of review the rationale provided by the expert and by the model to identify sort of where those gaps are. And then when those gaps do show up, we make this like process pretty easy to iterate on by enabling you sort of tune that evaluator and sort of rerun this process as you start to find where those gaps are.
Okay. And then I'll just close out with a brief case study that we have with a with a customer. And so this is a real world example where we worked with a major telco company to evaluate and improve a production grade sort of agentic assistant. And so this system was designed to handle like conversational multi-turn interactions and coordinate across like many different agents. So initially the team on was sort of here in on the on the left side where they're stuck with this manual evaluation process to ensure the assistant met certain quality standards.
So that loop typically took like multiple weeks to get the right feedback. So the team was like, "Hey, we should develop some automated evaluators to try to like make this process more repeatable, more robust, and faster." But it turns out that the initial development of those evaluators was was not so great. They didn't really align with the expert opinion that they were doing in the manual review. So they didn't feel like they could actually trust them and deploy them to production.
And so by working with snorkel, they were actually able to improve this alignment in many areas of the system. And that's kind of what I'll go through today. Additionally, I think what I also highlight here, I don't talk too much about is a they then train a custom reward model to fine-tune that evaluation criteria, which serves as sort of a reinforcement learning signal to improve the behavior of the agent over time.
And then so here's a bit about what the specific agent structure kind of looks like. Um, there's an activation agent here in the front. And so a customer might say, "How do I activate my internet service?" And that first message will go to the activation agent. But then sort of behind the scenes, there are like three other agents that are operating or there's more than three, but they're just highlighting them here. So there's like a state summary agent that keeps track of the full interaction history.
There's an AMA agent that turns the issue into like a well-formed query and pulls information like from a knowledge base about a particular customer and then there's an exit agent that ensures the user knows how to leave the flow gracefully and sort of escalate when needed. So each of these agents sort of plays a different role in the interaction that they have with the customer. And so I want to provide then two examples of how we go through each of these agents to develop sort of automated ways to improve them.
And then so we'll first start with an illustrative example on this specific agent around confirming action. And so this slide shows uh the gap wherememes accepted 94% of their responses but there was a big big misalignment with the LMS judge evaluator only accepting 60% of the responses. And so when we sort of pulled back the curtain here to look at why, we found that the agent uh was actually being too rigid and flagging sort of every action rather than focusing on major actions between the customer and the customer service agent.
And so what we did here is all we did was update the prompt, the evaluator's prompt to clarify this distinction. And so now that LMS as judge focuses only on the major actions involving align improving the alignment withmemes and name building the team to sort of have more trust in the signal from this step in the process. And then the second one I'll show is an example on what they called the graceful exit criteria.
So in this case the LMS judge was actually being too lenient. So it accepted 55% of the response as correct wherememes only approved about 10%. And what I thought was really interesting about uh this example in particular was that instead of just saying, "Hey, we have an LLM as judge and we're looking to sort of improve it by prompting," we found that it would it's just it was much simpler and easier and a more elegant solution to replace it with something deterministic, which was just a Python function.
And so we actually improved the alignment withmemes just by replacing it with this deterministic function. And then they had much more trust in that specific evaluator and monitoring that system. And so this is a great example I think of how you know we we let you sort of swap in that kind of logic when necessary and like essentially you know don't just stick to one evaluation strategy use the right tools for the job.
Um and then I'll just highlight really quickly like there were many agents in this system and we went through with the team to identify like what their initial out-of-the-box agreements were and then how do we do that customization in many different forms. So, um, yeah, I only have about a minute left. Uh, just want to say, uh, really, you know, thanks for your time. Uh, we just raised, you know, if you're interested in in joining us, uh, there's a lot of openings on our careers page there.
We're also at booth D1 116, which is around the corner. So, please come check us out. Um, yeah, I got we got a minute and a half. So, if there's any questions, would love to hear something from the audience. And thanks so much for your time. And, uh, don't forget to do the survey. They really want you to do the surveys. Um, thanks. Yeah.

Learn more about the Databricks Data and AI platform.

The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.