0:03Who's here for the first time at Defcon Vienna?
0:08Okay, wow. So many. So yeah, a very very warm welcome from the Defcon organization team of this year and also our volunteers. Thank you for helping us today. I wish you and all of us a great event. Lots of amazing talks and I want to present our keynote speaker. We are very happy to have him here. A detective from the early days and happens to be CTO from Arendelle. So up to you.
0:40Hello. Okay, so let's see if this works.
0:50So sorry for the last minute room switch. This device did not want to agree with the other one. And I had this sort of story recently where I like put a laptop onto what was a Citrix presenter solution in a at Rava.
1:15And it just didn't work. It just showed green. And I used my agent to figure out like what might have gone wrong. And I learned in the meantime that these Macs have apparently some encryption chip that sometimes on some devices doesn't work. And this is sort of an interesting thing is like you're you're there. Now you know the solution.
1:31And maybe if you give it enough power, it will also patch to present the display on the other side, but I didn't want to try it.
1:41I want to talk a bit about chanting insanity. And before I talk about this, I want to actually know sort of a temperature check of the room.
1:48Really two things. Who here considers themselves a programmer?
1:54And I would say this is basically 70% of the room.
1:59Who here using coding agents?
2:02There might be about the same number of people. So now I want to know like just raise your hand if you did not raise your hand before.
2:12Um of the ones that did raise the hand at the end so who does not consider themselves a programmer but is using a coding agent?
2:25Okay. So this was like five people at the end. Um there are increasingly number of events I go to where that number is very very large. Um basically where people are using coding agents or they think they might not even recognize them as coding agents yet that they're definitely not programmers.
2:43Um and I mention this a little bit because like at the moment depending on who you're talking to uh there are many different opinions about coding agents. Um and in fact the people that have not been programmers before but are using coding agents are generally the happiest. Um so I just want to [laughter] I want to preface this a little bit here because I'm coming from the background of 20 years of software engineering and um let's just say my path towards coding agents has been um
3:14Um I left my previous company uh at the beginning of uh the previous year um and I started a new one and initially the idea was not at all to build a company that has anything to do with AI. But then Claude Code happened and and that became harder and harder to justify.
3:31Um the company I founded is called Arendelle. We're in fact doing a coding agent but I really will try not to pitch this too much. Um we we basically work on a coding agent called Pi and we're working on an infrastructure layer below it called Pi Durable.
3:47Um but um I have been both writing on the Arendelle website and my personal blog sort of my journey of this. So if you want to read a little bit um in more detail then you will sort of be able to sort follow along on our path towards insanity. Okay. Um so I did 20 years of open source software, primarily in the context of Python.
4:06And the reason I really really like Python was that it was a language for humans. Uh, so uh I remember that when I became a Python programmer, the most popular choices, I think, for people in the open source community were actually either C or depending on which part of the community looked at Java.
4:23Um, and both of those languages for one reason or another didn't really feel like something uh that was really intended for fast iteration, let's say.
4:32Um, and then in the next 20 years I did like a lot of open source software um and I built um let's call this libraries or frameworks that um many other people built things on top. Um, and when you do that, one of the interesting things that is happening is that you're building a piece of software that really primarily exists to speed up someone else, right? So like they don't have to build that piece of software.
5:00Um, and that is one of the things that is completely breaking down right now because for a large number of things it turns out that actually building it from scratch is faster than using someone else's thing. And this really is because like it's the it's the human communication part that didn't speed up in any capacity.
5:18Okay. So I want to walk you through a seven-step process um that sort of mostly reflects uh the beginning of 25 to uh basically now. And one thing that you should recognize is that um my path towards AI did not at all start in uh 25. Um, I have been abstractly very curious about this um for probably four or five years before that and in part because I knew people that increasingly got more interested in it.
5:49Um, but despite my exposure to that I really didn't really feel like um it's it's really going to change anything in my life. Um, so if you if you rewind the clock back to early 25, the most common deployed piece of um AI coding solution was Cursor. Um there was also Visual Studio Codes, GitHub Copilot, Microsoft 365, whatever they are calling this now. Um but it it was really just like an autocomplete of sorts.
6:17And then towards the end of '24, I think like in in like November, December, there was an increasing number of people that were using Codex um not Codex, sorry, Cursor in what was then called the agentic mode. The agentic mode was basically rather than it just auto completing um code for your text editor, it would start to auto complete code for the purpose of running it.
6:47And I don't want to divulge too much into how these models work, but one thing that you really need to recognize is that that was an emergent behavior of both humans and machines in a way because if you took a model from the late '24 and you were to try to build an agent on it, and an agent for all intents and purposes is you write some code, you run some code, and then the output of the code that you run you send back into the loop so that you sort of make a thing here. If [snorts] you use a model from late '24, that did not really work.
7:15There was a lot of trickery going on that made that work. Um the reason we are all having coding agents now is because Entropic and Cursor had a very neat little data sharing agreement going on, and they started to realize that we should probably train models in the reinforcement learning environment so that they actually complete this loop.
7:34And so basically from early '25 to now, we are on a journey of these models becoming what I would call more and more agentic. So they they move from like we're we're producing some autocomplete code to the entire training process of these models is is geared towards um basically hill climbing up to a solution. And increasingly so at no regard for anything other than reaching that goal.
8:10And so, just keep that in mind right now that this was not just my personal journey of moving from well, this doesn't work to it does work. But it is also like the technology actually is making tremendous progress in those two years.
8:27So, pretty much every single point that's on here actually comes with a blog post if you want to read it so you have the entire context of this. But basically my view at the beginning of 2005 was and in particular I remember had a conversation with an investor who asked me how much more productive was the software engineer? And I basically like maybe 10%. So, that was the beginning of 25.
8:49And then in in maybe like February April I went around and I was trying to get some angel money. And one of the people I talked to was Peter Steinberger, a friend of mine. And he was at that point already full on not sleeping. And he hacked together something on top of Cursor to get rid of Cursor's 20 turn And then in like maybe a month later Claude Code released.
9:19And what you should remember about the initial release of Claude Code is the model that we had at the time was called Sonnet 3.5 and then very quickly Sonnet 3.7. And that was the first models that had a full reinforcement learning environment that was fully based on this idea of like you're going to continue until you succeed. And they produced horrible slop.
9:41Like the code that that came out of it was impressive. I remember that in May or in June I had it for the first time running for like more than 12 hours. And it did produce me an entire programming language. But you probably didn't want to look at it.
9:58But I really felt at that point this is this is going to change something. And one in particular thing that we all started doing that we sort of in this group of like really people that didn't sleep much is we we got rid of all the permission prompts. So like we just like let it run on our computers. Let let see what happens. Um because that was really the blocker.
10:15It's like there was no point and like pressing enter to select it. Please do it. Um so the the sort of the realization I wrote down is like I at that point I no longer was writing any code, but I was um I started to read a lot of code and I was actually over time a pretty horrific experience because code review is the least pleasant part of engineering. Um
10:39and also one thing I want to mention is like one of the other things that I really felt at this point for a very brief amount of time is that I have more time in my day because all the sudden everything went faster and I worked less. Uh that did not last very long.
10:54Um in uh September of last year there was the first time I had a service running that basically had under 10% of code human written.
11:06Um and I will say like in many ways that was slow because I think there are people that have been doing this way longer, but I felt almost like an internal repulsion to the idea of doing that because I'm I'm building a company. Do I really want to at that point have I don't know 100% of my code being written by an agent? That felt wrong. Um but it was very clear um that that we are on some sort of path.
11:31Um so anyways there was 40,000 lines of code. That took me I think probably like two two three weeks to build and most of the 40,000 lines that ended up were written many times over because what I was solving at the time for was a problem that I didn't solve before and so it took me a couple of iterations to to actually end up with the 40,000 lines of code that I felt good.
11:51Um in January um this was I think the peak of the first AI psychosis I think for a lot of people um was um the release of uh let me think. It was Opus 4.5?
12:08Was it already back then? Yeah it should be. Um it was the release of OpenAI 4.5 and and think it was GPT 5.2. And over Christmas, the the large labs in the US had this great idea of giving everybody free money. And um one of the other things that we already noticed rolling up to December is that whenever people have free time, particularly Europeans during summer, the the token usage on some of the routers went up.
12:36Um and and that was one of the first moments we kind of started to collectively realize that AI in their company because the company told them they should do it and people doing on their site on their own. So whenever they had free time, they actually started using it a lot. When they had to use it in the office, they didn't.
12:55Um and and there's a recurring theme here which is that this works really well in a one-to-one environment. It sort of breaks down in in groups of people because um spoiler alert, if you're going to throw someone else, I don't know, 50,000 lines pull request to review, they are just not happy. Um and but you are just going to skip that part if you do it yourself.
13:17So um in January, one of the things that um I really felt like we are getting there is that you having a test suite or a reference, like a very binary measurable reference thing, you can use that to build software that gets rebuilt from scratch against this test suite. So that was um in over Christmas, I basically built um a port of a templating engine that I had written in Rust to go.
13:44And that was purely based on you don't even have to match the implementation. Here's a bunch of reference tests that are basically golden snapshot tests, so you have input and expected output. [snorts] Um and I just gave it to the agent and and it did it. And for the most part, I think this finished within two days.
14:03And that for me was a really moment of reflection because like there are a lot of problems that exist that you can actually solve fully by giving it um a reference test suite. And this is actually going going be a recurring team because a lot of what's going on um where I would say the last six months is basically um a version of this.
14:20[snorts] Um in April um we finally managed to get friend of mine to work at Arendelle and we took alongside his pet project called Pi, which is now um a coding agent that we are uh actively maintaining and and developing at at Arendelle um because up to that point um a lot of us um basically had our little one-to-one conversations with our agents and we were just trying to really first stuff at the wall and see what sticks.
14:48Um and alongside having Pi we realized very quickly and actually Mario releases before us that um when you are targeting a community of really AI forward maniacs um the social contract of open source doesn't work. Um we had more agents making pull requests against Pi in the early days of Pi than we had humans making pull requests against Pi and that doesn't work. So um we just started to auto-close issues like Matt.
15:25Um and the last two points here really are maybe just for you to recognize maybe the speed up. In June, which is really not that long ago, um so basically four or five months ago I wrote a blog post and sort of a response to basically two developments that I really wasn't ready for.
15:43Uh one of which was um I don't know if you know who Boris Journey is. He's the guy that basically is the the the godfather of um of Cloud Code. He um he, Peter, and then maybe Steve Yegge and a bunch of other people in that community they go on podcast and they are like announce something crazy.
16:04And then uh everyone was like, how it doesn't work? Um and I also said it doesn't work. So I wrote this blog post. Um and in particular what I said is like this idea that we're all building loops, so we're just going to give it one prompt, but out of that prompt falls enormous amounts of work um just not ready for.
16:24Largely I'm not ready for it because the quality of the models that was around in June really didn't land itself to that much.
16:32But yet here we are um and I'm producing a a lot of code basically with a forget the fact so I don't know if you heard about like the agentic loop idea, but it's basically you produce some sort of inbox of tickets and you have a software factory pick it up and just execute on it, right? That's the that's the basic idea. It's like human idea comes in, software comes out.
16:56Um but for the most part 90% of what I'm doing, I would say in the last month or so, is basically working like this where idea comes in, code comes out. Um and that really only took four months. Um so it's it's pretty insane. And I I kind of want to show this graph. So this is number of commits of mine over the last 24 uh so this is like 12 quarters.
17:23And this is exponential. This is like the thing is like Q4 has almost as many commits as the rest of the year before. And if you sort of tally up all the years prior to that, you're lucky going to I think you have to go back probably to like before I became a manager at Century to actually get to a reasonable commit level.
17:45Now obviously this is in itself not showing anything because like I used to do different types of commits than today. Like some of that commit count might be inflated a little bit by how the agent commits. Um but I do want to point out that that this the graph is not supposed to go up because I'm actually not doing that much engineering there in That's not really my job description.
18:05And despite all of this um there are a ton of commits. Um so um this like it doesn't a ton of sense, but what you should kind of take away from it is that I really like this idea of um back pressure.
18:31Whoever has worked with me likes knows that I really am obsessed with the concept of back pressure because this is this problem that engineers have where they think like if they make the bathtub big enough, you don't have a problem. But the reality is like you cannot have an infinitely large bathtub, so eventually it's going to overflow. So for as long as the inflow of stuff is larger than the outflow of stuff, you're going to have a problem. And the only way to stop that is to reduce the inflow of stuff.
18:55And so my entire struggle over the last year and a half was to figure out like where actually do you exert this back pressure and where should you exert it?
19:03And I really felt like for an extended period of time that the back the the the problem here is me. Like I'm in there and I'm trying to review this code. And that that stopped being the case only just very recently.
19:18So there's a lot less code review going on in proportion to the amount of commits that are going in, but not because I'm insane, but because the models used correctly now show you that this is abstractly possible.
19:32That doesn't mean there are no issues, but the the bottleneck has now again moved a little bit away from initially we were code reviewing stuff and then sorry, we were writing stuff and then we were code reviewing stuff. Now the bottleneck is almost entirely human communication within a company. So we are still the bottleneck, but no longer on the code review part.
19:53And there there still is a problem of back pressure. And and and I don't necessarily know how to solve this, but it's it's shocking to me as someone who has been very vocal about it not working, having to recognize that we are in fact getting to the point where it's very hard to hold on to the engineer practices of of the yesterday. [snorts] This is an example project I want to give here.
20:17Both in terms of like I would never have built this even 3 months ago, to now I'm definitely going to say like that is a default mode of behavior that I would do as an engineer. Um, so Pi is a coding agent.
20:30I mentioned earlier a coding agent write some code really primarily for the purpose of running that code and going back into the loop. So the majority of code that a coding agent will produce is throwaway code. It's the single use plastic of software engineering because at the end there is a little bit of code that's being committed to the codebase, but there's much more code being written to invoke tools, to build benchmarks, to build validation and so forth.
20:54Um, so Pi needs to execute code. It executes codes in really two ways. It runs Bash, which you can imagine why Bash as a programming language is tricky, mostly because Bash is a non-programming language programming language. Most of what it's doing is executing some Unix tools where I have no idea what they're doing, right? The harness has no control over it. The second thing that it has is now a thing we call code mode where basically the harness runs JavaScript
21:23to do all of the throwaway code. So most of the throwaway code we want to move towards JavaScript JavaScript, not because we love JavaScript, but because um there are actually only that many languages that harness have the models have been trained on. They've been trained Bash, JavaScript, Python, and a bunch of others. And most of those languages turn most of those dynamic languages turn out to be not great. JavaScript is also not great, but it's it has a spec which sets it apart. Most languages that are dynamic do not have a specification.
21:53Um, as you remember from earlier, if you have tests, if you have a spec, if you have something, you can put an agent to it and it can let it kill climb.
22:01Um, and I will say three months ago I would not have done this project because I don't think it would have been possible to it was possible to hill climb. So hill climb is the idea is like you're you're passing one test after another until you're all the way to the top. You could have done this three months ago, but you would have looked at the code and it would have been insecure, it would have been impossible to use.
22:20You would have barfed at the source code that it produces um for a whole bunch of reasons, but mostly really bottle performance. Um now in I think under 24 hours and half a half an entropic subscription I had a working implementation of ES6, which is basically JavaScript plus a little bit of TypeScript so that this interpreter can run TypeScript um in a in an interpreter design that I wanted.
22:53Cuz like you you're probably going to ask like why does someone need to build another JavaScript engine? Why you wouldn't build another JavaScript engine to have one that works like the ones that I have? They have specific requirements that other engines did not provide. Um in in our case that is snapshotting. So um one of the big challenges with coding agents is really that you're running then at tremendous scale and um you you really need to go in a situation where like under one hand you have very expensive machinery, let's
23:21call them GPUs or TPUs or whatever, and then you have sandboxes that are executing code. [snorts] And they tend to wait on each other.
23:31And it is kind of wasteful to allocate computing resources if all they're doing is waiting. So the goal was like how do you write a JavaScript interpreter that can fully snapshot itself down and come back up, but that snapshot can survive for not just milliseconds, but potentially for very long, because you might want to continue the session that you have been working on, I don't know, a month from now. Maybe not actively you, but maybe a coding agent goes there and wants to look at it. So the idea was like build a snapshot table JavaScript engine
24:00that um is stackless. I don't know if you're familiar with this, but basically when a JavaScript engine wants to invoke a callback or any language for that matter, it has two choices of doing that. One of which is you do it in a stackful manner where every time you're doing this callback you maintain basically an interpreter frame on basically the operating system's sort of favorite C stack, thread stack. And the other one is one where the stack is fully held in in the heap, but it basically means that
24:29whenever you're doing a call between the dynamic language JavaScript and the host language, let's say Rust or C, you have to create that frame again because otherwise you cannot call into a native function. This programming language does not need to call into a native function, but for performance reason it needs to call into code run by the engine. So um array sort not implemented in JavaScript for performance reasons because I'm compiling this to Wasm. So I need to call into the interpreter. The
24:58interpreter needs to call back to JavaScript because it can provide a custom comparator function. So that call, that recursive call back into the engine um on a stackless system cannot really normally work. Um so imagine a Rust function is sort of like hey sort this thing, but the comparator is a little trampoline that goes back into the engine. So that's a big no no.
25:17You cannot do that. Um so this engine was built basically by a prompt more or less and the the the task to the engine was has to be stackless. It has to be maintainable. It has to pass the entire test suite of the ECMAScript language and with some carve-outs that is specifically removed and most importantly the entire standard library has to be written in TypeScript transpiled to a crazy version of Rust that is stackless.
25:51So every time you call out you actually suspend the interpreter, you let the host do the host call and then go back.
25:59Very neat interpreter design. A lot of people have been doing this before. Um doing that from scratch for me it would take me two years. I guarantee you that because it's an enormous amount of effort um because what are you doing?
26:12You're building a JavaScript engine, you're building a TypeScript type stripper into this thing, then you build another version of TypeScript that can compile both to native bytecode and native code um and then you have to pass all the tests. Um and then most likely the first outcome that you're going to have is it's going to be incredibly inefficient. Like the first version of this, sort of certainly it did it in a day, and then it took it, I think, four more days. I can't see this right now.
26:38It's like from November two to it managed to sort of get on parity with performance with with QuickJS. Um but this is for me is still insane. It is utterly insane because um I now have basically a 200,000 line Rust codebase that I haven't looked at at all. Um and I'm seriously considering shipping this. Um I wouldn't have done this before. Um I'm about to do this and I know people who are doing this like excessively.
27:16Um and I really mention these primarily because like it really changes the calculus in which it is software engineering. Um and it allows you to experiment with things that are maybe not truly novel. This engine not truly novel.
27:33There's a project called Piccolo uh from a woman that did a Lua implementation in Rust um a couple of years ago that is the basic interpreter design. I always liked this. I I had two versions of doing this myself and I basically at like 25% each was like this is just way too much work.
27:49Um and not a lot of people try to build a Piccolo like interpreter because like as I mentioned, it's stackless. So it's incredibly inconvenient to write code like this. And so in Piccolo, they try to do a version of this where you basically write um I don't know if you've ever used async await in Rust, but they basically abuse the async await system in Rust to basically make this stackless calls work.
28:13And it was it was a tradeoff that you would make for like that is an in in a highly inefficient way of doing it, but it was the only way in which you could write it so the code was still readable. The code that this produces is just TypeScript and it makes it into this unreadable Rust code um on the fly. And this uses the same system that C# for um for generator decomposition.
28:36That took a bunch of people and an enormous amount of time to even come up with the original like algorithms to do this decomposition. And now I don't even need to know the algorithm because like for as long as I say like, hey, you should really do this, it will do that.
28:53This is another this is sort of another example of this is another example of of a project that went a little bit different than I would have expected because this started a little bit with a story of my son on his own using ChatGPT with his friend on the school iPad to build a game.
29:17So they figured it out without any prompting that ChatGPT can serve up HTML resources and they have a little bit of sort of budget volume available and they started making games within ChatGPT. And my wife noticed this and said like, this is They should learn programming.
29:36To which had a little argument and it sort of went down more or less from saying like, I actually don't know if they should learn programming because like I don't even program myself, but maybe there's a way in which we can build a game and they learn the things that I think are still reasonable to learn. So I gave him Pi. He built a game in Pi first.
29:55And then we did it together because I was trying to figure out like how do you build this game in a way that it conveys to you what the hell is actually going on in the game.
30:07And again, this is a thing that that more or less became possible with the models the last four months really because a lot more test data and training data came into the models. So what is the blocking thing of building a game with an with a coding agent? Primarily it's actually assets. So it's how do you get the coding agent to understand skeletal animation? How do you get a coding agent to understand like inverse kinematics?
30:34So anything that was visual, was abstractly possible already nine months ago, but for it to be children-friendly, so you don't have to constrain your design in a way um took a lot longer. Um so obviously we went insane um doing this.
30:54So this looks exactly like any other Slop. It's a it's a game based on cubes and these screenshots are also made by AI, so I didn't actually show that game all that well, so I didn't want to play the game and then take a bunch of screenshots because what actually happens is that if you if you run out on one side of the cube, it produces more cube. And so you have this endless world emerging.
31:13And what I wanted to do here is I wanted to try a whole bunch of things that I have read over the years. So I used to be a a game game developer, but but just for a couple of years of my life and I was primarily working on software networking stuff, but I was always really really interested in like all these cool things that people came up with and so one of which is called wave function collapse.
31:34Um wave function collapse is basically this idea that if you do a random number if you imagine Minecraft or a world like this, what you want to do is you want to create an endless world that has features of the landscape that are spanning from one block or not one block, but like from one chunk to the next chunk, right? So you want to have some like say a valley or a river that goes from one thing to another thing.
31:57But you also don't want to generate that world ahead of time and you don't want to fully fall back to Perlin noise because the problem with Perlin noise is basically and if you ever generated Perlin noise, but it's it basically it's like it gives you this like field of basically noise. You can scale it and you can multiply it, but it's very hard to control.
32:18And so particularly I find this like it's very hard to make something like a city appear somewhere and then being continuous. Um wave wave function collapse this sort of idea that you give it all the possibilities for any chunk in the individual and you start working with the most constrained one up to the least constraint.
32:35Um so you might end up with a block. I don't know if you've heard of the concept of tiling the plane. Tiling the plane is like you have a certain amount of um pieces of tiles.
32:46And some some tiles can tile the plane. The most obvious one is if you have only rectangles of equal size, um then you can tile the plane because you just put them next to each other. So it's like that's how your floor appears.
33:00But there's certain pieces of tiles that only tile the plane if you manage to align them correctly. If you have if you have done one misalignment of it, then eventually you will not tile the plane and someone's only appear to tile the plane locally but not globally.
33:15So basically what you have to do is like you can create yourself an environment when you have like I want to have a river here where there are no more options left to uh continue the world generation because you're you're out of options.
33:28And actually implementing this is a ton of pain because you have to do backtracking all the time. So basically you have to you have to build it in a way where like you're now out of options. So you have to run back all the way and try a different approach higher up in the generation thing.
33:42Um long story short, I only had to tell it I really want to do wave function collapse world generator. Let's talk for this. And it built one. And I don't know how it works because I don't have to because I know how it works on an algorithmic level but I have no idea how he optimized it. I have no idea what trade-offs it made um but I have the world generator I always wanted.
34:04And um and this is just one example, right?
34:08Like this this entire game is full of all the things I ever wanted to put into an engine um just to see how it behaves. And um it works really nice. I mean you can go to my GitHub and you can play around of it. Um and because I have no constraints, my kids also have no constraints, every single boss game boss fight is completely unique.
34:30So like uh on one of them it flips the world, on one it changes. We also had one where we tried to say like what what would happen in a game if you had a black hole in the middle and then you want to simulate um basically uh I don't know if you remember the scene from um Inception where you come to close to the planet and then sort of you have massive time delusion.
34:49Um we tried that too. Didn't really make any sense, but we had it implemented. Um and it there was even for this one boss fight there was a ray casting engine built into that one level to make the um this effect work where you see the black hole from the other side. Um it is completely bonkers and then you can't understand it, right? And so part of
35:20um basically a documentation along the way that is kids friendly and that guides them to understand like what it is this doing. And so now this agent actually maintains a back reference to the documentation to the game so they stay in sync to each other.
35:33So as you're adding more functionality into the game this guide for the kids emerges alongside. And actually realized that this is a great model even for software engineers. So I'm I'm now using that same approach for instance for JavaScript engine. So rather than me reviewing code changes I'm letting it produce me basically um I would call them um lectures where it walks me through what it's doing. Um and it is much more understandable.
36:01Um and largely this is more understandable because it optimizes for um showing all the things that are unexpected.
36:11So we found a lot of bugs in the game from the guide because I told it to do something a very specific way, but then in order to solve it it undid some other constraints somewhere else. And then when we read through the guides of like what it was doing it was like oh actually this is interesting. Why did it do that? And you walked your way back from that. So for instance we figured out that despite my desire that the world is fully deterministic so from the seed you can end up with the same world all the time we actually did not manage to account for um that the order by
36:41which you discover blocks is fully deterministic. And then I was like, okay, this is interesting. The guide calls this out that in fact this is a violation to what we were doing. And then from that we could walk back and figure out like why it had to make that restriction um to the original design and then we managed to fix that.
36:58Um and we would not have caught this from the code. There's no chance you would have caught this from the code. But it was very obvious to to catch it from the the documentation alongside. [snorts] Um so um that leads me to basically this.
37:12Where is the whole thing going? Um we are largely still one person one agent. Um if you are in a sufficiently AI insane company, you are now uh in sort of the one person many agents situation and if in a very insane AI company, then your CTO is building out um a Slack implemented um uh coding agent so where the coding agent sits in Slack and everybody just talks to the damn thing.
37:39Um [snorts] this is the path clearly we're on. Um we're on this path because the solitary experience of you alone with your agent is very very hard. Um mostly because it's becomes hard and harder for people to figure out what the hell is going on. And the pull request doesn't scale. Like you nobody wants to see someone else's slop and then have to read through this.
37:58And there are very very very funny words that have been um come up with sort of the problems that come up with AI interaction. My favorite one is probably meat proxy, which is like when a human basically just um is sort of the mediator between another human and AI. Um like then do away with the human.
38:15There is no point in that. Um so people are trying to now put this entire experience into common shared spaces where many human agents or maybe one agent many humans are interacting with.
38:27Um which also really changes the way we're building agents. Um the the challenge of actually making a non-deterministic system like an LLM but tend to be deterministic is actually surprisingly hard. I I probably not that surprising, but it surprisingly hard in ways that you would not fully understand initially. And so if you have an agent whose horizon of task solution is 15 minutes,
38:55you don't have to design any architecture at all. It's a bash loop.
39:00It says like do this task and you keep running the loop until the model says I'm done. When that task all the sudden is a week long and produces gazillions of sub agents, then um you cannot keep infrastructure running for that period of time. So you need to build in a way where you can take out the power and put the power in or you migrate the whole thing somewhere else and it continues working where it left off. So a lot of work right now that people are doing to try to make this system scale is really to increase the time horizon because we're all
39:29generally seeing that the world feels it's running faster, but in fact the time is the same. So we we cannot solve the tasks um in in a in a much faster manner than we do. Um so we have to build these systems in a way that they survive for a long time. And um you can now go to artcraft.com I think or whatever the website is and you can download a Photoshop clone.
39:56Um and you can now um you can find almost everything you have ever wanted. And for as long as the thing was popular enough, you're going to find 10 15 projects on GitHub they have rebuilt this from scratch. Um I for many years have been uh I have a deep hatred towards the GPL.
40:18Um and um I I I I recognize the existence of a GPL enforcement mechanism that the FSL the FSF has, which is the lib readline library. Lib readline used to be LGPL, but um famously RMS went to the creator of lib readline and said like you have to make a GPL because it's so useful. It's going to force Microsoft to be GPL.
40:42Um it took me 3 hours to have a clean room reimplementation of readline code line read um that does did not touch at any point in time during the implementation GPL and I validated afterwards that the algorithms that it chose were not GPL. Um, that is possible now and the people gave it like here's a Photoshop binary, please make me a clone.
41:03Um, there are, if you're on Twitter the last 48 hours you probably have seen that there are a lot of people playing Zelda or Arena of Time on the Switch.
41:13What you will probably also have discovered that many of those people are playing it on Android, on Windows, on Macs. Um, how is this possible? Well, because everybody now figured out that these engines are incredibly good at building your own personal emulator. Um, so like this is bonkers. You if you have a piece of software that is even without source code you're going to have a copy depending on like how much money you want to put into tokens
41:41um, in very very little time. Um, so this is going to change a lot of stuff right now because it has to. Um, I bought um, a 25 bucks USB stick from China that whole purpose is to have a little system on a chip thing on there that converts wireless CarPlay into wired CarPlay.
42:00Um, there is now an open source implementation of that Chinese people's software uh, in Rust that you can sort of take as a base and now I have a stick that when you plug it in opens a network server to my phone which is connected to it where the stick can talk via the Safari browser on my phone to the internet, to get internet, to then speak to me in the car.
42:26So I have basically CarPlay in my car that is not CarPlay, there's not Apple, it's just my own agent.
42:32Um, if you have a VW car, uh, Volkswagen, um, Golf Mark 7 or whatever these things are called, um, they come with an infotainment system. I don't have that car but I have Googled a lot. Um, they come with an infotainment system that uh, is capable of outputting something on the driver dash but it never exposed by the company that built it.
42:55So, you can have CarPlay on your car in the little radio, but you were not able to put something on the driver dash. People have figured out that if you put an agent to it and you find this thing, you can now have the CarPlay thing also behind the driver dash. Um the um my co-founder, not a technical engineer, loves Bose speakers, SoundTouch speakers. They are famously unsupported by by um by Bose at this point.
43:24We now have seemingly somewhere in Cloudflare a backend for these speakers so that they work again. Um and he just had his agent build it. So, really I'm just trying to hammer down the point that um a lot of stuff has to change because of this. Um it also means that the security element of the whole thing is is really changing.
43:49Um the biggest part here is that all the sudden um people are reaching for things that were always theoretically cool, but nobody wanted to do it, like software verification. Like whoever wanted to write the lean proof? Nobody ever. Um all the sudden it doesn't matter.
44:06Agents are writing the proofs and so people building verified software. Now this whole thing is baloney right now because like in fact there is no programming language that runs off a lean proof except OCaml, which nobody uses. Um but people getting very creative in trying to do this. Um the entire NPM ecosystem is on fire right now because people have discovered that you can take core dependencies that everybody's using and you can just like put a lot of tokens against whoever runs
44:34this thing and and try to uh get bad versions of this going. This was a thing for years, but now you can basically distribute this with the power of agents to try to get to these core dependencies.
44:47Even if you don't want to exploit the dependency by putting a version on it, we wrote some really sloppy code over the years and we are finding security issues left and right in sometimes 20 year, 30 year, 40 year old infrastructure.
45:00Um, it's it's absolutely bonkers what's going on at this point. Um, the Entropic moved entirely off Git because they couldn't get Git to scale to a system that was basically inspired um by Meta's version of Mercurial. Um, they're doing 30,000 commits into a mono repo a day. Their repository is growing, I think if I remember correctly, something like half a terabyte every two months. Um, Git does not keep up with this.
45:36anyways, if you have anything in one language, you can put it to another language, right? It doesn't take that long. And um yeah, and and this really is a repeatable pattern. Um, by raw token cost, my um JavaScript engine cost $20,000. In actual effect, uh there's a subscription that makes that cost go down to roughly $400 because it runs through two Entropic subscriptions um on on this project.
46:05Um, but obviously there is a there's a question of the economics behind it, right? Um, unsurprisingly, I think if you paid attention to the American elections, people don't like data centers. Um, we're going to need a lot of data centers. Um, the most pessimistic assumptions of how many data centers we're going to need, I think are um like way off. Like we need so much more.
46:31Um, it is inconceivable for me not to assume we're going to have a data center everywhere. Um, because the utility of this is shockingly high.
46:44Um, now I don't think we're going to have data centers in the sense that we are building them right now, but my assumption is in the same way as I don't know if you if you've ever used a DSL internet connection, for your DSL internet connection to work, you have what's called an ARU, an Access remote unit. It's a little piece of data center that sits sometimes in the cellar of a household, or it's sitting somewhere in a street corner. They're pretty proper data centers. There's like a lot of infrastructure in there to make shitty old copper wires carry almost
47:13gigabit internet. It's like a it's ridiculous. We wouldn't have to do this if we were to put fiber everywhere, but apparently that's a way we can do it. But that's a kind of deployment scenario that I think we are we're probably going to see at scale because people will want to have this in one form or another. Um and and people are building this out.
47:33Maybe not yet in Europe, but they're definitely building this out all over the US. Uh Utah wants to triple its energy output in seven years. Um and uh in fact, two thirds of that is just one data center. It is it is mind boggling. Um so the cost right now is high. The unsubsidized cost is high. Presumably that cost will go down. Um yeah, security issues through the roof.
48:01Um yeah, like one of the most fascinating versions of this is um people are now using people's coding agents against them. Um so if you have a a traffic subscription on a computer and you get hacked, it's not really the point of this is not really to uh do something directly. They're going to use your coding subscription to figure out if you're a great target.
48:21Um and they have found so many crazy and ingenious ways to monetize this. My favorite one is they used I don't know who they is, someone did already an analysis of a person at Entropic.
48:39Step first. They did an analysis of one person at Binance to uh find the perfect person that has access to production infrastructure. Then they found via his computer most likely the perfect way to infiltrate that one, which was to go into another infrastructure from a company called Cursor, to hack Cursor to influence that one person's computer. And within 20 minutes they ran away with six and a half billion dollars of stable coins.
49:12Entirely driven by agents. Um anyways there might be questions. I'm here to answer.
49:23[applause] Thank you very much.
49:26Thank you. Thank you very much for the great presentation. So do we have any questions already over there?
49:34You can try speaking loud or I will come to you giving you microphone.
49:41Um yeah hi. Thanks for the great presentation first and foremost. My question would be you mentioned the bottleneck. It used to be writing code then it was or is reviewing code. But one thing I noticed more and more recently is it's actually communicating what we have built. Is that something you you noticed as well that it takes much longer to to communicate all the I don't know new features or what you build in a week
50:10then it takes to actually build it?
50:12Yeah I mean this is this is really I think what we what like for for very long time and there's continuously the cases that the communication part is hard. So it's like it is hard to like we have no clue how to make this thing work in in like on a on a human level.
50:29Um and and and this this this team dynamics this is just understanding your code base but also this is like the reason I asked initially like who is using a coding agent without being a software engineer is because 90% of children that are currently going to school in Vienna are using AI to learn.
50:48So this is self onboarding, right?
50:51Um teachers have no idea, parents have no idea. Um and us at the at the peak of like this sort of adopting this technology in a workspace but also have no idea, right? So where where the society is going through this, and I have no answers to you. I can just tell you that this is in fact communication is growing problem, um and if you're shipping code at the rate that some people are shipping code right now,
51:17this is even more so the problem. Um and and as the the social element of this is crucial. So if you're running a software as a service company and uh you want to deliver 24/7 uptime and then you don't because there's an incident and the first response is that everybody sees an incident channel and asks the machine what it's doing, that also doesn't work, right? Because like increasingly people don't understand the software that they're shipping because like they're not
51:46keeping up with either what their their co-workers are doing or like what they themselves are doing. So like this is this is challenging um but it is something we have to solve for one for another.
51:58A follow up to that. Uh so you know we had we have this divide and conquer uh heuristic uh and I'm wondering if your uh idea to solve this communication issue with multiple people uh talking to multiple agents via a single channel isn't sort of a gas attack.
52:14They get it going we had this uh you know concept of microservices booming uh and uh you know we could have like a single guy talking doing a single microservices and someone coordinating on the top. This is how it worked over the last decade. Uh do not you think that this scales better?
52:32I do not have any answers. I I really don't know. I we we have been trying so many things um it is it is so hard to tell because so many things are changing, right? And I think right now we're in a phase of like experimentation and seeing what can work and what can't work and like every once in a while something does get sticky and then it then it doesn't.
52:55Um system architecture for for a fact has to change because system architecture cannot keep up with the way we're we're doing software engineering. I don't want to show this one. Have an overly amazing game. It's basically a Diablo clone. Um so it might not even work right now. Um just one second. So this is um I'll just do the default and it's easier. So this is um this is what this looks like.
53:33Um you have this little figure.
53:37Um [laughter] also this has voice out. I don't you probably can't hear this, but um I trained trained I I I used um Quen 3 TTS to uh basically make my own version of the voice and then had program to the the voice output. I mostly just want to point out like this is what this looks like, right? This is a 3D game. All the assets are produced uh with Blender. Um
54:05it's primarily Soul and Opus 55 that does this. Uh so they're all hand-drawn sketches by my kids with some basic prompts and then photo taking and then converted into this. Um right? So like I had a very specific way in which I wanted to do the water and stuff like this. Um I have a very specific way in which I wanted to do the the shadows because this is dynamic lights and um let me see quickly.
54:31If I go down to a uh sorry, this one. So this is if I go down to a lower level um eventually it will get dark. Right? So like these are all dynamic lights and I have like oops very nice way to do the the shadows and everything. And then this really is what I find most interesting about the whole thing is like all of these things are explained.
55:02And so for instance, you can figure out how does the world generation work, right? So let's say um where is it?
55:17I don't know. Just pick any, right? So like it comes with a guide. There's also in German so that my kids can understand it better. And it embeds the game code here also to show like how uh how everything works from the code. Like all this code is written in a way that sort of pulled into this. And then of course, because um why not? It has a coding agent implemented here as well.
55:42So if you forget everything is like please show me in the game how spiders spawn. Um it is just ones in a browser like there's no nothing but but it can open the game because it's of course um JavaScript. It can manipulate the game.
56:01It will read the code and that is in many ways I think in like maybe not this precise way but like a version of this I think is the answer at least in parts how people are going to stay ahead what the hell is that doing because you need you need a compressed version of what's in your codebase that actually explains to this and explains it to the co-workers.
56:25Because the changes are landing so quickly that you might wake up in the morning with a service that works in a certain way and then in the afternoon the entire service is gone has been replaced by another service. Um the the fluidity of this is much higher than it has ever been.
56:43And the ownership is increasingly moving in some companies away from um one person owns a service to nobody knows anything and the agent is ultimately they're creating service and removing services. Now we're not large largely not there yet because like most companies don't operate this way but a growing number of companies is operating that way and that is both concerning but also kind of fascinating.
57:08[snorts] So, have one last question from the back.
57:13Okay, thank you for presentation. My question is about one of the last slides where you mentioned that defending is more difficult than fighting the bugs.
57:22So, I also heard about some prediction of internet vibe. So, like soon maybe in one or two years big services will be broken. So, are you really so pessimistic about that that we will meet some something like that in nearest one or two years or we will find the way how to solve this problem?
57:42I generally think humans are going to solve all the problems whatever they come their way in one form another. So, I don't think there's like two things can be true at once. Every service will be hacked into and humanity has no problem with that because like there will be solutions to this. So, I I think like how that path unfolds, I don't really know.
58:04Right now the cost of software engineering is going up largely because of this security element of it. So, if you're running a public service today and people have already figured out that you are running a public service today, it's not inconceivable that you're spending more money on tokens to find all your security problems yourself then you pay in salaries to your operations team or security team.
58:31That is increasingly the case. And I think like from a society point of view there is a question towards that part of the labor market. But people are solving these problems right now by being incredibly proactive. In the US there's a there's Project Glasswing and I forgot what the other one is called Daybreak I think. These are from the from the large labs they give you preferred access to cyber security tools.
58:57For the most part quite frankly everybody's using Chinese models because they work better because they're they're less protected. But this is happening and this is not happening two years it's happening right now.
59:09Thank you. Thank you so much Amin. Thank you for joining [applause] this session.