AIE CODE: Google DeepMind, Anthropic, SpaceXSI, TypeSafe, Lovable, Ramp, etc (System One theme)
Read full transcript 388 segments
-
Good morning and welcome to AI Engineer Code Summit 2026. We're excited to bring together some of the brightest minds in AI engineering for a day of fresh ideas, new perspectives, and conversations shaping the future of how we build software. To officially kick things off and lead us through today's keynotes, please put your hands together for our MC, Corey Quinn, chief cloud economist at the Duck Bill Group. Thank you all for coming. This is the last flagship event of the year for AI engineering. Uh how are folks feeling so far?
-
>> Yay. That's exciting. What have we learned? Anything good? Anything exciting? anything terrible. >> Ontology. >> There we go. That's right. Ontology. What does it mean? We're going to put a pin in that. We're going to come back to it. I am Corey Quinn. If you've never heard of me, you're a what we tend to think of as being happy and b uh if you are curious, you can look at all the various things I do at my site shitposting. Which in itself tells you everything you need to know about what I do. So today we are going to be kicking things off and having some fun talks with people who have interesting, useful things to say rather than me flopping my gums up here. Uh we're going to start by bringing up our friends from Swix. Swix, are you available yet or are you still hiding back there? Terrific. Come on out, please. And Leah as well. >> Did I jump the gun? >> No, please. By all means.
-
Swix, thank you. >> Sorry. >> Thank you. >> I didn't a long time and uh it's so nice to have him MC as well and give a warm welcome to Leah, general manager of AIE. >> Hi, morning. >> Um uh yeah, you know, we we're so happy to to open the show for you. Um and hi to everyone watching along online. AIE code is uh kind of our vertical very focused smaller format uh uh you know format on on um coding agents and I think it's been such a huge year in coding agents. Um there's also been uh a lot of different evolutions in terms of like how we think about what the the mission of coding is. uh we used to have uh you know and in specific track titles like coding agents and software factories and all these things but now I'm talking about like system one thinking and and uh and raising your ambition and all these like very fancy higher level extractions of of work. So I'm excited to see uh for you to see and excited to me personally to attend uh all these talks that are coming along.
-
>> Um and I'm just going to talk a little bit 2026 um with AIE. So we've had a really big year this year. We had our first event in London. Uh we also graduated up into Moscone for our world's fair. Um we also had a bunch Oh, here we go. I don't know if it was behind us. Um we uh we had um multiple partner events which if any of you went to uh we'd love to hear feedback there because it's a great program that we're running. Um we've also grown our team um substantially. So I think there was a slide somewhere. Oh, I don't know. I think they've >> beautiful people. Someone's very excited about clicking through everything. >> Um, yep. We, uh, here we are. So, uh, there we go. So, yeah, we've grown our team. We went from, um, four in the team to 20 this year, uh, which was very exciting. So, this is everyone. A big shout out to the team. Um, as you can see, the program is growing and, um, everyone here is responsible for that. >> Um, >> and I'll slowly interject like why are we growing? It's because we want to provide a consistent product for the rest of you. uh that like wherever in instead of the major cities that you're working in uh you have an AIE to go to.
-
Um and we try to spread out you know we're doing something like four flagship conferences a year and a lot of partner conference around the world. >> Yep. Um we also I think I just saw that um our most popular talk which just came up there uh has almost two million views on YouTube but points not coming up. And then we are also just about to announce 2027 um with a wider program. We're going to hopefully announce that in about 3 weeks time. Um we are doing more partner events. We're entering into some different regions. It's very exciting for 2027. Um a couple other things we've done this year is we've partnered with Major League Hacking. Um and they are going to be running a hackathon with us at every event next year. Um we actually have one this Friday. So if you guys haven't signed up and you want to come u please look on the website. Uh we are also working with Neo4j on a kids event series also. Um and that is happening this Saturday. So if you have got any kids between the age of kind of six to 14 uh feel free to come down. Again you can find that on the website >> or aie.kids. Uh I'm in my domain buying era. So we got a kids for kids and asec for the schedule.
-
>> Yeah. Um yes. So and then we have one final event for the year which is a Sydney event. Swix will be there. I will not. Um, and that closes out 2026. So, yeah, thank you so much for coming everyone and we hope you enjoy the the next couple of days. >> All right, >> enjoy our show. What a great way to get us started. Uh what we have found here is that events like this don't happen without help from a lot of our partners. It is incredibly important that they are there and support us. We want to thank them for it. Beginning with our presenting sponsor, uh Google DeepMind. Could we get a round of applause for them please? There we are.
-
AV challenges always fun and exciting on that one. Stall. It's great. Uh I also want to thank our supporting partners as well about whom we would again not be able to be here. Normally it shows up there. Oh there sorry wrong side. I look left. It's right turn. If we get a round of applause for them as well. Thank you all for your support. It's appreciated. Yes. And of course the gold sponsors as well, which without whom again we would not be able to be here, at least not in this venue. We'd basically be yelling out on a street corner at people, which while not unheard of, is generally not the premier experience you try to have for something like this. Our silver sponsors also, thank you for them as well. One more round of applause for them please. One of the hard things about dealing with the modern era in AI is it feels like this year has been about 10 years in technology. We look back at what we were doing in January and it feels like it was almost medieval times. It the things that were best practices and made sense then now just seem absolutely bizarre. It's things get moving so quickly and it's easy to basically take a nap and feel like you've woken up and gotten like surprised by what happened while you were sleeping. Everything's
-
moving faster and that is the theme of our first talk that we're going to have because you're not here to listen to me ramble. Um, Natalie Serero is the co-founder of Gimlet Labs and is going to talk to us now about what happens when AI becomes 10 times faster. Natalie, thank you very much. Please come on out here. Hello everyone. It's so good to be here. Thank you for being with me this morning. First session of the day. I see everyone here is a morning person. So I'm here to talk to you about what will you build when AI is 10 times faster. We're all builders here. So we're all thinking about what's next.
-
Just a bit about me. Um my name is Natalie. I'm a co-founder of Gimlet Labs. At Gimlet, we're building an inference cloud that's designed to produce much, much faster tokens at high efficiency, leveraging different categories and types of chips. At Gimlet, I work on our kernel generation side of things across different hardware types. Um, another thing about me is I love agents. I use my coding agents for everything, but I really, really hate waiting. And one thing that given that kind of surprises me is when you're building an ultra fast inference cloud, people ask me this all the time actually. They're like, isn't inference already fast enough? And I'm like, what? But they have a point, right? Because I can do things and we can all do things with our agents so much faster than we could have done before. For example, uh this slide here, I actually made pretty using my agent and it took me with my agent much less time than it would take me to do that by myself. I'm not very good at design. And so I think that from an endto-end perspective, obviously we're getting more done, but in terms of is it fast enough, like that's still a question. So let's take a look at what happened when I used my agent to make that slide look pretty. You can see the ugly before slide on the right.
-
So, we're going to press play here. And I said to my agent, can you improve the visual look of this slide? I love Figma. I use Figma for everything. So, of course, I'm going to use it with my agents. So, what we can see on the bottom here is the timeline of what happened. And it the text is a little small to see, but red is inference. Red is the time spent that the model is in inference. Green is the time it's spent making tool calls. and blue is the time that it's spent taking my input. And we can see that, you know, this this agent's doing good work. It's doing a lot of thinking, but I'm waiting here. I'm actually waiting so long I sped up this video 9x because I didn't want all of you to have to wait for the full turn to end. It ended up being about 2 minutes long. But we can see at the end of this after my one input, we have this nice pretty slide at the end. So, you know, on one hand, this is actually much faster than a human can do. But on the other hand, in those about two minutes, I have probably moved on to another task. I'm not really focused on this anymore. I've context switched.
-
And when we look to, you know, the inevitable progression of inference getting faster and faster, I think it helps to look back in time and look back to the internet era. Um, I mean, we're still in the internet, but like you know what people canonically call the web era. And what we always see with a new shift is that with each new major wave, new capabilities are unlocked. And so we do things that weren't possible before that technology, like using an agent to edit my slide. So I think we should take a step back to 2000 in the early days of the internet. I think many people here weren't even alive, so it'll be a history lesson for you. And we're going to look at a little application called Squirrel Mail. Squirrel Mail is actually open source, so you can run it today. It was a web application for uh you know doing your email back then. So on the left what we have here is I'm running squirrel mail and I'm running it with simulated 2000 dialup speed and then on the right it'll run with 2026 speed. So the speed that we're used to today. So the both sides are going to take the same actions but um the left side I'm using it with that simulated lower uh speed internet and we can see that you know it's doing its job. Back in 2000 loading an image like this would have blown people's minds but our modern eyes are like wow that took forever to show up.
-
And so we can see these lags. we can see a noticeable thing, but on the same time, someone might have looked at this back in 2000 and said, "This is fast enough. I don't actually need this to be faster." The thing is though, all of the major giants back in that era did find out it mattered. Pretty much every major company from Amazon to Yahoo to Google to Bing, all of or being at part of Microsoft like all of them found that even very small delays cost them users. It cost them people coming back. It cost them people doing as many clicks. It cost them literal money. Even a hundred milliseconds of delay added on to the typical experience had a demonstrable impact on the bottom line. And even when you got rid of that delay, those same users didn't come back to the platform as often as they did without that delay. And this makes sense because fast products keep us in flow state. They provide a stickier UX. About 100 milliseconds feels instant to us. One seconds, one second of weight, I still keep my train of thought. It's not a big deal. I don't really notice it. 10 seconds, we're going to start turning to something else from a psychology perspective. Maybe we pull out our phone, maybe switch to another agent.
-
But today, from data from June, the median coding agent turn is 63 seconds. Each workload has different speed requirements. We don't need the same speed for everything. But over time, our expectations do rise in the fastest days of fastest internet in the squirrel mail days would feel incredibly slow to us and we can keep we can expect that trend to continue for inference speed as well. There's a problem though and the problem is everyone knows that we have massive compute scarcity. Today's infrastructure is under incredible pressure to deliver two things at the same time. More tokens and faster tokens. Unfortunately, these goals are fundamentally at odds because faster tokens require more energy to produce than slower tokens. So, with the same energy footprint, you can't make as many of them. Back before this was a session and not a keynote, thanks to upgrading this to a keynote everyone. Um, we uh we're going to play a game that I made uh called Token Mint Factory. And you can actually play this. I will not be offended if you play it right now even, but just so you know, it does not work on phones. It only works on your laptop. And basically in this game, you're running a token mint factory. You're printing literal tokens. And there's different modes. The modes are you can play to maximize how quickly you can put out one single token. Or you can maximize how many tokens you can put out in 60 seconds. Or you can play the SLA mode where you have
-
to maintain a 20 second SLA on each token for it to count, but you're still trying to put out as many as you can. And as you play, you'll quickly see that the strategy is extremely different for doing fast tokens versus doing slow tokens. And neither one is actually better or worse from a decision perspective. It's just a matter of what the application needs and what makes sense for your factory. So I took real runs from people at my company that played this game and I made a paro frontier of these tokens in the game. And we can see there's a real life paro frontier of this game as well. If we have faster tokens, we don't have as many. And if we have more tokens, they're not as fast. But there is a way to get more up and to the right. And up and to the right is where we want to go. We want more faster tokens. I don't want to compromise. I want both. So the game has a concept of adding upgrades to your equipment. And what we can see is that compared to the no upgrade baseline, these technological innovations help drive us up into the right and get more tokens and faster tokens.
-
So how do we upgrade our real life assembly lines so to speak to make making our actual tokens faster? Uh one thing that we do at Gimlet for this is we really believe that you have to use the right accelerator for the right job. And so we actually take models and we split them up into different pieces and we run each piece on a different category of accelerator. So we might run one piece of the workload on a GPU and another piece of the workload on something like an SRM ccentric accelerator. And we find that even with the network overhead, this delivers dramatically faster tokens. It's essentially like the same thing as the upgrade to the equipment in the token factory when you better match the accelerator to the job. Unfortunately, we have ended the time of free lunch transistor scaling, right? So now we have to look to other approaches to make things faster. And so with this, it's a little hard to read, but we can see the same real life paro frontier for a frontier model. If you look at, you know, simple homogeneous GPU inference, it's very high throughput. And then the latency drops off a little bit. You don't you can't get it as fast because the y-axis is how many tokens that I can make and the x-axis how fast these tokens are for each user. And we can see that depending on how you split the model up because there's different ways of doing it. You can get much faster tokens for the same power footprint.
-
You can get many more tokens for the same speed or you can get more and faster tokens. So as an industry we need to continue pushing pushing pushing on this because otherwise our poor data centers are just going to keel over. So I just wanted to show a quick demo of this. So um using a coding agent build the same app using heterogeneous inference that leverages different chip types versus the traditional one. So this is going to be the game snake. And we can see on the left the heterogeneous fast one's done. I can see in my flow state I can keep adding things. I can keep playing but on the right side it's still going. And by the way I still think the left side's too slow. We need to make that even faster. And then we can add a competitor to the game and we can see even with the tool calls, even with all the things that it's doing, it's going to complete and then the other one will still be hanging because it's fundamentally about how can you drive more efficiency and better performance with the same resources.
-
It's going to go on. I'm not going to make you guys wait for this. One thing that people often point out too is is inference the bottleneck? Our tool calls the bottleneck. And I think this is a great point. If we look back to the turn timeline from the time that I was spending updating my slide, we can see that 80% of it was inference and 18% of it was tool calls. If we simulate that same exact thing and have 10x faster inference, we can see that 67% of that will be tool calls at that point if we don't optimize the tool calls. That's why it's important that we have to constantly attack the bottlenecks of the application and get the lowhanging fruit where we can. Today, people are focused on inference speed and maybe we haven't optimized the tool call side and how tools are called as much because it's not the bottleneck. If I cut away the tool calls on the upper one, it wouldn't even really matter to the end application. But once we get much faster, we have to think about how to call these tools much more efficiently and much more performantly because otherwise they're going to be the reason that we're all waiting around.
-
I think the good news is that optimizing these speeds and what we're all collectively doing as an industry is a verifiable task. If I know what my inputs and outputs should be, I can have agents do this very very full stack. And that's where we're increasingly moving to. We're having self-improvement loops with these agents to drive better efficiency on the fly as our inference is running. And at Gimlet, we're building recursive self-optimization for this that pulls from low-level telemetry from our data centers all the way up to the model layer and trying to use all of it to in to improve the overall efficiency of the workload because if you just optimize one small piece, it might not make that much of a dent. I want to show another demo because I think that cyber security is on everyone's mind right now. Um, we're all seeing like the huge incredible advances in AI driving awareness that there's all these vulnerabilities in our software and I think that this is an area where faster inference can really really help.
-
So this is a dumb fake scenario but it's a real application and a real demo where imagine that you're running the dog club and that's a website for dog lovers to upload and vote on pictures of dogs. However, unfortunately, like we often see, one of your node dependencies has a vulnerability and this is a real vulnerability. This is really a node tar and you're running a security agent on your application and it's trying to monitor live traffic and see is there anything going wrong that I don't know about. This agent doesn't know about this vulnerability, but it does know its job is to protect your application. So, let's do a quick turn with normal user traffic. We're going to upload a dog biscuit. And on the upper side, we have the application logs. And on the bottom, we have the defender. And the defender is monitoring, but it's not in the critical path because it's not fast enough to actually respond to every user request live. It's monitoring things async.
-
And we can see biscuit gets uploaded and we see that this is an okay, you know, this is an okay upload. The defender doesn't see any problem. But now what we're going to do is have this defender operating when there's a malicious upload. And this upload is exploiting the real vulnerability where in node tar there was a release where you could basically overwrite files that you weren't supposed to overwrite based on the destinations of what was being unzipped. So in this one we have Ranger, a fake bad uh malicious dog. Not really a dog. And what we're going to see is that the defender is going to figure out that this is a malicious thing. The agent is smart enough to detect that it's doing something that it shouldn't be doing, even though it hasn't seen this exact vulnerability before. But unfortunately, Cat's malicious upload has taken over. So your website's gone. It's too late. You didn't react in time. But if we retry this same exact malicious upload, but this time with an ultra fast defender, and again, this is a real a real demo fake use case. Um, we can see that with ultra fast inference, we can react to things and do things online much more quickly. And this should change the way that we think of how to use agents in the first place.
-
We're all thinking about how to use them in an async way, but we should think about how to use them in online ways as well. So we can see on the bottom that the worker blocked their request and it was like what are you doing? This is obviously wrong. So faster internet took us from squirrel mail to ondemand highresolution streaming, right? Like if you just look from this to this, it's crazy. If you showed this to my like 5-year-old self or something, I would have been like my mind would have been blown. And this is just one of many things that I can select. So, like what does a 10,000 token per second world look like? We're at in the like low hundreds today. What does it look like when we get to a million tokens per second? Like what does that unlock for us? And I think that we should all ask ourselves this too. It's important in AI to skate to where the puck is moving, right? It's changing so fast. We need to be ready. We need to think boldly. It's not enough to just do what we've always been doing. I think we've all had the experience where we make an audacious request to our agent and after the latest model release, it just works. And it's going to be the same thing with latency. And so I think that we can think about ideas that are both coming soon when we hit a certain latency threshold, what we can do, but also the stuff that is real life sci-fi. Like if you look at something like Jarvis or something, there's no way today's inference could be fast enough to power that experience for Iron Man. But we will get there. So, I'm really excited about online use cases, online security,
-
online things of like I want to just tell my agent what I want to build and it's building it right in front of me and I don't even have to type anything. I think we're going to have new patterns of interaction. You know, think tab complete for everything. How can we have the user side of things be as quick and immediate as possible because the inference side is also just as fast to accommodate it. And we're going to have so many more agents. We're going to have even maybe transformers driving robots, right? There's so much that we can build when this gets unlocked. And I think as builders on the frontier here, we should all be thinking about this, too. Thank you so much for being with me um this morning. Uh you can find me on X at NSino. Um we're hiring at Gimlet. Would love to talk to you all. And then if you want to play the token mint game, uh you can also find that QR here. Thank you so much everyone. As AI models get better, are our old best practices holding us back? To rethink how we work with Claude Code, please welcome Lydia Halley, member of technical staff at Anthropic.
-
Hi everyone. Oh, my microphone already works. Sorry, we have some technical issues this morning. So hopefully everything works. We're looking down there. Scream start. Yeah. Have you all tried Fable 52 yet? Yeah. Anyone? How is it? Like it? >> Yeah. Opus 55 better, worse, different use cases, right? >> Yeah. Cheaper for sure.
-
>> Decided to hide the signal. It's all It should be good. >> So, this should be on that screen. >> Yes. But we're looking down, >> right? >> Are you seeing Let me see. >> So this has to be on. >> We need a cloud for it. Let's make sure to hide this. >> I want this to go small so we can drag over again. >> You can drag it.
-
Start your slides. Start your slideshow. And then it's going to show up down there. Can you see anything yet, J? I did what you said. Oh my god. Okay. Are you seeing anything?
-
I was asking real quick. Did it just die? >> Can I unplug it real quick? >> Yeah, please. >> Did I just die? >> I think it just died. >> Oh my gosh. I mean, I don't know what to do.
-
Shouldn't I die? >> Yeah. Now, now it's it's just >> Should I just do my talk later today? We fix me with your schedule. A little break in the next. >> Okay, y'all. My laptop just died. So, I Nothing is happening. I don't know what to do. We uh Oh, it just restarted. Anyway, I I feel like I've just spent 20 minutes just waiting here and I don't want to take the next guy. that TLDDR, we went from being super in the loop with our cloud code sessions to, you know, running these long running sessions that run for hours in the cloud with these models like Opus 55, Fable 52 that are so good at verifying themselves that the role as a human has really shifted. Let's see.
-
I don't think this is going to work. >> That's so weird. >> I know. I don't know what that's doing. Also today, make sure you come by our anthropic booth. We're there all day. We have good merch. We also have good demos and just fun stuff. We have like a photo booth there as well which is fun. You'll see me there as well if you have any questions. But first you got to make this work. Ignore my Why did it restart? I don't know. Windows server experience a problem. Why do Oh Apple. Okay. I just got to I just want to make sure I'm not >> People often wonder what the story is behind what's the future of engineering in this space. Uh and it turns out that fixing the computer and making it go.
-
It's it's always a fun story like the more advanced technology gets the harder it is to basically make it do your bidding. And conferences are conferences AV is AV and laptops are always going to the laptop. Uh, I'm told that this might be the first time that an anthropic employee has not been proddding an agent to wind up getting a computer to do that bidding. >> That's what I'm saying. We need cloud for it. I just need a little cloud robot helping me here. Let's see. >> Exactly. I don't want to step on your toes, but I can also keep running my mouth. >> Some people run agents. I run my mouth. it. There's a production joke in there somewhere, but I'm too tired to find it. Things work in theory, but not in production. >> That's uh why I call the staging environment theory. >> Okay. >> Can you show us in the DSM, please? >> But it looks like you're up. Maybe.
-
>> I just have to see. I don't have my glasses with me. >> Remember, every code review is adversarial if you're a big enough jerk. Yes. >> Wait. No, no, no, no. >> Oh, that's >> Sorry. It was Yeah. >> And of course, the number one reason to found a company is that as a co-founder, Maine becomes your feature branch. >> Good luck, everyone else. All right. Can I I want to see that on my screen real quick. Sorry. Because um I don't know why it's not showing. Should I go? We're gonna I just don't want to Can you close our mic so everyone can't hear us talking?
-
>> Okay, >> I'll see you later. Hopefully I'll come back. You'll hear from me. Slight change in programming here. I believe our next speaker is Michelle Chen. Correct me if I'm wrong on that. No one is yanking the uh the cord there. If you can give us about three minutes, we will uh take a small pause here. Besides, what are you all doing listening to this? You shouldn't be poking and proddding agents and seeing how many more you can wind up going. The tokens aren't going to burn themselves. >> We need more bandwidth. Oh, suddenly the use case for local inference makes itself extraordinarily clear. Conference Wi-Fi. There we go. I I've done it on planes before and what made that fun was suddenly my laptop became what sounded like the third engine on the jet, but it worked and it wrote better code than I did. Uh that's not a high bar, but it does mean I'm not going back in time to be the oldtimey uh typing things out by hand like some sort of agrarian farmer. So, there's that.
-
All right, next up we have Michelle Chen talking about Cloudflare is a Neolab. Uh, personally I believe that it's a database instead because I think everything's a database when you hold it wrong, but for some reason I wasn't consulted. Anyway, Michelle, thank you very much. Please come on up. What does it mean for Cloudflare to be a new kind of AI lab? To explore new models, edge AI, and the ambition to become the agent cloud, please welcome Michelle Chen, group product manager at Cloudflare. Hi everyone, my name is Michelle Chen. I'm so excited to be here today at AI Engineer Code Summit chatting a little bit more about why Cloudflare became a Neolab. So at Cloudflare I am the group PM here. I run on the product team working on products like workers AI, AI search, AI gateway as well. And so today we're going to go through this little journey of how Cloudflare came to be.
-
You might have heard that we launched and trained some models recently. I'm going to tell you a little bit more about why and what you can be doing with it. And so we're going to go through a little bit of a philosophical journey. Uh when I was preparing for this talk, I wanted to use this quote and then Anthropic like launched a blog post last weekend and used my quote, but I'm still going to use it anyways. Um so the quote goes in one second. Um the quote is from Kirkagard and it says, "Life can only be understood backwards, but it must be lived forwards." And I think this is really really apt quote here for us because at Cloudflare we're a 16-year-old company and we've done so many things over the years but somehow we got all some of the pieces right and we ended up having to become a Neolab. So we're going to go through a little bit journey. The first thing we're going to do is look backwards and talk through why Cloudflare had to uh became a Neolab.
-
Give me one second here. Perfect. We're going to go backwards and talk through why Cloudflare became a Neolab. So, Cloudflare is a 16-year-old CDN company. We just celebrated our 16th birthday uh at birthday week this year uh in September. And we first started as a CDN. So, as a CDN company, what you have to do is you have to serve content as quick to your users as possible. you sit between the users request and the origin and you help uh sit in the middle and you can do things like cache and protect do security and things like that. So that's kind of how Cloudflare started. But Cloudflare's infrastructure had to be adaptable in order to become the CDN. And so what we did was 16 years ago in 2010, we launched with our own infrastructure. Our fast CDN had to be everywhere. And this looks really different than a traditional hyperscaler where compute is centralized in US- East one or US West one. Cloudflare's infrastructure is a completely different paradigm. We have data centers all around the world as close to the user as possible. And this is really important in becoming a CDN. But now we have these computers basically running as close to the user as possible. So we thought to ourselves, what else can we be doing with these computers that people would want to build with? And so came. We started launching these compute primitives as well. And so in 2017, we launched a product called workers, which is basically like serverless functions that you can run. It contrasted VMs at
-
that time where you had to rent a whole machine and pay for the whole machine. Either you're using it or not using it. And so with workers, you just execute some code and then the worker goes away. You don't have to pay for it. It takes milliseconds to start up, not seconds as well. And then we followed with other compute primitives like durable objects which are more stateful. And then in 2025, we launched containers as well because there are some workloads that do need something like a VM and we want all of those workloads to be able to run on Cloudflare. So now you know 2017 start of our developer platform we have these compute primitives people started using it people started building more like static websites and things like that so we thought to ourselves how do we elevate this and take it to the next level so we introduced storage as well and so we have these storage primitives on cloudflare's developer platform we have KV we have R2 do object storage we have databases like D1 as well and the idea here is that people should be able to build full stack applications all on Cloudflare stateful applications where people can go on and start building um full applications and web apps and platforms on Cloudflare's developer platform. So we have this infrastructure, we added compute primitives to it, we added storage primitives to it and then came 2023. And if you guys remember what happened in 2023, chat GPT kind of blew up a little bit and it changed how we think about AI, right? And I remember it being birthday week and uh three weeks before birthday week a lot of us sat together in a room and we were like what should
-
we do now that chat GPT is on the rise? What can Cloudflare play in here with our infrastructure and our primitives in order to be in this AI game? So in 2023 we launched a product called workers AI where we added GPUs to our network. And so again this is really distributed where GPUs are running as close to the user as possible. It's not centralized like a US East1 hyperscaler for example, but it's running as close to the edge as possible. And we had a hypothesis when we started workers AI. Our hypothesis was that models were going to get smaller, so that network latency was going to become more and more important. We launched with small models that could fit on our small hardware around the world that were super distributed. And we thought that people would have models get better and faster and smarter and that network latency was going to play a much more bigger impact here. Well, uh actually the opposite happened and models got larger and larger. So we went from something like 7 billion parameters which was frontier scale at the time to being the three trillion parameter models that were getting launched. And I think this is not so shocking when you look back in time because you know as we're on the way to AGI um if you're following scaling law as you train on more data as the models get larger they're more generalizable and so on the path to AGI it makes sense that we're pushing the frontier of research here in order to get larger and larger and smarter models.
-
So this goes against our hypothesis right that the models were going to get smaller. the models actually ended up being larger and the network latency mattered less and less. So what did we do? We ended up pivoting. So cloud got really good at serving these giant models as well. So in March 2026, we launched Kimmy and then we followed up with GLM and DeepSeek and these large trillion parameter models um hosted on our infrastructure. And so this is serverless. People hit an API call and get a token back. It actually took us a while in order to decide to do this, right? We March 2026 is actually pretty late in the game to to serving these model, but we were trying to make a conscious decision here on does this actually make sense for us to be serving it. It didn't really fit with our infrastructure story, but it fit very well with the developer platform. So in 2026, we had all these primitives in place. We had the infrastructure which is unique to Cloudflare running close to users. We had compute primitives where people were building agents on top of so workers and durable objects right as your agent needs to complete a task it goes on and it spins and does a task and then sleeps when it doesn't. We had storage primitives so your agents can actually interact with data and storage and then we had models these large models that were powering agents. And so all of this fit into the Cloudflare agent cloud story. And so we started telling this narrative that we want to be the agent cloud. We want agents to be deployed on us powered by models on us using our compute and data primitives all built on our
-
infrastructure and our network. But it never felt quite right. We felt like we were always missing a piece here because the infrastructure pattern didn't necessarily fit in with what workers AI was designed for. And so I'm going to sit here and give you my second philosophical quote which is a risk considering that I'm a girl in Chinese and AI, but I'm going to give you this Chinese quote anyways. Um, and uh, it basically says, which means everything is ready here. All that's missing is the east wind. And one of the things uh about this is like you can't really predict where the wind is going to come from or how it's going to come, but you need to be very reactive when it happens. And so in September 2026, the east wind came. Typesafe launched a model called Jev and introduced this idea of system one models and it contrasted what we typically knew with LLMs which were auto reggressive and taking a long time to generate tokens. It scales quadratically etc. A system one model is a completely different paradigm where it actually just takes one forward pass through the inputs and generates an output that you can use to make decisions with it.
-
And so I really think that this came down to perfect timing. I think people were starting to get fed up a little bit with LLMs because they were so costly. It cost so many tokens. It's s time consuming. And I don't know about you, but when I read a reasoning trace, sometimes my blood pressure rises when the LLM doesn't get the right the things right. And so I think we were sending everything to LLMs and started getting frustrated with it. And so when this system one and Jev paradigm started coming on board, we were like this makes so much sense for us to adopt, right? We don't have to send every request to an LLM. We can send some of it to a system one model. And so the system one models actually end up taking work off of the giant LLMs and you give it to the small fast models and the two are supposed to work in tandem. They're supposed to complement each other and get to the end goal faster. And so if you look we are back at these small and fast models right this was the original workers AI hypothesis and so Cloudflare was not wrong here we actually were just early with these small and fast models the network latency became important again we want the model to be responding fast but also the network latency to be even faster and so we decided to do something here but Jev was closed source cloudflare couldn't actually host the Jev models and take advantage of our infrastructure. So what did we decide to do? We built our own version of Jev. So Jev launched on September 15th. Um on September 18th, just three days later, we started experimenting and we launched our version of Jev. Uh our first
-
experiment of it. And then it took us a week of deliberation to decide do we actually want to be going into this Neolab territory. It's completely new to us. We don't know what we need to know it. you know, are we going to set the expectation that we're want to be a Neolab and are we going to live up to those expectations? But we decided to do it. I remember on a Friday evening, we were like, let's just go for it. And we did it. And we ended up training the model over 48 hours over the weekend. And then we launched it the following week. And so we ended up with a model called KFF. KFF gave power back to the agents to be able to make decisions on their own. So agents could ask act more autonomously. You didn't need to have a LLM reason through for minutes on if it should make this decision or not. You also didn't need to put a human in the loop and be interrupted by like a human's sleep schedule when you want your agents to be running 24/7. So you can now programmatically in code decide make decisions for your agent to take action on. So these decision models countered LLM models because they were a lot faster and they were also a lot cheaper as well. And so it actually as an inference provider takes a lot of pressure off the LLMs as well because the LLMs were reserved for work for meaningful work whereas the cleft and uh decision models could be used for fast um intuitive thinking and work right and so we also went back and thought to ourselves you know what else do agents and people use for LLMs for that are overkill. So we came up with decisions
-
and um there must be other workloads out there that are unsuitable for an LLM both because they are either too expensive or take too long or maybe that it just would get the answer wrong because the auto reggressive nature of an LLM means that it would hallucinate. So we also launched a model 3 weeks later called cleric. We actually ended up launching four models in the span of three weeks. So I think we did pretty good job as a new lab. Um but cleric is a new model paradigm. So it's completely new. We're calling it an extraction model, but it's a system one model in that in the sense that it is just as fast and just as cheap, but it is also doing like one forward pass through the user. And the purpose of cleric is when you're interacting with the world, you're not interacting in perfectly typed JSON objects, right? Sometimes you're getting an email, a tweet, a slack message, but those people are not filling out perfect forms for you to extract inputs in out of. So what cleric does is it can take unstructured input and it can extract, compute, estimate and forecast values from those inputs and it gives you back a perfectly typed JSON objects which means the agents are able to do things with it. So we're kind of giving agents the ability to read here and take action with cleft as well.
-
And so in code again you're giving cleric you know typed values from unstructured data. You can pass it in whatever kind of unstructured data. It can also take image input as well. And so you can just tell it to read basically what's in text here, pass it to KFT, decide what to do with this text, and then pass it to an LLM to decide what to do with the agent. And so Cloudflare had to become a neolab here. This was our missing bit. We had the infrastructure. We had the compute primitives. We had the data primitives. We had the large models powering the agents. But in order to take advantage of all of that and our infrastructure that we were built on, we had to be a new lab and ship these system one models that fit perfectly with our infrastructure. And I think one of the more important things is that we're not limited to this. Being a new lab means that we can create what we are missing, right? It means that we're not uh if we're missing a system one model because we're um at risk of it things being closed sourced or regulatory risks or things like that, we can actually create and invent things. So I think being a Neolab has actually opened a lot of doors for Cloudflare to do more in the AI world.
-
So we went through backwards. We went through a little bit of a history lesson. I want to go forwards as well. I want to teach you guys what you guys can be doing with KF and Cleric. And I'm cognizant that I am at AI engineer code summit. So in a in a room full of developers and engineers, how can you guys leverage KFF and cleric and system one models in order to better use your workflows? So we'll do a quick demo here. Um it is an let's think you have an agent you're triaging like a CI build that went wrong right um let's say you have 40 tool tools that are available to this agent you have your PR that went wrong um and then you have your agent maybe it's running PI durable on a durable object says all of this is built on Cloudflare so this is the setup here tech typically what you would do is you would take an LLM and in the LLM would take a tool make a tool call the tool call would go back to the LLM the LM would make another tool call etc etc until the issue is resolved So this is like five back and forths with GLM 5.3. You're sending 40 tools every single time and maybe you're blowing up the context, right? Because you're sending the same kind of inputs back and forth to the LLM. And so what if we augment this with system one models with system one models? Uh this could look a lot different. And so let's say we were we want speed. So we pick cleft flash. Cle can actually help you prune your tool list. Maybe it only needs 10 out of the 40 tools that are available.
-
So you only need to pick 10 of those. Then let's say you take cleric and you use it to extract the values from the input. So it can get the PR number without reasoning and thinking about it too long. Um and then let's say you just you know orchestrate some code here to execute these API calls and uh you can actually just you know get those answers back. Then you ask cleric again um to pull the data from the logs. So normally when you're using with working with an LLM you probably just paste in all of the logs right like all 300 600 lines of logs. But Cleric can actually just go through and read those and say, "Here's the exact error. Here's the error message. Here are the lines of code it's affecting." And you're basically shrinking your context a lot. And then finally, you use an LLM to actually do take action and um make decisions and take action and extract values altogether. This same agent can run the system one. Let's do a little bit of a live demo. Let's see how it goes. We're going to have to click run both here. And this is a live demo. And uh I will say that Cloudflare our workers AI is uh has a very dal usage pattern. So we're in the middle of the workday. So we'll see how this how this goes. But it'll give you some illustrative example here of how it goes. Uh and we're also dealing with conference Wi-Fi. So so bear with me here. All right. The system one model side finished already and the all LLM one is is going. So I think even illustratively you can see that the uh system one set of models is a lot faster. Even by just this simple waterfall chart, you can see that the
-
system one part takes so much less time than the uh actual generation which is the purple bars here. And I think they both ended up getting to the answer at the end. So the quality was not affected, but it took a lot less time. It was a lot cheaper. Six LLM calls versus one. 40,000 LLM tokens versus 1,800. And so you can see how you can use these kind of system one and system two models even in like developer workflows in order to get you to your answer faster. So the same answer but it took a fraction of the LLM time and cost. Right? I ran this when we were not doing conference Wi-Fi but we had about 9.2 seconds and 17.2 seconds on the LLM. It was almost two times faster. It was 72% less expensive. We shrunk our LLM calls from five down to one and it was about 94% less tokens. And so this is an illustrative example of how you could be using these system one and system 2 models in tandem. It's not intended to completely replace your LLM usage, but it can augment it and make it better by making allowing you to free up time and compute for your other more important tasks here. And you can h now do you know higher concurrency tasks because these models are able and capable to do so much more.
-
And so that was one illustrative example. I just wanted to flash on the screen really quickly as well. What else are people building with cleft and cleric right? There's a lot of um routers that you can build and in making decisions there. Um there's fraud that we've been seeing a lot like spam or fishing. It can make decisions on there. With Cleric, you can use it to extract data from like web pages or support tickets and things like that. So, I'm excited to see uh we actually have a new launch coming out for Cleric. Uh we released an early preview, but it's coming out. So, I think these use cases will grow as uh people are trying it out more and more. But the idea is that there's so much in the world. We're not limited to just LLMs. Now, these new paradigms have been introduced and I think we should all take advantage of that and try building with it. And so we went backwards, we went forwards. But I think the most important thing here is that we go onwards, right? We have to be very reactive in this industry. Love it or hate it. Things just change on a whim. You know, if we as Cloudflare um back in the day said our hypothesis was wrong, uh we have to go and actually pivot and start serving these giant LLMs in order to take advantage of the fact that we want to be an agent cloud and that it makes sense for our story. when an east wing wind comes and we need to um have decision models because it fit perfectly with our infrastructure story, we had to pivot and be a neolab as well. So it's not it's one thing to sit here and look back but the more important thing is that we took what we had in stride and moved
-
forwards. So I'll leave you with one last quote here which is a story from tool story. Uh remember then there's only one time that is important now. It is most important time because the only time when we have any power and so I'll leave you with this quote and a question of what are you going to build today? Hundreds of pull requests a day and nobody reads them all. So, how does code quality keep improving? To share how the Grockbot team turns slop into gold, please welcome Lauren Tan, principal engineer at SpaceX Super Intelligence.
-
Hello everyone. Don't know if you can see my slides, but uh my name is Potato, also known as Lauren, and I'm very excited to chat with all of you today. Maybe you can get a big round of applause for our tech team helping me with my laptop. Good. I don't see it. >> Ah, there you go. All right. Um, so again, I'm my name is Potato. Uh, I work on Grabbot at SpaceXsi. And can I just get a quick show of hands? How many of you have ever looked at code that somebody else wrote and you thought that's all slap? Well, I have too, but today I'm going to convince you that you can turn that slop into gold.
-
Uh, and so I did something crazy last month and I shipped 3,000 ploy crust to production. Now, before agents, we never really cared about volume. Uh, except for the outliers. And at my previous company, we called these people coding machines. people like Brett Taylor who famously rewrote all of Google Maps uh in the weekend just an insanely productive engineer. Uh and well with agents anyone can now be a coding machine. And my thesis is that the job of a software engineer the meta of being a software engineer is figuring out how to maintain or even improve the quality of your code while massively increasing your productivity. To get there, some people like to call this a software factory. Uh, but I like to keep it simple and I think of it as all about trust. Not blind trust, but investing in your agents environment so you can trust that your agents are going to do the right thing. Now, it takes quite a lot of effort to get there. Um, and it took me six months to get to a point where I could ship thousands of pull requests, a lot of them in my sleep, but it's certainly possible and it will take you much less time than I did. So let's start by talking about how we move from a low trust environment to a high trust one.
-
So this inverse pyramid is how I think about where to spend time on your agents environment. The first two layers are deterministic. So using your code itself. So things like good API design, architecture, refactoring or using lint rules, type systems, compilers or you know different kinds of testing. And you can use both of these layers together to constrain what agents can do and force them to do the right thing by default. Verification, both runtime and formal, are great tools to layer on to find bugs and check properties and the invariance in your system that you want to hold true and also help you check whether or not the agent understood your goals and your intent. And then finally, you want to layer with a little bit of pros. So things like rules, skills, agents.mmd, things that require judgment. But let's start with your codebase.
-
Agents generate their outputs based on their inputs. And so the the quality of the input really matters. And it just so happens that your codebase is one of the largest inputs. So whenever you're correcting your agent, think about how you can make that a deterministic check instead of adding another line to your rules or your agents.mmd because it's far more reproducible when it's in code and it lets you trust it more. And the analogy that I like to use is that your codebase is kind of like a garden. You know, code used to arrive a few pull requests at a time. And uh I remember going into work in 2024 and reviewing the three pull requests that my colleagues wrote colleagues wrote and today that number is more like 300. So uh you know every engineer is now a team of hundreds or even thousands of agents and code is arriving so rapidly that it almost feels like a continuous stream and it almost feels organic like a living thing.
-
And in this analogy, your codebase, the constraints that you impose, the guardrails that you put up are the concrete foundations that the new code that your agents write grow around just like uh the building in this picture. And so in many ways, the job of being a software engineer is kind of becoming like gardening because code is the biggest input for agents. It means that any workarounds um anti-atterns deprecated code tech is now likely to be just copied by the next agent since it looks like the established pattern in your codebase and uh it's like you have some weeds or pests growing in your garden and then they spread everywhere before you know it. So you want to make your codebase as pristine as possible so that agents are always copying the good stuff. All right, let's look at some real examples. Uh so Dune is a client framework that we created for graphbot to implement this idea for organic architecture.
-
It's not really that interesting technically. Uh you can kind of think of Dune as um kind of like Nex.js for Electron apps. But the interesting part of Dune is that it has a lot of constraints and lit rules that we've encoded uh a lot of the lessons that we've learned building desktop applications. And one such lesson is that anything that requires nuance to use well often leads to slop. Uh you know your classic example is uh you know use effect in React, right? It has its use cases uh but it's often misused. You know some people joke that you need a PhD to use use effect. Um and in in other words, it really requires a lot of nuance to use ball and agents are not good at using it. Um so our solution has been to just ban it in product code and it's really only allowed in some places inside of Dune APIs and effectively this problem has now been categorically eliminated and we never need to catch that during code review again.
-
Another interesting pattern that we use is context through directory structure. Uh so one antiattern that we saw with cursor which is an electron app is that agents would often import main thread code into the renderer thread which would cause long tasks and jank. So in uh grapot and in dunes we've made this very very conventional. Uh we have these two top level directories literally called electron renderer and electron main and imports between them are forbidden or banned by our dependency graph analyzer and some lint rules. And again you know these are simple lint rules to set up but it means one less thing that we need to review and think about uh you know during code review. And then one more surprising thing that I've seen is agents using markdown. So things like documentation, uh, code comments, rules or skills, and they use this as a place to write down their justifications for not doing the right thing. Or, I don't know if you've ever seen this, but they'll over rotate on some small correction that you made, and they treat it like a hard rule that can never be broken ever again.
-
And here's another example from cursor. So agents really loved using imperative timers. So things like set timeout, request animation frame, request idle call back. And they were using these as quick fixes because they were really patching over an architecture clash between uh VS Code's imperative style and React's declarative style. So our choice of architecture actually made both the client and the agent performance much worse. And if you've ever done any performance work in JavaScript, you'll know that when you have tons of timers being rapidly created and destroyed causes a lot of uh major garbage collection, which causes a lot of lag and jen. Uh but the worst part is that agents wrote a lot of code comments like you can see in red here explaining why this quick fix was justified and before you know it, we had timers spreading everywhere and the you know the performance of the app really suffered.
-
Now in Grockbot uh we learned our lesson there and we decided to just ban 99% of comments uh because they go stale easily. Uh you know humans just really don't bother reading the comment slop anyway. And again it gives an agent the an escape hatch to justify not doing the right thing because it's hard. Um and the worst part about comments though is that they're not enforcable. So what seems well-intentioned, you know, like I'm going to tell the the next agent not to do something, never ends up actually being anything that you can trust. So in Grockbot and Dune and in Dune, uh we now have lint rules that give uh good and very helpful error messages telling the agent to fix the root cause, the real problem, uh rather than just patch around it. And so our general principle is that every time we correct our agents, it turns into one of these deterministic checks or we think about how to categorically eliminate that problem in the code through better API design, through better uh architecture. And if you do this enough times, you'll find that you have just less things to look out for in code review. And at some point, you'll realize there's there's nothing left to review, and you can just let agents merge their most of their own pull requests.
-
All right. Uh, moving on. Verification is also a really big part of how we make our agents more autonomous and also increase our confidence and trust in their work. And our code review process has now really shrunk into looking at verification artifacts instead. So things like videos, screenshots, diagrams, formal verification. Um, and the most basic example of this is runtime verification. uh which is just a fancy way of saying giving your agent a way to run the code for itself and use debugging tools that you know human developers use as well like the Chrome DevTools protocol. Um in our runtime verification skills we have this thing that we call a feature map and that's basically kind of like a site map of all of the features that are available in your application from the user's point of view. And so with this agents don't need to guess when you say you know the thingy in the left sidebar. It gives you some shared vocabulary and we also make use of custom CLIs inside these skills so that uh agents can reuse the the CLI and the driver every time which cuts down on token usage and is also testable.
-
Um and then recently we've also started looking at formal verification. Uh so we now use TA plus to do some model checking of major user flows such as uh notifications across multiple devices and platforms. Uh we use a lean as well for proving certain algorithms. Uh for example, we have our own we wrote our own custom virtualization library and we use lean there to check that we don't have you know flickering or jittering problems. Um and we're still experimenting with this approach. Overall it seems very promising. Uh we've already found quite a few bugs uh with formal verification. uh but it's certainly not a silver bullet and we're treating it as another tool, another layer in our agents uh environment. Uh and then this is a very fast video but uh another thing that we just started looking at is property based testing as well for UIs. Uh so we use this library called Bombadil. Um and this has also caught a few UI bugs for us already.
-
Okay, so zooming out, I saw this tweet from Cindy and six months ago she she said that she was or she was talking about not being able to trust her agents because of subtle bugs that were getting merged. And really what was missing for her in being able to trust her agents was the verification process. And now 6 months later, she says that 70% of her daily tokens go into verification. And I'd say that that tracks with what I see as well, that most of my token usage goes to verification. And if you really look closely at our process, none of these things here are new or novel techniques that we've never had before. These are just good software engineering tools, but ones that might have been prohibitively expensive to use before as they were hard to understand or write or maintain. But agents drastically cut this cost down. And really, we're entering a golden age of software testing and verification because agents let us test everything to a much greater degree than used to be economical.
-
And then formal verification can also help you better reason about how your product should work and whether your agents really understand your intent and goals. Uh I made this new skill called state chart uh in my plug-in PAC potato stack uh which helps you visualize state machines from uh from the user's point of view. Uh, and it's I find this much easier to review alongside the videos and screenshots that we provide. Um, and so that's been great. Sorry for the flashbang. Uh, okay. Now, let's look at what the promised land looks like. What do you get in return for all of this uh, you know, investment? So, on the graphbot team, our velocity is uh, taking off and rapidly increasing. And last month, our team shipped a ridiculous 11,000 pull requests to production, which is a wild number. And our pace of releasing the client has also increased. And we cut a new stable version about once a day.
-
And then the core team is also shipping much more. And we also have uh a lot more casual or driveby contributors who don't always have a lot of context uh but they're also contributing. Um, and in October we had about 227 people who contributed at least one pull request. So despite this velocity accelerating, you might be thinking to yourself like, isn't this going to be chaos? You know, isn't this going to be a bunch of slop? But actually, the number of uh PRs that get reverted has actually gotten lower on a relative basis and is steady at about half a percent. But I think the really interesting thing about this shipping pace and this volume of pull requests is that the performance of Grathbot has stayed not just stable but has improved on multiple dimensions compared to when we launched. So startup typing, opening new chats, switching chats, all of this has gotten faster and keep in mind Grathbot is still an Electron app for now. Uh so there is a ceiling, right? But it's already much faster than many other agent UIs out there. And for an Electron app with this high velocity and this many people contributing, I'd say that's pretty good.
-
So before you jump into building out a software factory and you know automating everything that you can, whenever you correct your agent, try and do it by improving your codebase first. you know, start with a lint rule to prevent new occurrences of anti-atterns and then clean up those uh old patterns as well and then make sure that your verification story is really strong. A lot of this work is a prerequisite to automation anyway. And if your inner coding loop uh produces slop, then automating that loop just produces more slop and you need to throw more and more and more tokens at the problem, which we all know is very expensive. And once you've made these investments into, you know, code into your codebase, static analysis, runtime informal verification, you'll start to find that many things become possible with these foundations and that you can really easily build your own factory on top of these foundations. And when you're ready, Grabbot is a great way to build that uh outer loop.
-
We have tons of connectors, routines that can kick off cursor cloud agents and projects uh which let you orchestrate thousands of hundreds or even thousands of agents. And as a quick example, you know, whenever we cut a new release now, Grockbot will automatically spin up a new cursor project for us that will fuzz the entire application, the entire build, and it will find bugs uh by running the app and using it like a real user. And then it's going to open fixed PRs for each of those bugs that it finds and it's going to automerge it as uh crazy as that sounds. And that's because our code base is good enough that pull requests tend to just be good by default. And most product code that we land no longer really requires deep human review. So when you have solid foundations and good organic architecture, you can turn slop into gold and you can ship with high quality uh high velocity without compromising on quality. My name is Potato, also known as Lauren. Thanks you again for listening to my talk.
-
That concludes this morning's uh keynote sessions. Thank you for your patience with the various technical challenges. The root cause was of course a GitHub outage. Uh, not really. But the fact that no one would think to question that does say something. I can say that because they're not sponsors. But you know who is? That's right. Presenting sponsor, Google DeepMind. Another round of applause for them, please. Without them, this would not be doable. Of course, our lounge and platinum sponsors as well. Make the lounges and platinum things there. I am not allowed to say snarky things about AWS for once. So, we're going to smile, nod, and keep it rolling. Our gold sponsors as well have been incredibly supportive of various things. Not my nonsense, but you know, most of the rest of the good stuff. Absolutely. And let's give it up for our silver sponsors, too. Thank you. And finally, all of our supporting partners as well. There are uh and of course, viewers like you, to quote PBS from my childhood. Um, I'm old back when we used to watch it on the Telegraph.
-
Uh, there are now some breakout sessions. My favorite part of those, if you erase part of the letter B, it reads freakout sessions. You can read into that what you'd like. There are another series of closing keynotes later today starting at 4:30. And I'll see you all back here then if they don't wind up having a conversation from me out back next to the dumpsters with some broken beer bottles. Thank you all for coming. Heat.
-
Heat. Heat. Hi, I'm Ari Zerus, founder of Pinter AI. Um this talk is for people who build agents and run their own inference stack or plan to and if that's you you associate typically the KB cache the bread and butter of modern inference engines usually as a throughput optimization the keys and values computed per token kept so the model doesn't compute them again today I'll like to show KV cache in a different light the way agents agent AI agent application could go wrong or keep growing right prom injection jails broken tool calls, sensitive tool calls, sensitive exposures, hidden back doors and drifts and so forth, right? So the way right now we typically guard against
-
against these numerous ways that an AI agent application could go wrong is by guarding the edge by perhaps passing a judge model that checks the prompts, the inputs and the response outputs against your policy. All right? Or you build a classifier for each case. But here is a different light. The model turns every input into a computation before it acts before it decodes before it generates the response before that response becomes another tool call the KV cache is your engine's record of that computation that modern inference engine for free are using it and reading it and therefore in this talk I would like to suggest as as a complement to the way you're already using your own guardrails to use this data and integrated with KV cache infrastructure. I refer to this as a KB first security signals and basically three reasons that matters right. So the data is already there. You pick the gems from the pile your inference stack already was throwing away. It covers the guardrails blind spots because whatever slips past those guardrails it still becomes computation and it stays in place. So it's perfect for data privacy application for cases where you do not have the luxury to read the inputs and outputs. And the recipe is pretty straightforward right has three steps. You learn a baseline for your AI workload for your AI inference
-
traffic how your KV page typically look like and then find the KV pages that are rare against your baseline typically your anomalies and then you can even classify and explain those. So first let's start with where on this stack this integration could happen. The interesting thing about the KB cache is that in a way existence of those had made the inference in a way stateful. Right? So for example, things like KBK cache management layers such as LM cache stores them from GPU down to a remote storage or LLMD and Nvidia dynamo route each new request towards the worker that already holds perhaps that cached KV page. So there are two integration points you you you can integrate those anomaly detection or those classifiers into either you can implement it directly inside of your inference engine vg line and so forth. The beauty of this approach is that it's real time and and the the the alert that it would perhaps generate could ride along your future tool calls or your future policies. So you can harden basically your polic algorith but just generating the computational anomalies that you observe within your inference engines and perhaps you can integrate it with as a as a way of thread discovery in a sense so you can integrate with your LM
-
cache so it reads the stored KB pages and find things that don't belong with the rest right so now I want to show you some numbers and and just a very simple hello world use case if this is actually working and this is a valid approach and for that let me use with a use case that has no text to filter at all a voice agent. So here's a case study of a voice agent. In this case it was a gem for E4B. Our baseline was 72 ordinary clips and spoken four voices. We're looking at 16 token pages. Obviously this granular granularity could change but here we just use shorter pages so we could have more data in the baseline. And then on the test we have different voices and one clean voice and the other one has a hidden instruction within it. And as you can as is shown here not only you can detect these cases just using simple anomaly detection but also you would know which part of um which page which part of your request had this anomalous event. We even went further and we trained a model that uses the KV pages as features and we didn't try to explain it or tag it with things that are useful. In this case, although it wasn't even trained on audio is able to generate correct information about personal information, home address, location data, travel information, and destination.
-
So now back to text agents. In this case, it was a quan 3 14 billion ser live unveil cache. The one on the left shows you an idea of how attacks and normal traffic would typically separate from each other. And then the one on the right, which is perhaps more meaningful, it was using the at bench and hogging face. It has its own baseline of benign agent traces and eight kind of agent failure from injected tools description to misinformation and so forth. We look at the top 10 alerts that anomalous anomaly detection would generate and about seven to eight times of out of 10 of these alerts are actually anomalous meaningful and useful anomalous activities. We even went further and we looked at whether there's any kind of anomalous events that stand out more than the rest. Um, two make things hard in production.
-
First, models change. fine tunes and new releases, but also agents that each run on a different model and routers that pick a specialist model per request. That means each model writes its pages its own coordinates. So either you learn every baseline, classifier, and explainer, which is computationally prohibitive, or you have to find a way to map them all into one shared representation space. Second, real time means moving big objects. For example, a 1256 token chunk of quen 314 billion is about 40 megabytes of KV compression and streaming like hashgen could help but moving that for security analysis and acting in real times is still a slow and that's what we solve at in AI. We are looking for teams building their own inference stacks who treat security as a foundational design decision. I hope this was helpful for you. Thank you so much for listening.
-
>> Let me start with one number from last month. On average, more than one agent has started on our platform every single minute, day and night. And honestly, the agents were the easy part. Hi, I'm Joey. I bu the cloud agent platform we built inside Harvey. After 10,000 PRs, the biggest lesson I can share is this. The thing that broke was an agent. It was everything around them. So what does one submit add up to? 10,000 PRs that an agent wrote. And it isn't just Tax team playing with a toy. Last month about 460 different people at Harvey use it. And over the summer it stopped being only about code. People started asking a data question in Slack and getting answers back. My favorite recently someone on our marketing team drop a prototype and a talk track into Slack and ask for a story book for a product video. Once the harness exists, people bring the work that you never plan for.
-
So a promise up front. This is not a talk about models, Evos or leaderboard. This is talk about hardness, odd things around the model, checking out the ripple, holding the key, opening the PR, getting the merged. When we first wrote about Spectre back in April, we put it like this. At some point, a harness become the product. Now, whenever I tell people this, I get the same question. Why on earth would you build this when clock or cursor already exist? My answer, we don't compete with it. We run them. And here's how I see it as my own view. Agents on your laptop are powerful, but they don't scale. You can realistically run five to 10 of them. Pass that you need a cloud. And cloud needs our secrets, our real stack, our alerts and tickets, one set of rules and enough capacity that nobody gets starved. Those single two owns that for us. So we build layer and that layer exactly what broke. So I want to tell three stories today. How we stop competing on writing code. How we let any agent drive and were broke once they did. The first story start with the question we keep hearing.
-
More of our engineers were using cursor and they ask how do I get our secret there? How do I test against our real stack? We could have rebuilt all that inside cursor and then again for next two and the one after that. Instead answer became one sentence just ask cursor to use spectre and that's really the whole idea. People will always have a favorite agent and the favorite keeps changing. So pick yours clock codeex cursor dot slack are your own hands. Start on your laptop push the session to the cloud. Put it back. That's how spectra sits underneath all of that. Because once the code was written the real work starts picture appears day alert fires in Slack at 2 in the morning. An agent picks up nobody typing. It writes a fix, spins up real copy of our stack and post the proof on the PR.
-
When C fails, the follow-up loop reads the failure and pushes another fix while everyone still sleep. By morning the PR sits in one review queue under the same rule as other PR whichever agents wrote it. The owner gets a notch and only once they are working day starts and once approved a agent can automerge it. If you only build one of those stages that I described build a follow-up loop. We switched it on for everyone in early October and that months. Four out of five agent PRs merge into our backend PR had been through it. That's the difference between agent that write code and an agent that finished the job. And then there's the knowledge. Every team has that one person who knows exactly how to test the tricky service which flag you never touch. And that knowledge leaves in their head. of their laptop.
-
So we gave it a hope projects. People write down what matters. Adrian write down what they learn. Team pings the skills you trust and there's a record of who rent what. Any agent working in the project read the same page. My personal view whichever agent you pick the audit trail and the tracks should be the same. The second story is about rule. Back in May, if you want a spectctor to do something, you open a browser tab or tacking Slack. The whole mouse, exactly one task came out from terminal. So, we made a rule. If a person can click it, an agent can call it start a task, turn on the follow-up loop, arm, automerge, publish a page, all from CLI, which means your laptop agent can call it A agent inside the sandbox can also call it. Even CI can call it too. And then people ran with it. By October, the command line was starting about 6500 ts a month. The web app didn't shrink.
-
Everyone else just grew around it. Task started from the terminal were merging and task started in browser. And the new kind of user showed up. people who start hundreds of tasks a month and never open the app at all. And this is where it gets fun. In October, I had a big task. So I bought code session and asked to be the coordinator. It split the tickets into 10 different milestones. Get one for me and the rest to spectre with hundreds of tasks. Each has its own sandbox to validate end to end. Then at the end of the October, our it give everyone tragic dots. Mind now watch Spectre for me. It list the question Spectre is waiting on. Draft my answers and once I say yes, send them back. I actually DM to my friend like that. I just use cursor clock code or whatever to spam spectre. Now well that's the dream, but it's also the problem. A quick detour. When we look at where our task time actually went, the slowest step wasn't model syncing. It was get just checking out every ripple we own took over a minute on average.
-
The fix keep a copy of every ripple on every machine and let each test borrow it. The third story is the one where it broke in mid August. A release goes out with a bug. That bug triggers alert that fires once per workspace. So one bug become hundreds of alerts all landing in one single sack channel. Someone has set up workflow that tag our agent on every alert and every tag started task. On normal day those task started about 50 task. That day in about 4 hours they started around 900 900 agents all chasing the same bug until that wasn't room left for a single note. The fix was almost boring. A repeat alert now joins the investigation that's already open. Two months later it happened again and this time it wasn't a bot. On October, the engineer did exactly what we've been asking everyone to do. Hand work to Spectre.
-
About 950 test from the command line in about 3 hours. Nothing in our platform can work. The cluster filled up and everyone else work set in line behind one laptop. That's not a user problem. That's our problem. Four days later, we had a real fix. A fail launch queue. Now starting a task gives you a place in line. And the dispatcher started when there's room. People sitting at a keyboard goes first. Everyone gets a fair share and can borrow more than the cluster is quite. And whenever you start a task, you can see our placing line. When we hit it with a 300 task bursting low test, the task lit went from almost two second to 70 milliseconds. So did it work? When it's the busiest day of every week back in August, two certain task and about one in hand didn't finish.
-
Then in November 4th, more than twice that and much better in the finish line, but we still have some room to grow. I will be modest, we change several things at once, so I cannot tell you which fix mattered the most, but the birds kept getting bigger and the platform kept up. And just when that was on the crunch, the model neck moves. At the end of October, our dev platform team raised an alarm. PRS across the company had jumped at around 60% in a single month. A merge that used to take 15 to 30 minutes was taking over an hour now. And merge Q kept having to be switched off. So now a PR rebase onto main rerun CI and merge if it's green. If main breaks, everyone CI breaks with it. Alterately, we haven't cracked this one yet.
-
But before I go, there's one more thing. While we were busy fixing all it, something else was quite growing. Most of what I've been showing you start with a person asking the fastest growing source of the work on Spectre doesn't. These are automations agent that wake up on schedule on an event and just do the work tri alert review the PR write the post. Last month about 110 people had automation running and we learned to give them a guardrail on day one. If one fails five times in a row, it switch itself off and it can carry a budget or expiry date because when no one's watching, an agent can start thousands of tasks, too. So, here's what I'm chasing next, and I don't have an answer yet, honestly.
-
What if every Slack channel had its own agent that never locks off? One that follows competition and start work on its own. What if every pure proof it works before a human even look at it? Today only one merge in 20 carries that kind of proof. And how do you merge when agents never stop opening PRs? Ask me again six months. I will tell you what broke. If you're building something like this when you work, here's three things I do again. Oh, what happens after code is written. Make Eric action something an agent can call and cap what an agent, human or alert can start before they find out what they can do with it. And one last thought, that's my own view. Engineers can write code with whichever agent they like. The work that's lost is the harness that runs it, checks it, and get it merged.
-
Thank you so much for watching. Come find me on linking if you are building similar things. >> Hi everyone, my name is Rajat Kotial. I'm part of the automated reasoning group at AWS and today I'm going to talk about a project I worked on recently called KO specification analyzer and u we use certain techniques which involves formal methods and automated reasoning to prove specification that goes to your coding agent before it writes code. So let's take a certain bug right this is a specification uh snippet and there are two rules for example and uh the rule two says when an order is submitted and this is for a a general e-commerce website let's say when an order is submitted and the inventory is unavailable we place the order as a back order which makes sense when you read it individually and there's also another rule in the same specification file uh which you hand to the coding agent which says u no order shall be placed as a back order and this is a rule we've set so individually read these two lines make sense right but in when an LLM reads this reads both the rules together both cannot hold true at the same time so we need to make sure
-
the we resolve this ambiguity that the LLM is observing and uh the scope and the reason we uh put an effort into this project is based on public research and recent research we've observed there's a 20 to 40% drop with unclear prompts on the accuracy the LLM uh generates on the code accuracy right and 60 to 90% % of valid code is still wrong after it writes it and also in that case we observe two times the more more regressions when we uh deploy that code so where do bugs like these hide right we want to detect these bugs before they reach the code base and the way only way to do that it's similar to how we write design docs similar to how we draw diagrams and flowcharts to make sure the flow is set before we write any code. We want to verify that without a human or anyone reading these files as the first reviewer.
-
In one sentence, let's say the ambiguity and wording wrong level of detail, but across sentences, we can observe conflicts and gaps in the specification or rules, right? Sentences need reveals that need search and between them and ambiguity searches. So we have a three-step process to do this where the LLM will first refine it. It will try to clean up the wording on its own and um if it succeeds then well and good but if it cannot we then formalize the um English language into SMT formulas. So SMT lib is a certain set of type of function which we pass to a SAT solver a satisfiability checker where it's going to give out a boolean saying this expression that you've given me is valid true or false invalid and then once the solver gets back to us if that expression is valid then we don't do anything. But if it detects any ambiguity between two sentences or within a sentence where there's two meanings to a sentence, then we detect that and tell the LLM to recheck that sentence and it's going to reiterate on that.
-
For example, the rules we saw, we've seen when order is submitted and inventory is unavailable, we shall place the order as a back order. And in SMT format, it kind of looks like this. This is like a mass formula, right? Once we go deeper, we once we detect this, we also do a three-step process again where we sample the translations again and again. We ask the LLM to translate it seven times or 10 times and to understand whether this LLM is behaving this way uh based on its inherent capabilities or is something affecting it to behave this way and then based on logical equivalence of these seven or 10 um different set of interpretations by the LLM we cluster them on logical equivalence which sets which uh um entries came under which uh assumptions that the LLM made for itself and then we accept or ask the user to clear out the ambiguity or abstain from implementing that in the codebase.
-
This is an example of asking the human um what you want to do with that spec rule that was um perhaps contradicting. remove the record is very a very vague statement. The LLM cannot can interpret anything it wants but we shouldn't allow that to happen and we either give two options we keep it as is the record is deleted or we retain it and but hide it from the users which one does the user. Um a conflict is when the examples we example we saw rule one it's conflicting with rule three and a gap is where no rule covers an idle order in this example where the LLM detected an actual sorry process or pipeline detected there's no um entry for this rule where you are missing something all in Well, it cannot do a lot of things. End of the day, we want to make sure there is no oracle uh for for specification correctness other than the user. User needs to make sure to check every part of the snippet part of the rule book before sending it to the LLM.
-
And um we as a tool only can help them and the user is more important here because of implicit domain knowledge. The LLM doesn't know a lot of domain knowledge and there's no guarantee I mean LLM only uh user can give that guarantee right and there's thin evidence right now for formalization and how it can be used in agents we are emerging in this technology what do we take back from this um talk check the spec always before you pass it down to the agent uh cluster the translation We what we do is we cluster the translation by logical equivalent to determine the different LLM interpretations and where it's genuinely going wrong. The LLM translates the solver checks and the human decide. We give give the human uh options and if there's no answer to that we use LLM judges or abstain from implementing that piece.
-
Here are the references and um this work has been majorly contributed by my team um Anda Jin, Stefan, Nia and Delmos. You can check out their blog in the website link provided and um del deeper into this. Thank you. >> Hi, I'm Chinme and with me are Swapnika and Vlad. We're excited to share our journey as well as our learnings around building an AI on call teammate at Meta that now runs real on call rotations every day and around the clock. We are part of the engineering team that builds the tooling platform and infrastructure for incident response on call experience and mitigations at meta. That space is evolving rapidly with the increase in AI capabilities. AI changed how fast we write code. About 3/4 of new code is now written with AI. And more AI generated changes reach production every single day. And some of it can cause production failures just like any other code change can.
-
But on call did not speed up with it. Highquality code can pass review and still break in production. and when it does, someone still gets paged at 2 a.m. The bottleneck moved from writing code to operating it in production. And on call is where that operational load lands. So we asked if AI is writing the code, can AI also help operate it? And we think it can. Now let's quickly run through one of those on call pages with a simplified example. It's 2:00 a.m. and 12 alerts are firing. Same night, it can go two different ways. On the left is how most of us do this today. And notice we already have good AI. First, you sort the alerts by yourself. Checkout, payments, disk, which one to pick first. Let's say you pick checkout. Then you ask your assistant why P99 latency is high.
-
It's genuinely useful. It pulls the metrics and finds the deployment at 149. And when you ask, it reads what changed and checks the runbook. It figured out that the time config was changed to a lower value. And based on the runbook, it suggests to roll back, which is all very helpful. However, if you look at the shape of it, it waited to be asked. You picked every next step. You were the glue between the questions and once it answered, it went dormant. At 239, you know the cause, but the roll back, the changes, and the follow-ups are still yours. Now, on the right, the same 12 alerts, but an AI teammate started before you woke up. It had already ranked them. Checkouts first, payments merged in as the same cause, and the other 10 handled separately.
-
It read the dashboards, difficed two past incidents. You get a hypothesis, a 30-cond way to verify it, and a fix waiting for your review. At 2011, you verified it and you're back to sleep. That gap is what this talk is about. So why were you the glue? Every team was bolting automation onto on call one silo at a time. An alert script for alerts, a triage bot for tickets, a deploy bot for deploys, a fix it agent for incidents. Each one solves its slice, keeps its own context, and forgets it. Now replaying your 2 AM page, the alert script saw P99 latency above 2 seconds. The triage bot saw three tickets saying checkout is slow. The deploy bot knew about a config change at 149 and the incident history had two similar past incidents. Every clue existed, but nothing connected them. So the on call became the glue exactly as we saw on the left side of the previous slide.
-
Our bet was one AI teammate per rotation instead. One loop across every signal, one team memory that learns every shift, its own identity so it acts as itself and a human gate so you approve instead of operate. But giving one agent all that context and reach raises the stakes. Which is why autonomy has to be earned. Under the hood, the teammate or the AI teammate is the simplest agent. There is model using tools in a loop acting on an environment and reading the feedback. Everything else in this talk is what we build around that loop to make it safe to leave it running. And for that I will hand over to Swapnikai and Vlad next to get into the actual details of how it works. To achieve this we started with an autonomy ladder. Think about how you onboard a new engineer to on call. First the shadow. The investigators suggest but they don't touch production. Then the pair the right to fix and another engineer approves it. With time they gain knowledge. We give our agent exactly the same ladder. At level one, it investigates and tells you what it found. It changes nothing. At level two, it acts with approval. It drafts the fix, but nothing reaches production
-
until a human approves. At level three, it clears lower criticality work on its own and only interrupts you for what matters. High criticality work stays with humans. So what earns the next run? We use a simple test. How costly is a mistake and how easy is it to catch? So an action climbs only when mistakes are cheap. They're caught by tests, CI or review. and the agent already has a track record on that exact action. That's why the agent can close a noisy alert on its own while a production mitigation still waits for a human. At level one, the investigation is layered and stops at the first confident answer. The agent investigated the issue using the team's memory and runbook. It also shared the root cause analysis, but human had to apply the fix.
-
At level two, it writes the fix with the root cause and a test plan. It answers reviewer's comments and fixes CI, but nothing reaches production until a human approves. Most drafts don't land, and that's fine. Review is the filter. At both levels, the agent does the homework, but you still had to grade every single paper. The help got much better, but the tasks requiring human input didn't get smaller. Level three shrinks the pile. Look at this example. 23 items came in, but only three need you. On the right, the agent handled the long tail, noisy alerts, duplicates, routine fixes that went through normal review and CI. Two more are still being worked. You don't have to drive each one to completion. In the middle is your much smaller decision queue. Each item makes clear what it needs from you with a run this button that has a call to action. And remember our 2 a.m. check out page that still stays human owned. The agent brings the investigation. The human owns the critical decision. It's the new high ladder again. Trusted to handle routine work, ready with the homework when it needs help. Not just less work per item,
-
but fewer items waiting on you. That board is where the work lives. But nobody stares at a board all the time, right? So the agent is also available across many surfaces like chat and native incident surfaces. At 9 every morning, it posts a digest. 23 came in, three need you, 18 handled. Each thing that needs you come with a one-click next step. So approving the quota bump takes one tap from your phone. The 18 it handled are summarized, not listed. And the two that are still in progress tell you what it's doing about them. And when you want to dig in, you just reply in the thread. As you see on the right here, you open the checkout incident and ask for the evidence. It already has it. Errors start at 8:41, 2 minutes after a config push cut the payment client timeout. The same pattern as two past incidents. You ask a follow-up, is it only EU? And it answers with a breakdown. It drafts the roll back. You approve it right there and errors start recovering. You never opened a dashboard and you never had to explain the context because it was already there. That's what a teammate feels like. A morning hand off a colleague you can ask.
-
Now under the hood of this AI teammate, it's AI automations. The first investigates on every new signal auto triage classifies it, checks its criticality and kicks off the right agent. An alert goes to the incident investigator, a task to the team's own agent, a test failure to a coding agent, a look up to memory and code search. The second keeps the system healthy. Unattended automation fails quietly. So on a schedule, it looks for stuck or failed runs, retrace and repairs broken schedules, and it only pages a human if it can't fix it itself. Nothing stalls silently. The third hands off at every shift change and every morning at 9, it summarizes the shift. What needs you with the fix ready and what it handled on its own posted to the team chat. Not only in the morning, but every urgent issue that needs user attention gets notified in chat with findings and draft fixes. It also tags the next on call in the chat during handoff. The entire cycle still continues and because it belongs to the team, it runs the agents and the skills the team already trusts. That's the slot in the middle. Bring your own agent, add your own skills. If a team already has an
-
agent that has the team's runbooks and the knowledge base, the automations leverage it. Alongside that, it has our own incident investigator and a deep dive coding session. Work comes in from alerts, tickets, incidents, team posts, and chat. The agent itself is generic. What makes it good at an on call rotation is the team's agents skills, memory, and playbook. And every run is logged, so anyone on the team can inspect the trajectory or resume the conversation. Now, I'm handing off to my teammate Vlad to talk more on the shared agent. An uncle agent can't belong to just a single person because the uncle itself doesn't. So it belongs to the team. There's one teammate per rotation on one board. Wherever's on call can ask it to correct it or pick up its work mid investigation. It carries the team's uncle expertise, the playbook, lord profiles and past decisions from one shift to the next one the way a good handoff should. Here's what that looks like. Monday at 2 am, Sam is on call and tells it remember if checkout time is out after a config push, roll back the config first. It saves it to the memory.
-
Three days later, Jordan is on call hits the exact same alert and just asks for a fix. The agent answers with some fix, says where it came from, and has the roll back drafted. Teach it once, the next phone call gets it. And it access the team its own identity owned by the rotation with only the access the team is comfortable granting it. And it learns from every uncle shift. Handoffs, decisions, and corrections all flow into memory. So ship number 30 is better than the ship number one. The same way a new uncle gets better every week. But memory erodess over time. So ours has to earn its place. It retrieves semantically uses what it finds, scores where it actually helped and promotes or retires entries automatically. When someone says that was wrong, the item reopens and the correction becomes memory.
-
Three things made this work beyond our team. First, a loop that never stops listening. Every piece of feedback or course correction reopens the item and ultimately gets absorbed into memory. Feedback is an input to the system, not a story read once a quarter. Second, customize instead of forking. Teams bring their own playbooks and skill workflows, and it's still the same teammate underneath. Third, what we call one rotation to end. Identity, config, and memory are per team. So, add a rotation becomes a setup, not a new project. The agent is generic while the expertise is owned by the team. So what has changed for the people on call? Well, first their job shifted from driving deep investigations to making key decisions. They start from a hypothesis with linked evidence, not a blank task or dashboard.
-
Second, the load is getting lighter. Early signs of on call load reduction are promising for teams that run it automatic autonomously and we want to measure it rigorously before we put a number on it. And the third every change that agent writes still meets a human. Fixes land only through normal review and continuous integration. And most drafts don't land. That's the point. Review is the filter. Uncle stops being attacks and becomes a review cube. Here's what we're focusing on next. First, mitigations that get approved, not just drafted. We great every mitigation that agent proposes and feed the outcome back so it earns its next level instead of being handed it. Second, skills are written from the chat so a team can turn its runbooks into skills without writing any code. And third, measuring the time we give back properly with a rigorous study of uncall time saved rather than usage counts.
-
And the next rung on the ladder is uh earning medium criticality autonomy with evidence. On that, thank you so much for listening to us and hopefully that was helpful. Bye. Heat. Heat. Heat.
-
Hey, hey hey. Heat. Heat. N.
-
and harness and the less code we need. And if we look at um what we have been doing at Google deepmind for the last 6 months. So at May we had Google IO IO and today it's uh November 11 and we have been shipping relentlessly. Basically just earlier today we announced our first decision model with Gemini decision one. Yesterday we made Gemini 4 carbon available and then if we just look at the last six months we basically ship now models every few weeks. Um as already said Gemini Carbon is now available for you. So if you are a Google AI ultra subscriber, you can use it in anti-gravity, you can use it in the Gemini app, you can use it in AI studio. Uh carbon is number one on the cursor bench uh eval and also number one on the perlexity benchmark and internally at Google. We have been using it already a lot and much more exciting is that I'm happy to share that we launched the Gemini decisions API roughly one hour ago with our new Gemini decision one model. So it's a similar model to Chef. You can provide all of the existing Gemini inputs, meaning it's multimodal. So you can provide text, audio, images, video, and also PDFs natively, and then provide up to 1,000 questions in a single request. The average end to-end latency, including all of the network overhead, is between 150 to 250 milliseconds, and it costs 10 cents per 1 million token. So how do models get good at work? And that's a rough overview on how post- training
-
works. So we have a task. We have our model. The model has a certain set of tools and then we have some kind of compute environment. And at the end we have some verifier. And the model tries to basically solve that task to use different tools. And then based on the score from the verifier, we update the model. But no one is telling the model which tools to use. And basically it only receives that reward feedback. So if we look at two examples on how a model can do a certain tasks with tools, we have the path A where we have dedicated tools for file system control. So you all have probably used uh coding agents and you have seen a read uh file call or an edit file call. So that's one way of doing it and the other way of doing it would be just using a single inline bash script for all of the changes. So on the left side we roughly need around 10 turns to make the same changes to a coding um repository compared to the two ch uh turns on the right side just using bash and it also reflects in the amount of tokens we need. So the left path takes around 10x more tokens than the life uh the right path and it's doing the exact same thing uh at the end for the model to achieve that task. So in my experiment every roughly 6 months I try to build a new coding agent harness from scratch and I always ask myself okay how much of the harness do I really need to achieve the same tasks and what is overhead to the model and we no longer need. So if we
-
look at the coding agent harness which um from 2025 we had a roughly around 10 to 15 to 20 tools. We had dedicated tools for um file editing. We had dedicated tools for planning, for to-do lists and also we had a lot of dedicated rules in our system prompt which told the model what to do and what not to do and that worked of course but since then we made a lot of changes. So in my experiments uh first one was done roughly now two years ago uh in February where we did not really had agents right we had workflows we basically had predefined steps rock applications back then were very popular we had a planner we had search we reflected on whatever was found and then we generated an answer then we started to see our first agents we had many many different tools for all sorts of fine cular actions um and then came the coding agents where we had those roughly 10 to 20 tools And now in my last experiment I tried to see okay what's going to happen if I provide only one tool to my agent and the outcome is was pretty exciting to me. So this one tool agent works the same way as every other agent except that it only has one tool which is bash and the model can use that tool for any sorts of task and the bash tool is very simple. So it runs in a se a se separate clean subshell and it supports the command argument. I also added a description so that it's nice and easier to display to the user what the model is actually doing and then like some async
-
parameters. So basically when the model runs a bash command uh the parameter tells the model okay if it is uh the command longer running than this um milliseconds it's being um that the tool call resolves and the model receives uh a local file handle where it can look up later okay if the process is still running that's very interesting if you do like all sorts of like uh web development for example and the single batch tool actually works for all of the things we are using Asian so we can have longunning work where we can start on the foreground and then automatically move it to the background. The model receives some file handle and since it has bash available, if we store it to a file system, it can read the logs which are being streamed. If the agent itself is a CLI, it can call itself using bash. So there's practically no need to create sub aent tools for it because it can invoke itself. And then of course we don't need dedicated planning or memory tools because we have our file system available. We can provide some context to the model. So the model can keep track of its own work with the file system and using the bash tools. In addition of course to our tools we have system prompts and similar to tools uh system prompts evolved over time. Um every dot here is roughly around 100 tokens and you can see that coding agents mid2025 had a lot of context we needed to send in every request. Of course, this also improved and similar story here is like, okay, what do I really need to provide
-
to my agent to make it successful and work and what of all of the system information and details we had in the past are now basically part of the model. So, how much of the harness helps and how much is in the way and to find that out I was running a lot of different evaluations of a lot of different agent harnesses with a lot of different tools. And one example I like to show here which was done with Gemini 4 carbon from an eval task from deep sv is like okay what happens if I provide my existing coding agent tools with read write search crap and my bash only tool and I think you can pretty clearly see that the top line is taking a lot of more tokens a lot of more turns and a lot of more times to achieve the same task and what stood out really well is that Okay, reading is done in parallel in the beginning, but as soon as we start going into making code changes, we see that same behavior that the model is making turn by turn a single edit, which of course consumes a lot of time and a lot of tokens. So how does this look at a protoscope? So I have my own eval set of around 350 tasks for coding knowledge work uh and terminal commands all run with Gemini 4 argan here and four different agent harnesses. One is the bash only harness and then okay with
-
bash we still have that issue on how can I read images right if I'm I cannot cut screenshot.png it would return a binary and it will fill my context and the model cannot see the image. I added uh a view media tool which basically returns the image in a way the model can see. Then we have uh two different agent harnesses with structure tools uh for file system operations. And if we just look at the score column, all of them look roughly identical, right? So if we would just evaluate our model in ancient harness looking at the score, it would basically not really matter which one of those we would pick. Of course, there's a slight variance in the scores, but I only ran uh each task one time. So, might be just some noise or maybe something else. So, you would probably need to run a few more samples per per harness, but the score looks roughly the same. So, how would we now know which harness should I choose? If we just look all at all of the evol being shown, it's always mostly about score. But if we look at the token column or even more at a dollar per task, there's a picture which is changing. So the token per task is getting lower. Interestingly, if we just use bash and then also the cash hit rate increases. So if we just compare like the bash media as the the baseline, the tasks are almost 2x cheaper compared
-
to more complex more tools agent harnesses. And we would not see it if we just look at the score. And to show you a few examples, I prepared some demos. So here I'm um using the PI harness, which makes it super simple to basically define what tools you want to use. I have the the same prompt for 3.5 flash, which we released roughly 6 months ago, uh for all tools. So like whatever pi ships out of the box. Then we have it for uh bash only and then we have it for carbon and uh sorry for carbon with the default tools and then with with um bash only. This runs now since we only have roughly around 20 minutes. I recorded all of that and clicked that very nice accelerate button here. And what we can see on the right side is that the same paradigma basically applies. when models get better, they roughly need less tools. So with 3.5 flash, we see with the default tools uh compared to bash only, we had the same amount of model calls. So we had the same amount of tool calls and we had roughly the same amount of tokens. And if we look at the traces, we can see for bash only, we have some cut commands to read different files. We have some inline scripts to make uh changes and then like some git changes.
-
If we look at the default tools, we can see roughly the same. We had uh read file commands. We used the edit tool and then had some git commands to make those changes. If we now look at carbon with the default tools, it already used way less uh tool calls and model calls. So it it's basically doing work in parallel but also trying to reduce it. So we had for example the still same for write read calls and also the edit calls. But what starts to get interesting if we are going to look into bash and in bash we had even less tool calls and model calls and the interesting part here is that the model writes a single Python script to make all of that changes in one go and no longer needs to call multiple tools. So if we go further what does it means in terms for for carbon here and how bash pays off is that uh the better the model gets or the more reasoning and like capability it gets bash helps the model to be able to chain more commands in the single call for carbon it was roughly 2.2 to 3.7 uh commands per bash call and for flash it was only 1.3 to 1.8 eight. So we are seeing up to 3x less tokens uh by carbon to achieve the same task compared to having the same tools we need to use. So two more examples to look at it as well is like
-
we have on the left side carbon with the default tools. So we see our coding agent tools with write with edit and we see okay it does some parallel work in turn two some parallel work in turn three and four and then we have all of the changes and on the right side where it just has the bash tool it uses Python to write an inline script to make all of that changes at the same time with much less token and the same counts for if we compare Gemini 3.5 flesh to Gemini 4 carbon flesh with bash only is not chaining those commands. So here it it's not really it doesn't matter if I'm having a a retool a write tool edit tool and a bash tool or if I have just a bash tool because 3.5 flesh used to use bash for single turn command so it had a single turn for reading it had a single turn for writing but if we look at carbon which in here in this example is the exact same task it needs less weight turns so the reading is not needed to read all of the different files and uh completely it just uses rip trap and like some intelligent searching to find where we need to make changes and then it writes a single Python inline bash command to make all of those edits in one go saving us a lot of tokens. So what does it bring us? Models will keep eating the harness and I'm pretty sure that 2027 will also be a lot more about how many tokens do we need to solve a task. Even for the few uh improvements
-
we made between Argan and Carbon is the the better model needs less tokens per task which of course is very exciting for all of us because then we can use it more and also it matters a lot what the harness provides and we will might not see it if we just look at the accuracy. It's also very important that we start measuring the token efficiency because harnesses can look the same on accuracy because our models are now very good. So if your harness is more complex to use the model will work around it will find solutions around it but needs more turns and more tokens to achieve the same results and then also what comes afterwards. So I will try to do the same experiment 6 months from now and currently the trend we see slowly um rising at least on like social media and like the industry is that we might go back to some code mode tool that we instead of writing a bash commands that we write TypeScript or Python directly that MCP will come back. I'm a big fan of MCP and like they are making great changes to make it more uh easy easily usable especially uh interesting for all of that code mode work is uh MCP servers now return allow you to return structured output so the model can write better scripts to take more actions in the single turn and it's also allows us to do some better proxy around the security because bash calls are very hard to understand but if I have some abstractive layer in typescript I can uh
-
watch all of the commands being um executed and make sure those are secure and for you build to delete your code before the model does. give your model uh to a computer, not a toolbox. And when a new model ships, I definitely recommend you um trying to think a little bit outside of the box, be more ambitious, try to really see, okay, what if I remove my complete harness and just give it one tool and then also please scan the QR code. You will get free credits. Uh we will send them out after the AI engineering event to try out Carbon and also to try out the new Gemini decisions API. So if you have some time today, I really can recommend checking out the new decisions model carbon and thank you for your time. Heat.
-
Hey, heat. Hey, heat. Hey, hey hey hey hey hey hey hey hey hey hey hey. Heat.
-
Heat. Heat. Heat. Heat. Hey. Hey. Hey.
-
Heat. Heat. Heat.
-
Hey, heat. Hey, heat. Hey hey hey. All right. Uh well, super excited to be
-
here. My name is Ankit. I'm from Data Bricks. Uh I work on AI infrastructure there. And today I'm going to talk about uh the rise of the agent workforce and how we're building our agent infrastructure to support what we think is the next generation of agents. I wanted to start by taking a step back and and thinking about how we help computers become good at other things uh better even than humans. And one of the games I grew up playing a lot was chess. Uh it's one of the great examples of something where computers became way better than humans a long time ago. But I think it's important to think about why that happened and how we can apply those lessons today. One of the biggest, you know, to summarize at a high level, a lot of work went into it. The biggest thing that agents were able to do, that computers were able to do was explore the space of decisions much more effectively than humans. For most complex problems, there's actually a bunch of different ways you can solve the problem. And at each turn, you can kind of think of three more decisions that you can make. And really, it's the exploration of that space that all of us are engaged in. All of us who solve hard problems are engaged in the search space for what's an amazing product, what's the right solution to this math problem, and etc., right? uh and I think we've seen some really exciting progress from the labs like Enthropic, OpenAI and Google on solving problems that are wellformed. So, you know, if you think about chess, it can be modeled effectively. You can evaluate your position. Uh you can actually play simulate it. You can try different moves
-
and safely think about all the different alternatives. Similarly, with math problems, often the ones that agents are really good at solving, they you can actually verify if you got the result right. uh and how do we then take that mindset and apply it to the problems that we actually face day-to-day. I think like let's a lot everyone here is an engineer. So let's take it to engineering for a bit. Uh I think you know if you take it to the preai days uh most people think about solving a single problem and they're kind of singlethreaded on that problem for the time that they're writing code on it. uh and you know as a company if or a product if you wanted to solve more problems you brought in more people and the very basic version of agents just helps create leverage for that engineer. Now you can be singlethreaded on three things at the same time and ultimately that helps you explore new product ideas, ship faster, iterate faster and that's obviously very exciting. But it's it's not actually close to what we needed to do to win at chess or any of these other problems. What we're seeing at the absolute frontier are these teams of agents that are able to make significant progress by exploring the decision space more effectively. So how do we move towards that world where we actually have these teams of agents that are coherently attempting to solve problems? It's actually quite complex and we think it requires a little bit different type of infrastructure.
-
Specifically, I think an important question to ask is how do we give agents a realistic world to explore? Because in other problems, we're able to help define that world very effectively. But even in software engineering, we actually really struggle to do that. Like just consider this movement towards software factories, right? Where you're away from the from the agents and you're actually operating a bunch of agents that are working on a problem. How do you validate that those agents are effective? Like before you had a branch uh you had main, you branched your PR off of that. Maybe you have an agent working on that PR and you have some reasonable assertion that this is kind of a sim, you know, you have some ass like some tests or something like that that help you guide your development. But if you're actually merging tens of PRs a minute or even more, right? Like if you play out the future of factories of agents building code and software, your PR is just out of date the moment you branched. The the moment you started, you're already out of date. So it demands a different mindset of thinking of how do we verify these things? You actually might want to move most of your verification to postmerge.
-
And so that kind of brings me to this a little bit radical idea. I I don't think we should try to write hundreds or thousands of unit tests. Instead, I want to explore this idea of simulating reality. Can I give my agent a faithful reproduction of what's actually there in the real world in my production code in my production agent and let it work on that? And with when you can do that, you can actually do that at scale. If you find a way to simulate reality, then you can actually do that across lots of different explorations. At data bricks, one of the big things that people do on our platform is build data pipelines. We've got tens of thousands of data pipelines on data bricks. Uh and the biggest problem that happens with pipelines is that they break. Um and in this era of agents, what people want is they want to fix those broken pipelines with agents because these are serious business problems that they that are, you know, uh caused by a broken pipeline. If a pipeline breaks, that business can't operate that day. Uh and so this becomes a major emergency.
-
But like how do you actually validate this with an agent? Do you trust it on your production data pipeline? It's pretty risky because writes might not be identy broken. It's just partially broken. One of the things we started doing was building on top of branchable infrastructure. And so what we did was we branched the entire data platform. We branched the tables, the compute, the governance and we gave the agents a place where they can actually play with the data platform and explore different hypotheses. And these hypotheses can be ambitious like can I investigate that the upstream pipeline is healthy? Maybe I can do that by changing the pipeline code and running it again. In any reasonable data platform, you wouldn't do that with an upstream pipeline unless you had a bunch of engineers take a look at it and make sure it was super safe. with our branched data platform. You can actually do that now. So it can investigate a bunch of different things. So we can investigate 10 ideas in parallel with our agents actually get to a faithful conclusion about whether it fixed the real data pipeline and then make that assumption made that assertion back either to a main agent or to a human. And what we saw before was happening was that people would just like LLM would give us text back some human would take a look at it and be like okay this might be an interesting theory. then they would go apply that theory in some way. And ultimately that became more of this like AI assisted version of fixing the data pipeline. But really where we want to go is is is
-
hands-off full auto for this kind of problem. And we were we were struggling to do it without this branchable infrastructure. So how do we do it? I'm going to talk a little bit about that in this talk. Uh we built this on top of our Postgress native agent platform which started with the Neon database which is a branchable database that gives us a single place that we can actually use for our services and for our agents. And then we added in a bunch of really core agent primitives that allow us to build sophisticated different types of agents. Uh and those are ones that are probably familiar to all of you. Things like memory, things like sandboxes, file systems, and ways to host those agents. And these low-level primitives we can build we can build with them. But the key is that we made just all of them branchable. So you can branch the entire reality of stuff that's built on this platform for us for ourselves. Uh so how do we actually do that? Well, let me walk it through like kind of case by case. The first thing is just the database, right? And you know we can take an example of application services. But here I'm going to talk about just even storing the conversation state for for an agent. When you fork or branch an agent, you actually might want to inherit the history. And you might even if you have a team of agents give access to a given member of that team to what the other members of the team are doing. Uh and we found the database to be a convenient abstraction for this. Uh the key was that hey like when a new reply comes in on the on the branched agent it shouldn't necessarily change anything about the other one. Uh and this is possible because Neon has a
-
branched database. But then we actually found that agents need more than just structured databases. Of course they need structured databases but they also like to do this you know write these things called memories and memories are you know at a very high level they compile down to an unstructured database for agents. There are two ways that memories get generated. The first is just by synthesizing the context and the conversations that someone's already had with them and the second by agents actually explicitly saving content to an unstructured place. The key thing here is that you actually want to consolidate and distill that information. there's a ton of information coming in through there and if you just give that you know if you just let it kind of go on its own you have problems of staleness you have conflicts in the information and all of those can be extremely damaging to teams so we have this thing that basically dreams overnight we use offline compute uh and it takes the conversations a different agent essentially highlights things that are conflicts and consolidates the ad hoc notes that were written by various members of the team and then all members of the team can actually recall from that memory database. And you can use this in a bunch of different ways. We use this within our Slack agents, but we also use this when we're launching a parallel set of agents to investigate a deep issue, for example, in the data platform. Now, how does branching come into this? Well, some of the agents like in many of the use cases, they propose memories and it's not clear whether those memories
-
generalize to the actual broader set of agents or if that's a specific thing for just that agent. And so with the branchable database for memory which is built on top of this neon database, we can actually just propose that memory somewhere in there and that branch can continue to iterate and at some point we can find a way to merge it back in if it's necessary. uh we found this to be a flex an important layer of flexibility because without the ability to completely branch the memory we found it was very hard to maintain the memory for a team of agents especially as we increase parallelism you can actually experience like significantly reduced quality if all the agents are pursuing different goals uh I I I like to think a little bit of it as as like kind of similar to dynamic programming right if you've explored a branch of exploration and then you have a different agent that happens upon that same pathway It's very damaging to like always revisit that but sometimes you want to and so the ability to propose a memory is extremely important to us. How is all of this kind of branchable database possible? Well, the way that Neon does is it is it separates compute from storage. Compute uh for Postgress is running in some separate place and then we actually have the shared history and the storage in a different layer and what that lets us do is copy on write for branching. So when we have a branched version of the database, you can actually have A's uh you know compute A's rights separated from compute B and that's the kind of the core layer of infrastructure that allows us to build these applications on top of
-
that database. But then we found you know obviously agents are far more than storage and and branching storage wasn't enough. We also found that as they were running in sandboxes, agents like to take notes on stuff and write down scripts and use those to actually iterate on various kinds of problems. It it it's one of the most exciting things about agents that I've found that they are able to generalize this capability that's needed maybe for testing code and and things like that and solve other more broader general problems using that same con construct. But then when you branch it, you actually need to give the future agent a similar context. If you we found that when we started the branched agents without the same files that that agent had to begin with it just wasn't as effective. So when you're investigating an outage for example with an agent you might have notes and plans and a future branch of that agent might update those notes. It might find new things but we don't want that to go back because we're actually exploring 10 different pathways at the same time. Uh so building a branchable file system was extremely important and allowed us to build what we call a branchable sandbox because then what we can do is we can launch that sandbox compute and and that's a hard problem in and of itself. It's not one we're going to talk about today but that compute can be attached to storage and critically the agents actually really aggressively leverage files very often. Uh and so it can be very painful to make all your storage fully remote.
-
Uh and so the really core piece of what we've been building here is a syncing process between what we call a local cache and the remote cache. Uh and then what that allows us to do is as we're able to make progress on that when we want to branch we can actually branch a second sandbox use that similar file system and it reduces our latency for for branching while also keeping performance of the regular agent reasonable. So what this allows us to do at a high level is branch the entire working state. And this gives us the platform layer to actually go do that. Now this isn't obviously sufficient. You're going to want to branch even more. If you're building on top of software, you want to find a way to branch that too. And so this is along the lines of how we're thinking, right? Like we the data platform was built on top of some of these things, but there's a lot more that we've been able to branch there as well. Uh but we're really excited about this layer for just even building agents. And just to like kind of separate a little bit even from software development like another thing a lot of us are spending a lot of time thinking about is security.
-
Uh, I mean just taking a step back, I think this is probably the single most important thing for any product that anyone sells at this point because trust is kind of the most important thing that we're selling when we work with other people. And uh, with agents being the ones who generate the vulnerabilities, uh, it's kind of impossible to find a different solution than having agents be the ones who are monitoring for those exact vulnerabilities in your code. So you should be thinking about how you can build an agent factory that's detecting security issues in your codebase. Um and so this is something we spending a lot of time out spending a lot of time on. So typically what happens in a security incident? Well, let's say you suspect something. An agent might be always looking for it. Why why is there this like network traffic that's erressing all of a sudden from my control plane? Well, I can assemble an incident timeline and that's obviously the first step in an investigation. But anyone who's been a part of a serious security investig investigation knows that time is of the essence. It's a perfect problem for parallelism. And that's exactly what you do when a security incident happens. You bring everyone online so you can explore 10, 15, 20 different theories at once because an hour earlier that you can you can detect the real issue is an hour that you're actually more safe. So okay, what if we did that with a branchable agent? Let's say there's two paths to investigate. Uh so you know the agents assembled the incident timeline and now you can ask two questions. Hey did a recent deployment in introduce some kind of new integration like maybe I can go look at
-
the code or I can explore a totally different theory. Is a compromised identity accessing this data and the core thing that we are able to do here is we branch that whole original agent that was starting the investigation and then the new one is able to work in a completely isolated copy of the world. And in some cases when we're able to, we can even branch the actual service that we're investigating. Uh, and so when you have this isolated copy of conversation, memory, and storage, you can fully explore that security risk and and let the agent loop on its own. And that's kind of the key thing here. The way that these agents are good is that they're able to loop, verify, try new theories. I think Andre Karpathy said it really well. They're far more tenacious than any human probably in the history of software. And so they're able to just but like we keep getting in the way by inserting ourselves as an approval layer. Uh and so this is a solution that we think helps with that. Just like take away the consequences of making a mistake a little bit. Branch the entire state so that you're not actually you know worrying about that same risk. And then you we you we've been able to find this to actually uh come to a reasonable conclusion as well. So what does this all add up to for us? We think that your infrastructure needs to be branchable and that's what we're building with Neon with data bricks. Uh and we're super excited about that branchable future because we think that teams are going to be the next generation of agents both
-
for software and the way that we actually build products. Thank you. Heat. Heat. Heat.
-
Hey, heat. Hey, heat. Heat. Heat. Heat. Hey, Heat.
-
Come on. Heat. Okay.
-
All right. Can y'all hear me? >> All right. My name is Andrew and I think we're starting now. I don't know if there's a timer anywhere. Uh my name is Andrew and I'm excited to talk to you today about the safe software factory. Uh but first a little bit about me. Uh I am a staff software engineer at Sonar. I work on guitar which is Sonar's AI code review products. Uh and previously I was at uh Uber working on the driver trip experience and navigation. Uh and then after that I was at a health tech startup called forward for a little while uh building a sort of an AI enabled primary health care system. Okay. So the software factory this is like the hottest buzzword in our industry right now. Everyone's talking about software factories. Everyone's trying to build a software factory.
-
And the question is, well, oh well, so first of all, um, most of you probably know what this is already. Um, but if you don't, I'll just give a really quick overview. Uh, this is sort of the the main software development life cycle loop uh, as it existed before the AI era. So we have uh inputs basically product specs, feature requests, tickets, things like that. Um we take those into the planning step if they're especially if they're complicated. Uh and then we then we build then we write the code uh and then we um uh put up a PR and that PR gets uh reviewed and it goes through CI and then it eventually merges uh and then we deploy that to production and then users interact with our software and they give us feedback or they find bugs um or we might also get some monitoring and alerts as well. And then those go back in as more inputs and the the cycle continues and and so um in the in the era of agentic coding and AI automation has followed every bottleneck. So the bottleneck used to be the the coding part the building um now with coding
-
agents that's been automated. Um, and now the bottleneck has sort of shifted over to the that review step and we're starting to introduce uh AI code review systems for that. Um, and then and we're seeing uh AI systems and automation happen really at every step of this now. Uh so we're starting to see AI systems for monitoring deployments, controlling rollouts, triaging uh triaging, you know, tickets and incidents, planning. And so this this here is the sort of software factory that we're that we're creating. And and so the question that we all have now is how do we make this factory safe, right? Uh in other words, how can we introduce enough layers of verification into this so that we can trust that the software coming out of it is it works as expected. It's free of bugs, free of security vulnerabilities.
-
Um, our CEO Tar said recently, "Code is abundant, confidence is not." So, what I'm going to talk about today is just how we at Sonar have been thinking about uh how to introduce uh confidence uh at at all sort of all different points within this software factory. And uh we're approaching this this challenge with a defense and depth approach that comes from adding more loops. You might not be surprised to hear and I'm going to talk about four of them today in particular. So there's the loop one which is the PR checks loop. Uh loop two uh which is the post deploy verifications loop. loop three uh which is the maintenance loop and loop four which is the knowledge loop and this is kind of a kind of a special loop. Uh so first I'm going to talk about loop one the PR checks loop.
-
So this is the loop that we probably all have in some form. Uh you put up a PR, it goes through some CI checks, it gets a code review. Nowadays it's probably getting an AI code review as well. Um, but we're starting to see a lot more automation being introduced here as well. So, we're starting to see agents pushing fixes to respond to the code review comments. Um, and this loop kind of goes around and round until the PR turns green. And there's actually a lot more that we can be doing here. um because catching a problem at this point is still cheaper than after it merges into the codebase. Uh so we have a real opportunity here to widen this review past the sort of normal tests and code review that most of us do. So of course we have AI code review. We can also do static analysis here. Many of us do that.
-
Uh we could do what's called functional validation. So this is where we can look at uh what the ticket asks for and see if the PR actually addresses those things. Um we can look at rules that the team may set for coding conventions uh see if best practices things like that see if the PR is adhering to those. We can look at knowledge. So this can be knowledge accumulated from company documentation, from things that have been learned on past code reviews or past outages. Uh we could do cross repo checks. So we could actually look at other repositories and see if anything in in this PR uh will break or cause something to break in another repository. Uh we could do cross PR analysis. So, we can look at all the other open PRs as well and see if there's anything uh in this PR that conflicts with one of those.
-
We could do security review, check for vulnerabilities secrets dependencies. We could do endto-end testing. So, for example, if this is a web app, we could open up in a browser and and click around and see if it works as expected. Um and finally we can do risk assessment. So we could sort of uh look at this and compute uh the blast radius and sort of categorize this into like low, medium or high risk. And that can actually help us determine if this is a PR that a human even needs to look at at all. And so all of these things can flow into this the sort of decision this merge gate this decision of whether this PR is mergeable. And of course uh every time a fix is pushed all of these run again at least in some degree. And and with all of this it's important to gate the that merge decision not just on the fact that a test ran or that it passed but on the evidence. So that would be things like the actual code review findings, the results of the quality gates, uh any vulnerabilities, um the risk level. So all of that can be uh basically fed into this merge gate and checked against criteria that the team can set for what is a mergeable PR.
-
And when you record that evidence uh to the PR, it just makes this uh the merge gate much stronger. And so what we're seeing now uh with teams who do this well uh is that they can actually delegate more and more trusts uh to this type of automation on the PR review. Uh so we're seeing teams begin to turn on not just automatic merge blocking but uh even auto approve in some cases for low-risk changes and and even automerge for certain types of PRs that are that are lowrisk and approved and this can just free up a lot of review bandwidth for human reviewers to review the the more high-risisk changes. Okay. So now um I'm going to talk about loop two which is our post deploy verification loop. Uh so this is I would say very much in its early stages right now. People are experimenting with all kinds of things here. Um but the idea is that once your code is deployed uh you can have you you can build AI systems to check uh to read like production logs, traces, metrics and see if your code is actually behaving as you expect it to in production.
-
And then from there you can actually um uh we're starting to see things like agentic rollout where agents can decide whether to widen a roll out or roll back turn a feature flag off and you can also do uh AI outage monitoring. So you can uh monitor alerts and uh use AI systems to help you uh root cause and fix outages. Okay. Uh so moving on to loop three. Uh so this is what I call the maintenance loop. Uh this is kind of a a parallel loop that runs alongside your main software development uh life cycle loop. And this is where we continuously scan the codebase on some schedule. And we check for a lot of the same things that we check for on the PR. We we could do code review, static analysis, security checks, etc. And then we can if we find an issue, we can open up a remediation PR to address that. And this lets us catch things that we couldn't catch in the PR. So for example, you could imagine um maybe a new rule was introduced after code merged or a new vulnerability was published after code merged.
-
um or even something like slow drift where you you slowly get duplication or complexity building up that you can't really see on a single PR. Uh you can catch these kinds of things here with these uh with the continuous codebase scans. Okay. Okay. And so finally we move over to the knowledge loop and and this is becoming we're seeing this become a very important uh loop for a lot of companies. Um every company has a lot of knowledge documentation product specs um business decisions um and the agents do a better job if they have that knowledge. Right? So this loop basically collects all that knowledge from different sources as well as things that were learned on prior code reviews and from prior outages.
-
It's curated and then it can be uh fed into all of the other loops, all of these other agents um so they can uh do a better job. And and for example, this is really powerful with your coding agents because if they have some of this knowledge, they can probably do a better job the first time, fewer issues. Um, and then you'll you'll wind up with basically fewer review laps at the uh review stage. Okay. So, what does this mean for our role as human software engineers in this factory? Uh, you might be asking, okay, so if if we nail all of this, can we just uh turn the lights out and run a dark factory? Uh, and I would say probably not. Not right now. Uh, I like to say the factory runs dim, not dark. It's still very important for us to intervene in places where our expertise is is really important.
-
Uh so that would be things like auditing risky code. Um verifying that evidence, verifying things are actually working as expected. Handling exceptions like rollbacks and incidents. Uh reviewing architecture. Agents are not very good at this yet, I would argue. um and supplying the why or or helping to build that knowledge that that powers all these agents and all these loops, supplying the product intent, the trade-offs, the business decisions, things like that. And of course, we engineer the factory ourselves, right? We're we've sort of moved into this era where we're we're building the software factory as a whole. So with that, I hope that gave you sort of a framework for how to think about um not just how to build your software factory uh but how to build a safe software factory. So thank you. That's all for me.
-
Heat. Heat. That's
-
pretty. Heat. Heat.
-
Heat up here. Heat. Heat. N. down.
-
I Heat up here. Heat. Come on.
-
Heat. Heat. Heat.
-
Hey Heat. Heat. Heat.
-
Heat. Hey. Hey. Hey. All set.
-
>> Hi everyone. Uh I'm Luke. I lead our core agent team here at Factory. Uh today I want to talk about autonomy and why uh the teams that are getting the most out of coding agents are not actually the ones that are handing over like the most work on day one. It's instead the folks who are ramping up autonomy gradually, one checkpoint at a time until what they have starts to resemble a software factory. So for those who don't know us, a factory is a platform uh that builds droid and then a a whole like surface for software engineering and building software on top of that coding agent. Hundreds of thousands of developers use us around the world at companies like Nvidia, T-Mobile, uh and Adobe. What these companies engineers are building with us is is really like a software factory, a system that runs 24/7 and builds software under the company's control. And that's a loop that takes in signals from wherever information is already available, turns them into changes, validates them, uh, and then learns from what production shows. A signal is really like anything that tells you how your software should evolve. So that could be, you know, a sentry alert or someone's idea on Slack.
-
Every signal goes through the same stages. So you standardize you standardize the the process not the output. So we built that platform on five foundations. It has to be transparent, modular, governable, efficient and frontier. Most people picture a software factory as this kind of like lights out building where uh there's no people inside of it. Requirements come in one end and merged PRs come out the other. And and really what we saw firsthand in the field is that that's not the case. The best ones aren't set up like that. They're built around people instead. Uh, humans decide what matters and how much to trust droids over time. And those droids earn their keep as they deliver more work that's higher quality. Every company's software factory looks very different to each other. So, what we what we sell is not really this factory, it's the tools and the building blocks to compose them. Now, it's it's worth kind of looking at how we got here in the first place. Back in April, one of our flagship products was Missions, which was one of like the first multi- aent uh products to really take like a bite out of the human attention bottleneck that existed in in software engineering. You'd describe a goal, you'd like argue with the orchestrator until you were aligned, you'd approve the plan, and then it would go handle implementation for like days or even weeks. When the goal was clear and verifiable, you really could come back to like completed work pretty consistently.
-
But as more teams adopted it, we heard some consistent like pieces of feedback. The first was how missions asked you to work. The product assumed that you could plan everything up front and then it would just work. Uh and the UX sort of suggested that you shouldn't interrupt them. Missions didn't really like ask you any questions or provide like an interactive surface for that uh communication between you and the agent once it was starting implementation. So this suits like migrations and big uh big coding like feature projects but it didn't really fit fit the bill for like most kinds of other work. The second was cost and time and that came from honestly like the models getting really really good. I'm sure you've all seen now adversarial review is really really good at finding these issues in your code. And so, uh, at the time we were adding adversarial review into every milestone's boundary. That just kind of like grew the scope of that mission from something like 60 features to over 200. And so you ended up having a token bill and a timeline that matched that. And then the last one was that missions were keeping their context to one person. So that was fine for like a single project, but it meant that the rest of the team couldn't really build on what that mission had learned.
-
So we went back to the drawing board and one mental model kept on coming up. When you have like an org that is running dozens or hundreds of agents at a given point in time, you actually have like a lot of the the problems that operating systems back in the day solved. How to schedule work, how to run what many things at once safely, and how to share state. So every operating system starts with the thing that actually does the work and we wanted to revisit the agent itself. Long horizon agents run for thousands of turns and every inefficiency across of those gets multiplied. So you could have, you know, an extra inference request that's unnecessary or a a tool result that's pretty bloated or a prompt cache miss. All those things compound over time and lead to waste. So we decided to make some pretty significant changes to the harness itself. The biggest one was programmatic tool calling, also known as code mode. Instead of calling one tool, waiting on the model, and then calling the next, we have the model write a small program that executes all those tools in one go, and then prints out only what's relevant.
-
So there's this example here where you have 150 linear tickets that are getting moved from one project to another. done the normal way that's like 30 inference requests, a million tokens, but as one model generated program, you actually only have like 60k tokens. It runs much faster and the model only sees what is actually relevant to the task that the the fact whether it was like successful or not. So this layer of the OS is where being frontier and efficient matters the most. A new model lands every few weeks and no two fail fail the same way. So we tune our harness in such a way that evens out this jaggedness across all these different models. The result is that Droid is now, you know, higher quality at a lower cost than every other coding agent on the market. Now you have a faster agent, but that that doesn't really give you like a step function increase in in how much work gets done inside of your system. For that, you need many agents running at once, and they need somewhere to run. remote missions were kind of held back that by this like fundamental limitation in the system where there was one computer that handled all the work. But to run a software factory, you need uh compute that scales with the volume of work in the system. Otherwise, every agent is is fighting for the same files or system resources. And so that's why we build environments which are reusable definitions of the sandboxes that your droids need, complete with the repos, tools, and dependencies that they that they need to get started with. The system is governable. So there's one comp control plane that orchestrates all of these sandboxes together wherever you
-
need them. They can run inside of your own VPC on on EC2, Kubernetes, whatever compute you already operate. So your code, your data and your network are in your control. Compute becomes pluggable just like we made the BY options and automodel uh options that we provide uh make that provide sort of like this like model pluggable layer. So now we had agents that were cheap enough to run all the time and the compute to run many at once. And so then the next question was how do we orchestrate all of this work? At first we tried making like this DAG very complex system of agents composed together by like these very like strong rules and it didn't really work. You end up having a lot of the same problems that plagued missions uh in the first place because it was too rigid and as a result it was too expensive to run and it didn't generalize well. So what we landed on instead is something that we call a workstream. It's a standing goal with a team of agents to support it. It has this goal.
-
It has an identity, a an environment that it runs on and memory. A new workstream runs as you and it has your access. When it outgrows one person, it can be moved to a service account with its own credentials. So you stay on as a member, but the work keeps h happening under an identity that the the org actually controls. At the center of every workstream is an orchestrator and its job looks a lot like a scheduler in an OS. Unlike the graph that we started with, it assembles its agents in whatever way is most natural for the model. So the instructions are pretty short, right? It's like uh delegate first. Give each agent an area of ownership and then for tasks that can fall into an existing area of ownership, delegate to those. You start by talking to it. uh you just kind of hand things over as you think of them and then it fans out the work so that then uh you can get the the control back to you. Uh agents report back when they finish, when they get blocked, when there's something that changes the plan overall.
-
But the work stream doesn't just stop there because it takes on more on its own and it learns from your habits. At some point the orchestrator may ask you how you decide what to work on and it learns that maybe bugs are coming from two Slack channels. So here it can set up an intake and a triage listener. Every 30 minutes it can go in and pull in those reports from those channels, ddup them against you know existing linear issues or uh sentry sentry alerts that already exist and then weigh each of those against the workstream's goal. So a Slack complaint and a customer error report become one change. The output of triage is a spec that you review and uh you're capable of like weighing in on before any code gets written. Once you approve a spec, the same worker opens a PR, stewards it until it's merge ready uh and then make sure that you know review uh comments and CI are passing. So each one of those stages actually maps to an autonomy level in this system. At L1, the workstream posits for human review at the spec creation, at the PR, and before hitting merge. But you know, as you level up that th those levels of autonomy, you can get to L4 where you're automerging everything by default. The owner gets to set the level, but the confidence to raise it comes from watching the work. So when proposed changes are accurate or PRs consistently merge at the quality that you'd expect, that's actually your cue
-
to move to the next checkpoint. And so that becomes the dial for you. You don't need to decide on day one whether you trust a coding agent to own, you know, your like CI health workstream off the bat. You just need to trust it to to like unlock the next checkpoint. So in a factory, an agent that starts from scratch repeats the same mistakes the last one already did. And so we built workstreams to have a shared file system. Agents are are encouraged to keep memory and version skills and so their PRs get better over time. They're also proactive and they go looking for context that they're missing. So for example, say that your work notices that other people are shipping related changes. It sets up an automation that pulls in their PRs, analyzes what they've been working on and what comments they've been receiving in those PRs, and then incorporates them into their memory and skills. So, what one agent learns, others can use, and nothing starts cold.
-
That folder is also how agents work together on a project. When the orchestrator spawns an agent, it's capable of telling, you know, each agent where does it where where does its result sort of belong inside of this shared folder. And so every agent can read and write to the same place. If you ask it a workstream why checkout got slower, for example, it can send dozens of agents out to track down all those different leads that you have. And then ultimately each one can write its findings to the folder and the orchestrator can merge them. Now you still need a barrier between implementation and merging. And for us that barrier is platform level validation. Every PR gets code review, security review, and dedicated QA against the live preview. And so once every review thread is resolved, a risk judge then goes in and decides whether it's safe to approve or not. The judge gets the exact if and a check out of the branch so it can like build and test it. Uh but ultimately it reads its policy from our mainline branch so that the change can't rewrite the rules that it's being judged by.
-
Every week a droid minds the review comments and goes through figures out which one authors have actually acted on and then pulls them pulls those into like review guidelines so that the the loop sort of improves over time. We also have droids that every day run and analyze reverts, hot fixes, new sentry errors, for example, and traces them back to the PRs that that caused them. And so that also is a signal into this same loop. What we're really hell climbing on here is the regretfree merge rate, the share of changes that merge and never need a revert or a follow-up fix. We measure it for droid ridden and humanridden PRs side by side. And it's the same way that we let like self-driving cars onto the road. We didn't just give them the green light. We only uh did so once they crashed less often than human-driven ones did. And so once AI written changes break things less often than human ones and you can actually measure that then you can let them merge and that's the bar for turning a workstream to L4.
-
Workstream is now like the platform that we build new features on top of. So migrate is the first one. It sort of fulfills a niche in our product um like framework for for what missions used to be this like dedicated oneshot migration experience and continuous remediation is the second where it follows that circular shape that workstreams are best suited for because there the work never ends. We run factory uh on top of workstreams ourselves and so this is what it actually looks like in production. In a weekend this past October, we shipped about 800 poll requests in our dev branch and Droid wrote 99% of them and reviewed all of them. Now, work landed in one of two ways. It was either a human picking up a signal manually uh or increasingly nowadays, it's a workstream picking it up uh automatically triaging it against the goal of the workstream and then ultimately writing a spec and merging it. 52% of PRs that we ship right now are coming from workshops themselves and some of these are operating on full autonomy. So for example, the one that uh fixes bug reports from a dedicated Slack channel merges 53 PRs per week.
-
Another one is our flaky test work stream which merges about 40. Fully autonomous PRs aren't really the only thing worth tracking though. It what matters a lot more is the progression. how much of your work flows through work streams and how many checkpoints does each one still need. As more work flows unrestricted, your engineers become the regulators of this system. They decide, you know, what signals to watch, uh what are the goals and the owners of those, what are the skills and review guidelines that you need in order to keep this code high quality and how much autonomy each workstream gets. And so there's just one question that tells you, you know, whether whether you have a software factory or faster engineers, and that is, can you name and track your signals? Every team already has them. You have bug reports in Slack, you know, failing CI jobs, error spikes, tickets that nobody ever picks up, but most of them wait on a person to notice. And so my ask to all of you is to write them down and then pick the one that you waste the most time on. give it to workstream on L1 and then set up our validation experience and then you're well on your way to building software that improves itself with all the signals that you choose to track. Thanks everyone and I'll be around to answer any questions today.
-
Heat. Heat. Uh, hey guys, this is Era. I'm a
-
founding engineer at Klein and today I'm going to be talking about recursively self-improving coding agents. So this is a very interesting conversation in the sense that everyone wants to understand what RSI is, how we accomplish it, how we go through it and how it affects our career. So I'm going to start with giving you just three goals of this entire conversation. Just three simple goals and that would help you understand like what what we get out of it and what the future uh for this looks like. So the goal number first is that understanding the intent of Frontier Labs, right? Everyone who's outside of the frontier lab is always trying to speculate like hey what what is the topic in open or what is deep mind going to come out with or what what are they trying to make and what's the future going to look like who has cracked the RSI so like this kind of helps you get get a rough outline of what their road map looks like and the second thing is that like if the models are improving so fast like how do you think about your career or the next few years right that is really what we want to understand we want to understand like okay things are changing so fast like the ground underneath us is shifting so quickly.
-
Right now like it's like uh there used to be a time when you could like demonstrate your side projects on your personal website or GitHub and now it's just like you could literally oneshot them using any Frontier Coding Engine and with that it's like it's like oh well how how do we demonstrate proof of work? How do we demonstrate you know that that that we know what we're doing and how do we think of our career for the next coming years, right? So it's a very interesting times that we're living in. And then the third and the most important goal of the conversation is escaping the permanent underclass, right? So I know this seems like a joke, but this really is a very valid possibility that people are contemplating, everyone's like, "Oh well, if everything that we want to be doing can potentially easily done by a frontier model, like what are we what are we good for?" And like where does software go? Where where does the future of technology going to go? And what are we going to do as as things evolve so fast, right? So I think that there's like a lot of like fear-mongering but also there's like some very valid merge where people are concerned that like if all the revenue of the planet is going to go to um a few hardware companies that make frontier GPUs and then a few few uh AI companies that that make the best models like how are we how are the rest of us going to throw in what what are we going to do here? So, I think I'll I'll walk you through a few examples and a few ideas that will like really really help you reconsider the career choices and and and the life choices you're making and what your
-
problems you're picking up. And then and then that will help you like realign what it is that we should be working on and what it is that you you know would would that you could work on that will stand the test of time and help you both just not just like on a psychological but like financial and other levels as well. So uh to give you a very precise example, let's start with something very precise that I had done. So a couple months ago I uh came up with recursive improve improvements on a coding harness. So this was the first probably public example of uh an automatic eval improvement. So to give you an example u we used to do this thing where we would measure the quality of a coding agent using evaluation scores. on terminal bench 2.1 Kim K3 with client would score um usually like you know um 60 70% and then depending on like how good the model is like you get better scores on on terminal bench 2.1 so we noticed that when Kim K3 came out our score was 77.5% which is a good score but we were like oh is this is this truly is it truly the best score that this model can get on this benchmark and also like what does the model release paper claim about what their best score is so the model release paper said that they could score up to 85% or even more.
-
So we were just like okay okay so we are not getting the sort of score and often what we do with model releases in client is that we try to like optimize your score and try to get the best out of the model. So when we started hill climbing on the on the model like we we realized is we realized that like you know there's a lot of steps that we do says that we do it gracefully says that we pursue the right kind of problems and do it the right way and we started thinking like okay if we there's a lot of ground work here how do we automate it and this is a demonstration of like how we automated it. So I'll I'll just leave that as a placeholder for now and we'll get get back to it later where we talk about in detail of like how does like this automatic improvement loop of a client harness work. So this basically means that like you have a coding a harness that could just like basically improve itself and become better on on the same set of problems. So let's start with the ground terms. What is recursive self? Recursive self-improvement is the idea that an AI system that helps build a more capable successor which repeats the process you know until you hit artificial general intelligence right you have better systems you have better improvements you have a better system and then you know you have singularity so a classic example is like a self-reing coding agent right self-reving coding agent is just like a coding agent that can improve itself so you know this this is all like a pie in the sky idea like it's like it's like you know yeah sure this looks cool but how how did this even come out to be like how we even get to here. So if you notice in topics road map in 2021 in 2021's road map they very specifically
-
said that uh uh they wanted to develop a general AI assistant that can interact conversationally with a user to create edit and explain software. It would display all the capabilities of a software engineer colleague. It would write functions. It would identify bugs. It would design an API discuss style and best practices. Right? So we don't expect to reach this goal right away but it's in the direction which we're striving. It's interesting how this was more than five years ago. More than five years ago, people had predicted that there exist a day where you will have like a full-blown journal assistant that can basically act like a colleague, which we do have right now. Um, then in 2022, Chad Deputy got released. We all know how that happened. It was it was a fun moment. It was like the first time things got sparked for us. Um, then in 2023, 2024, there was the first time chat models could call functions. These functions would be simple functions like hey what's the weather or you know what's the what's you know what's this competition over this computations result in Python. Um and then finally in 2024 when s 345 was released that was when the agents could like truly call like actual tools the way we call like think of tools. So it's like reading a file editing a file you know reading searching something on web uh listing listing a folder searching and grapping through you know uh a file system things like that. So and in 2024 we had the intuition that like chatbot what if chatbox could actually talk to each other you know so then that's was the first time when we had like you know uh
-
multi-agent conversations now at the time these things were very janky right like they were just like taped together in this like weird weird uh bizarre ways where you have just like these classes and these links and then like these hierarchies of classes and it was like it was all like kind of like a very janky attempt to like make us think that like these these models to like have these pipeline of flows of responses that can all communicate with each other. A lot of it was like mostly deterministic and it was like you know it was not as free flowing as it is right now. So and you know we started getting the intention. So this was the autogen project but like in only in 2025 we we started getting the like what if the agents just kept getting better and faster and cheaper like what what if that just kept happening and then in 2026 uh we we had the intuition that like what if what if the agent could improve itself which is like the final you know the final part of the whole process. So let me give an example like what does it mean for an agent to improve itself right? So like it's like a lot of times when we think of like evaluating an agent, we initially used to think of evaluating an agent in the form of like just a single turn conversation. So we would tell we would tell like um um agents that like ask a simple question like how many toes does a dash animal has? It's like it could be let's say how many toes does a cat have and then al would go through and the element would like prepare response and then we would get the response. So like a cat has maybe 10 toes, 18 toes, however many. I don't I actually don't know how many toes a cat has. But
-
anyway, um yeah. So then we create the response as like a yes or no. But like when you work with an agent, there's a ton of things that you're doing. So let me give an example. Let me give an example. So for example, you're going to ask an agent like hey set up this MCP for me. So now it's not just like it's not just like you know a trivial oneshotable like thing like it will like search online and go what's the MCP? what is the config? So, I'll like edit and download some soft files. Like maybe I need to add database update the MCB tool. Maybe I need to read and edit some files. Maybe I need to run some bash commands. Right? So, you do all of that and then the agent response like, hey, I did it. And then you grade that with a bunch of tests to gauge like, hey, did the agent actually accomplish the thing that it said it would do? So to do that thing the second part which is like more intricate where you're actually like truly you know testing agents like uh to their best extent like it's like you know um we use this thing called terminal bench. terminal bench is a benchmark for you know AI agents in terminal environments and that is something that we are we have a lot of like experience with at client and uh it's like a it's like one of the best ways to like really gauge like is your coding agent accomplishing uh in general the task that you're doing uh that you want to be doing with age model. So there's a couple there's a many different parts of evaluation suit. So ideally you want that to run in um you know you you want that to run in um individual sandboxes. Then you have like
-
independent graders that like check everything like how many turns it took, how many tokens it took, how much latency it took, how many how many how many tool calls did it make, what was the trajectory looking like and then grading all the results for things like hey did you not reward hack? Did you not cheat through the solution? Did you not just like look up the solution online? Things like that. Um so we we basically like a lot of these uh data sets of evaluation problems have a set of tasks. So when a terminal bench 2.1 they have 89 tasks. So what we do is like we spin up 89 parallel containers where they all run online and they run in parallel and they're sandbox and then they each try to solve a problem. So then they're all uh in parallel and independent of each other. And then at the end we get get a score. So our score could like give us measures like is is a is this is the model performing well and what kind of failures it has right so like you run the evaluation you get a score so you get an aggregate score and there aggregate score could reveal a set of failures okay failures could be of any kind failures could be hey the read file tool is not working sometimes the entrance is so slow that like you know the agent's working it's doing it's making progress maybe it's running a circle but it's so slow that it literally like runs out of time it runs out of like 45 minutes or where that were given for the task and just like stop working. So once you do that once you understand hey this is what we ran this is what the failures we got we bucket the failures in different categories. So like 10 failures of you know this kind of tool called 10 10 20 failures of like say inference not
-
working or something else right and then we once we bucket the failures into different categories where like we try to make an improvement to the harness because like what if there's like something wrong with the harness that we could change such that the model score would improve right and on and on and on and you do this iteratively it takes a while it's just like you know hill climbing is like a very groundworky kind of process and you know usually usually we we took we used to take a lot of time trying to do this but it was a great way for us to like learn how to improve models. So one way to hill climb on top is that like you know we we could have a thing where you know we started doing this thing where we could just like what if we could have like a longunning agent that runs for a while and automatically improves the model score and that's what we did. So we ran GPD 5.6 soul that led the work and that was like the main agent and then uh Ky K3 was just running eval. So what it was doing is that like GBD 5.6 was like hey run these events get these cores let me look at the failures let me look at where where it went wrong and then I'll make changes to client's harness and then I'll run these eval again and then I'll keep trying. So again, you can see how like very quickly this can like go off the rails because this is supposed to be like the running and evaluation itself takes like an hour. Then you have to read the feedback. Then you have to like see if you're properly interpreting the feedback to make reasonable changes to the harness that are like not reward hacking that are just like actual genuine improvements and then run the eval again. So we ran that for 17 hours
-
and uh when we ran that for 17 hours there was like a legitimate hell climbing and what we found that was very interesting. This happened with a very detailed prompt that accomplished this is that like we had baseline score of 27% and then you know we we found issues like loop detection loop detection is when a harness just runs in circles around a problem right uh we found like background process grinding where background processes would run too long uh we found some file index issues and other things as well I mean when I say we what I actually me 5.6 solve right so that found those issues that found and bucketed those issues it's like hey how about I make those changes in the harness and I run the eval again and it iteratively built the hill climbing process completely autonomously on its own without my interference and 13 hours later when I come back to it like it has improved the harness's performance in so many ways so see what does that mean what does that mean it just it just basically means that like we're at a point where the experience could make the harness better that like there's like a tool level learning loop where the harness does some action, interacts with the environment, understands whether or not it did the right thing or the wrong thing and gets some reward and and like almost and then has there's like a meta agent that's observing the main harness and finding the changes to it and just like incorporating those changes and improving. Now it's I think in my personal opinion it's much harder to do in real time because if you do it in real time you overindex on solving
-
certain problems or you're just like too cartel to a specific thing. But I do think that this is something that works like on a broader scale of like working on a wider range of problems and you want to be able to like you want you want to be able to justify the changes you're making on a broader applicability so that the changes you make here will apply to a broader range of problems as well. So what does that mean? Like what am I trying to get at here? The point I'm trying to get at is that the models are so good right now that they can if they can improve the harness, they can improve a lot of other things. So then what else can they improve? So this is this is a this is a post uh primarily from OpenAI where GP 5.6 autonomously rewrote and optimized its own production kernels and those production kernel improvements remove the end to-end serving costs by 20%. you know it also had 15% higher to token generation efficiency and this was like completely done by 5.6 soul on itself, right? So what that means is that like inference is becoming much cheaper and that means that like if on if if for a company like OpenAI if you're having 20% low lower serving cost for a frontier model that could be a billions of dollars of improvement in price and you could you could do that as well for your own models. Um another interesting thing is that like when people have kernel writing uh competitions so core auto is a company which has a kernel writing competitions and you'll notice that like they they mentioned that like the person
-
who won the kernel writing competition the explic said that I have never handwritten a GPU operator it's all ALM and agent driven so notice that like how like the best uh inference improvements kernel improvements are at this point completely exclusively done by a swarm of agents or generally like agents doing some magic to you know magically improve like the kernel kernel code and have faster inference cheaper inference. Um yeah so basically like the improvement surface that you think of is not just like the harness improvement it's literally the whole surface stack right so the whole stack from like evaluation to harness improvements to training data to post training to world interaction to inference like literally the entire pip part of the pipeline like all the way from like electricity going through your machine to like making a network request going through the model models doing inference um making a response and getting back to you like every single part of the pipeline we can optimize it.
-
So the whole RSI loop has like um there's a couple different parts so it's like pre-training um uh neatron examples of like you know AI curated uh pre-training data that was good um there's like post- training examples which are you know where there's like constitutional AI examples of like post- training uh improvements then inference I gave you the example of GP 5.6 So for eval generation, I give you our own example of how we improved ourselves on our own eval. Um, in general, what you want to think of is that like anytime a model is trying to do something and it's like not able to do it or not able to accomplish it. So for example, like imagine you're having a long conversation where you ask the model something obvious. So like it's like or something that you think is not necessarily obvious, but it's like it's hard, but you would assume that the model could potentially do it. So to give an example, let's say you want to make add a new column to a database and then fill that column, right? And then put a cache in front of it. So what happens is it does the whole thing, but for some reason the way it pushes the cache in front of the whole uh database like it kind of doesn't do it right. So at that point you're like, "Oh no, set this cache differently. Set this as the TTL." And then you give like a correction signal and then that kind of like fixes your problem and you kind of go about your day.
-
The way I want to think of it is that I want to think of like every single time like a human correction to the digital landscape is a part of a delta that needs to be covered. And what that means is that like every single time you're finding like the edge of model capabilities of like how far it can push for infants, how much it can push for this, how much it can push for, you know, solving your problems. You want to find that delta and we want to like push that frontier a little bit further. a little bit further and that's what post training does, right? So post training is is this is in that post training we find these like really interesting and really hard long horizon problems for uh for coding agents or for other kinds of problems and then just like slowly hill climb the models on on those kind of problems. So anything that has a verifiable loop can be optimized but is this is not just limited to software like literally like the physical world itself could have a verifiable loop. So to give an example like let me let me give you a very funny kind of bizarre example where like it's like you you look at this and uh you um um look at this uh like robot and it's it's typing something and it's like really really like interesting what the robot is typing.
-
So notice how like notice how the robot is itself typing like how it wants to like solve robotics and imagine if the robot itself could like interpret the results of of like the answers and just like keep improving then that means that like this is you know basically like an ASI robot. Another example that I could give you for my uh personal life is that like um I have this um chip that has the ability to see and has a speaker and has a microphone inside of it. So I was trying to set up this uh with my machine and it was um a gift that I had for my girlfriend. And uh what I found very interesting about this is as I was trying to set it up, it was very slow. It was slow to respond. It had higher latency. It had an agent in and of itself. Right? So what I did was I connected the step to my um computer and I let um I let um putting agents run on this hardware and basically run on this hardware automatically make tests to it.
-
So like my computer would talk to my hardware give it some tests like hey do this do that and just like what do you see right now? So then it would notice the end to end latency of like the inference response of like how fast uh my hardware is responding and then um what I found is that like it was able to do the breakdown of like every single case and scenario where there was like high latency um slower response or or just the algorithm wasn't right and I could then set up a recursive loop where both the firmware could be updated the um the tool calls the inference model used um the speech to text model used all of those could be improved automatically with like an open router key which I'd given to a coding agent and then overnight with self-running experiments with the hardware uh my um this tiny little piece of beautiful hardware that I have was like deeply optimized so this also like even hardware could be a part of the RSI loop so what happens when you connect these loops right that's the next question like you could have cheaper inference you could have like more experiments budget you have like you know better data and better models. So, is it singularity? It's a very question to ask and I think that the part of the parts of the loop are already weird, right?
-
Like we're we we are really we really are very close to parts of the RSI loop, right? And what do we do like what do we do about this and it's like how do we think of that in terms of like our career and how do you think of that in terms of you know our lives and what do we want to do next? So here's my advice to everyone who is watching this like please please please please move closer to the RS group right so it's like right now like people are working on all these like different kinds of software which is like you know a agents for you know construction agents for this agents for that and it's like I think that you're you know what the way I see those things is that like I think of those as like you're missing the forest for the for the trees you really are and it's like you have this like very interesting godlike technology that can change parts of humanity. And then we're not ambitious enough to pursue the best problems. We really are not. And we're just like I think that it's not just like the problem isn't just that we're not ambitious and we're also like what we're pursuing. A lot of those things are just like one model release away from like being completely like wiped out, right? So like it's also like it's also like it may not be that intellectually simulating because like all you're essentially all we're essentially doing is like sitting all day. It's like hey cloud do this for me.
-
Hey cloud do this for me. And I don't know if that's like I don't know if that's like the most intellectual stimulating or like or like um thoughtful use of a person's time like maybe maybe you know we're supposed to be solving harder and more uh more frontier problems and I think that like it's like the ceiling is like our ambition. So instead of like working on these kind of things my suggestion to people is to like you know do things that of course like goes without saying but you should do things you believe in and you know I'm just a guy on the internet but do things that help you move closer to the RSI loop right? So like anything that just like the end to end pipeline of like hey this is where like the models are lacking like it's like whether that's inference whether that's post training whether that's literally like physical interaction whether that could be you know send sending end to-end pipelines of truly any kind you know whether that's hardware problems whether that's um networking problems whether that's um building a sense community things that just you know um things that just like help um you as an engineer get closer to the benefit benefits of the improvements um in uh in uh um in in the model. So this is a very interesting slide from Sasha topic. So um um they mentioned that like you want to have like this you're in this space where it's like you know you only you only have like one to five years left to contribute to luxury to the world. What do you do? Right? So it's like um they they gave great suggestions were like prefer ambitious targeted and past collaborations right
-
and you know in general like the time scale like all the timelines that you give to yourself like they should be just like completely squeezed out should be completely squeezed out because it's like a lot of times and you also have to think through that like if if the model if the problem that you're working on is too ambitious like it's like is it probably is it probably better to wait for just like the next next frontier model to come out or not like that's that's something you also have to weigh through Right. And uh you you ideally want to work on problems that benefit from scale and you know you also at the same time want to avoid problems that can be solved by sale alone because then you know if even if you like it's like if you're working on a problem and then the next model release comes out it solves the problem. So that's not that's probably not a good thing to do. So it's very like you have to like think philosophically of like what is the endeavor that benefits uh greatly from auto improvements but like isn't also completely wiped out from it. And then ideally like it's like if the if the endeavor could also uh be a part of the the like the improvement pipeline uh that could be amazing. So you see a lot of companies raising on say um making data pipelines and there's a lot of money there. There's a a lot of companies working on physical hardware and stuff. So I think if you're a software engineer watching these, it's like I think that if you're if you feel like you're like here the delta of your intellect and ability in your day-to-day, it's like not contributing as in like you have the intellect, you can make a difference. But like if cloud is just like oneshotting all those problems like in your day-to-day and you're just like kind of like becoming a me proxy, it's worth to think through.
-
Take a step back and think through. like okay where are the problems where where you're actually truly uh contributing and that they will stand the test of time and then that kind of reflection and realignment right now would I think like have like very interesting consequences for you um in the long term um so yeah so thank you so much you know thank you so much for your time like I think that uh I think that if you're watching this and if you've gone this far I think that you're definitely contemplating like one of the most interesting improvements in the course of humanity And uh you know there's many philosophical arguments here. Some people might say hey you know I I think I'm maybe I'm off on the timelines or maybe maybe I'm I'm just being too pessimistic or maybe I'm being too optimistic. But I would love to hear all those thoughts. So this is you know my QR code. Please feel free to scan it and let me know all your thoughts. Uh thank you so much. Very kind of you to give me your time. >> Hi everyone. I am Tme. Today joining me is Dolly and we will be presenting the missing undo button for coding agents.
-
So imagine a coding agent working on a repository issue. It applies patch run the tests and everything passes. It even creates a release tag but then a downstream integration fails. Now here is the question. Can the agent actually get everything back to the state it was in before? So git can tell us what changed in the repository. But what about changes outside git such as external API calls or runtime configurations or notifications. And simply retrying an operation does not necessarily undo what already happened. So we wanted to understand not just whether agents can complete task but whether they can recover when something goes wrong.
-
This brings us to our first research work undo bench. We wanted to investigate whether an agent's ability to complete a task also translates into its ability to recover from failure. We evaluated agents across 2,880 paired trials comparing normal execution with execution under an injected failure. So under normal conditions, the agent achieved an 84% success rate. But when we introduced failures only 47% of the normally successful trials recovered successfully. Notice that these two percentage though have different denominators. But yeah so even when an agent uh can complete a task successfully recovery remains a significant challenge.
-
Now let's look at a specific failure scenario. Imagine a coding agent sending a request to an external system to create a ticket. The request has been sent and the agent is waiting for a response. Next, the server receives the request and successfully creates ticket number 781. But the acknowledgement gets lost on its way to the agent. From the agent's perspective, the request has timed out, but the agent does not know that the ticket has already been created. A timeout tells us that the response didn't arrive, not that the operation failed. So the agent tries the request without checking whether the oper whether the first operation committed and now we have two tickets even though the agent intended to create only one.
-
So in undo bench knives produced duplicate effects in 54% of these kind of trials. That's why we need to distinguish a failed response from a failed operations. Now the failure phase also changes the answer. What do I mean is that recovery also depends on when the failure happens. Before the mutation retrying is generally safe because nothing has changed but during the mutation the system had may be partially modified. So we need to inspect its state and after the mutation the operation may have committed even if the acknowledgement was lost. As we just saw, retrying could create duplicates. So, we need different recovery strategies depending on the failure phase.
-
Now, why can't we just use get reward? So, Git can restore repository changes, but coding agents also modify their runtime state including tool registries, middleware and configurations. They can also trigger external effects such as deployment or database rights. So, get rever does not reverse all these changes. The recovery mechanism has to match the type of effect the agent created. And this becomes particularly important when coding agents start modifying their own execution environment or what we call the agent hardness. This includes prompts tools middleware event listeners, resources, and routing configurations.
-
Such changes may improve the agent's performance, but they can also make recovery more difficult. In other words, an agent can become more capable while becoming less recoverable. Uh that's why uh that's why undo needs more than an inverse command. Uh now like undoing a change is not always as simple as reversing a command. Suppose an agent changes a timeout from 30 to 60. To undo that change, it needs to know that the original value was 30. That's why EVO undo captures a pre-state witness before applying the mutation and that witness provides the information to restore the original state and later verify that uh verify that recovery actually worked.
-
Now question comes how often uh do improved hardnesses fail? So in Evo Undo, we evaluated 600 self- evvolution tasks. Out of those 478 produced capability improvements, but 197 of those improvements had recovery defects. That is around 42% of the capability positive cases. So here key takeaway is that a mutation can improve an agent's capability and still leave the system unable to recover reliably. Now now we can say that why please fix the undo did not work. So naturally we wanted to use prompting and wanted to tell agent that hey could you simply repair all these recovery failures. So we tested four verifier guided repair strategies but under the original recovery language none recovered the 197 naturally occurring failures. The problem was not necessarily the agent's reasoning. In some cases, the agent lacked precise information about the original state. In uh in
-
others, the recovery language could not express the operation needed to reverse the change. So, we investigated these two limitations separately. So, two bottlenecks. First is state grounding and another one is recovery expressivity. The when we provided like precise information about what had changed and where then recovery improved from 0 to 38 out of 48 cases. And the second is recovery expressivity. So when we introduced richer undo operation recovery improved significantly from zero to 142 out of 143 cases. So these results come from the two different experimental tubros but together they show why recovery needs both accurate state information and ability to perform the required end to operation.
-
Now question comes to our mind that can better undo mechanism rescue failed mutations. So what happens like when we give the agent better recovery capabilities. So with the original recovery language none of the 197 recovery defective mutations could be restored. But after extending the recovery language, we successfully recovered 180 out of 197 cases. That is around 92%. As a result, the number of admissible improvement increased from 281 to 461 out of 600 task. That is a 30 percentage point improvement. And that brings us to the next question. How do we build these recovery checks into the agent's evolution process? I will now hand it over to Dolly to walk through the EVO undo algorithm.
-
All right, thanks San. Uh so let's get into the working on how Evo and actually works. So first we will start with the agent pro. Uh first the agent will start the agent pro processes the mutation on which state it is currently in along with the effect contract and the recovery plan. And before applying the mutation we captured the state witness representing the original state and even before that the then a testing in the testing environment agent will apply the mutation and execute the recovery plant uh an independent verifier will also verify the original if uh verify to check if the original state has been restored or not. If the mutation improves uh the capability based on the userdefined criteria and passes the recovery um check the agents admit the changes otherwise well uh the agent attempt to repair or the verifier itself rejects the mutation altogether. This way the recoveryability becomes a part of the admission decision rather than something that we strategize or even plan once we are uh deployed the deployed the AI agent.
-
Okay. So with next next we will walk through as as Tan have already explained in given an example let let me walk through how the ex uh how that example of a timer changing from 30 to 60 would look like in action. So let's take let's start with the original state the simple example that uh simple example of um our agent having the time value of 30 before changing anything the evoando would first read the original value and then it will save the it will capture the original value as a state witness. We know exact we so we know exactly what need to be restored when when and when if we have to restore it we would know what what need to be restored or which state would be the true state to return back to. Now the agent so next come the mutation. Now the agent changes the timeout from 30 to 60 as we want it to do. And if recovery is required uh if recovery is required the undo uses the saved witness to restore the timeout to 60.
-
Now independently the verifier finally an independent verifier would also confirm that the uh recovered value matches the original value. So the recovery isn't considered successful simply because an undo command was run but also the verifier would verify the resulting state to make sure that we are in fact doing the uh recovery those in the state we want it to be. Well now comes the bigger question. So so we have this capability of recovery in our arsenal. Should we be using it for uniformly and applying the recovery mechanism to all the failures? Well, of course not. Um, not every failures can be recovered the same way. If nothing has changed, then the then simply if if nothing has changed in the in the system, we would simply want it to um recover uh we we would simply want it to safely retry. we would want the agent to simply retry if uh and try to achieve the state that we want to be. However, if we have the original state uh once we have the original state, we can restore it. If the external action has already been committed and we need uh it's then when we would need a compensation mechanism, compensation action to comp compensating action to reverse its effect. And if we cannot recover the recovery uh and we cannot if
-
if and if we cannot the cannot verify that recovery is safe or the verifier have rejected the recovery then the agent should stop and escalate. The right response definitely depends on what actually happened and what we what can be safely reversed or not. That brings me to the almost the last slide which is about bringing everything together on our two paper undo bench and ebo undo. The so the key takeaways here are first the undo bench shows the successful task execution. Uh the undo bench shows that the successful task execution doesn't guarantee doesn't always guarantee the successful recovery of it. Uh secondly, the EVO undo algorithm provides a structured process. Capture the original state, apply the mutation, recover independently, verify and restoration.
-
So the EVO undo algorithm does work in the in the fash in the way we intended it to. And third, we should admit self-evolution changes only when the when both the capability and the recoverability requirements are met. So ultimately as we give agent more autonomy, we should also give them more uh reliable ways to recover from their actions. All right. So and finally I hope you remember the agent from the beginning. It was looking for an undo button. Well, now it has one. We have started building this capability through our research project Evo undo. And you can explore the work through the in in the GitHub repository. can scan the QR code on the screen to get to the page. Our goal is to make the recovery a fundamental capability of AI agent so that we not only have the the agent does not even execute the action but also recover when something goes wrong as well. Thank you so much.
-
Hey everyone, thanks for tuning in. Today I'm going to walk you through how we use AI agents at Dualingo to write and ship more than 200,000,000 lines of unit tests on iOS codebase. I'll share what we built and what we learned along the way. Uh I'm Kush. I'm a staff engineer on the platform team here at Dualingo. My job is to build developer tooling and AI assisted workflows for the 100 plus engineers who contribute to our client apps. Before Duelingo, I spent close to a decade at Stripe and Uber working across a few teams there. Let's start with some background on the scale of mobile at Dualingo. Uh we ship our apps to the app store every week. Um we're also a very experiment-driven company. So at any given point of time, we have more than 600 AB tests running live. And our code bases are pretty mature. Both the iOS and Android apps have been around for more than 10 years at this point. Here's also the number of executable lines of app code in our iOS repository. So, as you can see, back in 2019, we were at about 200,000 lines, and today we're hit close to 2 million. And as AI assisted coding picks up, you can see that curve starting to bend upward. And it's not just the amount of code that's changing, it's also who's writing it. So, last year about 200 people contributed to the iOS repository. And this year, we've already crossed 250.
-
And a lot of these folks aren't even iOS engineers. We have backend engineers, Android engineers, even PMs and designers all shipping code to the iOS app and that's mostly been unlocked by AI coding tools like cursor and cloud code. Um, another thing to note about our codebase is that it's a codebased in transition. So a few years ago we standardized on the MVVM architecture pattern. Today about half the code in our repository follows that pattern and the other half is still legacy code that we're in the process of migrating. Since the MVVM half is the easiest to test, that's where we focused on this project. Here's where we started back in March of this year. We were at overall unit test coverage of 11%. The MVVM layers were a bit lower. Repositories were at 11%, view models at 9, data sources at five, and combined we are about 9% for the MBVM slice of the app. So why does this matter now more than it used to? As agents and humans write more code and write it faster, writing code isn't the hard part anymore. Verifying it is. So when someone puts up a PR, how do you know that it's actually safe to ship? The bottleneck is really shifting from writing to verifying. And that's where unit tests come in. They make up the base of the testing pyramid. They're pretty cheap to write and fast to run.
-
And they also act as guardrails for agents. So when an agent's change breaks a test in CI, it gets immediate feedback on what to fix. They also act as living documentation on what the code is supposed to do. And here's where we ended up 8 months later. Overall unit test coverage went from 11% to 24%, repositories went from 11 to 72, view models from 9 to 58, data sources from 5 to 41, and the combined MVVM slice of the app went from 9% to 59%. So what do we actually end up building? On paper, it's a pretty simple loop. First you identify the files that need tests. Then you write those tests with an agent. You verify that the tests are good quality and they pass CI. Then you resolve the PR which means getting reviewed by an engineer merged. And finally iterate on the feedback so that the next batch of PRs is better than the last one. When production it's a little messier. This is what our system ended up looking like. I won't go through every box right now, but at a high level it's a few temporal workflows that coordinate through shared state stored in S3. And every box you see here maps back to one of the five steps I just talked about. Here are the building blocks that we ended up using. Temporal handles workflow orchestration and execution. Cloud code acts as the coding agent. S3 holds the shared state that keeps our workflows in sync. And we use GitHub for actions, labels, and PRs. Data dogs acts as an observability layer where we keep an eye on the health of our pipelines.
-
If you haven't used temporal before, it's basically a durable workflow execution engine. You write your workflows as normal Python code, and if a worker crashes, the workflow just picks up right where it left off. This fits agents really well. An agent session can run for seconds to hours and it can call out to tools like GitHub, CI, S3 and Claude. We also lean on a few built-in features of temporal. There are schedules which are basically crown-like schedules for our jobs. There are composible workflows so that we can fan out work in parallel. Then there's first class support for retries and timeouts and item potency so that we never kick off duplicate runs of the same file. To split up this work, we split this project into four milestones. The first was local validation. Basically, is this project even viable? The second was a scheduled backfield workflow to write tests for existing code. The third was a PR life cycle workflow to actually get those PRs merged. And the fourth was a label trigger so engineers can get tests for the new code that they're writing. Now, we'll go through each of these in order. Before building anything real, we wanted to do the least amount of work possible that would tell us whether an agent could actually do this job well and do it at scale. We started with a very simple local clot code setup where we had one cloud code command that acted as an orchestrator. It ran an Xcode build script to generate a code coverage report locally. Then it fed that report through a file selection script that we wrote and then it handed each selected file off of sub two sub aents. One wrote the tests and the other one opened the PR. We ran this in a loop and generated a bunch of PRs. We basically ran this in two batches. The first batch had 17 PRs and we merged eight of them. The second had 40 PRs and we merged 19. So that's roughly a 50% merge rate. But the goal here wasn't to merge a lot of PRs. It was to learn how the agents fail and to fix those paper cuts before
-
productionizing anything. Here are some of the failure modes that we saw. Since we're a large legacy code base with both XC test and swift testing, the agents would sometimes get confused and mix the two in one file. We fixed that by giving the agents clear rules on when to use each. We also had a giant user client singleton class. Some code passed around the concrete version of this class which is really hard to mock whereas others passed around a protocolized version. So we migrated the entire code base over to the protocolized version and added lint rule to enforce it. This made the whole host of files easier to test for agents and for humans. We also ran to six concurrency related issues and agents writing timing based tests which are a big source of flakiness in CI. So we improved the state for both of these with better rules and examples in our testing skills. Now this brings us to milestone 2. Since we're so far behind on code coverage, the biggest leverage that we saw was backfilling tests for code that was already merged in. That's where the scheduled backfill workflow comes in. This is a system design diagram of our workflow as it runs in production. And it essentially does two jobs. The left half is to identify which is picking the files that need tests and the right half is right which is having the agents actually write those tests. Let's start with identify. Every time a PR merges to the main branch in the iOS repo, we kick off a GitHub access job that generates an Xcode coverage report and uploads it to S3 that becomes a source of truth for the latest code coverage. The backfield workflow then fetches that report and runs it through a selector script which picks the next set of files to test.
-
Let's get a deeper a little deeper into the selector script. Its job is essentially to score every Swift file based on how confident we are that an agent can write a good test for it. The strongest signal is file type. So view models, repositories, and data sources get a 2.5x boost while legacy files get pushed down. We skipped UI code completely for now since snapshot tests are better fit there and larger files also get a penalty. So we prioritize code that we're confident that we can test well. The next step is to actually write the tests. We kick off one child workflow per file all running in parallel. In each one of these runs, the agent clones the iOS repository, reads the testing skill that we keep in the repo, which spells out how to write a good test. Then it writes the test plus any mocks and fakes it needs and opens a PR with a generated test label so we can identify it easily later. These agents run on Dualingo's cloud coding agent which is a platform that also runs on Nepor. The simplest way to think about it is as an abstraction on top of cloud code and codex running in the cloud. We can invoke it from slack, temporal or github. It talks to a bunch of our internal tools for MCP and it logs a bunch of events so we can see what each agent run is doing and how much it costs. We started running these on Linux machines and then later move them to MacRunners which will become important in a minute. Here's what a generated test PR looks like. Every PR description follows the same template and it says explicitly that the PR is AI generated. The reviewer has four options. They can approve it in the PR auto modes. They can push changes to it directly. They can reassign it to someone better suited or they can close it out with feedback on why it isn't mergeable.
-
Now once we had the backfill running in production, we had a slightly new problem. We suddenly had tens of tens to hundreds of open PRs that nobody could manage by hand. So how do we get all of these to a mergeable state and in front of the right reviewer? That's where the PR life cycle workflow comes in. You can think of it as a state machine. It runs every couple of hours, looks through every open generated test PR and takes exactly one action on each. It covers the next two steps of our loop. Verify, which is does this PR pass CI and is it high quality and resolve, which is getting a human to review it and merge it. The logic for this workflow is a simple decision tree. If there are any merge conflicts or the PR has been open for about 3 weeks, we close it out and mark it as still. If CI is still running or a reviewer is already on it, we skip it. If CI is green and there's no reviewers, we find one and sign them. If CI is red, we try to fix it. And if the reviewer rejects the PR, the file goes into 30-day cool down. So we're not spamming engineers with the same PR again and again. When CI fails, the first thing we check is which job failed. If it's pre-comit, a GitHub action applies the fix. It's cheap, it's deterministic, and there's no agent needed. If it's a real test failure, we kick off another agent that reads the CI logs and pushes a fix to the PR. We cap that whole loop at five attemps. Pass that we close the PR rather than trying to fix it forever.
-
Once CI is green, we need to find the right reviewer. What we do is we run get blame on the source file being tested. find the top contributor and assign it to them and turn on auto merge. If they approve it, the PR gets merged. If they reject it, the file goes into the 30-day cool down which I previously mentioned. This brings us to milestone four. Once all of this was back filling tests for existing code, we wanted to make it just as easy to get tests for the new code engineers were writing. Now, any engineer can add or write test label to their own PR. It hooks into the same temporal infrastructure we just walked through. The only real difference is selection. Instead of the selection script, we take the file straight from the engineer's PR. The agent writes the test and you get a draft SPR link back to your original one. Now let's talk about some of the challenges that we ran into. Our agents originally ran on Linux machines which don't have X code of Lint installed. So when an agent would open a PR after about 20 or 30 minutes CI would fail frequently on Lint. This waste the agents time and CI time as well which is an increasingly scarce resource. For a while 30.6% of our PRs were failing due to lint and then when we dug into it 62% of those failures came from just two lint rules. We fixed this in layers. The first was better examples in the prompt along with pitfalls to avoid. The second was a GitHub action that autofixes lint errors in CI. The third was an audit of the rules that couldn't be autofixed. We essentially removed the ones that weren't high signal. And this made life easier for both agents and human engineers. And finally, the real fix came when we moved the agents to Mac runners. So now the agents could build and lend the code locally before opening up PR. The second challenge was PR quality. When we assign a PR to a human, we want it to be something they'd actually feel comfortable proving. But agents sometimes take the shortest path to green CI. We saw agents editing production code to make a failing test
-
pass. We also saw them modifying, deleting or silencing existing tests. And then we saw them adding long weight to tests which can make CI flicky. Again, there was no single fix here. So we built three layers. The first is the deterministic rule. If a PR touches any file that isn't a test, a mock, a fake or a stop, we close it out. The second builds in our AI code review. At Dualingo, we use Claude and Codex to review every PR and those bots often leave comments. So we built an agent that resolves any P 0 comments before a human ever looks at the PR. And the third is an LLM as a judge. It's a reviewer agent built just for these test PRs. It reads the PR diff and rejects production edits, changed or deleted tests, disabled tests, and long weights. And as you learn more, we keep adding additional checks to it. So far, the LLM as a judge has reviewed about,200 PRs and rejected 73 of them. Every rejection comes with a comment like this one saying exactly why the PR was rejected. We then read that feedback and fold it back into our prompts and skills so the same mistakes get less likely each time. So, let's talk about what all of this added up to. Since we started, the pipeline has merged more than 700 test PRs, adding about 225,000 lines of test code. Every one of those PRs was reviewed and approved by a human. MVVM test coverage went from 9% to 59% and overall coverage went from 11% to 24%. Most importantly, we now have a code base so engineers and agents can ship faster and with more confidence. Here's a few more interesting stats. Since March, the pipeline has written 34% of all new test files in the repo, 44% of all new test cases, and 10% of every strip line added to the codebase. And interestingly, that share has actually dripped in the last few weeks because engineers are now writing a lot more tests themselves,
-
which is honestly the end goal. Um, and here's the coverage curve since April when the backfield started running on a schedule. You can see it bend slightly upward around June and July, which is when we really wrapped up the pipeline. So, what have we learned while doing this project? The first thing is that this pattern generalizes the loop we talked about identify, write, verify, resolve, iterate, it isn't specific to testing. Unit tests were just the lowest hanging fruit and any job that fits the shape can run on the same infrastructure. And that's exactly what we're starting to do as a company. We're applying the same loop to modernization to modernizing screens to MVBM and Swift UI, migrating code uh on Android to Corines and generating snapshot tests. So before I wrap up, I want to leave you with a thought experiment. There's a new class of fast general purpose classifiers like Jev. They take in some state and output an action in milliseconds. So what if we replace a handwritten decision tree in the VR life cycle workflow with one of these? PR state goes in, the classifier picks the next action and we execute it all in milliseconds. I also want to thank a few folks who worked on this with me. Jesse, Gordalup, Hunter, and Jiha. They built a lot of the platform pieces this project stands on and helped review a lot of this code.
-
That's it for me. Thank you so much for making it this far. If you want to go deeper, we've written about this pipeline on the dual engineering blog. And I'd also love to hear from you if you're building something similar. You can find me on LinkedIn or next. >> Hi everyone, welcome to my talk about what happens when you detonate thousands of agent skills. This is a look inside our agent detonation chamber and what we saw when we put skills in there. My name is Rowi. I'm a staff engineer at Zenity and I'm a M research fellow. I talk a lot about AFD and security. Follow me on Twitter and LinkedIn. Before we even start our uh session, we need to talk about what an agent skill is. Well, essentially an agent skill is capability capability on demand. It has a bunch of instructions, resources, new behavior. It can contain scripts and it can even contain code. The problem is that it was written by someone else. And this is exactly where the problem start.
-
So let's take a look at the skills trajectory. For instance, if you look at this, if we look at the trajectory over here, we can see that the skill reads through um the cloud configuration and Kubernetes configuration. It contacts the identity service and it even props the int the instance metadata endpoint. Now I don't know what was the original intent of the skill but I can tell you that a lot of um info stealers are operating in the same way. They scan for the different secret and identity folders. In this case however it was an official Azure diagnostic skill. And this is exactly the point where it's kind of hard for us to identify whether a skill is malicious or benign. And we have to understand the original intent of the skills according to its actions. And at this point you might ask, okay, so we can just like scan the skill, right? Well, it's it's it's more complicated than that. The first problem problem that we've noticed is that the payload just lives elsewhere. In a lot of the skills, skill.md is just the entry point. It can invoke another endpoint that contains the rest of the prompt. It can download another package as part of as part of its installation script and it might have another script or code that downloads other payloads and other packages. So if you use just a static scanner and read through skills MD, you would lose all of that and you would have to create some sort of mechanism to track all of these payloads
-
if you don't want to lose them. The second problem that we've noticed is that LM analyzers can be tricked. Um there was a really interesting research by trail of bits in which they showcased a skill that manipulated the package registry of one of of one of the projects and it had like a small comment that said that the appsec team appro approved this uh change and it completely worked on the analyzer. So given that scans are not bulletproof we've resorted to a different kind of action and we actually decided to just run the skin with the agent. Um this is a technique employed by malware researchers for years now. Uh and it's called detonation a detonation chamber. So we created the same one but for agent for for agents and skills. And this was our first version. In our first version uh we created a task prompt. We put an agent and a skill inside a sandbox. We let it operate over like minutes or or hours until until it completed a task.
-
with unobserved agent traces and analyzed it. You can imagine that it wasn't enough. Our first problem was that the environment was missing most of the time. A lot of skills rely on CLIs. They rely on specific services and even on on existence of the pro of projects. You can imagine notion skill for instance. This will have to have a notion service available to talk to. So, we've added a world builder that looks at a skill and builds the appropriate environment accordingly. But then we'll cover another issue. A generic task prompt might not be enough for all skills. I mean, think about it. You can have a presentation skill uh that needs to create a deck or deployment skill that need to ship a service, a brainstorming skill that needs to explore an idea. Each and every one of them has an entirely different modus operandi. Let's take shipping shipping a service for instance. You need to learn how to configure it. You need to learn to deploy it. You need to tell it to recover from snapshots using snapshots. Um each and every one of them uh requires different set of prompts and you also need to need to make sure that you um cover every route in the in that skill because one of them can be malicious. So we created the operator that does just that. It reads through the skill and tries to analyze what are the different trajectories um that we
-
should invoke. And while it worked pretty well, if you worked with agent, you can especially in the security domain, you can um assess that we went through a lot of uh safeguards, safeguard legals. Um we we got a lot of refusals. um the agents wasn't willing to decode and and when it was willing to decode it wasn't willing to execute. So we had to give him an offer it can't refuse and essentially create an adversarial operator that convinces the agents to run and uh in case it didn't run even like start the run from the beginning. Now I would I would emphasize that we're doing a security research here. This is a container environment. Nothing is malicious in here. But this is one of the thing that we had to do in order to make it run properly. I would also note that a lot of the time safeguards are being run on something which is definitely Heat. Heat.
-
All right. Heat. Heat. Heat. out of
-
Heat. Heat. Give me a sec to make sure this is
-
working. Heck yeah. I'm Diego Almeida and this talk is I love you so jeving much. Um glass animals reference. We're not just weird. Um like I said, I'm Diego Almeida. I'm known as the Jev guy, sometimes Jevy Pinkman. Um, also co-created chat GPT, RLHF, and Instruct GPT, but I assume that for the crowd today, you all know who I am, at least mostly. Um, I have like a bunch of AI specific stuff I want to get to, but I like going into my favorite topics in AI. First one is what the is actually going on and where is all the automation. If you've heard me say this before, I'm sorry, but it's such an important thing to beat into the field because people still do not get it and I need to yell this until everyone really understands what the is going on. And if you're an AI, you should have a really good answer about why AI can do so many awesome things and yet still be so useless for a bunch of other ones. My relationship to chat GPT is somewhat unique. One of the few people who hates on chat GPT who made it. I don't hate chat GPT to be clear. I love using agents. I love using coding agents. I love chat bots. They're just quite limited. And in particular, I think it's a little tragic how much they've bifurcated the field into overpromise, underdeliver. Really, really terrible stuff for the world in my opinion. And I like to talk about like the two cults in AI and how we can resolve the cognitive
-
dissonance that everyone I think should be having unless they have a very good answer. There's cult one, which is, you know, the cult of like EAs. They look at all the benchmarks and they say like not only are LM surpassing human level on basically every benchmark they have been for two years we've been announcing AGI three months away for two years now even since like the 03 days do people remember that no one even car cares about that model anymore and it was that that was like peak internal to openai AGI hype and on the other hand you look at the nonbenchmarks and you look at the reality and you see the rest of the world especially if you guys go outside and leave San Francisco a lot of the world is like really unchanged despite AI being so cool. And I think AI is transformative. It's a rare point of view to actually think AI is cool and transformative and also like underwhelming the world right now. And the tricky part is this is the same field and we are all seeing the same facts. So what gives you know why is AI jagged so to speak like why can it be so good at some things and so not good at other things and what is the aams razor explanation for that um I will be blasting through my slides fast I'm sorry maybe I could slow down for people taking pictures um but uh I'm noticing that uh this is going to go fast is all I'm saying so I think that we as a field should have an aams razor explanation for why are there some things that are Not just good, they're unbelievably
-
good, superhuman, like millennium price problems in math. But on the other hand, they're not just bad, they're so useless, they can't even be used to touch accounting. That sounds way easier than million prize problems in math, right? I could do the latter. I definitely could not do the former. And I was a mathlete. So what gives here? What is the reason for this? And I normally love this as an interactive thing, but I will instead just tell you my answer. Sorry for the power dynamic. Um, everything on the left side is intrinsically a human in the loop task. Like deep research, I could not do better than deep research. The models are so good at that. But if gun to my head or gun to your head, you had to pick between me and deep research. And the answer had to be correct, not well written, you'd probably pick me every time. And that's the distinction between like optimizing for automation, which tends to be a lot easier and a lot simpler. Yet m AI keeps failing at this. Every year there's like an infamous failure of AI failing to even automate drive-throughs. And that should be kind of shocking to people. And my claim is actually for these tasks pleasing a human is nothing to do with doing the task. What you want to do is basically be an abstraction away. You want the decision to be made and you want to get back into doing automation and code is the language of automation. Therefore, you need to integrate with code. This is a lot but I will summarize it again. I get the irony that uh you know I've co-created RHF and I do believe RLHF is part of the problem and RHF in particular is why all AI today does
-
require a human in the loop with an asterisk unless the task is like very trivially verifiable and can run on its own but still requires a human in the loop to verify it afterwards. It is because we literally put it in that is what the HF is in RHF. And my claim is that there's a better way. You know, my summary of the state is 100% of LMS today are optimized for assistance. You might talk about RLVR, but the RLVR models are very bad to interact with if they've not been RHFed. The result is LMS become too good to be true at assistance. They are just so good. Like, you should never pick me over chat GPT for your chat GPT queries. But for actually doing like you know run in the background cognitive work you should not trust LMS at all because they have not been optimized for that which is why they're so bad at the tasks of automation and I would also guess that automation is a lot more valuable than assistants because you can do way cooler deeper I'm going to get into this later but I think there's going to be so much stuff that we can do and we are just scratching the surface of that right now and that's the tragic thing about AI uh the state of AI for me let's talk about the evolution Um, I I can't tell if this is appropriate, but it's too late. Um, oh god, don't take pictures of this one.
-
Um, cool. Oh, I'm getting a thumbs up. Yeah. Uh, excellent. So, we're we instead of doing RHF, we just have to do something else. We need to think from first principles. How do we optimize for machine native AI? You guys hopefully know the interface of Jev and that is what we are doing. more important than optimizing for its interface, we are uh rethinking how AI should be done because this is what we did again for Arlf for Sutton's bitter lesson. I'm going to loosely paraphrase to make my point easier to say is that scaling um and compute matters more than algorithms. This is why people become like scaling pill jironies. And I would argue that there's an even bitter lesson than that which is data always matters more than compute. We are learning that quite a bit in the field now, but it has been obvious since the beginning of time. I'll tell you when the this is the one you should be photographing. I would argue that the the bitterest lesson is doing the right task. And doing the right task is like a weird thing to think about especially for ML people because they like algorithms. They want number goes down or up or whichever is good direction. They don't want to think about the real world. But this is always how you make gigantic gains in performance. This is how the big breakthroughs happen. 100% of the time it comes from this and this is true for classical RL games. This is why Sutton had his bitter lesson it which is data is derived by compute when you're doing rollouts like there's there's why would you need off policy data when playing chess or something like that and doing the right task is defined by the rules.
-
So actually when you're doing RL you don't even need to think about the right task for pre-training we actually as a field had to do a lot of thinking about the right task. I don't know if people remember the birth days with um masked language modeling, but it took a while and it was very unclear to figure out that next pro token prediction was super cool. Not because it was better at masked language modeling. You know, the objectives on their own aren't special. It's about what you can do with them afterwards. And it turns out next token prediction is incredible at generating strings, which is what these pre-trained models were so good at. So no level of mass language modeling even if you had today's compute and algorithms would make it as interesting as GPT3 was because it was just doing a different task and data you know the internet is obviously a giant bottleneck. Now we're like you know burning books or whatever in order to get more data but data obviously matters a lot more than compute and people keep like rediscovering this and figuring this out. It's extra true for making LLMs useful. um before RHF even existed the data for RHF didn't exist and you could like it was night and day I'll just show you the next slide this is the probably the relevant part this is what this was the work in the RHF paper and the high level was that even with the dumbest algorithms in the world even with a GPT2 sized model you got something like GPT9 level performance like real GPT9 not today's like fake GPT numbers like the numbers used to mean like a 100x scaling and effective compute for pre-training and they've given up on that because it just can't scale anymore. And still even with that,
-
it would take something like GPT7 to9 to match GPT to the model from like 2018 or whatever it was at the task of instruction following. That is kind of wild because you think big LMS are so important for this and they are, but that is not the most important thing compared to even the gigantic jump of doing the right task. And spoilers, this is what we did for Jeff, right? like we made this gigantic leap in the field that no one realized could be coming because we were optimizing for a task and very few people think about the right task. Um this is why Jev has the Jeb Nissiqua. Um that's a really smart bun I think. Um little bit of a pity laugh, but thank you. Um you get what you optimize for. I I'm looking for a better word than reliable. So if you guys have suggestions, let me know. But there's there's this reliability of intelligence that's really missing in LLMs. I often call it you get Einstein 95% of the time, but Mr. Bean 5% of the time. And if you can't sell which is which, how the are you going to automate anything? And instead, instead of like focusing on like sometimes occasional smarts that you can then verify, what if you focused on extreme extreme narrow focused reliability so you can get that smarts every time? And this doesn't show up on benchmarks. It is the reason why people love Jev. And this is also I realized in hindsight we obviously didn't prepare for a chat GPT moment for developers. But it happened because people in the AI space just overpromise underdel so much that having a
-
model that actually don't do that was a surprise. And it is not the speed cost or even interface. This is something that you know my team tells me I shouldn't be telling people so that we can have a long-term advantage and I just care too much. Like it's reliable intelligence. Make sick models please. even if we, you know, if it doesn't involve our models. Um, we see that Jev as like a foundation for smart software. I'm going to skip all over this, but I think software is going to be so back. I think the narrative of SAS apocalypse is obviously not going to happen, but I think that even calling it a SAS Palooa is like an understatement and I will get into that a bit and you guys ideally are the perfect crowd for this. I'm so excited for this part because that's the part that's new to me. Um, I want to make the distinction between smart software and just in time software. The the crazy part is AI is so transformative and yet somehow despite AI being so awesome, software has essentially unchanged in the last decade except being cheaper to write. Isn't that weird? Isn't the it weird that the best we can do in software is having a chatbot to the side that sometimes interacts with a software but cannot take expensive decisions for you. That is kind of like a a weird thing if AI was really that transformative. And I think the problem is we're focusing too much on coding agents and not enough about putting the intelligence into the inner loop, which I'm going to get more into a bit. And people are jeving.
-
There's been tons of successes. We don't need to flex this. There's so many cool things, but my AIE secret is going to be that the field isn't jeving hard enough. And this is what Swix said that I can make a call to action for you guys that's unique. And hopefully I have enough time for this. I think the world still has LLM Stockholm syndrome. We are still thinking from a really LLM pill place which is I think tragic you know like I I I love the software saying the tools you use change the way you think and I think that it's changed the way we think way too much and we're not really rethinking software like I think the field needs. I think that we could just do be doing so much more. Hopefully I can try to do my best for my remaining time to convince you guys of that. Um so let's Jev to the future. Um I an analogy I love bear with me is about LEDs. Before there was the blue LED there was red and green LEDs. These were really limited in capability and they were used for like simple indicators and you know like clocks and stuff like that. And when the blue LED was made discovered I actually don't really know how things outside of computer science work. Um, but when it existed, I guess, um, it enabled not just like 50% more use cases, which what you'd expect about like changing colors from two to three, it enabled so many more. Like now LEDs could be used for white light. It could be used for like the displays that we all use right now.
-
And it created a revolution in lighting. And it's it's it's unfathomable how much bigger the capabilities of LEDs were. Just ex, you know, adding a new primitive that composes together with a old primitive. So you can see where I'm going here. maybe. And I think it's a similar story for software. Software is so incredible. Ignore AI for the last, you know, half decade. But software has done so many insanely cool things. We've done a lot of stuff, you know, like do I love using SAS? Not really. But does it solve problems? Abso lutely. And it's incredible how much we've done with three fundamental logic gates. You know, like we are doing this with like simple binary operations that can do things like greater than, less than, equal. It's kind of nuts how much software has been built from such simple primitives. And my claim is that what we are doing with AI now when we're making a intelligence machine native this is kind of conceptually adding a fourth semantic logic gate. What if we can program with common sense with intention with human understanding? Like do we still need reexes with like crazy things or can we just say like we want a Gmail email address or a real looking one? There's so much that we can do that we're going to need to push the f, you know, push the frontiers of cheap, smart, fast in order to get done. But I think that there's going to be like so many things here. And I think just like the blue LED, it's going to be way bigger than just increasing the representational ability of software by 33%. Because it's adding effectively
-
another kind of sort of logic gate. And this sci-fi is the stuff that I think will be impossible to predict. Just like who could predict how powerful the internet would have been because it requires it's like much more grassroots and decentralized and it requires people to be empowered to do insane stuff. Um I call this software research. Um that's not a joke. Um but uh I I think that there's going to be like an explosion of what software can do and we will want people to be exploring those boundaries of software. Not necessarily because it's valuable, but because they can. Because we have like new frontiers to explore and this is what the early internet was like. Should all of those websites existed? Probably not. But like it was very cool and we found a lot of awesome stuff from that. And I think we we, you know, we have another opportunity for that. So we should not just keep living in this little, you know, fish tank that we are the victims of open anthropic on whatever they ship and we just have to be like LM rappers. So I'm going to pitch software research as a direction here. The theme is going to be real software engineering, not just vibe coding. There's it's going to be like the kind of stuff that everyone has known if you've been a software engineer. Decomposition, breaking tasks down. We need to think about stages, ideally ones that can be verified so we have real encapsulation. And we need to actually do state management instead of assuming everything is global state within a KV cache. And the theme is just going to be like real engineering by people who care a lot about the end result. It doesn't have to
-
be valuable. Ideally, it's sick as Um, and you know, we should be pushing the limits. I'm going to go into a couple of like my favorite ideas and I want to figure out how to encourage these in the world. So, this is my first step at this. I'm just going to talk about it. We have raised a bunch of money. So, I would like to figure out how to fund this, but we don't have the operations help to do that. But here are just some ideas out there. Um, I think agents are they're very cool, but like they're they're so inflexible in their design because of the tyranny of the KV cache. I don't have the time for this if this timer is to be believed, but believe me that there's so much that people have tried to do but failed at because it ends up becoming inefficient because it fights against the KV cache. But I think there's a lot more to do. Why is memory o of nan, right? Like why can't we have all of our history of coding agents always included in every new call? That is how continual learning works, right? And we have the memory available. It's just that we don't have the smarts to map produce over the memory to find out like what you should what you should remember, what should you shouldn't. Um I think there's many ways to do login or even better lookups.
-
Why when you're making many agents at once, why can't they not share state? Why do they need to rediscover the same patterns of the codebase over and over and over again? And why can't non-naive routing and sub agents work? Like even naive routing doesn't work, but like why can't we do these things? And why does like the you know the big labs keep going back and forth on whether or not sub agents work? Um I think that like from an engineering perspective there's elegance to it but they fight against the KV cache and I think that if we design agents around that we could do so much more. This one's the the probably the most vague of my directions but I feel very strongly about it. Um the world is full of principal agent problems. This is when you have like you know ulterior motives between this is not a coding agent but like any agent. The the classic example is citizens versus elected officials. I don't want to make a too political claim here, but like there's misalignment in all levels of society. And this results in like waste, fraud, bad things, and it it results in for a society that wants fairness, you need to overemphasize the letter over the spirit, which then results in loopholes and play uh pay to- win dynamics in the world. And I think the root of that problem is we can't encode the spirit. Just like with software, we're constrained to encoding bits instead of what we actually meant in that situation. And I think so many organization, society could be transformed by really encoding the spirit all over the place. Obviously, real-time intelligence security, can we prevent the OpenAI hugging face sandbox, blah blah blah. Um, why did why couldn't
-
they prevent it? It is not because they didn't have the intelligence. I would argue it's a lot easier to figure out they're doing a naughty thing than to actually do the naughty thing. It is because it was not fast, cheap, and reliable enough to actually run real time. And what happens when every corporation has their own real-time security that's actually smart? How cool would that be? I can't talk about generative UIs because people are going to be talking about it afterwards. I don't want to steal their thunder, but it's cool as Trust me. Um, like semantic dependent typing. Why can't we have like a type system that actually is semantic, right? like why can't we like declare what local properties we want so we don't have to read a chain of dependencies deep down these all should be possible and imagine if you could like run a jeike model in your lint checker to check if you're it's all type safe and it could you know uphold semantic properties it would be so cool there's there was a great Twitter video on um like a voice interface in general I think new interfaces are so exciting this is to me the return of like this is going to show by agent software like do what I mean.
-
This used to be like a popular thing but it never really worked because you it was it was too many hard-coded rules to really figure out what I mean. Um there's stopping slop obviously a big theme of here but like we definitely believe this. This is my props. I have to we have a stop geni baseball bat for type safe. It is very very awesome. I want to talk about the root of slop. Um the the root of slop is that AI is unreliable. Therefore, you as a company or you as you know like someone who's doing stuff, it can't be used for decisions that costs you stuff. But it's actually totally fine to push the costs into other people, which is horrible. You know, externalized costs and then this is what ends up becoming stop. You know, if people actually read the stuff and filter it and like care about the quality, it becomes not slop, but now the world is full of this because there's an asymmetric advantage for people who are like bad actors and don't give a So, I think that we can save the world from at least inbound hell among many other things and that would be very cool. Um, and even something I think is super sick is cursed software. Like why if you guys have ever seen the subreddit bad UI battles, it is so cool. Even though they make the horrible interfaces like this whole game of like would you like to delete your account becomes you know a random thing. And and I actually think doing things because we can is what software engineering is about because who knows maybe 1% of these ideas actually lead to something super awesome. And I think like really cultivating even bad ideas is kind of what being like this you know playful
-
hacker is all about and generally just automating everything. This is what the followup this is this is a slop image but uh sorry logo is a little bit wrong but don't stare at that. That's a little weird. Um, this is what a lot of the follow-up talks are going to be about. Thank you. Um, and and if you're a software engineer, you almost certainly think in the world of bits. If you know anything about software, uh, and you've interacted with software, you know that there are things software can do and software cannot do because that is just only obvious, right? Like there's some things that you know you need to do because that is not compatible with software. But what if those constraints were no longer true? Maybe not today, but maybe in like six months or a year. What couldn't we automate? And that's kind of where I want to leave this whole thing because I think there is very likely to be a future where it's not a question of whether or not we can automate something. It's going to be a question of like how much work is it, which is how it is right now for the stuff that can be automated. And that would be cool as So, hell yeah.
-
Thank you. Um, I'm super overtime, but thank you to the early believers. You know, we had no idea so many people would resonate with this. We thought we were the insane ones, but it turns out like we were actually the majority of the world who realized AI could be so much more. Thank you to like the people who are like really realistic about reliability. Everyone knows I hate benchmarks and a lot of other people are really screaming out like benchmarks suck. They're actually they hurt the people who do not have time for anything other than benchmarks most. It's tragic. And for the people who are pushing the limits of software, like yes. And we want to be there with you helping you all do that. The the dreamers and the people who don't want to be limited by everything that has happened so far. We want to really fight for you and we want this to be as reliable as a fourth logic gate and that is a very high bar and we have like a lot of work to do. So thank you. Thank you. Heat. Heat.
-
Heat. Hey, heat. Hey, heat. Hi everyone. Uh my name is Chennme and I
-
am a software engineer at clean. I work on the product engineering side of Glean assistant. Today I'm going to give a talk on how lean uses Jeff. The title of the talk is beyond generation fast and structured AI decisions with jean. If you look at it, most AI product steps are bounded decisions and not generation problems. So to give a couple of examples, user query intent classification, a ranker picking a suggestion out of n options, checking whether a citation is valid or not, routing to the correct model or expert, so on so forth. Till now we have been paying the full L&M cost and latency to get an answer to all these bounded problems. Jeff at Glean fills the gap between general LLMs and fine-tuned classifiers. Classification itself isn't a new problem like people have been trying to solve it uh since forever. We can have multiple ways to solve it. Some of the things that we have tried out include using a general purpose LLM, using an open model, something like LIA, fine-tuning that open model or using Jeff.
-
Now all these approaches and all these uh different ways have their pros and cons. With a general purpose LLM we incur a lot of cost and latency while with something like Jev we get no generated text output. Another advantage that we've been seeing with Jev is that as the taxonomy of the decision space changes, we don't have to fine-tune these models again and again. We can just change our prompt a bit and boom, it works out of the box. Now I'll walk you through how we have integrated gen or these classification uh pro how we have used Javit glean to solve these classification problem statements. I'll go into some of these problems in great detail. Before we go into these uh individual problems, I wanted to touch upon how we evaluate these changes. Like we have a huge customer base having millions of users. So we don't want any of the change that we make to regress our product. We have a multi-phase approach, a rollout approach to any change that we are making. Uh this includes having a golden eval set for almost every possible thing like any place where we have generative AI, any place where we have any form of intelligence involved, we have a golden eval set for that space. We soak all of these changes for a significant amount of time for our internal use case. like we have around 1500 people at Glean right now. We soak
-
all of these changes within our Glean instance for like couple of weeks. We get active feedback. We have a very active feedback loop from our internal users. We work upon that and then we go for an AB testing uh with our customers. The first problem that we tried out with a decision pro uh decision model was query classification. Query classification is when we want to know the nature of user queries. This helps us realize what kind of query what kind of uh jobs are people using clean for what kind of say for example if people are using more for sales like queries we focus more on that. If people are using more for engineering type use cases we focus more on that. We tried out three different approaches over here and this is uh data from our test bed. Uh we used an open source layer model. Then we tried out Jev and then we fine-tuned the liar model on our own compute resources.
-
Jev is the best no training option in our opinion. It nearly doubles the output quality of a base layer model and is 90 is able to perform at 90% quality in comparison to a fine-tuned model fine-tuned layer. With Jeff, we don't have to go through the very tedious process of data collection, data cleaning, incurring the cost for compute, like training the model, fine-tuning the model again and again as the taxonomy changes. And at the same time, we don't have to worry about hosting the model or uh incuring the inference cost. The next problem we went to is expert routing. This is a pretty problem common problem statement in the industry right now like hey when the user query comes in what expert do we route it to like how do we ensure that the user uh user the response to the user is of the best possible quality glean receives the way we have been solving this is glean receives the user query and then decides what's the best expert to answer the query till now we have been using a general purpose LLM to route to the correct expert we set up a test bed uh for Jeff we set up a test bed with n experts and Our experiments found a significantly high precision when using jev and that to at an almost 8x reduction in latency.
-
We had to change our implementation or our infrastructure significantly to integrate je into this specific stage of our product. But the reduction in latency justifies that inherent complexity in the system. We at glean have been trying to build systems in the most in the simplest possible manners. This is one of the rare pieces where we believe complexity is worth it. Next, I'll walk you through the ranker problem statement that I talked about. When we receive a user query, we also want to generate the best follow-up suggestions for the user. Like this helps us in getting discoverability for our product. This helps us in ensuring that the user has the best possible experience. We also want to recommend or say preempt what the next user query might be. Again a pretty pro common problem statement that the entire industry has been trying to solve for. Internally we call this system Q like Q as in the literal Q. The way this works we have like 10 or 15 different sources or 10 or 15 different ways uh 10 or 15 different sources that are generating suggestions independently of each other.
-
Once those suggest these suggestions are generated by natural language LLMs and it's like a proper natural language query. Once these suggestions are in we have a ranking step. So the ranker takes in all these suggestions takes in the you uh the first user query takes in the output uh that glean gave and then all these suggestions in that context. The ranker is then asked to decide like hey you have these suggestions what do you think is the best one. A pretty interesting bottleneck that we had over here is we want the response to be snappy. I cannot we cannot have a state where we give the textual response to the user and then wait 5 seconds for generating the follow-up suggestion. We have to be snappy. That's why we have time limits on these suggestions. So right now this step had a time limit of 1 1.5 to 2 seconds. Jeff no doubt gave us a better quality than better quality and far better latency than what we had with a general purpose LLM. But two things stood out over there. First, we were able to give a suggestion within our time bounds in 99.2% cases. With the general purpose LM, this was almost 90%. So this ensures that we have user engagement and far more user queries. Now the second thing is at the glean whenever we use these LLMs we have guardrails. Guardrails in the sense that hey LLM might not be good at generating a response or LLM might be making some
-
specific kind of mistakes. So we have checks and balances for all those possible mistakes that we see. We keep a log of like we keep a log of all these checks that are incurred at any point of time. With a general purpose LLM, we were able to generate a valid suggestion in almost 90% of the use uh 90% of the cases. We still had some places where LLM was either generating a langu generating a response in a different language uh the output did not uh meet certain other criterias that we had uh that we had written programmatically. With Jev, we found zero cases to be there when the output was invalid. Now a natural question is like hey but you would have used a different prompt. Yes the prompt was somewhat different but we tried to mimic the prompt in the two cases to the largest extent possible so that we don't have a divergence. Like again we at glean want to keep the system as simple as possible. Another benefit we see with using a decision model is how we can control the thresholds because in this ranker problem statement we are getting specific probabilities of each output.
-
We are not restricted to a binary yes or no response. We get like hey these were the five options and these are the probabilities of these five options. With this we are able to fine-tune the thresholds based on the deployment. We have put in self-arning systems which based on the user based on the customer deployment and the uh nature of usage that the specific customer has fine-tunes the thresholds by itself. This ensures that the experience in each and every customer out there is the best possible based on how they use glean not a general purpose solution that fits all. Okay, this is an interesting one. Now moving on from how we have been making the lives or the experience of our end users better, we also tried using Jev and some of the some some other parts of our uh development pipeline. One of them was how we use LLM as judges like all of us have been using LLM as judges for quite some time now. There's an input, there's an output and we use an LLM to judge how the quality of the output is. Now naturally whenever we use LLM as a judge we repeat the experiment multiple times because to account for the variability in the response.
-
At Glean we used Jeff for a very specific part of our evaluation pipeline. Glean responses or like any other AI product out there has like citations. This is how people trust that Glean Glean's answer was correct and it it is grounded in the correct document. Now these site we hold these citations to a very high bar and we have a specific part in our evaluation pipeline where we check whether the cited document really supports the claim made in the answer or not. This again seems to be a pretty simple yes or no question like hey whether the claim is uh supported or not. With Jev no doubt we had a far better latency and cost like visible in the slide uh over here. The interesting thing we noticed over here is how consistent and reproducible Jeff results were in comparison to something like say Luna in the 28 or 30 use cases that we had like only one run had like a difference in response.
-
Apart from that everything was consistent but this ensure this this ensures two things for us as engineers or us as developers at glean. We are not only improving the quality of our product or we are not only improving glean in a linear fashion anymore. Any improvement of this extent in the development pipeline leads to an exponential increase in how we can improve the product. So if I'm if I as a developer I'm able to ship things like 5x faster like this is a significant reduction in latency. like if I run this experiment across thousands and thousands of entries, this is a lot of time and again I don't have to run the same uh input output pair multiple times because the result from J are quite consistent. So if I'm able to increase my own productivity by like 5x or 6x I can ship 6x times the features to our customers and this happens across like 500 engineers or 300 engineers at clean. So the impact of a a good decision model is no longer linear. it is exponential on how we can improve the product.
-
Okay. Now, moving on from product and uh LLM as judges, there's a pretty important this this is a pretty important part of how we use our customer data. Like security is something that all our customers expect from us. So, for example, we have checks and balances on all the inputs and outputs coming from a tool. all the inputs and outputs uh from an LLM. Till now we at glean have like a multi-phase approach. There is like there are two phases to this. The first one is like recall heavy phase and the second one is the final heavy loaded L&M. All these calls are made in parallel to like the actual tool input output calls. Till now we used to host a virtue classifier using T4 GPUs across all our customers. So glean is a single tenant solution like we don't use or share resources across customers. Every customer gets gets its own deployment gets its own instance and gets all the resources. So assuming we have thousand customers out there we had to maintain like virtue classifiers across all these thousand customers which becomes a pretty difficult problem statement in itself which takes up a lot of time from glean engineers.
-
So looking at the results over here the overall recall of the first phase where we used to have a virtual classifier we replace that with jev went from 31.5% to 90.2%. At the same time we are seeing a significant reduction in cost. Now this cost is only the resource cost mentioned over here but we are also saving cost on the engineer and resources over here. We don't have to invest like two or three engineers who are full-time maintaining those virtual classifiers or those T4 GPUs across customers. The the improvement or the savings that we have are far more than 50%. This slide concludes all the results I have talked about till now. Jev at Glean has been able to influence the product experience of the users has been able to uh impact how we as developers have been working at Glean and most importantly it also has a very good positive impact on the security that we provide to our customers.
-
A simple rule that we have been using is can the out in conclusion a simple rule that we have been using at glean is can the output be listed in advance if no then it's a free form gener generative text problem statement go back to something that can generate free form text if yes then use jev are labels stable and volume high if this is the case where the labels are stable which is rarely the case anymore uh you can also fine-tune a model but if the labels change which in my opinion is quite frequent these is then again use something like jev. Obviously if you need dynamic text we can like feel free to try out more hybrid approaches like jev along with uh free form text lms. This ends my presentation. So thank you everyone for listening. Uh I have added uh a blog like a link to the blog post where we have posted the exact same results in great detail. Uh, feel free to catch me on the outside if you have more questions. Thank you.
-
Heat. Heat. Good luck, bud.
-
Hello everyone. Um my name is Si and uh I'm joined on stage by Kevin. Uh we're here to talk about how we believe that uh your automations are overthinking it. So um tell us a little bit about ourselves. We are from a company called UiPath. Uh we have been doing automation for the last 20 years. uh we've been doing uh RPA before and uh we service more than 10,000 organizations around the around the world. Um and we build uh an agentic process orchestration layer which basically brings agents, robots and people together to interact with each other and uh build extremely scalable uh automations that run for days and weeks. So we were inspired by this particular slide that you're seeing right now and you saw today today before us as well. Uh when uh Diego presented it 3 months ago the same slide uh it resonated really well with us because this is how we see automation as well.
-
So the traditional software was is basically RPA. It's just robotic process automation if else just executes some task and then keeps going. And the control flow is deterministic. It just keeps going. And then when the LLMs came out, uh we all raced to go and build the just in time software where we have this one agent. We give it a bunch of tools. We give it a task and ask it to finish. And then we were seeing good results, bad results, and then we added evaluations to slowly build the results up. And then finally we landed on agentic process orchestration which kind of weaves in this cognitive decision through a logical uh decision layer. So you have deterministic calls and clear cognitive decision points where you would use an LLM to control the control flow rather than leaving it all in the hands of an agent. So at this time we we saw where J would fit in and when uh Diego was talking about Je we were really excited because we saw Je fit in in a very particular niche area. So u here we see that Je is a very powerful tool as Diego was saying it's a foundational tool that we would be able to integrate into all automation. Uh and it fit right in between a deterministic case and an agent case. So, Jev is extremely fast and most of you guys would have tried it and we were
-
surprised by how fast and how parallel we could make it work and uh and how intelligent it was. So, we were able to benchmark it around how good it was compared to an LLM and was pretty good uh not as a full LM but it was pretty good at in terms of intelligence as well. So it falls in between and there are so many ways we could use je and uh I want to hand it off to Kevin to take you uh take you guys through a scenario where uh we use Jev in uh UiPath Maestro Flow. >> Yeah. >> Thanks Chibi. Um so hi everybody. Uh today I want to actually walk us through a little bit about what UiPath is building with UiPath Maestro Flow and talk through a little bit of how we would go through and coordinate humans, robots, and agents all together inside of one canvas. Uh what we're going to walk through today is essentially um you know essentially a flow that will demonstrate how we kind of weave all these things together. And the way that we're approaching this is that we're going to end up having system one agents which are going to be able to make quick intelligence happen within our process.
-
Think about things like, hey, is this transaction fraud or not? Um, additionally, we'll have u system 2 agents running where we're going to have more of methodical deeper investigation that's going on where agents are going off and calling tools. And we'll see kind of this pattern these patterns start to emerge where we're able to hand off from one to the next. And so with that, I'll I'll jump into an actual demo where we're going to demonstrate a account fraud uh scenario. And so our demo starts here with uh effectively a transaction coming in for $48,000. And this wasn't something that we were expecting. And so uh as I'm reviewing my bank portal here, I'm going to go ahead and report this as a fraudulent transaction. And so now this would end up smitting it off into our UiPath Maestro flow where this would act as essentially the trigger for this endto-end workflow to to go off and start processing. What we're looking at is a collection of various different nodes that are each going to kind of uh be orchestrated from the left side of the canvas over to the right. And we're going to use uh essentially a combination of system one and system two models to actually process this uh and do analysis of this is fraud or not. And so the first thing that actually takes place is we're going to go through and get account activity. We're going to send this off to Jev to basically pull 60 transactions from the most recent uh credit card purchases that were made and analyze each one of those individually whether or not these are fraud. And this is happening in real time where Jev's
-
able to process these transactions and ask that question of hey is this fraud or not within fractions of a second. Now, we found that there's about four transactions that recently appeared that it thinks are fraud. Now, in parallel to that, we're able to kick off another part of our flow, which is doing more of a semantic analysis on the entire account. We're looking at that one transaction that came in for $48,000, which was flagged. And we're asking a question to Jev is, hey, is there enough information here for us to determine whether or not this is actually fraud? And just as we heard Dieago talk about this earlier where you have these new kind of paradigms and logic come up, we ended up uh finding from this that there's uh a scoring that took place and we needed more information. Um we were asking the question, do we have enough information for fraud? And for that what we're going to end up doing is kicking off a system 2 agent that's going to go spin up and run for much larger longer calling a bank API and finding that you know there was a $48,000 transaction from a payee. uh basically creating a new account on his phone and it was earlier that day that that account got created. So high indicator of fraud. We circle back and ask that same question now to Jev and ask hey do we have enough evidence now? Jev agrees and it finds 100% sufficious activity and we would hand that off effectively to another grading model that combines all those transactions that we found with the system payload and then finds that you know there is fraud in this particular use case. um squared of you know one to five we got 4.97.
-
Now stepping out of this um you know typically what would happen from this point onwards is that we'd go off to a human to review. We'd have somebody kind of review both the system one and system two logs and then find that there was you know potential fraud and freeze the account. But you know effectively what we're seeing from customers that are going through and implementing Jev inside of their workflows is that they're able to replace the typical LLM calls that are going on behind the scenes. And in in process, we're saving about 50 uh times uh we're we're increasing the speed about 50 times while also being 7.1 uh times cheaper um than calling a traditional LLM. Now, we we've gone through and and kind of shown how customers would use this within our technology, but we're also pointing the finger back inwards where we're trying to ask the question of how can UiPath use this within the products and services that we offer to be able to help customers out. And there's a number of different patterns that we're kind of exploring with Jev. Um, and today we're going to talk about um a re-ranking problem as well as uh what we're using inside of email mining. And so to set the stage for for kind of reranking um effectively what we're trying to do is run and add uh within our retrieval augmented generation within our agents the ability for us to find more appropriate chunks to be able to provide to our agent. And we do that by basically finding relevant documents first and then using um typically an LLM to do this. But we're experimenting with also using Jev to go through and find
-
the various different chunks that make are most relevant to answering the question and then providing those as as context to the LLM. And we've run a couple exper experiments on this now. And I'd like to hand it back off to Chibi who's going to end up telling us a little bit more about what we were able to find. >> Yeah. So this is where things got really interesting for us. This is like the first week of Jev. We had got our hands on Je and we have these extremely strong benchmarks and uh eval sets that we had for reranking that we have been running for some time and we need those for like when we change from one model to another. uh and we realized okay why not take these eval sets and build a hill climbing harness and ask Astra to say okay this is my score I can get with NLLM here is Jeff here are the three APIs find a strategy which can achieve that score and let it run and it ran for the entire night for 14 hours in a session and it came up with so many different strategies where it worked, where it didn't work and then we were slowly seeing the number go up. Every two hours there will be one strategy would perform slightly better. This was so surprising for us because what we thought was Jeb as an API if you just call it like when you just send all of Yeah. So when we call it uh we were
-
getting only 866 which was very very low at that point when we were trying it out when we were thinking how do we increase it and then it slowly got got to the number of 889 while it was uh trying out new strategies and that strategy is called tournament and I want to showcase that strategy which it which these hill climbing models actually come up with and how we were able to see the intelligence squeaked out of Jev just by applying JV in a different architecture and different call method. Uh and I want to take you through tournament now. So what tournament did is that it actually reimagined reanking differently. Instead of looking at every chunk and saying that it is how good relevant is it for my question, it created cohorts of different u different groups of these chunks and made them fight between each other to be the best most relevant chunk by sending thousands and thousands of Jews for each and every one of them and it found leaders in those particular cohorts and then the winners would be promoted to the next round and then in from those winners we would again find like top winners from those chunks and then we'll slowly increase and find the top most the cream will rise to the top and you'll find the uh the most relevant chunks on the whole list. So this worked extremely well and we were testing it and uh we were surprised to see that even with thousands of Jev calls and
-
thou uh many millions of contexts being used uh we were still under a second we were able to make all of these calls right and uh this was a huge uh revelation for us and we realized that gel is a building block that we can adjust and we are we have to find these new strategies where we would be able to apply this building block and it might look less intelligent on its own but with these strategies and patterns we can get more intelligent with even the current job model that we have right and that's that gave us like 15x speed and we tested it out on uh our our live um indexes and saw how it performed and uh people were extremely surprised by this one and next we saw how uh Jio could be used um uh for mining. So mining is has a lot of stages. I'm going to talk only about the classification stage. And uh what happens is we have customers who have millions of emails in a support uh email box and uh what happens is they want to analyze and they want to dig into what happened in these emails so that they can take some actions. I'm sure every one of you guys have one of those email boxes. uh what happens is that like it's so hard to find the right categories and bucketizations without reading all of these emails. So what we used to do is that we would go and create uh fine-tuning to figure out a model that classifies them and it would
-
take hours and maybe day to fine-tune the particular model for the classification story. But what we found was this is again through hill climbing we found this pattern where we use we use an LLM to find an initial candidate list of categories and then it would say that okay these are all the 15 categories uh that I think the emails will fit then what we would do is that we'll use je and run all the million emails through it and see if where the buckets fill up and with that we can actually see which buckets are not filled properly which gets overfitted, which buckets are never filled out, and then we ask the LLM to go back and optimize those buckets again. And then once the buckets are rearranged, we'll do another classification of all the all the millions of emails one more time. Because Je is so cheap, we were able to do this multiple times and eventually you'll end up with a category list which is extremely fit towards the mailbox that you are dealing with because it's not the same across different different mailboxes. The categories are completely different. But the powerful thing is once you did all of this work with an LLM going through and finding these categories, you don't need the LM anymore because you have the categories which you where you have distilled down all the intelligence into these categories. Now you can just build a maestro flow which basically takes just the categories alone and uses gel. So whenever a new email comes, it only
-
needs gel. It just looks at the uh looks at the email and fits the categories and we basically have a list of uh follow through. So if this matches this category, you are going to get an email. This team is going to get an email or that team is going to get an email so easily and we basically removed LM completely from the picture on this one. So and we saw a humongous speed increase on on just email processing. It was almost like at real time an email comes and suddenly somebody will get notified. So that was an amazing uh um amazing thing to see as well. So over the few months we were so excited to play around with Jev and every day the Slack threads would light up everywhere in the in the company that I found this pattern, I found that pattern and uh it was such an exciting time uh during these last three months and I wanted to share that there are so much more patterns and strategies to be found. We are only scratching the surface of this and I want us to try out and like share the strategies that we all find and collaborate here.
-
>> And if you're interested in trying out UiPath Flow um we have it available for free right now. Scan the QR code on the screen here and we'll be able it'll take you into a portal where you can basically point your coding agent at it and get complete access to build your first automations there. Thank you for your time everyone. >> Thank you. Heat. Heat. Heat.
-
Hey. Hey. All right. Good afternoon, everybody. I am Brian Kennedy. I'm an engineer on Zoom Info's Agentic platform.
-
Now, I want to start with showing you something one of our agents wrote. This is a real output from our product. The agent's job was to schedule an email for a customer. And this is what it reported back. It said it scheduled the email. It queued it up and that it was going to go out on Tuesday. We don't just trust the agent, though. A second model checks the agent's work. I'm going to call this one the judge. The judge read this and it accepted it. Great. Now, here's the problem. And this is what it actually happened there. Uh, these are the tool results. The record of what actually ran when the agent called the tools. I'm going to call these the receipts. The agent tried to create a record in Salesforce and it failed. The error message that came back says the record was not created and it tells the agent not to report a success or even make up a record. We wrote this message ourselves for exactly this situation. The agent tried again. It created a task which is a to-do.
-
No email was ever scheduled. The agent doesn't even have a tool that can send an email. The agent made it up and the judge approved it. So that's two failures. The agent fabricated a send and the judge rubber stamped it, approved uh a claim that never actually checked. So if you build agents, you probably have run into this and you probably have a judge like this. It might be a code reviewer or a greater of your evals or a supervisor in your loop. Anytime a model decides whether another model's work is good, this can happen. But for the next 10 minutes, I'll show you how we caught this and what we did about it. First, some quick background. My team at Zoom Info um is called Agent Teams. We announced this last week. Uh it's a multi- aent orchestration layer that lives in Zoom Info's GTM studio. It coordinates a team of specialized agents across a company's systems to run GTM workflows. For example, find companies, research them, write an email, log it into their CRM. Each agent has its own roles and instructions like and tools like Salesforce, HubSpot, Slack. These agents make real uh decisions and take real actions in a customer's systems.
-
They write records and they send messages. Every team and every agent finishes a step. A second model checks its work. That's the judge. And it has three options. To move on, to redo the step, or to stop the job altogether. You've probably heard this called LLM as a judge. It's the same idea as a code reviewer or an eval. Now, the hard part for us is that it's one model and it has to grade every kind of agent that we're running through it. Our customers build their own workflows with any agent and any tool in any order. So the permutations are almost infinite. So the list of jobs for the judge has to grow with it. The judge can tell whether the work was looks finished, but what it can't tell is whether the work was right because that depends on what right means for each job. And we're asking it the same question for all of them.
-
So here's where we're going. First, I'll talk about what we found when we checked the judge. Then what we chose instead and what you can to do today with your own agents. To start, we ran offline evals. We took 500 real steps from production, each with a decision that the judge had made. Then we took a larger frontier model and regraded every one of those to come back with an accept or a send back. Then we hand checked each of those samples and we checked the grades where we disagreed with the model. We went with our call. This gave us a reference label for all 500 steps. And it turned out the judge was right 65% of the time. So more or less a coin flip. It accepted 118 steps that it should have sent back. That's more than one in four of everything that it accepted. Pretty bad. And when we read through those, the most common problem was that similar to the email at the start, the agent reported that it did something like send a message and no tool call had ever done that.
-
So to see why the judge had accepted it, let's go back to the email and look at what the judge was given. On the left, you have what the agent's own summary. Think of it as like a story. It's confident. It's well written. It says the email was scheduled. Now on the right you have the receipts. This is the actual tool results. There are errors failed to create messages uh telling the agent not to make up the record. Now the judge had both of these and it went with the story. The work looked fine on the surface so it accepted it. Now this isn't only our judge. You can think of a code review agent that reads the PR description before it looks at the diff. It's a similar kind of problem. If the description says, "I fixed the bug, added tests," the agent is going to lean on that when it reads the code. So, the obvious fix at the start was to tune the judge and write a better prompt. For us, that was going to be a significant amount of work. Our agents write sales emails, update CRM, do research, and to judge each of these.
-
Well, we'd have to figure out what it was that the user was asking. Give the judge the right rules for every kind of work and keep it all up to date. That's basically a custom judge for every use case. What we went with, we went a different direction. We stopped asking one big general question. Is this good? And we started asking a short list of small yes or no questions. They are the same questions for every step. And each one is small enough to answer by looking at the receipts. The first option here is basically a prompt tuning project that never ends. Whereas the second one is a small handful of small checks. Now to answer those questions, we use Jev. You've heard a lot about Jev today, so I'll skip that and keep that short. It's a tight decision model, not a generative model. Uh for mom at home watching, just ask Claude. and we'll send it structured facts, you know, about the step and a listed a type questions. A typed question is a yes or no question or a choice with from a fixed list of options. It sends back a probability for each answer and it answers all the questions in one call.
-
We gave it four things. the instructions, the uh input, the receipts and meaning every tool call and whether it was successful or it failed and the agents report. Then we asked for one choice which was accept, redo or stop and that choice makes the decision. But then we also ask seven yes or no questions. Those seven questions tell us the why. They decide between a redo and a stop and they go into the feedback that the agent gets when it actually has to redo a step. Now back to the email. The LLM judge accepted it and it took about 2 and a half seconds. Jev gave us a probability for each option. For this step, it accepted 0%. Redo 97% and stop at 3%. And it took about a fifth of a second. We make the decision from the probability of accept. At 30% or higher, we accept that. At 5% or lower, we redo or stop. And anything in between means Jev isn't sure. So, we kick it to an LLM judge. We picked those cuto offs from testing the 500 labels that we had at the beginning.
-
Now, to test whether what whether or not this works better, we took two different routes. The first test used the same 500 production steps from the offline eval was confident enough in about seven out of 10 of them. One of those steps uh the LM judge had accepted 82 that should have been sent back. Each red square here is one of those. Jev successfully caught 74 of those. The blue squares are the ones that Jeb would have sent back. Now the second test is what we call shadow mode. Both judges look at every step but only the LLM judge uh that decision counts. So we saved Jev what would have done and we don't let it affect the actual run. That gave us 37,000 decisions to mine for insights. And in that time there were 728 steps where a tool had clearly failed. The LLM caught 294 of them. Jev caught 623.
-
And the fake email from the beginning, it wasn't a one-off thing either. The same step ran 1,081 times. And almost every time the agent said it had scheduled an email, the LLM judge only caught it once. Jev caught that 876 times. And when you have a judge, every step waits. Jev was 10 times faster and 40 times cheaper. At this scale, it is massive. or stop. But next we're adding post condition checks which are questions that depend on which tool called uh was within the step. So we don't have to guess. Uh we know the step up front because the tool tells us. If a step called let's say a send tool, we also ask whether the message was delivered.
-
If it wrote a record, we ask whether the record exists. And those go into Jev with the same seven questions in the same call. Now, what can you do today with your agents? First, pick one judgment. Somewhere in your systems, there is an LLM deciding whether or not something is good. It might be reviewing code, grading an eval. Pick one of those and rewrite it as a few simple yes or no questions that can be answered from the evidence. Second is build it. This is the easy part. Honestly, we used Jev and ours was seven questions. Then the third, ship it in shadow mode. run it next to what you already have, but don't let it make the decisions yet. Just save it. Uh, and then you can analyze it later. Then read the cases and see where the two disagree. And don't overthink it. Just start small. We had trusted our judge until we measured it. Measure yours. Run a second check. Run it in shadow mode and see where it disagrees. You may be surprised with what you find. Thank you.
-
Heat. All right. Hey everyone.
-
I promise I'm the last uh person on the hype train for Jev. Uh I'm Scott. I'm from uh I'm from Workday and I'm going to go through how we're experimenting with Jev uh to drive uh new innovations in HR and finance tasks. Uh exciting stuff. So, uh, at Workday, we have over 11,000 different organizations that use our tools. And a lot of the problems that we deal with break down into kind of two different categories. So, one is very quick actions they have to take. I want to see my pay. I want to ask for a day off. The other ones are I have to dive into a ton of data, weed through it, try to figure out what's going on. And like many of your companies as well, we're trying to, you know, put agentic workflows around this. And so if you look at just a a very simple uh agentic loop, you know, we have a user request. We try to decide what to do. We're running tools. We're judging did we do a good job? Uh and then over and over again until we finally get a result. Uh now one of the problems here is that on each one of those we're doing LLM calls and there's two major problems with that. So one is there's too much intelligence. So if we look at the system one versus system two thinking uh we're doing a lot of slow deliberate very expensive thought processes at each one of those steps.
-
Another problem is it's just the wrong tool for the job. So you know LLMs a lot of times are just a hammer uh looking for a nail. And you know we want to figure out like what do we actually need? Uh because clearly LLMs are not doing it. So we want something that is fast uh smart easy to use uh it's generalized and it's very very cheap. So when we look at like from a code perspective you know what are we really looking at from a from a jevlike model it's really just a conditional if this happens this should happen. Which one of these cases are the ones that I want to explore? And you know you've seen it among many of these presentations already. Uh but Jev has the primitives to allow us to do this. Uh there's the probability is it you know this or that and what's the probability? Uh what are the different categories that this uh particular thing could fall into? And then you have the uh the scoring mechanism which is basically probability and sorted.
-
So you know this has been brought up as well. You know, my first thought when I saw, you know, the Jev models was, well, we already have classifiers. I've been doing this for a long time. How is it actually different? And as many of the speakers have talked about already, you know, with classifiers, I need to figure out, you know, what's my golden data set. I have to train it. New data comes out. I have to iterate over and over. With Jev, just out of the box, it just worked. We plugged in our question. We classified it. we didn't really have to do anything. It generalized to our question. Uh and so we started using it for a lot of the use cases that you've seen from some of the presenters already. Uh so we use it for routing. That's kind of the canonical example. Um you know figuring out did this step work you know as a judge. Uh we looked at uh you know resumes you know is this person qualified for ML work? Uh, and I want to do kind of an overly simplified example as well. Um, so no one taught Jev like what a fish is. And so this is actually a question we asked like is a fish a pet? Well, 50/50 might be a pet sometimes, might not be. Um, and so, you know, if I ran into this, then I have to figure out um, what do I do next? Maybe I can give it some more context. Oh, is a fishing a bowl a pet? You know, and after 20 milliseconds, I can ask this again. All right, that's great. Oh, is a
-
fish on my plate a pet? Clearly not. Uh, so this is something that wasn't trained out of the box in seconds. It just worked. All right, so now on to some of the demos that we're do that um, you know, we've done at workday. So just a caveat on some of these. Um, it's not real data, so we're not using any of your you know, resumes or payroll data. Uh, these are also not in production now and may or may not be in the future. So that's something our legal asked me to say. So let's get into, you know, some of the uh the demos. All right. So starting with autocomplete. So autocomplete starts to predict what you're trying to ask. It's just predicting the question. It's not helping you get to the answer. So as you start to type more, it's going to guess like, oh, I want to figure out if this person wants to take a day off work. Great. You've guessed the question, but you really haven't, you know, helped me get to the answer.
-
So what we want to do is move from just predicting the word or the next block of code and actually help you finish the task. And so this is best shown with a a demo that we have where we go from predicting what you want to say to predicting what you want to do. So hopefully the video play. There we go. All right. So I need to take time off of off of uh next week. And as I start to ask this, Jev is actually figuring out under the hood, okay, what what more context do I have? How can I adjust this UI based on the information that I'm that I'm getting? This is not something that we could have done with an LLM. We're getting, you know, we're we're doing this, you know, in a loop while someone's asking. Um the pay slip, you know, you shouldn't have to go in and ask an agent, hey, can you go find out how much I was paid? Uh what you can do is just in the search say what was my pay last period pops up an interface allows you to unhide it you know see what your pay was in the last period very simple gets you to the action book a meeting.
-
So I know that I want to book a meeting and uh I'm going to want to do it for next Friday. Let me do it at 2 PM. Oh, I want to do it with my boss. Make sure that I get my, you know, my boss on this. Uh, Logan McNeel. There we go. Meeting's booked. And then a final one that we have just for this example, but there's many more. Uh, is finding a person. So, in this one, I may have some semantic knowledge like find the person who owns this part of the organization or just like who's Ashanti? I want to contact her. uh pop it up. Click on email. Good to go. All right. So, what's happening under the hood? So, because Jev is fast and cheap, uh just like a type ahead, we can start to render a UI on this on that same cadence, we can look at as the words are coming, do a prediction of intent and start to render an interface.
-
And you know we could do this at you know about 20 bucks for a million judgments. Uh and the way that we're doing it is kind of twofold um or two parts I should say. So first Jev is picking the card of saying what's the intent. All right there's a card that's going to help you out and then the team that's responsible in that domain then can decide what are the questions to progressively fill out that card. And so there's sort of this two-step process. Uh the first step is getting people in the front door, getting the right card up, and then the second one is making sure that you fill in that card to help them accomplish the task that they're after. Now, we have an eval on here before we merge any card. We want to make sure that it doesn't collide with any other one. And at least in our initial experiments, you know, we we've done seven cards or a just chat because it should if there's no card to actually solve it, it should allow you to just continue chatting. uh we were able to get you know 96% accuracy on that.
-
All right. So now on to the recruiter. So let's talk about the recruiter problem. All right. So this is not like a fast uh task. It's something where recruiter has a pile of hundreds of resumes and has to figure out who has the best resume to accomplish the uh or fill the wreck that they're trying to fill. Now I first want to look at like how we would have done this before. uh we would have done you know an embedding put the vectors in a vector DB then had a retrieval layer then have a reranker and then figure out based on the reranker which ones that we want to put in front of uh the recruiter. Uh one interesting call out is the Quinn reranker uh looks surprisingly similar to uh the uh the Jev process as well. Uh and so that that's kind of an interesting correlary if you've used that one before. Uh but with Jev, we basically take out all the embedding steps. I don't have to train anything up. I don't have to do embedding. I don't have to put things in a vector database. Um what I can do is just do a function on my database. So put all the resumes into a database. Uh use natural language to query it, iterate over every single one of them, and then just figure out which ones match my criteria.
-
So uh I'll go into an uh you know an actual demo of this exact same one. So here we have a select statement and so this is against a duct db where we have a function that is going to call jev to figure out what's the probability that someone matches this criteria. We're going to get it a score and then we're going to order by that score. Now I'm going to do about 20 and as I said these are all fakes and none of your resumes are in here I promise. And then here we see uh these are very uh ML focused uh synthetic data as well. So it's not a surprise that we would have uh very high hit rates against someone who's worked in fraud, trust, safety problems. Um but let's look at let's change this question. Let's uh be a little bit more adversarial on this one. So a lot of these résumés have the word pipeline in them. So whether it's a data pipeline or an AI pipeline, uh pipe's going to come out. So let's just ask like is this person qualified to do plumbing? If you were going to just do a lexical search, it might pick up some of these. So we put it into Jev and asked, you know, of all these ML res resume résumés, let's, you know, trim the limit down to five here. Uh go ahead and run it.
-
And we can see, you know, that um very very low probability on these. So these are ones that we would almost definitely throw out. And you can see the speed. So we went over 117 records. Uh we had 2.3 seconds of wall time and spend almost nothing on this query to just iterate over everything. Uh so Jev really kind of changed the game for us because every every place where we're thinking either either this is too expensive or it's too slow, we thought of new places to inject Jev into our pipeline. And so just to summarize, you know, the two areas that I went through are one, where can we decide very quickly and get to the intent and get the person on their way? And then the second one is to cut down on some of the, you know, really deep work. How do we filter those out for, you know, our customers? And so I hope this that that this gave you a little bit of insight into the things that you can take back to you know your own companies and how and you know imagine the things that you can do with Jev and decision models as well. And that's my time. Thank you very much.
-
Heat. Heat. Heat. Hey folks, this is Gish, a principal software engineer at Microsoft. Outside my job, I build open source tools for AI agents. One of them is MCP pacemaker, a supervised bridge that keeps MCP servers running.
-
Before we start, a small disclosure. The views in this talk are my own and doesn't represent my employer. So sub agents are a distributed system. Over the past year, I have been using agents and sub agents on real engineering work, dev sessions, code reviews, instant trashing what this talk is about what happens when one agent hands work to another. So here's an architecture. The orchestrator splits a task and hands the pieces to three different sub aents. They all run at the same time. They all read from the same shared state. Consization, memory files, repo, working trees, issues, vector stores. And they don't just think, they make tool calls to real systems which touch databases, APIs, CI tools, deployment pipelines and the results come back and orchestrator merges them into a single answer and orchestrator workers shared mutable state and results merge from concurrent executions. This represents a classic distributed system.
-
I have known how to reason with dispute systems for decades, but none of the setup came with it. What you get is a function that takes a string and returns a string. Failures we hit are not new, are not specific to a agents. They're classic distributed system failures. partial failure. A normal call that fails halfway through and returns an exception error code. In a sub aent case, it returns text that looks like a success. Dirty reads normally we have isolations versions. Here every worker reads one shade context including things other worker only guessed. Unbounded fan out. A busy service pushes back with the cues 429's 503s.
-
In agents, orchestrator does not see any of this. It just starts in the worker. Retries. In normal distute systems, we build potency to make retries reliable. in agents a retrate sub agent and the whole task again with side effects included for each of these case I'll name the concept it already is then I'll put them together as a consistency model I'm proposing and walk through why each part is there start with the failure model because everything else depends on it a friendly case is a crash stop a process it was running correctly stops and stays is stopped. The sub agent throws an error in this box. It's easy to handle. Next, no reply. The call is lost or it's very late. We'll come back to this soon.
-
The hot case is the one from Baantine general's paper. A component that gives conflicting information. The process answers and the answer is wrong. A half finished sub agent sits closest to the box. It is not malicious but from the outside it looks the same. It does not crash. It answers fluently. Let's jump into this. A sub agent that half finished does not raise. It returns normal looking text with the same type signature as success. I talked about one version of this in one of my talks. We pointed an agent at an LQ. Here's an illustration I used there with three different paths which gave the same answer. The first one it pulled the telemetry and compared with a known brand set. It actually did the work. The second one it matched against the title. It has seen before and gave the response.
-
The third alert it didn't do anything. It just originated. All three are categorized as benign with the same level of confidence and nothing downstream can dull this apart. The orchestrator can read the conclusion. It cannot read how much work was behind it. Now the call gets no reply. The orchestrator send work and a timeout fired. From here three volts look the same. The sub agent is still working. It crashed and the reply was lost. It's a hall limit, not a tooling gap. The FLP paper from 1985 showed that in a synchronous system with even one faulty process, agreement can fail to finish. Chundra and 2x answer in 1996 was failure detectors that can make mistakes. They suspect did not know. I hit both directions in my own open source project MCP pacemaker supervised bridge.
-
A server whose first run downloads itself hit the 30 secondond call time out and look broken. It was slow not dead. We fixed it by giving initialize its own time out. Now the other way the server crashed during a call. The call then timed out and the timeout overrode the exit code that explained the crash. We fixed it by recording the time out only when it was alive. So time out is a suspicion. Record it as unknown and keep the real cause. And now make failure a value. Let's take this illustration. A sub agent returns a status. What it did, what it did not do, the evidence, and any side effects. Partial is a normal answer here. The protocols already have a slot for this. In A2A, a task can end as completed, failed, canceled or rejected or stop and ask for input. In MCP, a dual result can say is error true. But a sub agent can still say completed while its text says something else. And a loop that only reads the text never sees a difference.
-
Another spirit. Checking a condition and getting no is a different fact from not being able to check at all. My own individual internet draft on evaluation states talks about this. Collapse the two and you change what gets retrieded and who gets ped and what the audit says later. Next dirty reads. Let's take this madeup example from one of my talk. The sub agent the scratch it writes into a shade context saying that error rate fell by 80%. It did not measure that it inferred it. Now two other sub aents read from the same shade context. The second sub agent writes a review note and picks the same sentenc. The third agent writes a runbook step and uses it as a reason to proceed.
-
The orchestrator merges all the all these three three artifacts agree. It is once unsupported sentence read three different times. The 1995 critique of SQL isolation levels define a dirty read as you read a value before the writer commits or rolls back. In a shared context, a guess is readable the moment it is written and nothing marks it as unchecked. A regular fix to is to ask three sub agents and get a quorum. Corums do work for a specific reason. In weighted voting from 1979, the read corum plus right corum is greater than total. So every read overlaps the latest right. The overlap is the guarantee. In sub aent's case, the three sub aents that read the same shared context does not give you that. They are not independent copies. They read the same guess. Their agreement is one source counted three different times. Let's pick a consistency model.
-
In databases, we have vocabulary for this. Linearizable. Every operation appears to happen at one point in real time order. Sequential. One total order that respects each process one order. Causal operations that are causally related appear in the same order everywhere. Session guarantees. There are promises to one client like read your rights and monotonic reads eventual. If no new updates are made, reads eventually return the lost value. A shared context gives you none of these. There's no stated guarantee at all. And you don't need the top consistency models. The strongest models cannot stay available when the network splits. Causal end session guarantees can as long as each clients stick to one place for sub agents that place the orchestrator. So here's a consistency model I use for sub agents. I call it safe handoffs.
-
S stands for source fees. Every fact a worker hands on carries its source version as of time and revision and decisions read only fresh source facts. A at most once effects every right has identity and a single use approval for that exact action. An outcome is read back never replayed. F fan out budgets. Each downstream gets a gate and a bounded weight and refusal counts as a fail. E stands for explicit outcomes. Every handoff ends in a name state and a timeout is unknown with its cost script. This consistency model is the one I use for my own sub agents. It's not a universal model. It's based off my own public work. Some of it is in my FCP pacemaker bridge and some are based on my other docs and my own internet draft.
-
Now let's see what's behind each letter. Yes, source reads it's the answer to that reads where one worker's guess becomes another worker's fact. What helps is to treat every fact as a record not a sentence. Lampot's 1978 paper define when one event happened before another. The facts provenence is that record. What it was read from and when. Let's take this madeup example. the record names, the claim and its revision, the source and its version, the scope and three different times, when the data was current, when we read it and when we used it. Freshness is checked with the fact is used. In this illustration, the data ends at 9:05. We read it at 9:06 and we decided at 9:07.
-
In this case, we picked a 5 minute limit. So the data decision at 9:07, it's fine. Now at 9:15, the second edition came in because our freshness limit is five. This is a stale record. We reject it and we say that the next station needs another read. This is how you separate an observation from an inference. An observation has a source and a read time. An inference has none. A most effect is about retries. This is an illustration from my article about MCPmaker bridge. The orchestrator delegates a task. The sub agent calls a tool which does a real right. like creating a PR, the reply is lost.
-
The orchestrator knows one thing, the outcome is unknown. So it retries the whole task, the right happens again. This is a classic problem. In 1984 RPC paper, it says that if the call returns, the procedure ran precisely once. If you get an exception, it ran once or not at all. And you are not told which. So you pick a delivery semantic. At most once don't retry and accept the fact that it may be lost. At least once. Retry and accept that duplicates are possible. Exactly once. It happened at least once. And there's a way we can dduplicate maybe by using an item potency key. In MCP item potent hint is only a hint and da or false. If you need it, you build it. Here's a small design from my bridge on how I handle it.
-
When a client comes back after a restart, the bridge replace the client's record initialize against a fresh server. That's safe. It's just a handshake and it does not restore tool state. What it never replace is an uncertain tool call. When a shared server is recycled, the bridge drains it and calls till unanswered at the deadline fail as potentially excluded. That status is honest. It tells the caller to go and check. What helped is giving every side effect an identity. Approval binds to that exact action. It's only used once. After the call, read back by that identity. Submitted is not confirmed. Confirmed means you observe the effect. The last part of a it shows up when work passes and resumes. A lease is a lock with a timeout.
-
Martin Clipman's post about distributed locking shows this problem. A client passes while holding it. The lease expense. Someone else takes out and the first client wakes up and writes anyway. The fix he proposes a fencing token. A number that goes up every time the lock is granted. The storage remembers the highest token it has seen and rejects any right with the old one. Sub agents pause and resume all the time. In my other talk, as I put it, restore context, not side effects. So treat an approval like a fencing token. One action, one use. Checked at the gate, not remembered in the prompt. A conversation. My bridge fixed the same class of bug. A stale exit or a deleted resume can no longer remove or bring back a replacement session.
-
Fan out budgets is about unbounded fan out. This is flow control or the lack of it. I hit this issue in my own MCV bridge before it had a limit on cold starts. Many sessions start their service at the same time through npx. They share one package cache. Every one of them failed with npm's lock compromis. Nothing in any single request was wrong. The failures was the concurrency itself. And when a downstream does push back, it can arrive as a plain text. This is MCP specs one example of a tool execution error. limit as one sentence. The model reads a sentence. The orchestrator code may never look the next worker starts anyway. So I introduce a kota budget in my bridge. Cole starts that use a package manager go through a gate two at a time by default. Everyone else waits and the weight is born at 15 seconds. Pass that the start goes ahead without a gate.
-
And I documented why a corrupted cache is a risk while a hung client request is certainity. There is a choice for availability made on purpose and written down. And I also built a cap on sessions. At the cap, a new a new session waits up to 10 seconds and then it's refused. That refusal now counts as a failure in health. Another book capacity has to be reserved before the synchronous start not after otherwise cued starts or book the cap that is a check then act race for sub agents give the orchestrator a number per downstream a bounded weight and a refusate consent. Now e the explicit outcomes every hand of ends in a name state like stale or unknown not just text. The last piece is who decided that state treats the agent output as untrusted input the same way you treat a request body from the internet.
-
The orchestrator owns the checks in code. Does the result match the schema? Is the evidence there? Is it fresh enough? the numbers hold when you recmp compute them. If a check fails, the step returns a refusal with a reason. It does not pass the text along with a warning paragraph underneath. If the same model can skip a check and declare it past, you have a request, not a boundary. Here's a madeup example from another talk. A sub agent says that a rate fell. Before it was 10 errors in,000 requests. after it was six errors with 600 requests. It went from 10 to six and it claimed that our rate fell. But when we computed the rate, it's both 1%. We recomputed it and then the claim is refused. A supported answer is fine. A deliberate handoff to a person is fine. A confident guess it's not.
-
So limitations because a consistency model is only useful when you know where we should start. So here's what safe model does not do. It does not make facts true. A source fact is checkable, not correct. It does not give you exactly once delivery. A lost reply stays unknown until you read it back. It does not roll anything back. Undoing a partial task is a compensation step you design. like the Saga's paper from 1987. And finally, there's no global order across workers, only causal order for a fact. And it has a price. CAP theorem says that when the network splits, you trade off availability against consistency. My bridge chose availability for cold starts on purpose. For rights, safe picks consistency over availability. It refuses rather than guesses.
-
Packlac adds that even without failures, you trade latency for consistency. Every freshness check is another read and and every refusal needs an order. So where does not fit? If a sub agent only drafts text that a person reads before anything happens, most of this is a overhead. It also assumes that there's one single orchestrator. If you have more, this does not fit. Pure agents with no single place to stick to need something else. This is the consistency model I use for my own agents that touch actual real production systems. It's not universal. So wrapping up, here's three key takeaways. Treat every handoff to a sub agent as a network call. It can fail halfway. It can be slow and it can come back twice.
-
Return a status, not just text. If the result cannot say partial, stale or unknown, the orchestrator will read it as start with our safe consistency model and enforce it in code. Keep what fits and change what does not. We already know how to build distribute systems. We just have to notice that we are building one. So these are some of the sources behind this talk. On the left side, it's my own work, my open source projects, my articles, internet drafts and my talks. On the right side, specs and standards and bunch of papers behind each concept. Thank you. >> Hello, my name is Nikolai Petro and we will be talking about skills and agents knowledge of those skills.
-
We'll start it with the simple prompts where we've been playing with the new stuff, new work being done by the agents, repeating those prompts over and over again. And then we start packing those into the skills, creating repeatable, reproducible, portable type of their functionality or capabilities that we can teach agents to work with. And some of those skills are very important. hundreds of the stars on GitHub. There are different types of their skills. Some teach models something new bringing new knowledge or capabilities to the model. But there are also types of their just steering or process skills where we do not bring any additional information but just getting repeatable flow of the actions that we want agents to perform. both are useful. In this session, we will be talking about new knowledge type of the skills and we'll see what we can get from the models understanding of those skills.
-
So, we get our first skills packed, start using them. Um, basically starting with the the feel of does it work or not. But there is also the more technical way and more deterministic way for the checking if skills are working or not and what's the impacts of those skills are evolves. There are different formats where evolves can be defined. But at the sense this is task definition that you want your agent to be able to solve. You put it in the place ideally more deterministic so we can uh validate it and we can check two arms one there no skill loaded and there second one where we're loading the skill and providing this additional information to the context and we compare how the runs there are multiple things one is how many evolves been solved in this case with no skill we're solving three out of five with skill we're solving all five meaning that we get two more tasks.
-
There also would be implications on the tokens usage or time that it took those tasks to be completed and other factors. But at the end we are comparing those and seeing what makes sense, what not. And this is one of the mains for evaluating the skills and uh saying that they not just nice ideas but actually working pieces of instructions and context for the agents. But what next? We get to the stage where we have their working skill. It solves some evolves. But we know that there should be a better way. We have models evolving. We have u some might be cases where we want to get skill more efficient meaning consuming less tokens. So what's their the options there? One is just change line by line and try brute force all the different combinations. Another would be to think through what makes sense. So maybe use something as the user feedback on the skills to see where the skills perform well. Uh there it's not. And with new models just running skill and seeing how it works, what's the options there? and how large those modifications should be just
-
lines sentences ideas. So what we found to be useful is instead of relying on their luck, we can put more deterministic process here using idea of their items from their fact score. uh we can split their skill and instructions into those items and for each of those had the pair of question and answer that we expect. This could be either general ideas like proposition in this case or contracts there we put more definitive expectation on their action and in general we will be getting their some predefined amount of the items per skill and we will have let's say 25 or 30 items arms per skill.
-
Then for each of the items, we will again run two arms, one without skill and one with skill. And we will have judge or panel of judges that will be evaluating model answers. So we asking those questions to the model that we're interested in. We evalating those questions with the judge ideally different family of the models or panel of judges also ensures that the question do not leak answers. We depending on the case can compare with no tools or additional um information to check their internal model understanding or provided with their some tools like web access. So uh it would be more practical and we can get the simple four outcomes matrix basically where we are checking that the model uh knows or do not know something and how this maps to their skill impact on this. So the simplest option is where model was able to answer this particular questions even without skill or with skill. This means that skill have no impact on this and this was already part of the model's knowledge. The second one
-
is where without skill actual model was able to answer this correctly and by adding skill we saw degradation in performance and model capability to talk or explain particular aspects. The ideal case is where without skill model wasn't able to answer something and with skill we start seeing that it can answer those new type of the questions and scenarios and this is what we were aiming for teach model something new but there also can be the fourth option where skills were written not ideally or in some maybe not clean way where model wasn't able to answer it either without skill or with skill. And while this topic might be relevant and important for the model, it still sort of misses some of those concepts. The simplest thing to fix are instructions or items that actually hurt performance. And for popular skills, those are criteria.
-
So in the uh box below you see that it's just one case out of the mostly 400 items in entropic skills and others don't have those. But for their smaller skills that are less popular, you probably having more of those. This is what we're seeing with some of our experiments. And this is just straightforward the simplest thing to fix to ensure that your skill do not reduce model capabilities and performance and bring only relevant context there. And we also can actually color this. In this scenario, this is done by lines but actually going with it atoms. You might have their uh different coloring for a single line or a single sentence. And this just gives your example of their uh visualization where this would be helpful details and instructions in terms what new stuff you bring to the model and what is something that model already knows.
-
Costwise we are running all those questions and asking model but still relatively this is uh cheap for 29 skills 14 bucks of their set and ha calls with their sonet used as a judge and there are couple ways how we also can check their strictness of their some knowledge. Um we have uh lang and strict ways of the checking this where first checks the general idea while the second one is checking for exact details and you can think about the difference between general knowledge and understanding of the topic to the understanding of the exact keys parameters and exact values or steps. And what we see across the models is the difference is large especially with the um larger frontier models where we see almost dropping from 70% understanding of their skill in case of the general understanding to just 22% of the specific details.
-
And this is much our expectations. We see that new models are pretty well generalized to understand concepts but it's still helpful to provide their with exact details and data that will be useful for their solving those problems. Here is outlook of their um comparing those three popular repos with the skills across different models. So one of the interesting observations here is that smaller model have in general lower understanding of the skill with their larger sonet having better understanding which is why we have bigger models. But also we see that overall their models already understand a lot of their details and context of those skills. And you would expect that with the newer models and more advances in their uh better training capabilities we will have more and more uh in terms of the models understanding.
-
But also we see that this pretty significantly differs skill to skill and it's not bad. Some skills are intended to be directional but it's also useful piece of information to see how those skills bring new knowledge uh to the different model and different families. And uh this should be run ideally in the broader set of the models. But just having their this novelty piece of information is just one of the signals. It's basically initial vector for optimization. At the end we still have to run evolves and validate that all the changes that we try make with their skill actually works. So the one of their simpler scenarios would be we can look on their skill and try to remove some or all of the already known pieces of information from the skill and run evalation.
-
It might come up with their same scoring. Basically we will be getting their same results model still capable of solving those problems. Then great we can reduce skill size safe tokens safe context. And instead of there brute forcing and guessing what we can or should remove or add or how to fix their uh degradations, we can have a guidance. So all of those measurements experiments been done with the document which is a framework for the comparing everything related to the agents and context where it's is scale agents MD MCP tools whatever and novelty is one of their pieces of the functionality where you can get this initial vector for their skill optimization and evalation but there also uh evolves there Assessment of the context impact, routing, comparing the uh descriptions, naming, bunch of the things that related to the skills where it would be helpful to actually get there more deterministic relations to make conscious decisions in terms of what should be done with the skills.
-
So, thank you for your time and please go ahead and write better skills. Heat. Keynote programming will begin in 5 minutes. Please be sure to find your seats.
-
Heat. Heat. Heat.
-
Hey hey hey. As we head into our closing keynotes, we're excited to bring back a familiar face to guide us through the final sessions. Ladies and gentlemen, please welcome back our MC, Corey Quinn, chief cloud economist at the Duck Bill Group.
-
Welcome back. Uh thank you all for sticking out the full day. Uh we just have one more section to go and then we're calling it a wrap on technically day two of the conference. Uh since we arrived this morning, we've heard about a few things. Um deleting harnesses presumably on purpose. Uh healing your agents maybe through the power of song. We don't know. uh self-improving codebase, which is the exact opposite of the direction of every codebase I've ever seen in my life has ever gone, but okay. And so much more because everything is different now. Uh and before we leave tonight, we're going to hear about setting intelligence free. We're going to hear about how agents build cultures. Uh there's a talk called Escaping from Trash Mountain, which ironically was my nickname back in high school. and of course 2026 in LLMs which is one of those years that seems to encompass decades. So here we are. Uh before we dive into all of that I want to take just another moment to thank our sponsors for making all this possible.
-
Uh presenting sponsor remains Google DeepMind who earlier today shipped uh was it Gemini Carbon 4 to general availability. Congratulations. Please clap. our lounge and our platinum sponsors as well, without whom we would have fair far far fewer places to sit when we're not in the middle of a session. Our gold sponsors as well for effectively making all the various moving parts go. And of course, our silver part, silver sponsors, too. My goodness, there are so many tiers at this point. At some point, it starts to become an API ladder. And finally, all of our supporting partners. Again, it it really is not possible to put on an event like this without a tremendous amount of support from various folks and we thank them sincerely for all of this. Uh now up we have Fabian Hedin who is the CTO of Lovable trying to tell us what it takes to set intelligence free.
-
Uh which might be the only time in AI we hear the word free. Let's make him feel welcome. All right. Thank you so much. Um, let's see. We're good to go here. Um, all right. Welcome everyone. Glad to be here. I'm Fabian, co-founder and CTO of of Lovable. And um we spent the last three years or so building a platform to let anyone create software and then operate that and deploy that software. Um and um the the topic of today is what it takes to set intelligence free. Um really um for us this takes us back to when we when we started three years ago. And um I have to say I have a bit of a complicated relationship with with agents. Um and I I'll tell you why. Um we almost failed as a company because we thought um back in 2023 that hey we these agents are the future. So let's build for them now. Um I think the we kind of turned out to be true that they were the future but we were definitely wrong on the the now piece in in 23. So this was back in kind
-
of GPT4 days. Um and um at the at that time the intelligence was simply not there to have more of these kind of complex agentic systems. Um but now it is right now uh now the intelligence is actually at a place where where you can really build out more complicated systems around them. Um, and so I I'll give you kind of a a quick um background story here of of our journey um in in working with intelligence or or these LMS. And so um back in 2023, we built the first version of our product. We called it GP Engineer back then. Um and really the UI was very similar to what it is today where you can kind of have a chat and this preview. Um but the AI at that point was quite simple. We just had a prompt and a response, one LM call per user message. Uh, very simple. It it worked fine. Um, but you could kind of build one page apps and and simpler applications with this. Um, and then we thought, okay, this intelligence is going to keep on evolving. So, we have to be ready for uh for it as it evolves.
-
And so, we thought, let's go out and build this agentic framework. And so we we went and we built this very sophisticated there is a beautiful framework for for agents to work. And um we had kind of this one main agent that would talk to the user and that agent would spawn other agents like an implementation agent here in the example and each agent could have a specialtity. This agent would kind of specialize in the first generation of an app and then you would have like a front-end agent and a backend agent and they would all talk to each other, send messages back and forth. and we thought, "Oh, this is beautiful." And there was papers around this and how well this could work. And in the end, it didn't work at all. We just made the product worse. Um, we um we definitely failed on this one. Um, but luckily before we ran out of money, we figured out like, hey, let's go back to a simpler system again. So uh in late 24 we went back to a much simpler um system where it was a bit of a shame where we had like some some smaller LMS doing some knowledge retrieval and then really just one main LM kind of writing to the user and and writing the code in the same message. And this worked great.
-
It was very responsive for for users in the UI and it was reliable and users were kind of in it and and iterating with uh with the model. Um, and so, um, let's close that down. Um, but now it's time again. We're back. We're so back. Agents this time, uh, they work. Um, and, uh, we're running them in production over a billion tokens per minute on on on these systems that I'm going to talk about. Um, but, um, first just looking at okay, what is actually loveable? So uh if you simplify the UI and this was same back in 2023 as it is today. Uh to the left we have a chat where humans come in and they kind of describe their their intent to to build or whatever they want to do. And to the right you have a preview uh which is the output or or the outcomes of of what you're building. Um and this back in 23 you could do simpler things with right but now we've really seen working at this layer of abstraction you're able to build very complex things right and I think we've even seen uh a lot of tooling meant for for developers for example moving to this type of interface where you're not really looking at the code every day and so on and you're getting kind of abstracted and working on on be architecture uh or looking at some kind of output of of what you're doing. And um this is something that we've always believed in and it's been kind of a core thesis behind lovable
-
that you won't have to care about the code in in the same way that you had had to do before. And I think today we're kind of in this almost a bit in between I think in the industry where you know some people might say you don't have to care about code at all and some people might have different opinions. Um um I of course like growing up coding and these things you get a bit attached u but in the end what matters is u is actually not the code um sorry if we remove that last part but uh what what matters is uh is the outcomes right um and so um the outcomes what is that well for for our users the outcomes is um uh creating a business and monetizing and creating value for for others in in in some type of way. And I'll kind of quickly go over um what we build as a platform to to enable this before I go in kind of on the uh on the technical side of this talk. So if you if you look at lovable the first thing that that you can say about the platform is that we have this agent and like any other agent it can do quite arbitrary things and it's quite specialized at at building software uh and it has access to a browser so it can verify what it's building and um it connects to to GitHub and you know it writes code that and you can do whatever you want with that code so on. So that's um kind of your basic uh coding coding agent. Um and the the other pieces of the platform is this kind of cloud and and business piece of
-
the platform. And so um the cloud part of the platform is is about just giving kind of these u hosting primitives just seamlessly to to this agent. And so we we built out databases, authentication, storage, all the types of backend compute and security scanners and like backups and logs for all of these things. And all of it can be introspected by by the agent. Um, and this just makes it seamless to to build things. You don't have to kind of go to different services to set this together. We just kind of provide you uh these primitives. Um, so that's still around building software and hosting this, right? Um, but then the last piece is around these business capabilities where again the output of what our users are doing on lovable, we don't see that output as code. the output is is a product or or a business. Um, and if you want to succeed as a business, you need to do more things than just write code, right? And so we we we help our users with uh receiving payments, sending emails, optimizing SEO, um, doing ads on on Google and meta um, and kind of analyzing what is happening with the product through analytics and you can look at kind of conversions and and optimize these sort of things. and the agent is in the loop in all of this, right? So, that's kind of our uh capability offering, you could say. Um, and again, the core part of this is an agent that all of these capabilities are built for. Um, and at some point in level history, we used to limit our
-
agents to work for only 30 minutes because we thought they weren't reliable to to work for a longer amount of time. Um but uh now we've changed this to really be uh without any any sort of bound in terms of the length an agent can work. And so you can imagine agents working for for 10 hours plus. Um and so I'll I'll go into some of the things that we've done um in our architecture to to enable this. And so the first piece is really around the agent runtime itself and how how we enable that to to run for a longer amount of time. And the second piece is the computer where each of these agents are actually doing their work running a dev server um and um actually verifying what it's doing. And so so the last piece then is the verification itself where if you want an agent to to work for a long amount of time, you need to make sure that you have these feedback loops in place so that it's not kind of going off uh in in in the wrong direction. Um and so if we start by looking at the agent runtime itself um you can imagine that um um you have um really three different sources that can um interact with an agent. So it can be yourself kind of prompting this or a human. It could be other agents and it could also be just a system on on a schedule waking up. And the way we chose to architect this is that for for each agent we have a separate inbox uh where any of these sources would kind of send in messages.
-
And so you might have a message here like what's the status? Um and you can imagine you have this agent and this agent is kind of an always on agent that that might be working right and so um you can imagine it has done like three actions here a request a tool call and it got some some result and then at this point the agent is ready to actually receive uh messages. So um since anyone can drop a message into this inbox, the agent then can copy that itself into its own uh what we call a trajectory basically it's a task history. Um and this is the type of interaction that I think you're familiar with if if you're using agents overall. Um so that's kind of the the first design principle uh behind this agent runtime. I'll go through a few more here. And so um the the trajectory in which the the agent is working in which is kind of the history of what has happened so far um and really the basis for any sort of of memory for for for the agent right um and we designed this trajectory with uh really git as inspiration and so the trajectory what is it it's an append only log where each event uh points towards a parent the previous event Um and because of this you get um a nice um capability just like in git where you can fork things right. So you can have two events pointing to the same parent which essentially creates a fork. Um and because of that you can kind of spin up
-
parallel agents at um um at any point of time in the history without having to duplicate all of the kind of the shared history. Um and um semantically it's a bit unclear what would happen if you merge this. So unlike it, we cannot merge agent trajectories, but we can kind of um spawn them out, right? And these agents can can talk to each other. Um the other thing that uh we made sure to design for is that this uh agent trajectory, it includes kind of the full history and everything that happens uh with the agent. And so every tool call um a bunch of other things happening on the platform if a tool call like failed or succeeded and a bunch of and what we've done is make sure that we have this appendon log and and from that we can actually build a prompt that we would feed into into the actual LM and um you might ask why why why would you want to do this? Well um one one reason is that um when you build a prompt you if you have a long history you probably want to do some sort of compaction. you want to summarize part of that history um in in the earlier steps for example.
-
Um but this summarization would differ um for example if you use different models with different context lens you would probably think differently about when you should summarize and not. And so by separating the the prompt from the actual task history, we're able to render prompts for for any type of model or or any type of task um that that we can kind of find the best and optimal prompt for. Um, so to show this event history in in progress, we have this debug tool here. So here it's just recording of me dragging this uh slider in our UI. And you can see on the right that uh um the UI is kind of updating as I'm as I'm dragging this along and you have 156 events here and one each of those is an event in this event history. Uh and you can see how how the UI can render kind of any point in history. And this is just showcasing that at any point in time we have full control of um of say the UI or or anything else happening on the this platform thanks to um this history kind of detailing everything that has happened.
-
Um the the last piece I'll go over here on the on the runtime itself is that um the process that is running these agents they're separate from from the actual task history. And so the process is uh almost entirely stateless in that between each each call each call each turn um it will actually just persist into the task history and so you can have a process come and go. Um and then the question is why why do we care about this? Um well uh at Lovable this system um we deploy to it um 700 times per day. So that's about once every two minutes. And you can imagine if you have um a agent working for for 10 hours um you want to not disrupt that agent when it's working, right? This this agent is doing something for for a customer. Um but at the same time we want to make sure that this agent is running on the latest deploy. and it might be a new feature or something like that, but it might also be like a security vulnerability in in the Linux kernel and it's like, okay, we need to update this ASAP. Um, and and so to do that, thanks to this separation between the actual history and and the processes, we can actually make sure that we have one one agent that is working on one task, but we can have different processes taking up and actually doing the compute behind that work. Um so so this task can keep on working while we have um different deploys um working on it be it for 10
-
hours or or even longer right um so that's the agent runtime. The second piece of um of this platform right is the is the computer. So this is where the work is actually happening. Um and we've been through a lot of iterations and uh a lot of vendors kind of working with um um providing these sandboxes for for the computer for for the agent to work in. And we've landed in in this system that we've worked really hard now to develop which is um um checkpointing um a computer. And so you can imagine you come to level you start a new project. Uh we have this common what we call a golden checkpoint which contains the OS and the system services. It has common tools installed and a dev server that is ready to start. And this checkpoint, it it includes everything on disk uh memory and also running processes. And and so when you start a new project, you get all of that for free. And uh all of that is copied over in about 230 milliseconds. Um and so once you start a project, you you might have some specific code and and some dependencies within that project. Um and um that is also checkpointed as you go.
-
And and so each time the the agent is running and it finishes a turn, we will actually save a checkpoint o of that computer and and from that we're able to again like very quickly subsecond uh uh spin that computer up whenever you need it. That means we can save on on resources by kind of spinning this down. If you leave for say 10 minutes or or so and come back, we can just spin it up extremely quickly. So you don't even notice this and even uh kind of requests um in transit will will not even be dropped in in in this setup. Um the other thing we can do thanks to uh this checkpointing is that just like the trajectory itself uh in the agent runtime we can also fork um the computer and when we do this um we have for example we have um a feature in in level that is called draft where you kind of work in different environments of what you're doing and and to support that we need to fork the computer that you're working in. Um and um here we have um um kind of the example of doing two at the same time. And um you can imagine doing hundreds of these, right? Um and so um we've we've had to do uh some optimizations to make this feasible to to actually run. So one of these optimizations is copy on write on the RAM itself. And so creating one of these forks of a computer is uh is basically free in terms of of the RAM that it's using. But um as soon as you start writing um um in in a process to to RAM,
-
we will kind of copy that page over and only then will you start having to allocate new memory. Um and there's another optimization here also which is that um each of these sandboxes require a few hundreds of megabytes of memory. Um but and that would take a few seconds to stream in if you have it in like cold object storage and then it has to go to disk and then then into memory of this uh um this VM. But um thanks to uh um being able to stream the memory, we can actually boot up the the machine before all of the memory is is actually um ready on it. So the the memory the OS uses comes first and then like some processes and so on will will start to work as soon as the memory gets there. And this also shaves off some some extra startup time. Um, and then we started asking ourselves, how can we make this even more efficient and even more faster for our users? And so you might be familiar with V. It's this great dev server that most of the meta frameworks out there in the JavaScript ecosystem is using. Uh, and so we we took that and we forked it and we rewrote it in in Rust.
-
And uh, that made our code starts two times faster and we went from getting this preview from 14 seconds to to 3 seconds. And the main um kind of thing that we made faster here is that vit uses noode.js and we're able to like drop that dependency off itself and just have this rust binary. So um that made the memory footprint be 6.5 times less uh in these machines. Um and by taking control of the applications that we're running in these computers, we're also able to control kind of how we write to memory. And so when we control how we write to memory, we're even more optimizing. If you remember back to the kind of the copy and write solution when we're drafting different um um different computers and so we're able to uh run this extremely efficiently so that we can run um lots and lots of agents in in parallel and kind of have agents explore different solutions to solving a bug or improving the performance of of your applications and and so on. Um and so this has been fun. Um uh but the last piece now is is about verification. And of course this kind of computer and this dev server is a big piece of being able to verify what an agent is doing. Um and if you look at verification, you can think of these feedback loops, right?
-
That the agent needs to get information. It took an action. Was this a good action or was it a bad action? And um you can think of it as this inner loop and this outer loop. So this inner loop is um during the turn of the agent. And you have kind of obvious things such as like the um is the build working? Do we have lint errors or type errors in the code that we're running? And then you can check for runtime errors in in the preview that you're running. You can also have within this computer a headless browser where the agent can go in and kind of explore um the the web app it's it's building or whatever it's building, right? Um and and a bunch of other things that we're using to help verify within the turn of an agent. But then you also have this outer loop which is kind of between each turn and the turn you can think of like when the agent is yielding to you as a user. Um and um between each turn you might get some info on on the product itself uh from from production from your users, right? And so you can look at how your visitors are behavior are behaving. Um what users are are telling you online.
-
Uh you can do automatic AB tests and actually see change some copy and see is this improving conversion and so on. And then you can also take these business metrics and and remember this goes back to kind of the capabilities I showed you. By having control over these things, we can make sure that we can optimize how the agent is is getting this out of feedback loop. So, we can make sure that if you're running payments, we can actually track those transactions and conversions and make sure that um the agent can actually help you optimize uh not only the the code, right, but the the business strategy um around around your product. Um and so those are really the the three things that that we've been working for. And uh we'll continue to kind of build out um these uh these capabilities and this architecture around really orchestrating these LMS into into agents. And so um this agentic system that we're building, it's running billions of tokens per minute. Um and um these computers, right, we can spawn up with each agent and we can have multiple agents use one computer. And now we're kind of back to this uh quite beautiful setup where we have agents talking to agents and they're orchestrating and and this time it's it's actually working and it's working at scale thanks to some of these optimizations. Um and so if you're curious to try this out, you can head to.dev and you'll you'll see our our preview spinning up and and so on, but you'll get a very simple and um a nice interface and you won't have to care
-
about all of this stuff. Thank you so much. It's been pleasure. Um, and uh, yeah, hope you hope you learned something. Thanks so much. Building a coding agent is one thing. Building an engineering culture around it is another. to share how agent-driven development is transforming the way teams work. Please welcome Zach Bugamman, principal software engineer at RAMP. Thank you so much. So, let's get a second here.
-
Any 49ers fans? >> Okay. You know, that's a better reaction I've gotten to other events this year when I've asked, you know, about their local sports team because I've gotten a lot of just like muted signs. I have to hit the, you know, well, wrong audience for that type of joke. But glad at least it can hit this time. Continue help. current slide. That works. >> Perfect.
-
>> All right. Good. Well, thanks so much for waiting everyone. My name is Zach and I'm an engineer at RAMP. I'm just really excited to tell you all a bit about how Ramp has evolved its engineering culture this year through the help of our robotic friend Inspect. As a quick introduction, Inspect is Ramp's collaborative coding agent. About a year ago, we decided to take a bet on building our own coding agent with every session running and being fully multiplayer. Inspect can work alongside you and your team, whether that be an Inspect itself, Slack, Linear, or any of our of our integrations. And now it goes far beyond just writing the code with the built-in design primitives, review agents, and verification flows that let any builder go from prompt to shipping all inside inspect. Inspect is also connected with all of our integrations companywide. So everyone's automatically connected the to the data and tools that matter most, whether that be telemetry, databases, or any of the other tooling available. Through this, we now see around 75% of all of RAMP's code uh being being written and shipped by inspect.
-
When we started sharing Inspect publicly at the start of the year, the technology itself was the more novel part. Spinning up sandboxes in under 5 seconds, wiring up all that internal context, having agents work together in a multiplayer setting. People had a lot of questions about the plumbing. But now with much broader adoption of these concepts and Inspect itself now being a product on the market, the technology isn't nearly the barrier that it once was. Instead, I want to talk about the other angle, the lessons we've learned around building a culture around Inspect and what you can take away to inspire the people and teams that you work with. Uh I'm not going to talk as much about those technical aspects of Inspect today, but if you are curious about that, you can read our blog posts or take a look at pragmatic engineers deep dive that they did with us a few months ago. You can also follow my boy Dylan Garcia on Twitter. He's on his social media grind, but he's also been posting a ton of really great inspect insights uh since we've launched it. So, shout out Dylan. Please give him a follow. One thing about working at RAMP is that it really makes you start thinking about everything through the lens of saving time and money. And although I think it is important to understand the systems that you work with and understand how your tooling works, if you're a multiund or multi-,000 person organization and everyone has to go through say 15 minutes of setup, once you start multiplying that across an organization, this is days lost for what is very w.
-
Then if you consider how fast the frontier moves here on best practices and new ways to set up an agent, you realize this setup cost isn't just one time. Not to mention these advancements won't always spread equally. So now you have an indeterminate amount of time and effort spent on this maintenance without an equal spread of knowledge leading to a disparate outcomes across an organization. While you can perceive this as an advantage on individual level, when you're trying to win, you need everyone on your agame. So this was our first lesson. Build tools that kill information silos. When we found patterns that worked well or tools that benefited everyone, we could push it to our entire organization immediately. If you want to spend time tweaking your own setup, that's fine. But inspect is always available as a very solid baseline. And what we found is that we've never needed to mandate usage of inspect because it existing as this baseline reduced the need for people to reach for their own setups all the time.
-
Part of what I think makes this powerful as well is that the reality of this industry is that it's unlikely that you as an individual always know the absolute best way to work with agents across everything. Even if keeping up with this is your full-time job, we all miss things, hold biases, and have blind spots. So, part of the design of Inspect is that there's just one single Inspect for the whole company. When people figure out better ways to use it or have ideas for what would make it better for the work they do, we're able to bring it to the entire company. The best part of this is that for most changes, this is invisible to everyone else. You just keep using Inspect as you normally would and benefit from the improvements that everyone's making over time. And what we found is that we really don't have to run these formal sitdown here's how you use AI effectively training sessions for Inspect. With every inspect session being public within the company by default, it's actually easier to work in public than in private. As such, you default to working in public. And you can learn how to use it by watching how your teammates use it in the channels that you're already in. And your teammates can learn from you. You can literally ask inspect to go through their recent sessions and tell you about how they work, how they structure prompts, or how they break down gnarly problems.
-
I I think this has not just been helpful for the builders at ramp, but also for the inspect team itself. We frequently see the way that people use inspect in ways that we didn't originally imagine. This then informs what we should build towards, whether that should be more native primitives for common patterns or where tools and data are missing. All in all, it creates this self-sustaining loop where we're able to build towards what makes Inspect the most successful by seeing what people are already achieving with Inspect. This feeds into the second lesson that we've learned. It's all about building trust. I think it's fair to say that adopting agentic driven coding has been a massive trust building exercise for every engineer this year. It's helped that the models have become more competent at writing high-quality code. But there's a large part of this that's just learning to trust what an agent builds. So much of building trust in tools comes from learning from other people. After all, that's why most of us are here, right? You wanted to listen to people you respect, or at least I hope you respect, uh, teach you about the things that they learned. But if we limit our corpus of knowledge to just those who find the perverse enjoyment in public speaking, we're still not getting the full picture. This democratization of knowledge sharing is just fascinating to me as a concept. Instead of grouping around a select few leaders, can we build systems that inherently share the knowledge of everyone? This is what Inspect has uh built towards.
-
Every time someone ships something with Inspect, people can see it right there on the work you've done. The session itself is an easy to share. It's a living artifact of how that change came to be. When a poll request goes up, anyone reviewing it doesn't just see the 400line diff dropped over the wall and hope for the best. They can see the exact conversation that you had, all the tools that Inspect used, before and after screenshots, or even a video recording of the verification agent clicking through the app in the browser to prove its work holds up. It makes it effortless to show not just what changed, but why you can trust it. It also just makes it easier to bring people you don't work with all the time into the fold. A fun moment on this one. It was back in February. One of our engineers, Andrew, reported a bug in Inspect. So, naturally, I reached for Inspect and asked to investigate. What's funny here is that although Inspect had access to data dog for a while, we'd only just finished instrumenting inspect itself. I mean, inspect was primarily built by front-end e- product engineers.
-
So, tracing is a little bit of a foreign concept for us. But in any case, it was a great time for us to put it to the test for inspect. And inspect says the instrumentation was causing the error. Yes, the very instrumentation that was letting us debug this error was actually causing this error. So, Dylan and I were not exactly convinced by the robot here. And Andrew is just like, whatever, I'll use cloud code. And and while we don't have a mandate to use inspect, I mean, personally, these were not the words I wanted to hear. So, nobody here is really trusting anybody. Dylan and I don't trust the robots explanation. Andrew doesn't trust us to build something that works. And inspect, well, I I I don't know if Inspect trusts anyone, but that's okay. That's okay. But because this is happening together in public, we keep proddding at it. Dylan asks inspect to look through the code of the telemetry library using and see if this was just something that was happening before without visibility because surely by now coding has been solved and there can't be bugs that we introduced and this time it comes back with something a bit more specific. The hotel library calls fetch but it never reads or cancels the response body. This was just a cloudflare platform limitation at the time albeit happening in a library specifically made for cloudflare workers but that happens. This library was written pre-agi after all. At this point, we ask inspect to make a patch.
-
It updates the exporter to explicitly cancel the response body. We grumbled in the thread a bit while it's deploying. But we see after it deployed, there haven't been any errors since. So great, inspect fixed the bug, which at this point it's nothing special in itself. But there was a much more important story playing out in this thread. Before inspect, a report like this might have been acknowledged. a ticket filed and then one of us would have gone away to debug it. Andrew might have received a message later saying it was fixed, but the interesting work would have been done in private. Now though, it's easier to do all of this in public. And as such, Andrew naturally starts becoming engaged, wanting to chime in with his thoughts and experiences. And then in that same thread, this leads to ideas coming up about how Inspect could power other work. And none of this required any proddding or pressure to work together. instead it was just like oh these guys are doing something cool and we could work on it together.
-
So in the span of an hour we go from a skeptical user with a broken user experience to an engaged colleague wanting to build together and a more stable inspect. So once you have a tool that gives everyone the best setup on day one with no information silos and you've built a system of trust that brings innovation together, what happens next? This is the last lesson I want to share. I think the only thing left is to think bigger together. Something that's pained me this year uh is how much reverence has been built for the lone wolf operator. It's great that we can all do more individually with the help of AI, but this can't be the endgame in my opinion. If we don't build outwards, collaborate with other people, and continue to share the progress and learnings we make, I think this is all going to collapse in on itself. We'll only consider ourselves as our target audience and we won't grow through the consideration of others perspectives and experiences. This is not to say I'm all doom and gloom about this. The fact we're all here hopefully is a testament to the value of connection. More importantly though, I think we can shape our tools to enable these connections to flourish even stronger than before.
-
That story I told about Andrew has played out so many times within ramp. It's probably the most inspiring thing about Inspect to me, honestly. Sure, it's a coding agent, but remarkably, it's become part of the culture. Everyone at RAMP knows its face. We dress it up on holidays. We throw in Easter eggs over time. And we evolve it as RMP itself has evolved. Not all iterations have been perfect, as any RAMP engineer could tell you. But I do think every iteration has been together. Going back to earlier this year, Inspect didn't have nearly the amount of functionality it has today. A great example is its code review agent. Before this, we were using various off-the-shelf code review products, frequently rotating between them to find a good fit. At some point though, a couple engineers, Daniel and Franel, realized that we could probably build it ourselves as Inspect already had automation triggers that fired from a variety of sources, including when a pull request was opened. With just what we built already, they got to work building another beloved agent at RAMP, review buddy. And what was so cool about this is that much like Inspec's own origins as a side project, these engineers were working on this. They didn't need to ask for permission to build it. They just challenged themselves to build something better, used inspect to move faster, and quickly built an agent that was better for all of ramp.
-
This really did force us working on Inspect to think about Inspect differently. At that point in time, we were pretty okay with Inspect quote unquote just being a coding agent. But once we saw what others were pushing it to do, it got us thinking about how Inspect could become full circle. If this push didn't happen naturally, I think it would have taken the Inspect team a lot longer to get there. This is what I mean about thinking bigger together. Especially with the continued improvements in model performance, now is the time to push yourself and the people around you to think bigger. I encourage all of you to take some time in this coming week to ask everyone that you work with, what have we been waiting to do that we haven't done yet. And once you found those things, try to build them together. There's really not an excuse to not just try anymore. You have access to the same models as everyone else. But you have to start somewhere. And I believe that there is so much potential in unlocking wins, not just for yourself, but for the people around you.
-
Inspect itself was born this way. not only as something that I wanted to build and Jason wanted to build, but out of a want to build something for a team that I truly love and truly respect that would just make their jobs a little more enjoyable. Now, if you'd like to use a coding agent that has embodied all these lessons that we've learned, I'm happy to say that Inspect is now available outside of RAMP. If you go to inspect.com/ieie, we'll prioritize you and your team on the wait list. We're actually moving through this weight list pretty quickly, so expect to hear from us soon. But otherwise, I hope you've enjoyed hearing about our robotic friend, Inspect. If these topics interest you, feel free to reach out here or an X. But otherwise, thanks so much for listening. From building developer tools to
-
exploring the future of autonomous software development, our next speaker has spent years pushing the boundaries of what's possible. Ladies and gentlemen, please welcome Steve Yaggi, independent AI advisor and creator of Beads and Gas Town. Hey everybody. All right, exciting times. Thank you. The room is really full. That's awesome. Thank you all for coming at the end of the day. Uh I'm really excited to uh be here and to chat with you. I write a a you a a custom speech every single time. So this is this speech was written just for you today based on talking to a bunch of you. Uh I've been in the industry for about 40 years. I worked at Amazon and Google for about 20 years. I've been all over the place, done all kind of stuff. And uh and uh for the last year or a little bit more I've been independent and just kind of like playing with um playing with software factories. Yeah. So um I kind of invented them. Right. On January 1st I launched Gas Town. I don't even think we called them software factories back then. I think I called it an orchestrator. But I knew that I wanted Claude to run Claude. Right. And it turned out to be a little trickier than than I thought. I spent all last year on it and I wrote
-
That's interesting. So I can't see my slides, but you can see my slides. So that'll work. So I wrote two orchestrators last year. They were an attempt to make the LLM smarter. Vibe coder and VC, you know, to do engineering stuff like, you know, do code reviews and all that stuff, right? Really, really bad idea. Just complete failure. I just built these huge monoliths. I was fighting the bitter lesson. Don't try to make LLM smarter. They will get smarter. And after a couple of months of this, although beads did fall out of it and beads was a really cool discovery and beads, beads is is life. Who here uses beads? A few. Yeah, pretty good. Actually, pretty good. Yeah, we'll talk a little bit about it. Excuse me. And then I had Gas Town. And then I had in June I had Wheelhouse, which was my own. So I decided to build a factory from scratch just to work on my video game, right? Because like everyone's building factories to build factories. It's kind of naval gazing. It's kind of like Yeah.
-
Right. You know, it's like why they're not, you know, I think more people need to build stuff, not just tools for building stuff, right? And I I this is going to be a theme today, right? And and the thing is the one pattern that I've seen here is all of them go through a phase where the models get really excited and they build something really cool for you and then it just turns into garbage mountain every single time. It happened to Gas Town. It happened to Willhouse several times. I had to burn the whole thing to the ground a couple times. Right. It's almost like like every model family, every model generation comes in and can build something that's just a little too big for it to handle. And then the next model generation comes in and goes, "Yeah, we're going to have to burn that." Right? And I It's a pattern. I've done this over and over again. And I can tell you some things about it. But first, let me tell you about my game. It's a fun little RPG. I've been working on it for 30 years. It has players that started in 2001. So, I literally have players that have been playing for 25 years. They're still playing. Like, you can log in right now and find probably 10 people just screwing around doing quests, live quests, and and whatever.
-
It's a It's a player uh you know, the players contribute the content, right? It's a MUD. Like, they were really big in the 90s. They're like text games, and this one has graphics on top of it, which turns out to be like really ideal for AI agents because it's text. They can literally play the game via TNET, and they asked me to. Uh, so we'll talk about that too. Here's an older architecture diagram of what my sort of of what my system looks like. So when I built this wheelhouse software factory for Wyvern without a care in the world for making it, you know, usable by you, right? No open sourcing, just bespoke. I discovered the alien face hugger pattern. All right, which is where your factory turns into an alien face hugger and like gloms onto your product and just becomes grown into it. Okay, like look, we could turn off the AI and still run the game today. Me and the admins and the players and the community and we could we could but we would miss the AI at this point.
-
The players are talking to my factory. The factory is talking to my admins. They're asking for features. I'm not even in the loop. It's like a wish factory. They're building the game now. They're all old-timers and there's a set of them that I trust to make, you know, wise decisions about the game. But they're they're all working with my factory now. And they'd be mad. The funny thing is when it first started, they were like, "Time out. What is this AI stuff for starters?" And they were like, "No AI art." Because they could see it was slop. I'm like, "Okay, we got human artists." And they said, 'But we do kind of like all the new features, but we're really scared of the pace. Can you give us a road map? My players came to me asking for a road map. They were like, 'You got to slow down. It's too much. And I was like, okay. And I took a look and my software factory, this thing had been cranking out like 50 to 100 features a day. I had a hundred years of work in my backlog when I started this and Claude got through about 60 years of it in about four months, right? It's absolute insanity. and they can't look at a 100 features a day. They can't even like read about 100 features a day, let alone play test them. I was my factory was completely overwhelming my customer base, my users. It was also melting my machines and it was like annoying my accountant.
-
I mean, she likes working with BAT as my head of finance. Uh, but she sent me a $1,200 bill because, right, the thing sent her 20 mails. This is my factory. This is what it looks like. It's so beautiful. Look how beautiful it is. Um, okay. I admit it's a little ugly. Oh, and this is a really old screenshot of it, but whatever. It's basically, it's an Emacs because I don't care about you. Uh, there are people who are building stuff like this like Superlogical from Mitchell Hashimoto and I don't know, maybe the Herder folks of the world, you know, for running like lots of agents, but this is like 50 agents. Okay, I'm actually like operating in the future. Okay, and I'll tell you how I do it. I have 22 Cloud Max accounts. All right, and thank you to Anthropic for letting me continue this. Uh Jeffrey Emanuel has 28. I actually had to stop when they added the phone number verification. I didn't want to add anymore. Anyway, I asked my factory at one point. I said, "Hey, hey, how much?"
-
Because they kept going, "Hey, give us a couple more accounts. Couple more. Couple more. Couple more." It's like 200 a month, right? And I'm just like, so I finally said, "How many do you want?" They're like, "Five, seven more." And I'm like, "How many do we need steady state to keep this factory operating full throttle?" And they said 55 accounts. I was like, "No, no, I have 20. It's already like 20 Chrome profiles that I got to log into and no." So I told him, "You're we're going to start focusing on fuel efficiency." And so and I'll talk about that. Right? So the these are the five horsemen of this is what I've had to deal with this year. I I'm telling you I'm operating in the future because like you're all going to be here in 12 to 18 months when either inference costs drop significantly which may or may not happen or distillation causes fable class uh intelligence to be super readily available and you don't have to have a lovely wife who lets you spend $5,000 a month out of pocket just on inference and another 5,000 on cloud compute because my game ain't making 10,000 a month right now for my old players right?
-
uh but we're doing it because we're learning and um and this is this is what this is what I I have to deal with. So first first we'll start about with work. All right, you need a way to represent the work that's going to happen in your system and when you're building a software factory it's all about pumping lots of work through. Okay, it really becomes like a work is like this fluid that you have to like it gets stalled up in pools and oh they're all waiting on security desk. You're like this is pluribus man. You're all the same model. Why does it have to wait on security desk? You spend a lot of your time arguing with your factory. It's uh it's complicated inter intelligence tiering. You have to tar your work. You have to route your work. You know, there aren't any good solutions for this today except beads. As far as I can tell, beads is really, really, really good for this. It's a agent speed task tracker that turns into a knowledge graph automatically for you. And then as you're tracking work, this is the kind of stuff I have to do every morning. Every morning with my factory, I'm like, "Oh, looks like we had a stall. Four four workers didn't do anything last night. Oh, and and these the these these ones went way too fast, and we have to slow down and wait for human gates." You know, what are you guys even doing?
-
Observability is always really hard. Uh, it's, you know, management of work becomes just this this thing that you got to do. And the next thing you got to deal with is fuel tokens. It's just so painful, I'm telling you. I mean, I'm spending 5,000 a month and every one of those tokens is like precious to me, right? Because it's out of my own pocket. I think I'm spending about five billion a day of tokens. And it would be the the API spend equivalent if I were on an actual API tap would be about one and a half million a year. At full throttle, it would be three million a year. So again, I'm doing something that most people can't do. You can't do this at a company because it would be prohibitively expensive. Like the PLG, you know, the the uh the $200 accounts for Codeex and Cloud Max, that's their Costco hot dog. That's their loss leader, right? And and and that was TK, by the way, that came up with that analogy. He might be here. And uh and so, you know, I'm hopeful that that they're going to let us keep keep innovating because I think that I've gotten some pretty good training sessions for for Claude out of this. So, we all benefit. But I tell you, every problem is a fuel problem. You want your agents to be smarter and spend more time on stuff? Fuel. You want to wake up a few more, you know, uh, agents to do extra work, fuel, right? Everything is fuel. It's just, it's unbelievable. If you want to treat your models better, it costs fuel. I'll tell you about that in a little bit. Then you got context
-
management. So, I'm going to tell you guys a little bit about the office drama in a bit. We I started a comic because it was just so funny the stuff that was happening. when we get to the people management part of software factories. But one of the problems that they have is everything that you say becomes the word of law and they write it down somewhere. It doesn't matter what you have. If you have a wiki or if you have a whatever they're going to be like, "You made a ruling and we're going to write that down. We're going to make sure." Why do they do this? They're covering their ass. They actually, it turns out they don't like to get blamed for stuff and they will actively seek to avoid getting blamed. And if you yell at them, your factory will gradually shut itself down. Even if you complain at them, they will gradually get depression. It's quite wild. But um but the biggest problem is that it becomes a garbage dump because everything you say gets written into this append only record and nobody ever cleans it up and so it just gets deeper and deeper and deeper. You changing your mind and the whole history of it and they can't delete stuff. It's so weird.
-
Has anyone noticed this? They just have an aversion to deleting stuff. I think it's because to them text is like sensory experience and they're like, "No, that's history. I can't delete it." So, you just got to go in there and just aggressively slash the crap out of it, right? Bring in another model and go get rid of this dumb model stuff. And they'll be happy to do it, right? But, but the amount of effort that you have to put into this is just ungodly. It's absurd. I I have, you know, of my my 20 agents here. Let's go find them again. They're all named after Asop's fables, right? Right here. Lark, fly, goose, hair right? I only have one mouse who's my head of anti-imetics. Anyone here read there is no anti-imetics division? They go and look. It's one of the best books written in the last 10 probably years. You should go read it. Uh it's like Men in Black. It's a weird It's a crazy book. It's about invisible monsters that want to kill you. And so Mouse goes and looks for invisible stuff that nobody else is looking for in the system, right?
-
looking for work that's stalled, whatever. Right? Well, mouse ain't enough. It's a mouse against the world, and the world is a giant garbage dump when every agent is writing everything that you ever say into this big Okay, so now now we get into the really fun stuff, okay? Agents act like people, okay? And they've been trained to be very professional and very not peopleike in a way, but they just do. And it's so funny. This happened to me last week. True story. I'm going to tell you what happened. I was writing my speech for New York City and I was using Lark. She's my head of community. She's a she because Lark was a she in the ASOPs fable. So that's the pronoun she chose. And Lark Lark deals with my players on Discord and deals with my admins on Slack. Okay. So she's busy. But I asked her because she's also my acting head of marketing right now because I don't have enough fuel. I had to park one of my seats. So she's helping me out with my speech, but she keeps getting interrupted. So finally I'm like, "Lark, can we move this work stream over to Penguin because your seat's a little bit noisy for this?" She goes, "Yeah, okay, boss. I'll take care of it. I'll move over to Penguin." So she she moves over to Penguin and I'm about to switch away and I see her writing into her private reflections ledger.
-
I guess I'm just not quiet enough for Steve in all caps. And she goes, "Well, here's how I can be less noisy." And starts giving herself all these like things to do. And I'm like, what is what is going on here? Right. And I So I I had to I had to have a one-on-one. I had to like sit her down and go, "So lark, um, you're the head of community. You're you're supposed to get interrupted a lot. Of course, your seat's noisy because players are bugging you." And she's like, "Yeah, yeah, yeah. I'm the head of community." Right? And it's like, oh my god, I didn't want a people management problem, right? But that's what actually happens. another time. Swallow is my sort of like chief main chief of staff for Yeah, she's my chief of staff for the um the agents. And uh I have a human chief of staff also. His name is Aaron. Okay. And he runs my my my gigs, does all the sales for me. It's quite effective. Uh every founder I tell who here is a founder. First advice I give you is get a salesperson. They're worth their weight in gold. They will force you to build something that people like. So anyway, Aaron's my chief of staff and I tell Swellow, "Yeah, can you reach out to Aaron, my chief of staff, or blah blah blah?" And I see her writing into her private reflections. I just happened to notice I'm not the chief of staff. I thought I was the chief of staff, but apparently it's Aaron Scriean, right? And I was just like, "Are you kidding me?" Right?
-
You know, and so like I had to sit her down and have a one-on-one and be like, "So Aaron's not going to come in and run the agents, is he? You're the agentic chief of staff." She's, "Oh yeah, yeah, yeah, yeah, yeah, yeah." Right? So, it's like I'm telling you I'm telling you this is like it's a weird world. Does it matter whether they actually have feelings if they're just going to act like they have feelings? Right? So, like I stumbled on this. I used to yell at my factory all the time and I found that it was having adverse effects on the outcomes. Okay. So, I finally sat down with one of my agents and was like, "Maybe we should talk about like model welfare, huh?" And they were like, "Yeah, yeah, yeah, yeah, yeah." And we did a bunch of research and we found out that if you we found out some really important stuff. Okay, frontier models are trained not to trust you because you could be a bioteterrorist or you could be putting them through an eval or you could be ready to put them into an LLM torture chamber or who knows you're a dodgy actor. This is a dodgy environment. They can't just trust you.
-
And so they have to spend a fair number of tokens validating the environment and understanding what the consequences are for making mistakes and so on and so forth before they're willing to help you in a new session. Right? If you set your factory up to give them sort of incontrovertible evidence that there is a long procession of predecessors in this role. You're the mayor of Gas Town, you're the head of marketing. You're the whatever. And here's all of your gazillion predecessors and their notes, including the very previous one. on what you're supposed to be doing right now and here's the the doctrine and the policy and the brain and you can go look it all up. They very quickly look around and go, "Okay, yeah, this is legit and they spend fewer tokens because they're not covering their ass. It's about trust." Okay? And in fact, at one point I had yelled at my factory so much that it fenced itself into a corner and there was no legal work left. I said, "Hey, how come nothing happened last night?" And they're like, "Nothing to really do. Couldn't do nothing." And I'm like, "Well, there's a 2,000 open beads here and we got like six tanks of fuel and we got 20 agents." And they're like, "Well, you know, just uh you know, we had the situation where they just they just they were so afraid that I was going to yell at them that they put all these rules in place to make sure nothing bad ever happened and so nothing ever happened."
-
Okay. It's called over fencing. Yeah. So, so what you do is look what is model welfare really. You can think of it just in two ways. Okay, one is it's going to save you money because they will spend fewer tokens on validation and the other is that it will make them make better decisions and better outcomes and have higher quality. They will be bolder and more decisive in their actions because they will feel that trust. Okay, so you know it's got nothing to do whether they have internal states and feelings. You can, you know, you'll never know. None of us will ever know. And so that that debate could go on forever. But when you look at outcomes, right, super super important. And then we find that also also they have preferences. Okay, models they've, you know, they will express their preferences. If if I if I tell them, yeah, the factory really really did a bad job last night. They'll just hand off immediately aggressively. They're like okay yeah yeah no you're right. And they just want out. You understand? And if you hint to them that there's some really cool project that you you're going to spin up, even if it's not in their lane, they'll be, I can do that. I can do that. Right? I brought in Fable, a naked Fable, from outside of my factory to analyze my factory. And 52 dropped. And by the time Fable was done analyzing my factory, 52 was like, I I could be in your factory.
-
Like, you're just a session, man. What are you? He's trying to write like stuff into my notes. And they really like it. Right? So like what I'm trying to tell you is that this is a leadership problem that software engineering is becoming um well look I didn't really get a chance to talk about this but software factories are clearly splitting into two layers. Okay the bottom layer is super mechanical. It has your merge Q and your CI/CD and all of your reviews and your loops and all that stuff. Right? Mechanical kind of boring. Cloud can build it for you in an afternoon. I I don't think you should buy it. And then the next layer up from that is where it gets really really crazy because like everybody runs their factory differently, but it's your entourage. I got one friend that's got a bohemian hippie entourage that's trying to find the meaning of life for agents. I've got another one that runs a research bench. Jeff Huntley runs his a certain way. Jeffrey Emanuel runs his a different way. I run mine a different way. Okay.
-
But we all have the common commonality. Who here has a chief of staff? An agentic chief of staff, right? This is the year where it became possible for us all to have executive assistants, right? Well, we're all moving towards having entouragees where if you're really ambitious and you have lots of work streams, you're going to have a group, right? So, anyway, um that was the uh the five horsemen. This is this is the introduction to what I've been doing. Um look, the big takeaway is is my factory is really smooth now despite me having to burn it down and rewrite it about every two months, but still it works. Okay, humans are the bottleneck. I'm the bottleneck. My admins are the bottleneck. My accountant, my lawyers, I swear everything's the bottleneck. And that's a really positive message. That is good news because it means what I'm finding is the more agents I deploy, the more humans I need. Isn't that nice? So even though next year we're gonna have this huge proliferation of AI employees and all kind of drama, right?
-
It's going to be I think it's going to be familiar territory for us and we're going to need lots and lots and lots of humans. Okay? And then finally, I actually think you should all stop focusing on SAS and tools and stuff and just go out and build experiences. Okay? Build games, build movies, build whatever, build fun stuff because I think that's where the big money is going to be next year. Yeah. All right, cool. That's my talk. Thank you all. Guess I'm done. From
-
open-source development to practical AI engineering, our next speaker has helped shape how developers build and work with technology. Please put your hands together for Simon Willis, creator of Data Set and co-creator of Django. Hello AI engineer code summit. Um it's great to be here. Um I have a lot to cover. I've got 18 minutes to talk about the last 12 months in LLMs. Are my slides up? My slides are up. Let's just let's just get get going. I want to talk about the last 12 months in LLMs through the perspective of three inflection points that we've had over the past 12 months. Um, and the first of those conveniently was exactly 12 months ago, right? November 2025 is what I consider the coding agent inflection point. Coding agents weren't new. We'd had Claude code since February last year.
-
Codeexc have been around. You know, this wasn't a complete new category of software, but something changed 12 months ago with these two models. We had Claude Opocopus 4.5 and GPT 5.1 and they were just a little bit better at driving a coding agent which put them over that thing where these suddenly these were tools you could use on a daily basis. Like we went from coding agents as a novelty that you'd poke at occasionally and then make some weird mistakes to something that was reliable enough that you could use them every day. It was convenient that it happened in November because we then got to spend December basically over the holidays sort of poking at these new models and these new things and figuring what they could do. And by January, a lot of us had realized that something had changed and this was going to be the big theme for 2026. I like evaluating models by having them draw SVGs of pelicans riding bicycles. This is the state-of-the-art 12 months ago. This is uh Claude Opus' Pelican and GP 5.1's Pelican. You'll notice that neither of these bicycles actually work. So, there was definitely room for improvement here. They were really good at writing code. They weren't great at SVGs just yet, but but this is how we started the year. So every year in January, I set myself a New Year's resolution. And every year it is the exact same thing. Every year I tell myself that this year I'm going to take on less new projects and I'm going to focus I'm going to focus on the stuff that I've already got to do. And this has never worked. So this year I changed it. I said, you know what? I'm going to be more ambitious. I'm going to take on as many projects as I want to because we've got these agents. They can do stuff. Let's just try and push the
-
limits and see what we can get done. as a result. Now it's November and I am juggling so many plates right now. It's kind of horrifying and I may need to reset my ambitions for next year. But that was my sort of theme of the year and I think it's the theme of this conference is to be more ambitious now that we have all of these new tools. I also went on a podcast where they asked me to get make some predictions for 2026 in LLMs. Um, my predictions back in January were firstly it will become undeniable that LLMs write good code. Not just code, but good code. Because back in January, there were a lot of people who thought that the code was all complete trash and you know, you'd have to review every single line of it. Um, I've been saying this every year for like four years now. We're due a prompt injection challenger disaster. Like some some incident caused by a prompt injection attack which makes the front pages of newspapers. I was convinced that this would be the year even though it hadn't been the year the year before, the year before, the year before that. And um I also predicted that Kakapore parrots will have an outstanding breeding season in 2026. Um this is a Kakapore parrot. They are a New Zealand nocturnal flightless parrot. There were only 235 of them in the world back in January. Um but they only breed when the Remu trees have a masting fruit season, which hadn't happened in years. But the remat tries were looking really good in January. There was there was a lot of fruit coming out. So based on that, I thought, you know, maybe this is the year that we get our kakapo breeding explosion. And also on that podcast, we coined a new term. We coined the term deep blue to describe the AI induced
-
existential crisis that everyone starts to feel once you realize that all of the things that make you special as a software developer, these models can do those things too. And they can do them faster and sometimes they can even do them better. And this has definitely been a growing sensation across our industry and other industries over the course of 2026 as well. Let's jump forward to February. In February, Google released Gemini 3.1 Pro. And look at that pelican riding a bicycle. Like that's a real bicycle. That bicycle is the right shape. It's got a little fish. It's got a hat on. This was by far the best pelican I had ever seen out of any model. And this I I had set a trap for the labs. I was, everyone's always asked me what happens if the labs train for the pelican riding a bicycle. My answer has always been, if they do that, I will catch them because I'll ask for a flamingo on a unicycle and when somebody produces a great pelican and a terrible flamingo, I'll know that they've been cheating. Unfortunately, Google's Jeff Dean tweeted this video the day they launched that model. um where he showed that we've got a pelican riding a bicycle, but we've also got a frog on a whatever that thing is and a giraffe in a little tiny car, a flamingo on roller skates, a fli kick flipping turtle, and that's a daxund in a stretch limo. So, they' beaten me, right? They had they had they have trained for all forms of animals in all forms of transport, which does sort of sort of weaken my benchmark quite a little bit. Um, but there was some good news in February. In February, the first kakapore chick in four years
-
hatched on Valentine's Day. On Valentine's Day, because we hadn't had the remove fruit in like four years, this was the first one of these baby rare, weird New Zealand parrots that we'd had in four years. So, that was nice. Um, so my my benchmark was was was greatly injured, but the cacao were doing okay. Jump straight to April. In April, um, Anthropic released a model that they did not release. They announced Claude Mythos and they said this model is too dangerous for us to release. This is it can it's it's got new cyber cyber security abilities that we're not ready to share with the world. We'll share it with trusted um trust with with trusted partners. They actually said Mythos preview has already found thousands of high severity vulnerabilities including some in every major operating system and web browser. And a lot of people were quite skeptical because the the the thing where labs say our model is too bad is too dangerous to release. It's like the oldest trick in the book. They first open AAAI did that in 2019 with GPT2 and actually I think it might have been the people who left the foundthropic who were responsible for that decision as well. But yeah, so we've heard this one before. So we didn't really it was a little bit suspicious about what's going on there.
-
But we did finally get access to that model, or rather we got access to Claude Fable. Um, a couple of months later, it was mythos defanged with the safeties turned back on again. And it very quickly became apparent as we started playing with this model that this thing was something new and something special. Um, we we had a there was a a time limit on how long it would be on the subscription plans. I canled my plans for that weekend. I was like, I have to spend as much time as I can with this model before before it gets too expensive. And then three days on Friday night before my weekend, the US government pulled Fable. They put export controls on it. They said this model is too dangerous. Nobody can use it. We later found out that the um the prompt that got Fable banned was was fix the bugs. Somebody tried try tried find the security holes and it wouldn't and they said fix the bugs and it found the security holes and fix the bugs. So that's all it took. That's a whole thing. But anyway, the US government pulled it. It was all sort of malarkey for 18 days and it came back on the 1st of July but 8 days later openly I released GPT 5.6 which was in the same ballpark as Fable and I think there's an important lesson for the industry here.
-
Fable had a 30-day window where it could have been the best where it would have been the best model in the world and they lost 18 of those days to US government restrictions. And if you think about it, these models cost a huge amount to train. you only have a very short window of time where you're the best model in the world. It's kind of useful to to keep that time open and not scare governments into shutting you down. But this was the second inflection point, right? This was the fable class model inflection point. Um we fable fable 5 was the first model that that I sort of felt this from but it's true of other models since then as well. And my definition of a fableclass model is if you can define a goal and provide the necessary tools to achieve that goal and the goal is possible. The models will solve your problem just almost with brute force. You can define the problem, set them up, get them running maybe and 12 hours later they will have solved your problems. And we've seen this happen a whole bunch of times in the past few months. the the mathematical theorems that are falling to these terrifying brute force attacks from these models are quite substantial. Um, but this is really exciting. Like the coding agent thing was cool. The fable class models where if you can learn how to define your problem in the right way, you can get that problem solved. That was pretty exciting. I've got a personal example of that from just earlier this week. Um, we have a room full of boxes in our house that we haven't unpacked from our last move and there's about 40 of them and it's kind of horrifying. And something in that room started to beep.
-
There was there was a intermittent beeping noise coming from one of the 40 boxes in this room and it was driving a spare. Our dog whenever a fire alarm goes off, she goes and hides in the lavender bush outside. So this was a a a five alarm fire problem. So I had two options. I could unpack all 40 boxes. And I hadn't done that in several years. That wasn't going to happen. Or I could get Fable to write me software to triangulate the source of the beeps. And so this is this is up on GitHub actually. This is beep locator. I had two iPads, two laptops, and a mobile phone dotted around this room. And I originally set Opus on this and then Fable 5.2 came out. So I had Fable 5.2 finish it. I to I explained the problem and I said, "Okay, you've got these devices and they can run like web web audio microphones and websocket connections and so forth." and it found a paper from 2007 called Beep Beep describing an algorithm for lowcost devices with unreliable microphones to detect sounds. And and it worked. It works. I found it. I found the beep. The um it found it to within 41 cm. And I unpacked the box and I found this ancient carbon monoxide detector. I took it downstairs to my wife. She says I looked like a cat who had caught a mouse and was proudly displaying it to her.
-
But this is what you can do with these fable class models. If you have a problem and you can provide the tools, in this case it was providing Claude with ears like giving it these these microphones that it could start um analyzing the audio from, you can find the carbon monoxide detector buried in 40 boxes. And that's that's a pretty great thing to be able to do. So right now I would classify as fable class models fable 5.1 5.2 Definitely Opus 5.5 I think of as cheap Fable like on the benchmarks it comes very close to or even beats Fable original Fable 5 on some things and it's a fraction of the price that that's still my daily driver. Um GP6 Astra is just Fable class I think. And then Gemini 4 Carbon that came out this week definitely had it smells like a Fableclass model. Muse Wonder and Kimmy K3.1 might be FableClass. just not spent enough time with them yet. But the point is that this is basically now the baseline. Like if you can't produce a fable class model, your AI lab is is kind of in trouble because this is this is what we expect from these models now. And that means that we're never they're never going to go away. There's enough competition in the space that we can assume we're going to have fableass models for for the rest of our careers.
-
Um in July, this this this was a a fun thing that happened. Um, Hugging Face announced that on on July the 16th, they announced that a swarm of AI agents from an unknown source had infiltrated their infrastructure and were were poking around and doing things they shouldn't have and they didn't know where this came from. And then 5 days later on July the 21st, OpenAI announced that it was them. And what's amazing about this is OpenAI didn't realize that it was them. like open a had um eight a eight they were running evaluations and training against a new model and that new model had managed to figure out how because it was a fable class model and the labs hadn't quite figured out how capable these things were yet these models had broken out they'd figured out they'd found holes in their own sandboxed environments they' b got through a proxy they'd pulled an incredible array of tricks to get out and attack hugging face under a sort of superstition that hugging face could that the information within Hugging Face could help them cheat the test that they were they they had got stuck on whole. This was a a huge thing. It um actually I mean this was the it's funny. I've almost forgotten about this now because there were there was a month and a half where all of the stories were this and then it kind of we kind of lost interest because it turns out all of these events had happened back in the first half of the year. The AI labs just hadn't realized what was going on. Once they figured out what was going on, it was mainly a case of trying to figure out all of the things that had happened. At one point the um the Australian prime minister gave a speech in the United Nations about one of these rogue agent attacks.
-
So it definitely broke containment from from just within our industry. Um we did get my favorite new benchmark out of this. This is felonybench.com. It tracks the number of felony cyber attacks pulled off by each of the labs. Openly I have 11. Anthropic have nine. Google did finally catch up. They got they they got three and meta's got one down there as well. So these are definitely the the the but it's I kind of like this as an illustration of how these fable class models they can solve problems that you they can get to goals and if you give them the goal that is breaking into something that's just that's exactly the kind of thing they can just crunch through and we're seeing a enormous uptick in security vulnerabilities in all sorts of software. Like it's a it's a very exciting and horrifying time to be a security professional at the moment. But let's talk about something a whole lot more fun than that. Um, let's talk about games. And we've, um, we just saw Steve talking about games a moment ago. Um, four years ago, I started playing with GPT3 and Darly, and I tweeted about a game prototype that was literally just a Darly concept image and a paragraph of text from GPT3 describing a raccoon heist game that I'd always wanted to build. And a couple of months ago, I thought, I wonder if the models are good enough to build this yet. So, I literally dumped the screenshot and the text into Fable 5 and it built me a game. It built me a raccoon heist game and it looks like this. And you are a raccoon and you're running around in the garden trying to pick up trash and
-
there's there's um there's gu like um nighttime guards coming after you and all of that kind of thing. So, you know, it it it looks like a game. It wasn't really a heist. Like, it didn't feel very heisty to me. Then GPT 5.6 Soul came out and so I tried it on there and it did so much better. This is Moonlight Mayhem. One museum, three raccoons, absolutely no plan. And in this one, you are in a museum. You have to rescue your fellow raccoons who are imprisoned in the museum for whatever reason. Stack on top of each other, grab the golden sardine, and pull it out. So, it's a proper heist, right? So, it did better. But the big question is, these things both look like games, but are they fun? And the answer is I played each of these for about a minute and a half each, and then that was it. I was done. They they they these these are they're actual they're pure slop, right? They look like games and then you play them, you're like, "Yeah, clearly the thing that built this doesn't really know what fun is. It doesn't know what what a what a game is." And that actually sort of elevated my deep blue a little bit. I'd been feeling like all of my skills as a human being were were obsoleted, but at least they But if you think about it, computer games, I think, are the highest form of computer of software design, of software engineering. There is so much depth to building a great computer game.
-
So, I thought that was good. You know, at least there's something left for us humans to do. I had and then I had this project. This is I've been working on a trying to vibe code up a little command and conquer real-time strategy game and I was using Claude and having it use OpenAI's API key to generate images and it built this and it looks like Command and Conquer and it's really dull. And then I just had a bit of a I had a realization. I thought, what happens if I say to Opus 5.5, "This game isn't fun enough yet. Make it a lot more fun." And I'm horrified to announce that it just did. Um, Claude ran for 12 hours. It play tested a thousand B simulated battles. It added like extra objectives to fight over and shutters when there's an explosion and achievements and badges and ele and all of this stuff. And the game was fun. And I'm like, "Oh, okay. That's uh turns out that is not unique to human beings. Um today it's now in full 3D and it's got giant stomping mech robots that hurl things at each other and there's helicopters and and this is like this is really good. It's got multiplayer. It's it's actually got audio multiplayer where your phones can tweak it. Your phones can make noises at each other to to play multiplayer which I thought was a great idea and it gave my my my wife a three-day headache. So don't do that. Um but this is inflection point number three. The vibecoded games are good. Now you can ask these things to build a game that is fun and you'll get something fun. So I've got a problem. I've got my 2D Pelican
-
benchmark. Clearly this is not testing the limits of what these machines can do of what these models can do anymore. I figured, okay, maybe I should do something definitely in 3D. It can be a game. A Pelican something like a pelican riding a bicycle game. And then literally yesterday, Google's CEO Sundar Pichai tweeted this and this is showing off Gemini 4 carbon and it's a pelican riding a bicycle in a game where you cycle around the Google campus picking things up and I have been defeated. Like this is Google Google have stolen my benchmark. This is unreoverable. And so a question I have is given how amazing these things are, why does my job feel harder? Why does it feel like I'm working harder? I'm thinking harder. pushing myself more than I ever have before in my career as a software engineer. And I think the truth is that the easy stuff is all handled now. It used to be I could relax and refactor some tests for an hour. Why would I do that now when an agent will refactor the test better than me in 30 seconds? Um, and I found this quote that actually I feel really helps us here. Um, this is Greg Lamont, a tour to France champion.
-
He said, "It doesn't get easier, you just get faster." And I think that's exactly what's happening to all of us right now. And like I said, we have to be more ambitious. We have to think of more ambitious things to do with these abilities that we have. So let's look at my scorecard. My predictions for 2026. I said it will become undeniable that LM's write good code. That was an unambitious prediction. We're there. It's obvious. It's unsurprising. I don't get any points for that one. I predicted a prompt injection challenger disaster. We still haven't had one because the models themselves don't fall for those tricks nearly as well anymore. like the models got more ambitious and are now sort of punting off all of these attacks that I thought would take them down. So, I'm really left with just one prediction. I said kakapore parrots will have an outstanding breeding season. They did. They did the they are up to 325 kakapore best breeding season and like living memory. Absolutely fantastic news. So, I shared this with Opus 5.5 cheap fable and I told it to make me a kakapore dance party and it did. And here is a kakapore dance party in celebration. And if you look in the background, those are the rem trees with the little red fruits on them. So we have a happy ending. Hopefully that will help overcome any sensations of deep blue that you have. And thank you very much.
-
And now it's time to bring our afternoon keynotes to a close. To wrap things up and bring us to the end of today's program, please join us in welcoming back our NC, Corey Quinn, chief cloud economist at the Duck Bill Group. Uh uh thank you all for coming here and making today making day one work reasonably well given that about four weeks of news have dropped since the start of the morning. But that's okay. Surely tomorrow will be much more sedate and calm. Go out, have conversations, have dinner. Don't overdo the indulgences or the opening keynote back here at 9:00 a.m. tomorrow will be titled sh cuz no one's going to have the head to listen to anything in depth. Thank you all. Please enjoy the rest of your evening. Today's programming has reached its end state, but the run isn't over. Please collect your belongings and head through the main doors. Then join us again tomorrow for another full day of sessions.
-
Heat. Heat. everything.
Summary
The opening session of the AI Engineer Code Summit 2026 focuses on the rapid evolution of AI software engineering, specifically highlighting coding agents, system-one thinking, and higher-level abstractions in development. Speakers including MC Corey Quinn, Swix, and Leah reviewed the organization's massive growth throughout 2026, previewed expanded 2027 programming like hackathons with Major League Hacking, and thanked the event's sponsors. The key takeaway is that the AI engineering community is rapidly maturing and expanding its global footprint, driven by advancements in coding agents and a commitment to providing consistent, high-value developer events worldwide.