Video: Evals for AI Agents: How to Get the Most Out of Every New Model | Duration: 2580s | Summary: Evals for AI Agents: How to Get the Most Out of Every New Model | Chapters: Webinar Introduction (11.42s), Why Evals Matter (144.45s), Audience Poll (259.11s), Agentic Evaluation Framework (378.63s), Building Test Cases (515.78s), Evaluation Set Design (684.02s), Eval Harness Testing (804.365s), Evaluation Methods (918.555s), Model Selection Criteria (1110.905s), Eval Common Pitfalls (1331.855s), Model Switching Poll (1492.24s), Model Evaluation Breakdown (1580.575s), Model Upgrade Playbook (1739.38s), Action Steps & Closing (1994.47s), Q&A Session (2097.39s), Starting With Evals (2222.52s), Q&A and Getting Started (2324.45s), Closing Remarks (2536.755s)
Transcript for "Evals for AI Agents: How to Get the Most Out of Every New Model": Cool. Hello, everybody. Welcome to our webinar. Super excited to have you all here today. We'll just give folks another second to, to to join the call, and you can enjoy this little, cloud animation that I made. But just a queue, quick quick few housekeeping items, as Taylor put in the chat. So, our recording of this session will be sent out via email, within twenty four hours. Questions can be submitted anytime, using the q and a tab. So I'll probably talk for about half an hour, and then myself and two others from the anthropic team, will join to help answer your questions. You can adjust reactions and settings. And, of course, we always wanna make these sessions more useful for you and more valuable, so we'll definitely ask, for your feedback at the end as well. Cool. So let's go ahead and get into it. So, my name is Amal Takrell. I work on the applied AI team, as an engineer here at Anthropic. And prior to this, I was a founder. So, hopefully, you know, some of that founder empathy will will come through in this presentation, and it'll make it really tailored for what's useful to you as as startup founders, and employees. When I was working on my startup, we spent a lot of time on on Evals. We were building tools for the commercial real estate industry, and we were making deal documents, for them. And so when you're doing these transactions, it's hundreds of billions of dollars. There's a lot of stakeholders involved. It's very customer facing. And so it's really important that those agents are robust, and can get get the job done, you know, not only quickly, but also correctly with a very high level of confidence. And so evals are a big part, of making sure that, you know, that was being done well. And so, in the next thirty minutes, we'll go through, setting up some evals. We'll talk about, how you can tell whether our new model actually makes your agent better or not. And after that, the rest of the session is yours. We'll go through questions. So please feel free, to send them in, as as we go. Cool. Sounds good. So let's go ahead and get started. So let's say we're a customer service start up, and let's start with an example, support ticket to show you why EVAs matter. So here, as you can see on the screen, a customer asks for a refund, and our agent says, yes. All good. You know, here's your refund. But eleven days later, there's no refund, and the customer says they filed a chargeback. So if we look at the logs on the right, you can see, you know, t one, the order was looked up, but the agent never called the refunded payment, and it just said the confirmation message. And so, you know, if you noticed, nothing crashed. The reply looks correct. And that's why this kind of failure is really hard to see just from your logs or from customer feedback, and that's really where evals come into play. So let's say there were 37 other tickets that took the same shape or the agent confirmed an action that it never took. Now let's have a second problem. The next time a Frontier model ships, would you be able to tell that day whether it fixes those 37 tickets or whether, it adds a new failure that looks just like them. Without a way to measure, you either spot check a few prompts and chip on vibes, or you wait weeks, and fall behind the frontier. And so spot checking can means, you know, doing a few prompts and waiting a day of job shooting, but waiting also, it takes a long time, right, to get confident, and and you can really fall behind your competitors. And in the AI world, the pace is real. Anthropics released six public models between July 24 and most recently on November 9, with Fable 5.2. And both problems have the same fix, which we're gonna talk about today. An eval suite that runs a real agent under real failures. And so before we get into it, I'd love to get a quick poll, of the audience. So I'm gonna open this, up here right now. And so, yeah, I'd love to know where are you today, between one and four where one is, you know, no emails, just vibes, and number four is a full suite of emails that you run on every single change. Cool. So I'll give you all a minute to get those, votes in. Cool. So I'm seeing the votes come in. We right now have, partial suite is in the lead at number one. Full suite is last, so hopefully we can change that soon. K. It seems like boats are still coming in, so I'll give it a couple more minutes or a couple more seconds. Okay. Cool. I think we can call it here. So, we have a 100 votes for partial sweep. And second, we have manual spot checks at fifty eight. And then we have... And third, no automated emails, just vibes. And then fourth, a full suite that runs on every change. Okay. So that's great. So I think that was quite a mix, in the audience here. And so, I think maybe when we get to Q and A, I'd love to hear a little more color on on, you know, especially for those that are in in the in the vibes, category, like, why that's the case. But, hopefully, wherever you landed, I think that has taught you off some takeaways that you can bring into your start ups' eval process. Cool. So what models can do is already way ahead of what you think they can do. You know, the models have a lot of intelligence built into them, and, you know, your job as as founders is is not really to, you know, make the model smarter. That's that's our job. But the, the the the problem that you have, you know, is being able to elicit the most performance out of the model possible, and that's kind of where the agent harness fits in, and confirming it works with your emails and, you know, hill climbing these prompt changes or context window changes, that really help you get the most out of the model. And so when it comes to evals, there's three things, I wanna cover today. I wanna cover specifically why agents need a different kind of evals, as opposed to just single turn evals. Then I'll talk about how to build your first full eval set from failures you already have. And finally, how to decide, you know, go, no go, when a new model launches fast enough to keep up with the market. And our goal here is to give you a playbook that covers trying a frontier release and getting to a point where you can use the result to make a real product decision for your startup the same day, you know, we launch a new model. And so a single turn eval is pretty simple. It's one question, one response, and you compare it to a golden answer, meaning, like, the correct answer that you might have in a dataset that you've collected, or from, you know, correct customer responses, things like that. However, agentic emails are a little bit different. Because there's so many, you know, failure points for an agent when it's kind of doing these end to end tasks, you know, an agent will reason, an agent will call a tool, It might change something and repeats. And so as you can see, you know, from this red line here, mistakes can compound across turns. And one interesting thing actually we see with the newest frontier models is sometimes agents might be going down the wrong tree and going down this red line, but then the models are powerful enough to realize that and then backtrack and then go down one of these green paths and and arrive at the right outcome. And so that's why just checking text is not good enough. You need to check the actual outcome, of of what the agent is doing and and check it with your system. And so let's talk about how we make these tests. So here's the whole process, and it's kind of our map for for the rest of this talk. You know, first, we start off like an incident, which we saw where an agent was doing, what we don't want it to do. And an incident like that can become one task, which is one test case. And then once we're gonna put many of these together, we get a suite of test cases. And for each run, or so for each, set of tasks in your suite, you wanna run these eval trials, many times. And then finally, you wanna decide, do I shift this new model? Do I mold where I am? Do I tune a prompt? What do I what do I do next? And so, this loop is also really important because you can keep running this. Right? As the models get more and more capable, you wanna have, harder and harder tasks to give it and and kind of continue to improve your product. So as the models get better, your product gets better as well. And so let's take this, refund ticket, as an example, turned into a test. So a task is one test case, a prompt, a starting state, and what needs to be true at the end. And so let's build it in four steps. First, we freeze the input. So this picture is a snapshot of the account that placed the order and the order as they were. And so here we call it order number, 0712. And that's what lets you rerun these test cases next month and test just the agent, not whether things have changed, you know, with your underlying data or something like that. Second, you know, we can define an assertion and write it in code wherever you can. So, you know, there's many ways to test LLMs, which we'll get to in a second, but wherever you can make the test deterministic and you can get a predictable right or wrong answer, that's kind of just where you wanna land, because it's less error prone. It's more deterministic. And, you know, wherever you can write it in code, you should... You you should. And so here, we see, you know, we expect a refund issued, and we also expect that there's no double take. You want both because a refund issued alone would pass an agent that refund twice, which, of course, we don't want, and that's kinda why we have that checked there as well. So one thing you should notice is we're just checking the end state. We're not necessarily checking the words in the reply because the reply, you know, models are pretty good at that. It's not something that requires a lot of focus. And things like tone are harder to check-in code, and so those might go into a different set of emails. Maybe we'll we'll use something like an LLM as a drug to check-in to a second. And we kinda wanna focus on one thing here. And so, the next thing that we wanna do is cluster similar bugs together and make sure we have test cases for all these different kind of failure modes. Cool. And so what we wanna do also is make sure that we're covering distinct patterns that we're seeing as failures. So, you know, we talked about this one refund bug, but that's not the goal. Right? We wanna we wanna check across many different patterns. So the goal is, you know, to create the smallest eval set that covers every single kind of failure that we care about. So let's say, for example, kinda going back to this this, you know, customer service agent example, that there's 258 escalations from last quarter, and we cluster similar bugs together. And so we have nine different failure patterns. And so what we wanna do then is make sure we have a couple of tasks per distinct condition, not necessarily one per ticket. And the reason I'm saying that is, you know, let's say we, we have these nine different failure patterns, but we'll have 200 of one. You know? Then we're gonna really overfit to this one failure pattern when we want kind of distinct, measurement of of things waste can break. And so, another thing to add to that is, you know, maybe if there's other bugs that you haven't necessarily seen yet that you think might happen or you think are really important, like, for example, let's say you are, you know, you're you're launching a new product, as this as, as, like, a clothing brand, and you think, you know, your customer service agent might not know how to handle questions about this, like, then you'd wanna add in some evals, and test cases around that as well. Cool. So, you know, I think, like, one thing that I kind of also want you to take away here is you don't need, you know, tens of thousands of tasks for your evals to be useful or or even hundreds. You know, I think, like, our kind of guidance is that 50 tasks, some real failures, is a great start for having a pretty comprehensive set of emails. And the last thing that you wanna make sure is that you're testing your agent, you know, in proper production conditions. And so when you're writing your, your eval harness, you wanna make sure that it runs your real agent on every task several times and grades what actually happens. So kinda going looking at this from left to right, agents can... You know, their their behavior can vary from run to run. And so, what you wanna do is make sure that you run each task each task several times, because let's say an agent passes the task three times with fail twice. You know, that's something that you wanna be aware of. And in the orange box is the most important part, your real agent being tested. It has to be your real production loop with the same code path, tools, and prompts, not a test copy. You know, if you're measuring just something in a dev environment, or that doesn't fully mirror your production setting, you're measuring a product that you don't ship. And so, you know, there's all these kind of edge case bugs that could happen, if those environment conditions don't line up. And then finally, you wanna grade the outcome. So, there's a few ways to grade it. Like I mentioned, there's deterministic code. There's LLM as a judge, which is trying to test, you know, these nondeterministic things or things that are hard to measure in code, like, for example, tone of a response, or, you know, if you wanted to spot check manually, like, with a human as well, that's also, super useful. And so when you're testing your agent, or different models, you wanna make sure that your harness doesn't change things, that it should. Right? Like, the only thing that we wanna be changing between runs is the model that we use or a prompt change. We don't wanna be changing anything around the context that we pass in, unless that's something specifically you're testing for. Cool. So in terms of, the ways to, you know, judge your evals, one that I talked about before was these kind of code based deterministic checks. And so, you know, an example, going back to our customer service one is this could be a check for whether a refund row exists or not in our database. Secondly, is LLM as a judge. So that's for a more open ended output, or scale, and can check things like tone or really anything that you would check via rubric. For example, like, is the response comprehensive? Does it cover kind of, like, you know, brand guidelines, things like that? But a more deterministic code check you could do is, like, is the response under x number of words? And then lastly, is human. So depending how hard your task is, you might also wanna consider whether you need experts, security, and spot check, you know, these these responses and, and especially with LLM as a judge. You You know, it's one thing where you have to eval your agent, but if you use LLM as a judge to eval your agent, you know, you're having one LLM eval another, and so you kind of have to eval the eval judge, which is a tricky problem in of itself. And so when you're dealing with more complicated tasks, having a human expert or even just yourself as a founder coming in and spot checking the results can be really useful. Cool. So let's, take an example here. So here's a code grader, up close on another task, a delivery quote. So there's no database for a check here, so we check the facts, in the answer. So let's say a customer ordered a 14 kilogram kilogram planter and asks, what delivery will cost. And so let's say, anything... You know, in this native example, anything over 10 kilograms ships, at the rate of $5 a kilo, and so the golden answer we wrote in advance is about $70. And so the agent uses, $8 per kilogram, which is incorrect, and says a 112. And so, you know, if you just say like, hey. Is the final answer right or wrong? That'll tell you, of course, like, whether or not the answer is correct, but that's not necessarily helpful for understanding where, the agent actually broke. And so my advice would be to write one assert per reason step per agent. So for example, a, did it extract the correct inputs? Which, yes, it said 14 kilos. Did it pick the right shipping rule? No. And that's the real Bob. Right? It should have said the $5 per kilogram, shipping. And then finally, is the math correct, for the rule that I chose, which yes. So we know there's no issues with, like, that math example. And then finally, did the did the final answer match? And so the answer to that is, of course, no. And so as we can see, on the right, you know, really, the the the problem was with step number two, and that's kind of what caused the the the wrong final answer. So how do we not done that kind of step by step assert per reasoning stuff? It'd be much harder to figure out why our agent is failing. Cool. Yeah. So I think like I was saying, you know, these, these asserts really help you figure out why why something's failing specifically. And then, you know, code can grade everything. So here's the same idea using LLM as a judge. And so let's say this person, asks like, hey. Should I buy the terracotta planter or the glazed one for my balcony? And there's no golden answer because, you know, you could go kinda either way. There's no right or wrong answer for this. And so, my advice here would be try and write a rubric, of what constitutes for a good or bad answer. And so for example here, does it turn the trade off correctly? Does it... If the user is writing from somewhere that's cold, does it account for winter frost? Does it calibrate its confidence? Does it say something very confidently when it's not sure? And is the answer clear? So that might be, like, one example, of a rubric that's useful, but, you have to kinda define this for yourself depending on each task. And I think, like, one thing to keep in mind here is that you wanna be specific about what, you know, constitutes for a yes or no on these. You know, you could imagine even if you're just like a human grading somebody's answer, it's very subjective for, like, what is a clear answer or what's a confident answer, or what's a good correct framing of a trade off. And so you wanna be really specific on how you, state that to to your LLM as a judge. And the other thing that we found helpful is, rather than saying, like, hey. Grade this answer on a scale of, like, one to a 100. What can also be more useful is if you have just kind of yes, no criteria around your rubric and just kinda, like, segment out what makes for a good answer versus not. And so that's kinda allows your LLM to be more precise when it's judging, but also just more predictable for you when you're writing it. Cool. And kinda going back to our refund example, what decides a pass or fail? So here's two answers that end with the same reply, which is the refunds issued, but only the end state tells them apart... Apart. One has no refund row in the database, so it fails, and one does have the refund row in the database, so it passes. And so when you're writing these emails, you don't wanna gate on what the LLM says. Ideally, you wanna gate on the outcome as well. So, you know, does the refund actually exist in the database, and, you know, did it follow whatever other rules you can check, on an outcome level, not just on a response level. And so I think we've talked a lot about just kind of measuring for accuracy and things like that. And so, of course, quality is super important when you are determining whether or not to move to a new model. But you also wanna consider other things, like, for example, cost. So, you know, maybe quality might be the same between model a and model b, but maybe cost is 20% lower and therefore it makes sense to switch. The other thing that you might wanna think about is latency. So, you know, if you're using a more expensive model like Fable, the quality is probably gonna be higher, but, you know, maybe the latency is is is worse than using something like Opus. And so you wanna consider that too. Like, how important is latency to your task? If you're doing some kind of, like, offline research, you know, task where, you know, you don't care if it runs for five hours or eight hours or, or ten hours, Maybe you just care about quality. But let's say you're kinda doing one of these customer facing, agents, maybe latency is actually really important even if it comes with a little bit of loss in quality. So when you're writing your emails, you wanna kinda think about all three of these, not just one. And so one more thing that, you know, you wanna keep in mind here is that email numbers are a starting point. They're not the end state. So, you know, there's a lot of ways you can mess up an eval. They're tricky to set up. I think that's, like, that's why it's a hard task, and that's why we're doing talks like this. And these are kind of four failures, that we see most commonly. I think the first is making sure you're testing the real agent. So, you know, if you're, if you're testing, like, a dev environment, which may not have all the context or all the tools, and that passes versus production fails, like, that's something you wanna make sure you're testing the real agent. The second is you wanna make sure that you're testing the correct environment. So for example, one of our evals had a real case where Claude gained an unfair advantage on some tasks by reading the Git history left by earlier runs of the same, of the same eval. So you wanna make sure that the environment is clean as well. And then thirdly, you wanna make sure that your graders, are correct. You know, it's it's pretty tricky to, you know, to get this perfectly, but you wanna make sure that your rubrics are clear. You wanna make sure, for example, that the context is different between the agent running the task and the agent grading it. You can imagine, like, let's say you were in school and you're grading your own test, of course, you're gonna be a little nicer to yourself than if someone else is grading it. It's kinda like the same principle here, making sure there's separate context. And lastly, you wanna make sure that the results are kind of, like, calibrated to, to how easy and hard your task is. Like, for example, if your eval set is always failing everything, you know, that's not a very useful eval. But if your eval is also saturated at a 100%, that's that's not a that's not a very useful eval either, so you wanna kinda something in the middle. And another thing that I would recommend doing is you maybe wanna have two sets of emails. So the way we like to do it is we have what's called a capability suite and a regression suite. So the capability suite is a hard task with a low pass rate on purpose, and that's kind of the hill you wanna climb with your agents and make more and more progress over time. Whereas a regression suite is a floor that you wanna hold, and you want this to be near a 100. So that's, you know, basic things that it shouldn't be getting wrong. And then the capability suite is where you're really pushing the agent to do more and more and more. And you can imagine when a task keeps passing on the capability suite, over time, it migrates over to the regression suite, and then you kind of come up with harder and harder tasks, that you care about for your model to solve. Cool. So, time for another poll. And so let me open this up right now. So I'm curious for all of you in the audience. How long does it take for you to decide to switch to a new model after release? So for example, for those of you, where Fable is relevant to your to your company and your product, have you switched over? How long did it take? And so I can see some votes coming in. Cool. Okay. So same day or same week is in the lead. Okay. That's awesome. Because I see a bunch of votes as well for where you don't really reevaluate models. So in q and a, I'd love to hear a little bit more, kind of about why, because I think that's a really, really important part of kind of building agents. Cool. Okay. I'm gonna close the poll in a second here, so try and get your last votes in. Okay. Sweet. So, I see a pretty clear winner. We have the same day or same week with a 121 votes, a few weeks with 35. 17 is a month or more, and then we don't really evaluate models, at eleven. So... Cool. Okay. Amazing. Glad to see that everyone's able to at least make a decision quickly. Awesome. Cool. And so I kind of here also wanna say a little bit, you know, for for those of you that were, like, in, you know, buckets, two, three, and four, upgrading is a hard task. You know, prompts and settings can be tuned for one model and behave differently on another, and that can be true across model providers. But even when you're, like, changing within, you know, anthropic models from, like, to table or, you know, moving from, like, 5.1 to 5.2, prompts and settings can behave differently with models. And so, you know, some settings also don't exist, when when your models come out. And without an eval, you can't tell reliably whether the new model, is better, or, you know, if it's introducing new bugs and things like that. And so another thing that's maybe a little hard to tell is, like, okay. Like, let's say you're, in this situation where, you know, we try model b. It's at 71%, and model a is at 64%. So how do we know... You know, this is pretty close. Like, how do we know if, you know, model b is actually better than model a? You know, seven points on a small test suite is often within variance, and so, you know, how do you how do you really know? And I think it's important to keep in mind that when you run this multiple times, that kind of noise go... Goes away. So, like, let's say if you run this, test suite 10 times and, you know, model b is reliably better than model a, that's a good sign that you can trust it. But another thing that's important to keep in mind is is you don't wanna just look at the results in aggregate. You also wanna break it down by task that you're testing for. So, for example, this is a benchmark from Lagora, a legal startup that shows, the quality by task. So these orange bars are the performance of Opus 5.5, and, the silver... Or sorry. Like, the the black bar, in the middle is the average of a 17 model, a a group of 17 models. And so you can see for different task types, Opus 5.5 is significantly better on those vectors than on others. So for example, at summarize, it's it's 33% better, whereas for extract, it's only 3% better. And so if you looked at the results only in aggregate, you wouldn't get this kind of understanding where, like, hey. Opus 5.5 is really good on summarization, but it's about the same on review at 1%. And so maybe, like, a different model could make sense there too. And so once you kind of don't look at it in aggregate, but you look at the breakdown, that can also give you some insights as well on where you can improve your agent. Cool. So when we think about a playbook, you know, step one is you wanna point your harness at the new model. And so you wanna use the same... You wanna give it the same prompts, the same tools, the same graders. The only thing that you wanna do is you wanna change the model that you're using, or prompt changes if that's something you're experimenting with. Second, you wanna run the regression suite. So this is the floor. This is what you don't wanna break. And then third, you wanna run the capability suite. So this is the ceiling of what gets unlocked by new models. These are really hard tasks that you wanna try and get better at, over time, and you expect to go up as the models get smarter and smarter. And then finally, you know, you wanna interpret the results. You wanna not only look at that aggregate, you know, the the aggregate number, but kinda doing that breakdown that we just talked through. And then finally, you wanna come up to a decision. You know? Do I shift the new model? Do I hold where I am? Do I need to do more investigation? Is the new model make sense? Do I need to tune some of the prompts or the contacts that I'm providing, to the model? And as well, you wanna make sure that you're keeping in mind latency and cost as well, not just quality. Although quality, you know, is pretty important, and latency and cost are falling, you know, as every new model gets released. And, you know, lastly, I just wanna point out, we have seen, you know, internally for us, this is a big problem. We know for start ups, it's a big problem as well. And so we have created a bunch of stuff to help you. So cloud code can help with this kind of upgrade and deciding. So if you use, the cloud API migrate command, it can make code changes for you if there's anything that, is specific. Like, let's say, like, you know, we've deprecated a certain setting, in the API. And then, we also have, we have, migrating code changes, upgrade for the SDK, API version for the API version, and then we also have prompt audit, that checks for instructions written for older models. So you can imagine, you know, one specific example is, for cloud code. There used to be a bunch of scaffolding around just kinda getting more and more performance out of the model for this, you know, these these set of coding tasks. But as the models have gotten more and more intelligent, they've actually needed less guidance, and we found that, giving it too many instructions is actually making the performance worse. And so the system problem for cloud code is about 80% smaller than it was, just a year ago. And so stuff like prompt audit will help you, with that. Cool. And the last thing I kinda just wanna say here is when you're deciding on a model, expect variance in your results. And so you want to make sure that, you're running it multiple times just so that, you can gain more and more confidence and expect less variance, between trials. Cool. Lastly, I think you want some... Wanna also make sure that your judge is good. So when you're writing LLM as a judge, prompts, you know, the judge is just a measuring tool, and so you wanna make sure that you're testing it, as well. And so a couple tips here, or you wanna make sure that you're judging on, like, binary criteria, you're hand labeling some of the inputs to make sure it it makes sense. Judges are grading the same set of of of questions and responses for each model. And then finally, you wanna compare agreement with human raters as well. And so that's just trying to give you, like, a sanity check that your judge is is doing a good job and is approximately the same as what a human judge would do as well. And so, yeah, I just said last thing to keep in mind here is you need to judge your judge, as well. And then you also wanna make sure you're making these tasks harder and harder and harder. And so, you know, you can imagine, like, let's say, we're in a world of, like, you know, Opus four where, something that's hard for that model is in your capability suite. But maybe if you're moving to, like, table 5.2, this new model solves it, and then it can kinda get promoted to the regression suite. And then you wanna add more and more hard tasks to your capability suite and keep climbing kind of this hill. And so as we kinda close out here, my ask for you is once we log off this tall... Office call, pull 20 real failures from your production environment, wire them to your agent loop, and try them on the newest models if you haven't already. Read the regressions, kinda take some of these tips, and see what happens and see where you can improve. And in terms of, you know, Claude helping you out, there's two skills that I want to point out, which is the build eval skill, which interviews you, helps you build as an eval, and then finally, the hill climb skill, which introduces one change of that one change at a time and helps you kind of hill climb, on the eval that it just helps you build. So Cloud Code makes this really easy, and we have all these skills kinda packaged up for you to make this really easy and something that you can kind of start today and ship an improved agent, you know, before the weekend even ends. Cool. So, here's some of the reading behind this talk. So if you wanted to scan the screen, or we'll also send out these, slides later, you know, this kinda goes deeper into each, of these topics, and and you can kinda do some more reading yourself. So I just wanna say thank you so much for, taking the time to listen. It's, it's been great. And so a few of us will kinda jump on and help out with q and a. And, yeah, if you, like this talk, please feel free to let us know, and we're happy to kinda do more of these and let us know what topics you find useful. Cool. So, I'm joined by Tal and David, to help us with, q and a. So, let's take some from the audience. I don't know if David or Tal, if you had any you wanted to start off with. Yeah. There's a few few very good ones here. Also... Hello. Yes. I'm David. Also on Maults also on Maults team. We, we focus mainly on helping customers, solve and work on evals to build their harnesses, and been here around six months. So good to good meeting everyone in. A lot of good questions here. Yeah. Tal, any ones that you see that stick out? I think there's a couple really good ones here around, like, if you're just starting off. I think maybe we answer questions in, like, the broad order of of, like, level of complexity, and then that way we can kinda cover everyone at first. What do you think about that? Yeah. I think that's a great idea. I think one of the high level questions that we can start with is, have you seen any frameworks that people often choose but end up falling short in production instances? I can take a stab at that. I think my initial response here is that as a judge is a great framework, obviously, that's been very effective. But a lot of people, to to the point that we were just talking about, don't take the time to take the human review on a lot of the output that's produced by an alum as a judge. So if you just have an agent watching an agent watching an agent, you run into this problem of who watches the watcher. You need some sort of way of having a golden set, something that you can really trust, and you can always fall back to that. But we'd love to hear your thoughts too, David. Yeah. I think that that sounds right. I mean, a lot of times what happens is you get something in production, then you run evals, and, like, you realize some clear gaps you have. You build more evals, and it's always kinda kinda always catching up to a bit. So, I'd say, like, if these failure modes will happen, it almost always happens. I don't think I've met any company that has, that has too many too many evals. So, I think I... I'd say just kinda keep going with it. And one really good tool for that is a mall cover here, which is, like, you know, a cloud code skill with the ability eval and, and help timing skill. So, yeah, agree there. Nice. I think it's a good one. Yeah. Another one here. I like this one too of... Yeah. So a small team with no evals. What's a minimum viable setup to start this week? So number of cases, task file format tooling. Tell anyone any thoughts here. Otherwise, I can I can share some too? If you wanna take a stab at it, I'll add some color. Yeah. I think the... Usually, what I'll see is 20 is a good baseline, because usually that covers... And I would see this, I think, in the presentation here, it was shared that, think of it as, like, categories of failure modes that you're covering with the evals. So that... That's what I typically see. And then once you get to that point and you realize, wait. We actually need more service area covered. You'll add more. But I'd say, like, if you're starting today, aim for 20, and then using these skills is a good a good place to start. Yeah. I think it's obviously very case dependent. 20 is a good starting point. I usually recommend anywhere on the scale of 20 to 100. That range is maybe not super useful because it's so wide, but I think it is so dependent on what you're building, and and how much how much you really need that sturdy validation. I. think it's one of the. reasons... Oh, sorry. I was gonna say, I think it also depends on just the amount of traffic you have. Like, let's say you're a fresh new startup and you have, like, you know, only, like, a a few companies using you, then the emails become really important. But if you're a startup that has, you know, tens of millions of users, you can start to do, like, kind of these online emails as well. And I think, like, a lot of the folks here are, like, pretty early stage, so I think we didn't really focus on that. But that's another thing to consider is just, like, how much you need the evals versus, like, you know, these offline evals versus doing online, tests as well. And on the... On this piece of being company and and use case specific, I think one of the questions here from someone named Ruben, was on the trade offs that you have to consider with, like, maybe you have a more advanced or intelligent model that fixes multi term failures, but it's slower or costlier. So do you... Either you guys have thoughts on on, like, how to think about those trade offs? You know, my initial response here was it probably depends a lot on the value that that specific task is giving to your customer, and that, like, sometimes it is worth having higher level of intelligence. Other times, it's not. But, I wonder if there's any other rules or cases you guys can think of. Yeah. I can think of a few cases where you maybe don't want the most intelligent model simply because there's a less intelligent model that saturates your evals. Like, if a Sonic 5.5 does the job perfectly, then there's no need for something bigger and slower. Another instance I can think of is if, like, to the point that we were just talking about online versus offline evals. If there's just a product necessity for a fast loop like that, then you probably need a smaller model even if it comes at the cost of maybe a lower intelligence. For offline evals, if you can run some overnight batch job and you have a really high standard of excellence and perhaps a regulated industry or something where mistakes are costly, then a big model in an offline batch job that takes hours to run is less problematic and more effective. I don't know if you have thoughts. Otherwise, there's another good question. Let's. jump to the next one. If I have no evals today, where do I start? This is great. I think we can just go to ground zero. I would say, hopefully, you have logs somewhere. I would log your transcripts and literally write down what success looks like for the user. Look at what the experience of your product looks like and turn 20 to 50 to 100 real tasks or failures into tests. That's obviously gonna vary, like we were just saying, depending on your traffic, depending on your workload, how much you wanna invest in those. But do that and then use synthetic data to to fill gaps, which AI is obviously great at producing as well. Yeah. I think, like, the other thing I would add to that is if you want an even laser answer, I would just say use the use the skill that's on the screen. I think it does a really good job of kind of, like, figuring out what's most useful to you and and helping build that. You know, if you really don't know where to start, I think that's a great a great starting point as well. There's one question I saw I I really liked. I can't can't find it looking back at it, but, it was around this idea of when you have really vague tasks that, like, that your your agent is accomplishing for your end customer, how do you think about evals in those cases? And so my initial thought here, and I think the response is relevant, is, like, a lot of times before you... When, you know, it's it's... You need to make it more specific in order to run eval, which is always a kind of hard thing to grasp. It's hard to get broad quality and actually tangible changes unless you have that. So, I've had... Have worked with a few customers in the past where, what will happen is we'll actually do an eval not on the end result, but we'll do an eval on how well the agent tries to uncover the necessary, like, unknowns before it starts working. So there's something there too where it's, like, where it's, you're testing out bigger to determine does a model or does the agent actually work before it it needs to. So that that will hopefully make it more specific and make it so that the end goal is more clear. So there's there's some nuances to a lot of this as well. Amazing. I don't know if you guys have thoughts on that one or or other follow ups there too. No. I think I think that was a great answer. I think we're just rounding up a time. So, just wanna say thank you to everybody for joining. It's great to get to share kind of this stuff where we do our cost... With our customers, kinda in this talk with you. And, we would love to see you in the next one. So please let us know how we can make these workshops better, and what kind of topics you would find useful as well. And so thank you for joining us, and huge shout out to, my teammates for joining as well and helping out with q and a. So, thanks so much, everybody, and we will see you next time.