Designing Agents (The Floor Is the Frontier) — Ben Hylak, Raindrop
AI Engineer · 19 min · 232 sentences · from YouTube's caption track
Each timecode opens YouTube at the start of that sentence. Line anchors (#s42) are the cue ids in the WebVTT, and every line carries its start and end seconds. All transcripts has every talk, and the whole corpus as one file.
- 00:01[music]
- 00:12Uh thank you all for coming, first of all.
- 00:15And um I want to talk today about uh raising the floor.
- 00:20So, it's this kind of a term we use a lot.
- 00:23Um mainly I want to talk about very, very practical, like what do I actually see, what do we actually see working in the real world, um how do people how are people making their agents better?
- 00:35So, the first thing I want to say is like um I could just I could just say a bunch of stuff.
- 00:39Like I think, you know, um the title of this track is like continual learning.
- 00:43I think it's like notable that in the real world, there's really not that much continual learning, right?
- 00:49Uh if you look at like the labs, if you look at like products that are in the real world, you really don't see a lot of continual learning.
- 00:55So, um I think it's very easy to like I could, you know, spend 20 minutes just talking about like, "Hey, here's a bunch of frameworks.
- 01:02Here's a bunch of like really nice terms."
- 01:04But what I'd rather do is actually turn this a little bit into a dialogue.
- 01:07Um this is not just because I procrastinated making a bunch of slides and because Fable was delayed and I was counting on that to make the slides, but also because like the reality is that um there aren't really good standards for these things, right?
- 01:19Like there there's not some one-size-fits-all uh solution.
- 01:22And so, I'm going to I do have slides, believe it or not, but what we're also going to do is sort of like I'd like to hear from you guys, people actually building agents.
- 01:31Like where where have the, you know, Twitter, you know, eval discourse, where has that failed you, right?
- 01:37Where where is it not working?
- 01:39What are the things you're actually hitting in real life?
- 01:40I'd like to talk about that.
- 01:42So, please like right now start thinking about your questions, start thinking about the annoying parts of your flow um when you're building agents.
- 01:49And I'd like to keep a lot of time for Q&A.
- 01:52Um so, the reality is like a year ago, agents barely existed.
- 01:57Like I remember being at like a speaker dinner here like a year ago and we're like, yeah, do you think like agents will like, you know, what you know, will they like keep getting better?
- 02:05Will they not?
- 02:06Um, and I think the crazy thing is like, you know, we're at we were at this point in time a year ago where everything was like a chatbot mostly, right?
- 02:14Um, I think people here, people in this room probably, you know, were a little further ahead.
- 02:19Um, it was it was a lot simpler then.
- 02:22Uh, if you remember Evals, the Eval discourse for like a year or two ago, it would be like, oh, what is the, you know, capital of the United States?
- 02:29And you're like, yeah, and you want to make sure that it returns Washington, D.C. and um, that was an easier time, right?
- 02:35It was like chatbots were so much more limited in their sort of flexibility that it was kind of easy to like uh, to do a bunch of like, you know, fact-checking
- 02:47things.
- 02:48Like you knew the answer to most questions your users would ask almost is is another way of saying that.
- 02:53At least like a like 80% of them or 90% of them.
- 02:56Um, but yeah, we have agents being deployed in finance, healthcare, defense.
- 03:01And um, I was actually really against the word.
- 03:03One of my like worst takes is like uh, early agents.
- 03:07I was like, ah, I hate the word agent.
- 03:09Um, I think there were a lot of people that felt the same.
- 03:10It was like, come on, it's an LLM, it's a whatever.
- 03:12But I I actually think it's it's valuable because I think we're seeing that agents are this like almost self-aware entity, right?
- 03:18They kind of like run around their environment, they have these tools they're using.
- 03:23Um, when they hit, you know, roadblocks, they start getting really creative, right?
- 03:27And that's what makes agents really powerful, but like that's also what makes them like catastrophic oh, well, I'll just, you know, I'll just like uh, decompile this and I'll just, you know, like do this thing that you had no idea that you could have never imagined.
- 03:40Um, sometimes those solutions are are helpful, right?
- 03:42Sometimes they're they're actually pretty harmful.
- 03:44Um, but yeah, what's very certain is we've come a very long way from like next token prediction.
- 03:49Like if you think about chatbots, it was literally just like, oh, it was like you know it's going to what is the next likely word?
- 03:55It was very easy to reason about.
- 03:56Um and I think the thing that you know on the evaluation front, I think the reality is like most of the things you'd read uh online about evals um are really still like stuck in this chatbot era.
- 04:09It's very like well like come up with your like 1,000, you know, eval data set and it's like the reality is like nobody's doing that.
- 04:15Um very few people anyway, sorry if you are.
- 04:18Um and uh you know, I think what teams have seen over and over again is like yeah, you can do that uh but those evals like break as soon as you have a new model, as soon as you like switch harnesses, like you have a bunch of like tools that you're like oh yeah, I'm going to make
- 04:31sure that I'm going to write an eval where it has to like call this tool if I ask it this question and it's like oh then you switch to like Claude code CLI and now 80% of your evals suck and it's like okay, you can keep doing that but the reality is like the one thing I could
- 04:42promise you is that things are going to keep changing.
- 04:45Like we're not done and so I'd be very careful about you know, uh investing you know, months in some sort of eval set that's going to you know, slow you down, right?
- 04:53I think the whole thing here is like you want more safety but you you don't want theater and I think that again, I think the evals as has been sort of
- 05:02uh prescribed by uh what I call like big eval.
- 05:06Um I I think that there's this reality where it's kind of like oh you should really should eval but then like do you actually delay, you know, uh including a new you know, upgrading to the new model on your product in your products?
- 05:18Do you actually delay it 2 weeks to update your evals or not, right?
- 05:22I I think most people would say no. Um so uh I'm the CTO and co-founder of this company called Raindrop.
- 05:29Um very quickly is like we find critical issues in production agents, we verify those fixes actually work without unexpected side effects, and we also simulate changes before they land in production
- 05:40um based on past behavior.
- 05:42Uh we're used by the best AI companies in the world and Fortune 100s, a lot of logos I'm not allowed to put on here yet.
- 05:48Um but companies like Vercel, Speak, Framer, um and uh I think what it means is we get this like amazing peak into like again, what is actually working in the real world.
- 05:59I think one of our like tenants as a company is that things are changing constantly and we have to change what we're doing constantly.
- 06:06And so I think uh if we we try to be very very honest with our both ourselves and our customers like what works and what does not work.
- 06:14We try not to sell things that don't work.
- 06:16Um just again, two two things.
- 06:19We have this like uh open-source tool that like thousands of people use, maybe you use it yourself.
- 06:22It's called Workshop.
- 06:23Um so that's made by us.
- 06:24It's like an open-source tracing tool.
- 06:26It's really really cool if you're trying to experiment with like self-healing loops.
- 06:30I think it's the best way to do that because if there's anything it can't do, uh your agent can just like add it, which is pretty cool.
- 06:36Um and so highly highly recommend it.
- 06:38Like again, I know thousands of people use it like people I anyway, I bump into people all the time that use it.
- 06:43Raindrop is like our kind of hosted offering that does issue detection.
- 06:46Think of it like Sentry, but detects issues for agents.
- 06:50Sorry.
- 06:51Um and we also make howtoeval.com.
- 06:54And so I think it's one of the most popular resources on how to evaluate AI agents.
- 06:57It is again, the link is literally in the name.
- 06:59It's how to eval.com.
- 07:00Um and I it's it's uh uh our attempt at a very very no-bullshit guide at at what actually works.
- 07:07And I'll be talking a little bit about it today.
- 07:10Um I think the like root question that we're trying to figure out today together is how do you make your your agent better, right?
- 07:18It's not even like what issues does your agent have?
- 07:21Uh it is actually how to make your agent better because your agent will have issues that potentially you can't solve or not exactly worth solving, right?
- 07:29Like um I think that we saw this uh over and over again where it's like um you know, you can imagine that um th- there are some things that you're like better off waiting for like, you know, we know Fable exists now.
- 07:40Maybe Fable, you know, like should you train your own like Fable level model?
- 07:43It's like probably not, right?
- 07:44Um, and there'll be benefits uh when you can just incorporate that into your product.
- 07:48Um, and so there's this actual balance, like how do how do I actually make my agent better uh with the tools that I have?
- 07:56When the way that we start thinking about it with customers is something like this, which is like, are you a benchmark maxer or a floor raiser?
- 08:04Um, I think that one of the problems when we talk about evaluating agents is that the terms are really confused.
- 08:12Like you hear OpenAI has a new like, you know, uh eval benchmark.
- 08:16And um, you know, they have evals, they run evals.
- 08:19And then you hear like, oh, well, companies have evals.
- 08:21There's like online evals.
- 08:22And like, it it like the word eval is like uh more or less a meaningless word.
- 08:27It literally is just like you're evaluating something, right?
- 08:29It's like a test in some cases.
- 08:31It's a So, it's a little confusing.
- 08:32Um, I think it's helpful like I think what it means is that like uh companies start borrowing like the language that like labs are using and like even copying similar benchmarks, but they're doing completely different things, right?
- 08:46Like they have completely different tools at their disposal.
- 08:48Like what companies are, you know, like the companies that are downstream of models, uh they just have very, very different responsibilities than labs.
- 08:56Um, like labs are trying to make these super general purpose things.
- 08:59When they fail, at least on like an API level, my my say if they get something wrong, it's like it it's just different.
- 09:06Um, companies are trying to like imbue all this like company specific uh domain knowledge.
- 09:13Like, oh, here's the shape of the data and here's what all this data means and here's like how to access it.
- 09:18Um, and so it's very, very different.
- 09:21Um, we have this like funny quiz on on the how to eval site.
- 09:26And um, it's interesting, right?
- 09:28Like it's kind of like one one of the questions we we think about is like, oh, are your engineers like or sorry, are your users like domain experts in the thing they're doing?
- 09:36It's again, is it almost like replacing someone or is it augmenting them?
- 09:40Because if you think about like co-pilot, you know, auto-complete style or cursor what I you know, tab complete now.
- 09:47Uh if it gets something wrong like you can just delete it, right?
- 09:49Even like Claude code CLI or like codex if you're an engineer, it's like it does do things wrong all the time.
- 09:55Um but then when you think about products like Devin, it's actually gets more interesting, right?
- 09:59Like the if if something messes up on on the Claude code side, it could be that like you don't have something installed correctly on your computer.
- 10:06There's a lot more like user error.
- 10:08There's a lot you leave a lot more up to the the users to get correctly.
- 10:12Um and I think when you start thinking about things like AI doctors, for example, it's like uh is a very very different shape of responsibility as far as like how much responsibility a user has in actually getting things correctly.
- 10:23Um so, anyways, it's kind of funny.
- 10:25Um just kind of breaking this down.
- 10:27So, we think about the ceiling as like what is the best thing like craziest capability, emergent capability that your your product or agent is capable of.
- 10:35Like things that people would just not expect that it could do.
- 10:37And then the floor is like what is the worst thing your agent can do?
- 10:40Like recommend a competitor or like delete a bunch of data or like accidentally send a you know, AI slop email to a customer because it like technically had access to like your email or something.
- 10:51Um and again, I think that like the floor is very interesting because I think that that is the thing that like breaks user trust.
- 11:01This is the thing that like the reason why people uh like if you think about the worst things that could start happening in society, whether that's and and things we've already seen um whether that's the uh you know, like 400 kind of psychophancy
- 11:15um or uh things in that vein, a lot of it is more on like the floor side rather than the capability side.
- 11:21Um and anyways, I could talk about that for a long time.
- 11:24Um I'll kind of skip this.
- 11:27So, the talk obviously is going to be about floor raising.
- 11:33And um the first thing that we're going to talk about is like offline evals.
- 11:36Again, we keep it very simple.
- 11:38Um I think that like we said before, things have changed a lot sort of since this chatbot era.
- 11:44The sort of like, "Oh, you just uh you know, like look at, you know, string contains, you know, on the uh uh on like the text output or something."
- 11:52Or even like the style of eval tools that have like a prompt playground, like this sort of thing.
- 11:57Like I actually don't know many companies that use some sort of like managed prompt like in the cloud anymore.
- 12:03There's like one or two I can think of.
- 12:05Um and the reality is just like the prompt is actually like the whole thing now.
- 12:10It's like all the code.
- 12:11It's all It's your whole harness.
- 12:12It's like everything you're connect like It's not just like some string where you tell your the agent what to do.
- 12:17Um and so what I think that means is the evals themselves actually should look a lot more like code.
- 12:22In other words, like a lot more like tests.
- 12:25Whether that's unit tests, whether that's end-to-end tests.
- 12:27Um they should look a lot more like tests.
- 12:29Um uh Century has this uh a really cool package called like Vitest evals.
- 12:35It's literally just like Vitest with like some syntactic sugar on top.
- 12:39Um OpenAI calls this like macro evals.
- 12:43And um again, I don't think it really matters what you call it, but like essentially run tests on your agent uh locally uh is is is the advice.
- 12:52And keep these evals as code.
- 12:54Um and again, as much as possible, like the I I don't see a lot of companies using the sort of like prompt playground stuff anymore because of how the shape of agents has really changed.
- 13:08Uh When when we think about raising the floor, we think about really like three things.
- 13:12One is that like discovering all these like unknown issues that you have in your app, like things you're just like not seeing.
- 13:19That's one.
- 13:20Two is that for each issue, you really need to know two things.
- 13:23You need to know when it actually started, and you need to know how many people it affects.
- 13:27It sounds like obvious, but I promise you that like in the day-to-day of actually like having an agent, uh you're going to get like, you know, you already get thousands of people like, "Oh, I saw this weird thing.
- 13:36I saw this weird thing."
- 13:37So, again, the first thing is like, "Is this new?"
- 13:39Cuz if it's not new, like I probably like I'm going to care about it less.
- 13:43If I if if if I tell you like, "Hey, look, this issue started yesterday."
- 13:46or this issue started like three or four days ago, suddenly like your mind starts turning and you're like, "Oh, what did I do?
- 13:51Like, what what what what changed, right?
- 13:53Did we change model?
- 13:53Did we change you know, so something else um downstream?"
- 13:58And again, the second one is like percent of users.
- 13:59Like, if I'm uh knowing that it happened to three users versus 100,000 users just is uh critical.
- 14:06Because again, I think agents will have an infinite number of problems.
- 14:09That's sort of like the the great and terrible thing about them.
- 14:12It's like by they're like these little stochastic, you know, crazy things exploring everywhere.
- 14:16And so, you just uh in order to even start making things better, you you really need to need to know these two things.
- 14:21When it started and percent of users.
- 14:24Um and I think also another question we get a lot is like around like, "Oh, like I, you know, what should I be doing?"
- 14:32And like, the first question I always ask people is like, "How many users do you have?"
- 14:37Like, we have customers with millions of users and we have customers with like five.
- 14:42And the real And like, to be clear, like uh customers with five users like especially if let's say it's like an internal um app in an enterprise context where it's like, you know, giving like very critical information.
- 14:54Like, it could be very very important to get well uh or sorry, to get correctly, but it does mean you just like should be have to have a radically different uh approach.
- 15:03Like, so for example, on the like, you know, uh let's say like 10, 20, 100 million, you know, messages a day side of things, like experiments become extremely valuable.
- 15:12Uh if you have a free tier, you can like uh run experiments on a very small sample of your free tier.
- 15:17Um and that can just be extremely extremely useful.
- 15:19Um obviously, if you have five or 10 users, like uh, I would not recommend, you know, experiments or AB tests, etc. Um, so, uh, this is one of those things that, like, uh, uh, really, really depends on the person.
- 15:31Um, what I want to talk about now, before we get into Q&A, are like three very, very, very, very tactical lessons on the sort of like issue, uh, discovery and analysis side.
- 15:44These are like three things that I I've never heard anyone talk about, like, three things that we've sort of just discovered from first principles as we do stuff at Raindrop.
- 15:54So, any competitors in the audience, please pay attention.
- 15:57This is very important.
- 15:58[snorts]
- 15:59Um, the first one is that clusters are not issues.
- 16:04So, um, the sort of like naive approach that we've seen either customers or also, sometimes competitors, uh, take is like, well, you just take all the traces and you just cluster it, right?
- 16:15And you get these like clusters.
- 16:16It could be like useful from like an analysis, uh, you know, like, how we do things like error analysis, like, the the the this, you know, finding these clusters of things.
- 16:25It could be useful to see like, well, what's going on in your data, right?
- 16:27Going from like a bunch of logs to like something.
- 16:30Um, the problem is that, like, and and again, I I have here, it's useful for one-off analysis, but it just doesn't really scale well.
- 16:38Um, and there's like a very good reason why we also, you know, if you think about like normal telemetry, we we we try to think a lot about like normal telemetry, what are the analogies?
- 16:47There's a reason why you don't sort of like take all of your, you know, normal logs and just like start clustering it, right?
- 16:52Because when you're building software, you you need to know like when something started, um, you need to know how much it's grown.
- 17:01Um, those things really matter.
- 17:03So, again, with clusters, it's very, very hard to reliably, uh, track over time.
- 17:08Um, like uh, like again, it's like called like temporal clustering and there's like research in this, but like, it's pretty hard, um, to do reliably.
- 17:17You also just like don't have control of boundaries.
- 17:21Um and this also changes a lot depending on your product.
- 17:24Like um what you consider to be like, you know, the same issue or not um is actually very, very unique to every company.
- 17:34And so you sort of will get these like kind of weird clusters.
- 17:38Like, you know, you can imagine each of these is like, "Oh, wrong price quoted and wrong wrong refund calculated."
- 17:43Are like actually like you'll get a cluster like, you know, uh you know, price issues or something.
- 17:51And it's like, yeah, sort of.
- 17:53But like actually these could have like extremely different root causes, right?
- 17:56So so price issues is or like, you know, uh issues calculating is like, you know, as a cluster it's not really that useful.
- 18:03Um and it also again doesn't doesn't really tell you the things that, you know, we talked about needing.
- 18:09Um So uh yes.
- 18:13Uh Last one here is going to be uh code mode actually really scales.
- 18:16Like you've heard about code mode in the context of MCPs.
- 18:20Um I highly recommend just uh trying to apply this to traces.
- 18:24Like you can just write uh these classifiers and you can write them and you can run them in a sandbox and you can run them at production scale.
- 18:31Um we have a you know, feature that makes this easier, but like you can do this.
- 18:35So I highly recommend it.
- 18:38Last lesson here is that agents are very, very bad at anomaly detection.
- 18:41So don't ask your agent to find anomalies.
- 18:44Uh ask it to investigate anomalies you've already found.
- 18:47So uh what I mean is like pull out as many deterministic things as you can like keyword frequency, right?
- 18:53So if you see a spike in like a keyword it doesn't necessarily mean that there's an issue, but it does mean that you can uh it's like something more tangible tractable that you can have an agent actually investigate.
- 19:06Um And I'm going to skip through the rest because we're tight on time.
- 19:11And I lied to you uh which is that we're not going to have enough time for Q&A because I only have a minute left.
- 19:16But, what I'd love if you could do is, uh, find me after.
- 19:20Um, I'll be around for the next hour and, uh, let's just talk.
- 19:22It's probably a better format than standing up here and it'll be hard to hear your questions anyway.
- 19:26So, uh, yeah, thank you guys so much.