Hello and welcome to Deep Learning Leaders. My name is Eric Lando, and I'm the CEO and co-founder of Encord, the data development platform for AI teams. I'm thrilled to be joined today by Anton, the founder of Lovable, where they are building software that builds software. Thank you for joining me today, Anton.
Hey, it's a pleasure, Eric. I love that you have been a long time in deep learning, and pleasure to talk.
Yes, I've been around the block as you have. I actually wanted to start, because we have quite a bit to cover, I suspect, but I wanted to start with your time at CERN, because I noticed that you spent some time there. And in my previous life, maybe a couple of lives ago, I was also doing physics and particle physics. So I'm curious what your experience was at CERN, kind of what projects you were working on, how that informed any of the things that you are building today in AI or starting a company, if there's anything that translated from that.
Yeah, so CERN is very fun. It's kind of this gated community on the border between France and Switzerland where they bring out like this 10,000 top brains kind of from the entire world. And when you live in this community and you only talk to super nerdy, super smart people, so that's in general a great setting to be in. I think like what you see there is that it's mostly a big engineering effort. And what you can really do is some like extraordinary things when you collect very smart individuals, and that's what I've been doing at like the three AI companies I've helped build and co-founded since then. I mean, you mentioned also like generally what can you take from physics to do things in the real world, and I think you're also a founder and you did physics, you've seen this as well, where many people with this background, they really reason from like, but why is it like this? What's the first principles that kind of make a company successful, and really reason their way to the truth rather than doing what others are doing. And that often gives you an edge because you can see possibilities that others, especially when the world is changing, you can see a lot of possibilities that others cannot imagine yet because you're kind of reasoning your way there rather than trying to copy. And there I feel like I had success there, the power of like a few whys. If you just ask a few whys in a row, you can really deconstruct quite a lot about your company, about society, about the universe. It's kind of like, you know, if you fold a piece of paper, and people don't have an intuition that if you fold a piece of paper 30 times, you kind of approximate the distance to the Sun just because they don't understand the power of exponential. And I feel like asking a why is kind of like that. You're like folding the paper once, and if you ask a few questions why in a row, then you're really deep into the weeds of kind of the base level of your own assumptions.
So you did YC as well, and because you mentioned like CERN is a community of engineers and physicists, of course, and it's kind of very nerdy and you're all talking about the same things. How does the community in CERN compare to your time at YC? Was it a similar kind of mindset or different types of problems that you were thinking about?
I think that actually there's one big difference that just stands out to me between these two experiences, and it's that at CERN there's a slower pace and there's maybe more room for creativity. And I think like people get less done because there's like these processes and you have these existing structures with a lot of people, whereas at YC everyone is hyper-focused, like the work, the sleep, exercise, only thing people do, which I mean on general gives more results. Like I think you could do that at CERN as well some way. I think they've done that with like some projects. And yes, some of the best research in AI now is coming out of more of those settings as well, like OpenAI itself, the startup, for example. So that was the biggest difference between those two. And yeah, I mean, some people argue that you get more different types of creativity when you have time to think and not be stressed about a deadline. I couldn't spot that difference myself, but I think that there's definitely something to that as well.
Interesting, yeah, because my intuition would be that the urgency and the constraint actually necessitates more creativity than giving time. You know, time is almost like the killer of some kind of... But you found that because people had a little bit more space to breathe, in your experience, like in the physics community, they were able to come up with more interesting ideas overall?
I didn't find that, but I'm pretty sure that that's the case for some people, like some G-level people, like Newton, whatever, he didn't have any urgency from outside, but he just invented everything in classical physics almost.
Yeah, well, he was stuck at home because of the plague, so he had nothing else to do but think about these things. So how did you go from the transition of, you know, you're working at CERN to starting again entrepreneurship into AI? I'm curious like what precipitated that on your side?
The big thing that I took away from CERN was that this is a huge waste of brain power because you're solving such an inelastic problem where most likely you're not going to make any difference at all, even how good and ambitious you are. But there are so many important problems and interesting novel problems you can solve out in industry. So I decided, okay, I'm not going to go do academia, which I thought I might do, and I'll go back to like, I was kind of more of a hacker when I was a teenager. And I've been in Stockholm since then, most of my life. And this was actually 10 years ago, it was when the deep learning revolution started, and I started reading all these papers, which was quite uncommon at the time that you were reading like the latest academic papers published on arXiv in deep learning, and put together a community that then really grew super fast in Stockholm called the Stockholm AI with some friends. And then yeah, from there I've been working at and building AI startups.
Did you have any exposure to AI systems when you were at CERN, or was it more kind of traditional data engineering, data analysis?
And personally, I was working more on the traditional algorithms. There were some people quite close to me that were like, it was a bit of a controversy, like, oh, should we do using machine learning instead of the traditional things? And now I know it has caught on much more.
Definitely, yeah. I remember the days of using ROOT, was the software that at least I would use, and it's a software built by physicists for physicists, so you know it's terrible. But from what I understand is that they've started incorporating more deep learning systems and models into their analysis, and it's actually, it can be quite effective. Again, I haven't been in it for some time, but it does feel like a very right place for disruption, for more deep learning kind of expertise. All right, so you start an AI group in Stockholm, you started thinking about deep learning systems, reading the early papers. How did that translate then into kind of building a company and, you know, making a product and kind of moving from there?
So I mean, the AI things I initially did it on the side. It was like, oh, AlphaZero came out, and me and some friends over the weekend, we hacked together a clone, a copy of AlphaZero. But through the community, I met the founder of a company here called Sana Labs, where I was first employee and like technical person there. And we created algorithms to model how students learn to recommend what's the next piece of content that makes them kind of level up their knowledge the most at every point in time, so guiding you through the course content and similar. And like based on that, we showed that this was the best model in some international competitions. Sana has went on to become like a 100 people startup, that company scale up that is growing really fast on the revenue side as well. But I met... so founding companies, I didn't do until three years later where I met my co-founder at a company called DeepAI, where we did more like pure recommendation systems in e-commerce domain. And that's a company we went through YC. We had this go-to-market motion that was really like nerdy, stupid, simple, stupid. We go out to e-commerce companies, we tell them, we know you have maybe some recommendation systems or something that kind of works. We have actually optimized this one, this system that works in academia to work in reality by looking not just at historical data, which is always quite crap, but looking at the product with computer vision and understanding the text in the products. And we will show with an A/B test on a randomized experiment that you will make more money by using your product. And yeah, since then I've been an entrepreneur and a technical leader, more scaling that up.
How confident were you when you, you know, you made that assertion that it would work for any particular... Is it like more like, oh, statistically I think it's going to happen, it's going to work for 60%, so I'm just going to say it, we'll try it and we hope that it actually works out?
Yeah, I mean, the first one we were bold but not that confident, but then grew confidence over experiments. I mean, just if you look at most recommendations and you think like, what would I as a person, if you go to a website, you look at it, you're looking at a piece of like T-shirt or something, then you could imagine like, if I was a professional recommending something relevant here, I would be recommending matching pieces of clothing or similar T-shirts with similar fabrics and so on. And it's often like very, very random because there has been some statistical fluctuations in historical data, and then you can just see it's clear that we can make something better than this.
So there, how do you encode that intuition into an actual model? Did you kind of handcraft something that you know would make sense along those types of heuristics or rules, or did you just have a better dataset and a better kind of approach to building the model that you thought would outperform like traditional statistical approaches?
Yeah, I love this question. There are many ways to go about this. Like, okay, you can start with just training your own models from scratch, but what I found repeatedly works best when you're doing like building any type of intelligent system, and this is a kind of intelligent system, is that you want to take the shortest path so that you can repeatedly get feedback from changing things in the system. And that way you, and you like, you yourself as an engineer and the team builds intuition about what is the right solutions and also what does this problem actually contain, because there are all of these different edge cases and so on that you didn't think about existed in the beginning. So I'm a fan of doing like heuristics that give you instant feedback. You don't have to wait for this like hours of the deep training, deep learning training to understand like what are the problems we have to solve, and then taking models off the shelf and combining them, finding them, and maybe then training something of your own when you see like, okay, this is the ROI we'll get business-wise if we spend more engineering hours on this part of the problem. Yeah, that's my philosophy.
Yeah, no, I'm 100% aligned with that. I often say that the number one kind of parameter or attribute that governs success of a data science project is the length of the iteration cycle. So the shorter the iteration cycle is, the more likelihood that you'll actually be able to get something to work. And what's interesting is that that's true for machine learning and data science, but it's also true for building a product. I don't know if you have the same kind of intuition of getting stuff to users, understand, okay, here's what they say, and then like going and quickly iterating that as well, and if you've incorporated that philosophy in terms of how you actually put products out into the world too.
Yeah, no, I love that we have similar philosophies here. So maybe I'm jumping ahead here, but the company I'm building now is really built on this thesis that the only thing you need to build great products, I call them lovable products, is that you can very rapidly take one of your customer feedbacks or hypothesis on what could be better in the product and change it and then see that result. And that's really the opportunity that AI is going to bring to building products. So anyone, you don't need the perfect kind of understanding in the beginning, but as long as you can iterate fast enough, it's going to become a very amazing product. You're going to remove all the friction and all of that. Yeah, that's most key to make a great product. Yeah, the power of real-world data is so underrated, even compared to human imagination, that you know, like the world is a lot more imaginative than any single person is. So if you allow the world to tell you what to do, that will jump your ability to quickly get to, you know, great systems and great products, great models.
So yeah, I wanted to get into Lovable itself, and I think you know, you started with a very successful open-source project, and you know, you created something that became very viral quickly. Can you just go through the experience of, you know, how you built the initial GPT Engineer and what it is, and kind of the story behind that?
Yeah, sure. It's a fun story. Like when already before GPT, like 3.5, like the old versions, it was quite clear like, okay, this technology is going to move fast. We have like this, we already then saw the scaling law, like you can add more data, you can add more relevant data. And when I was preaching, okay guys, like we could already start using this in engineering efforts, like create some tools to make ourselves build product faster, people were less imaginative than I imagined at the company. And then GPT Engineer was me just realizing when I was sitting with a problem, okay, I can speed this up by writing a simple tool. And then that's often the best way to communicate in an engineering team, create a proof of concept. So that's where the reason came from. And what this tool does is that you give it a simple instruction, and then it takes, maybe it reads some of your files, and then it creates a lot of files in your file system, so you can spin up new projects very simply. And I decided, okay, actually I'm going to put this out on Twitter and packaged it with clear explanation of why this makes sense and showing that it actually works and it can save you time. And I didn't expect that there would be a huge reception from that, but it really captured the imagination of a lot of people, and it kind of started the wave of what you've seen since, and like even more orchestrated fancy demos of what you can do when you hook these LLMs up into agentic systems and so on. But I decided, okay, this GitHub project with 50,000 GitHub stars, I'll let that be a platform for experimentation, and it kind of created a community of people that has been building on that tool since. And it wasn't until a few months later, like me thinking about it and thinking about what is actually meaningful here for me personally to take it forward, that I decided I'll also start a new company kind of on this topic. And we do call our first product, we still call that first product of this company GPT Engineer, and I can explain more about that. But yeah, is it something you have used, Eric? I'm actually curious to hear from you, what's your take on this?
No, I haven't, but I will right after this call for sure. So I'll go to the repo. So all you did was you put the repo on Twitter, and then it kind of just took off on its own? There was no other kind of effort to promote virality to get the word out? It just kind of had...
I can, yeah, I can go into like, I haven't been so big on like any growth hacks or such, but I didn't really have a Twitter following. I had more of a LinkedIn following, but I didn't post this on LinkedIn. I did ping two people like, hey, I just made this project, I don't have as much Twitter following, if you'd want to retweet it, that would be cool. So that was two people. The mechanism of how it took off was, I think two things. One was GitHub trending projects, because it was on GitHub trending top list for a month or two, and people covering this on their YouTube channels. So that's the mechanism in how this kept growing, and then some reshares on Twitter and so on.
I'm sure that you saw a ton of applications that were being built with it or demos. What was something that you, you know, you were like pleasantly surprised on, or that like a demo that you wouldn't have imagined when you kind of put that out into the world?
I think the main thing I'm pleasantly surprised by is like CTOs using this for their prototyping to show the team whatever, like they some say that I always start with this tool. And these days, like there's been a lot of people building in the space since, and I don't use the open source tool anymore. It's kind of not really actively developed as a real software product. So I personally use other things. So GPT Engineer app, which is Lovable's first product, is what I use to create personal productivity tools, for example. Yeah, so I'm curious, I can explain the difference more in depth.
Yeah, yeah, no, I would love to kind of understand the difference because I think what I've seen often is people, they have very successful open source projects and then they create a company around it, but then there's some tension between the kind of open source project that's out there and their app. And sometimes, you know, they can fall victim to their own success of the original open source app. So I'm curious like how you kind of think about that, evolve and try to use the momentum from your success in the open source world into getting people to use the GPT Engineer app and getting into the Lovable ecosystem in general.
So how I thought about it is, well, the way to build something useful here is to experiment, right? And this open source command line tool is something that you can easily experiment with. You can add some new features and see how well they work. I leave it at that. What I think is that when it becomes truly useful is when you add more complex UI to it, not just this developer tool, because it's only 1% of the world that know how to create software. And it's like software is also like the big value unlock from the last few decades. So if you can create that user interface that is, we don't know what that user interface looks like yet, no one knows that yet, but if we can create that interface where anyone can build software, then you're like creating such a large unlock. And all of this, there will be a lot of new amazing products that we don't know what they should be yet created, and there will be a lot of existing products that stop being like clunky and annoying and sometimes glitchy to just be really nice lovable experiences. And that's why we're building the interface, so to say, to create other software.
And is the idea that you get people that don't have any software experience to build the software end to end, or that you still pair them with some kind of engineer to polish things or to run tests or whatnot? And it just saves so much time on the engineering, you can take an engineering team of 10 and, you know, make it one person. What, you know, what is the main use case that you see?
Yeah, so when if you go into the weeds, you notice that to start things from scratch with all like best practices and so on, these tools really shine, and that's what our tool does really well now. And to start taking it further, you have to be technical, and I would say it's enough with one engineer that's like really sophisticated to use a tool like ours today and explain what you want, take maybe add some wireframe screenshots and explain, okay, connect to this other API, connect to this authentication, this database, and then you have a SaaS web app version one. So that's what it does. What becomes much, much harder is when you have an existing software with all of these requirements and moving pieces, and then asking an AI to edit that, and that AI cannot do yet. So like anyone that thinks that it's going to be able to do that is going to be very disappointed. So you really have to have the right expectation that that is amazing for prototyping, I think 100 times faster than a human software engineer often prototyping and creating a simple like internal tool, for example, when you want to edit your database as an admin, it's perfect for those use cases, and build a version one of your software. But then when you want to make it more than let's say 10, 20 features in the product, then humans will have to be quite involved and steer the AI system more like a co-pilot.
I see. And in terms of what the application is, it sounds like it's some interface that can take LLM output and put them in a way that shapes a software repository and the right structure and allows you to build these apps easily. Is it also that you are working on the model layer itself and that you have your own LLM and kind of tuning it for these specific use cases, or maybe connect to a bunch of use cases? How do you interact with the model layer currently?
Yeah, good question. So like top down, you ask, you chat, you prompt, and you create the first version. Then you chat to edit it. You can show visually what you want to do. Everything is synced with a GitHub repository that you own, and you can edit it. And then you can do some edit yourself, and then you can ask AI to do edits. And it can be fully like one-click deployed. This is how our philosophy now is like maximal experimentation velocity, so that we can, we try things both on the UX, like what is the right interface, and what's the best models backing all of this. And our experience from having spent time on fine-tuning models and looking at training them from scratch is that the kind of advantage that you build up is going to last a few months in general, because there are so, the commercial models that are coming out every few months, they do add such significant improvements. The fine-tuning that we are looking at now is actually more just to reduce kind of inference times and costs, but it's not something that in the current state is critical for our product. So it's more what we're adding is the packaging on the UX for it.
And do you have some kind of guide about what kind of prompting strategies work best as well? So if you, let's say you're using the off-the-shelf, you want to have the best way to actually prompt the model for this use case.
So I can talk a long time about prompting strategies and so on, but some high-level takeaways I think is, so we spend considerable research efforts on like how can we make agentic behavior work well. And our conclusion there is that it's very difficult to create a good user experience where the user gets fast feedback, understands the system, and can guide it, you know, and more not just guide it because it does a mistake, but guide it to really convey what you actually want, which is a very difficult process. That's what you spend most time on building software products. Yeah, and we have since moved much more towards that, like returning your results as fast as possible and don't have these many steps or like chains of LLM calls or agentic behavior that we have some versions of in our product as well. And what that means is that you want to have like one default prompt that handles the user input and spend a lot of time and thinking about that prompt and which model use for that. And so, and then you will have some secondary kind of more tools that your main prompt can let the LLM decide to go into if you really want. Yeah, happy if you can ask for clarifications there, but the takeaway is one large point that's very fast to run.
Okay, so I'm curious how you got to that prompt and what the iteration cycle was there. Maybe right before that, I want to touch back on kind of agentic systems because they're very hypey now, you know, building agentic systems and agentic workflows. Do you feel like it is just hype or do you feel like that will actually get to work at some point? I can imagine it's quite tricky, right? Because you have a lot of things interacting with each other, they're non-deterministic, there's a lot of places where things can break and go wrong, it's difficult to debug. So what do you see as the future of these kinds of agentic strategies?
Yeah, so I'm an optimist and I'm confident they will work, and that's, I'm quite confident that that is how we get this kind of AGI level systems. What if you look at where things are currently, the big factor to decide if agentic system is the right approach, I think it is the right approach already today in some cases, is in what way can the system fail, not do what the user wants, and what happens then? Because that's like the deciding, that will be the deciding factor if this is a worthwhile thing to do. And if there is always a way where it fails and the user completely understands what happens and they know exactly what to do next to make it work or to solve their problem, yeah, the agentic system can be good. But mostly that is not the case. Mostly if it fails, it's quite hard, it's difficult to get the user to understand what they should do next. So that's how I, that's why I don't believe in agentic systems most of the time.