Y Combinator Startup Podcast - Michael Truell: Building Cursor at 23, Taking on GitHub Copilot, and Advice to Engineering Students

Episode Date: September 3, 2025

Michael Truell on June 17th, 2025 at AI Startup School in San Francisco.At 25, Michael Truell has already built Cursor into one of the fastest-growing companies in AI coding, hitting $100M ARR in just... a year. In this fireside chat with YC General Partner Diana Hu, he shares the lessons that came from years of failed projects with his co-founders, why he believes programming is still essential even as AI changes how we code, and how Cursor is taking on GitHub Copilot with the conviction that all of software development will flow through models.

Transcript
Discussion (0)
Starting point is 00:00:00 We realized we were really inherently excited about the future of coding. And I think we took a step back and realized that if we were being really consistent with our beliefs, there was going to be an opportunity for all of coding to change in the next five years and for all of software development to flow through models. It felt like no one working on the space at the time was really taking that seriously. It felt like they had great products and they were making them a bit better. But they weren't really aiming for a world where, you know, all of coding as we know today gets automated and building software ends up looking very, very different. And then with that in mind, we set out to work on that.
Starting point is 00:00:31 Let's start this talk with sort of the origin story of your journey as a founder. You kind of have to go way back to middle school when you were reading the essays from PJ, right? So early on, I think, you know, had been interested in starting a company for a long time, had been interested in a bunch of other things too. I think actually originally got into programming, being interested in starting something. kind of commercial, where the first time that I ever saw code, it was over some winter break, and my brother and I, we wanted to create a hit mobile game. We didn't really know how to do that. We looked on Google, how do you create a game? We heard that you need to download this application
Starting point is 00:01:18 called Xcode. We did that, and we were hit with these weird, colorful esoteric symbols, which were Objective C, which is still around, but maybe a little bit less popular than it was then for good reasons and stared at this kind of impenetrable wall of Objective C and my brother promptly ejected didn't move on with programming. He now is on a very different career path. He's kind of trying to paint or something like that. But I kept going and bought a book on Objective C and then eventually started working on mobile games. That was the genesis of me getting into programming and then along the way also, yes, was a big fan of PG's essays and and Sam's S-HSTO also, and a bunch of the folks in YC.
Starting point is 00:02:04 And that was definitely a big inspiration, even from the very early stages of high school. I think the wildest thing about Cursor is that right now you're just 24 and build this monster of a company in a really short amount of time. To a lot of people, it could seem that it's a bit of out of nowhere. But this was really in the making for more than a decade. You've been working and shipping a lot of different projects. right? And you were working in AI even when you were in high school, right? Tell us a bit about the projects and how you got started with that. Was lucky enough to find programming early on.
Starting point is 00:02:37 I was also lucky enough to be interested in AI early on and have some great collaborators to work on AI projects with. Soon after kind of the foray into mobile games, which also turned into I wasn't very good at mobile games. So one of the things that I built and actually one of the things that got most popular, which was kind of the technically easiest thing to build, which was maybe a lesson in startups of, you know, the code is and everything, was this mobile game or this mobile app where you could spoof high scores in things like piano tiles and Flappy Bird and then send them to your friends. And that was kind of the thing that went viral.
Starting point is 00:03:10 It wasn't the painstakingly hand-crafting the game engine yourself type thing. But yeah, soon after that, got interested with a friend in the idea of building a robotic dog where we thought it would be really great to have a robot that you could teach to do things without programming it. Instead, you could give it positive and negative feedback, like you give a dog. So you could give it a treat if it does some, you know, quote, treat if it does something good.
Starting point is 00:03:34 You could say bad if it does something bad. And then maybe it would, you know, you could teach it to play fashion, things like that. That idea really animated us. We had no idea how to build it. And so again, you know, started the place where one would start, which is Google, and kind of went down a lot of rabbit holes. And, you know, took us into a place of learning about genetic algorithms.
Starting point is 00:03:52 And maybe that was going to be helpful for building this robot dog that we wanted to build. And then we eventually, learned about this neural network stuff, because some people were playing with taking genetic algorithms and using them to evolve neural networks at the time with work like NEET. And then eventually it took us to RL, reinforcement learning,
Starting point is 00:04:08 which was even back in 2015, people had been working on it for a long time. In the end, my friend and I, we did eventually build a couple of robots. We didn't do any sort of substantial work that really lasted, but we did work that was interesting at the time in taking reinforcement learning algorithms and making them more efficient, you know, making them better at learning from very, very few data points, you know,
Starting point is 00:04:30 order of tens of data points, and also from noisy data, you know, data that a human's giving. It wasn't exactly a dog, but we built a couple of robots where one of them was this many-axis robot arm that could kind of swing a paddle and play ping pong. And if you put the right sensor on it and then you gave it the right sort of positive and negative feedback, you could teach it to swing when it sees a ball. And then we had this Kiwi drive robot that we would teach to follow a line. To do that, it was actually kind of this great education in ML. partially because of our dumb naivete where we didn't really know that there were things
Starting point is 00:05:03 like torch and tensor flow and kind of other you know lots of building blocks we could use from maybe we weren't good enough at Googling so you like implement their own neural network from scratch yeah so when you were like i don't know 16 17 the constraints of the problem were we were dealing with uh robots and so we were dealing with microcontrollers um and so microcontrollers have very little memory and they couldn't really fit any of the normal standard ML libraries. So as part of our bike shedding, trying to build a robot dog,
Starting point is 00:05:33 we implemented our own tiny neural network library, and I have memories of us not really understanding any of the internals of how these things worked, or not really understanding calculus, but kind of fumbling our way through re-implementing some important ideas from neural networks. I think it taught us a lot. I think there were a lot of gaps of the fundamentals
Starting point is 00:05:51 that it took many years to fill in later. Then fast forward to the founding of Ennisphere, It's an interesting name because Cursor is not what it is. When you guys started, you had just graduated MIT, right? That was back in 2022. What were the first idea that all four of you started working on back in 2022? Yeah, so the genesis of Cursor was in 2021. My co-founders and I, we had been interested in AI for a long time.
Starting point is 00:06:21 Each of us kind of had our own little robot dog moment where one of my co-founders, he worked on trying to build a competitor, Google actually, using LMs in 2021 and training his own, and training his own contrastive models. One of my co-founders worked on computer vision in academia, and some of us also worked on recommendation systems at companies like Google. But we were really interested in AI. In 2021, we were trying to figure out what we do with that interest. Do we go and work on AI in academia, or do we go join a big existing AI effort?
Starting point is 00:06:56 or do we start our own thing? And there were two moments that really got us excited. One was seeing the first AI product start to come out. You know, GitHub co-pilot was really the canonical example for us. The other was seeing work about how it looked like AI was going to predictably get better in the future as you scaled up these models. At the very beginning of 2022, me and my co-founders,
Starting point is 00:07:15 we went on like a month-long hackathon, basically. And we started hacking on ideas related to kind of picking an area of knowledge work and building what it looks like as AI gets more and more mature. You guys have collected a lot of data for that first idea, right? Yeah, so the first real idea that we worked on for a long time was in mechanical engineering. It was trying to build a co-pilot for mechanical engineers and trying to train models to kind of predict what you would do in a CAD system, like SolidWorks or Fusion 360, which is where Mecki's model out parts in 3D on a computer. We picked it because we thought it would be boring and sleepy and uncompetitive, and we were kind of doing an armchair or MBA thing, even though it was a horrible choice from the get-competitive.
Starting point is 00:07:56 because none of us were really mechanical engineers, and also the science wasn't really ready for that area. But you guys kept working at it for a number of months, right? And you crawled and got all these CAD files and actually got something working with auto-completion, right? That was like the first version of it working. Yes. A bunch of the work was in data scraping, honestly.
Starting point is 00:08:15 It was trying to get all the CAD models in the internet. There are also all these different file formats and trying to convert them all into something that's canonical, because CAD is this weird software market where there are all these different systems that are pretty popular, it's very fragmented. There are also cloud CAD systems that don't have easily exportable files, and they don't want you to scrape their stuff.
Starting point is 00:08:34 And so there was a bunch of work there. Also the training infrastructure for doing any kind of modeling work back then was pretty rudimentary. And so there was a lot of work on the infra side there, and just a lot of experimenting with models and a lot of experimenting with how you even jerry rig an extension into these CAD systems because they're, you know, we were building an extension. These applications aren't really extensible at all. There were actually also other projects that we were working on at the time.
Starting point is 00:08:56 So two of my co-founders, they were working on an end-end encrypted messaging system because one of them has a background in security research. And the idea there was apps like Signal and WhatsApp. They encrypt the body of the messages, but they don't hide who's talking to who at what time, which is actually really crucial information if you don't want to trust the messaging app provider. So if a journalist is talking to some informant in the government, just knowing that they're communicating at all is actually a really big. big piece of information. So that was in the middle of 2020. So you guys were working for about good six months on this idea.
Starting point is 00:09:34 Yes. And how many users were you getting at that, did you get at that point? So you shipped the product. All of these projects were ill-fated and it had basically no users. At what point did you realize that the idea was not working? It's like, oh, no, we're all working on this.
Starting point is 00:09:49 We're trying to do startup. It's not working. And what was that moment? I think it was a bit different for each of the projects. I think for the messaging system that two of my co-founders worked on, it was really technically impressive, but it had these bad trade-offs where it wasn't very scalable. And I think they tried to give it to people and it didn't really work. And then they tried to sell it B2B and then it didn't really work.
Starting point is 00:10:12 And I think it was after a couple of months of trying to get traction. For the had ideas, it was, yeah, many months of trying to get the models to really be useful for end users. And then also reckoning around, are we really really? interested in these areas or is there something else that were inherently much more excited about? So there was a moment that you said, okay, these ideas are not working, we have to pivot again. Yes.
Starting point is 00:10:35 You turned through three ideas, three, four, five ideas before landing into code completion? Yeah, I think that, so we had been inspired by tools like co-pilot really, really on, and we had avoided working on AI and coding because we thought it was too competitive. Was competitive then, still is competitive now. So back in 2022, GitHub Copilot was making already about 100 million revenue. I think more. Or more. And you guys are like, oh, we could still do a better job than GitHub Copilot?
Starting point is 00:11:07 Because people thought the game was done. It's like, yeah, GitHub. Well, I mean, we didn't think we could at the start. And then I think, you know, it was the desperation of having worked on ideas for a while and not really being excited about them after a while and them not really working out. And that kind of shapes, I think, what you care about and what you're aiming for. and we realized we were really inherently excited about the future of coding.
Starting point is 00:11:28 I think also we got to see how some of the other people in the space were working on their products. We got to see how the tech was developing. And I think we took a step back and realized that if we were being really consistent with our beliefs, there was going to be an opportunity for all of coding to change in the next five years and for all of software development to flow through models.
Starting point is 00:11:46 And it felt like no one working on the space at the time was really taking that seriously. Like it felt like they had great products and they were making them a bit better. But they weren't really aiming for a world where all of coding as we know today gets automated and building software ends up looking very, very different. Then with that in mind, we set out to work on that.
Starting point is 00:12:06 That was a bold move because you said, OK, we're going to stop working on all these other ideas that we didn't have as much of a background. And you were excited about programming, even though you had this big Goliath in the room with GitHub Copilot, you decided to go and let's just solve this problem. It didn't really feel bold or like, take your example and move at the time because it's like, you know, a bunch of people
Starting point is 00:12:26 sitting around in their living room like on laptops. It's not like, you know, like pivoting some giant company. But yeah, no, we did. And, you know, initially we kind of waited into it where we were thinking, well, you know, maybe we do this kind of very niche tool for basically security reviews, you know, trying to detect future CVEs in your code, or maybe we build something that's just for this one niche area of software. You know, we thought about building for and actually kind of prototypes and things just for quantitative researchers. But yeah, in doing that, we were just brimming with ideas for what cursor could be if it were just about trying to be the best way to code with AI in general.
Starting point is 00:13:01 And then I think that we just, we had a ton of conviction about that and we had a ton of excitement about that. And so at some point, we just decided to go for it. And that was end of 2020, right? When you decided to make that move and how quickly did you ship the first product? And what did the first product look like? And that was around, you shipped it a couple of weeks later. and what was what was that looked like?
Starting point is 00:13:21 It did take us a little bit of time to ship something publicly. It took us roughly, I think, three months from first line of code to open it up and GA it. Originally what we did is we built our own editor, quote unquote, from scratch. Oh my God. It was still using a bunch of open source building blocks. There are a lot of great primitives like Code Mirror and, you know, the language servers, and there's a lot of open source tech that can help you build an editor. But yeah, no, it was coupled together from scratch and there was our own version of remote SSAM.
Starting point is 00:13:49 our own copilot integration at the time, because we didn't have anything like AutoComplete. You have to build your own PIN system, you have to build all your own language server integrations. There's just a lot that ends up going into, something as developed as the code editor market, making something that can actually be competitive there and service someone's daily driver.
Starting point is 00:14:07 But I think it was four weeks until we built something that we could use as our daily driver. It was maybe four weeks later where we gave it to the first beta testers. And then there was another four weeks, and then we G8 it. And it was still very, very crude at the time. I didn't feel like a big thing to just open it up to the public.
Starting point is 00:14:22 What did you learn in that first version? Because you built a code editor from scratch. You guys haven't done the whole forking yet. Yeah. We had the fear of God in us. I mean, we had people hadn't really liked some of the things we had built for a while. So I think that, you know, we were kind of all in on it and very focused. But what did we learn from that?
Starting point is 00:14:39 I think that we learned kind of the first initial set of AI features, where, you know, when we started, I think that there was just one key command and it pulled up this like universal remote in the editor, and then you asked it to do something, and then entirely the AI would just figure out, oh, do you, what exactly do you want it to do? Do you want something back that's like a chat response, or do you want, like, a code suggestion that you can then take, or do you want it to go search around your code base and answer a question, or do you want it to go spin for a really long time or a short time? And there wasn't a lot of control. And I think that we learned, you know, given the tech of the time at the end of 2022, that you actually, it has to,
Starting point is 00:15:16 the form factor has to look a bit different. And so we learned kind of the first early AI features that then became part of the core of Cursor from iterating both for ourselves and also giving it to people. I think another thing we learned was, you know, we were very rapidly building a feature-complete version of what we want in a normal code editor, plus then some AI stuff that we thought was great. But then, you know, a feature-complete code editor for the world is going to be a way, way, way longer road. We thought that, you know, Fiescode had been developed over the course of 12 years, was one of the earliest typescript projects, had lots of people on it, thought, oh, yeah, of course, you can kind of spend something up that's just equivalent for the world in a few months.
Starting point is 00:15:53 And I think that we learned very rapidly that that wasn't the reality. And our time was going to be best spent just focused on the AI stuff. And so similar to how browsers often base themselves off of Chromium's rendering engine, we then switch to being based off of VES code. The other thing is you guys had also implemented your own models too. Back then, you got a lot of inspiration from Codex, right? Yes. So when we were setting out to work on our first idea that we really spent a bunch of time on, which was trying to help mechanical engineers be more productive using AI.
Starting point is 00:16:26 One of the things, when we raised our first round of funding, because we actually kind of needed money from the get-go to do a little bit of model training, because you couldn't bootstrap it with the models that existed off the shelf. They weren't good enough of that task. One of the papers that we would tout around is actually the original Codex paper, because by our calculations, Codex, which was the first, this was the first autocomplete model behind GitHub Copilot. But it didn't really cost that much money to train,
Starting point is 00:16:46 even though even back then, at kind of the beginning and middle of 2022, people were talking about how expensive AI models were to train. I think it cost, my math might be wrong, but I think it was about 100K in training costs. And then during this foray into mechanical engineering, we had done our own training. And then when we set off on cursor,
Starting point is 00:17:05 I think we were a little bit burned by that. And so we wanted to be as pragmatic as possible, not reinvent the wheel. And so we started by doing none of that. And then over the course of 2023, you know, in dialing in the product, that ended up being a really important product lever, especially as we got to scale, and we got a bunch of people using the product, and then that also gives you the ability to use product data to make the product better.
Starting point is 00:17:24 And so that actually has been a really important muscle to build in the company. YC's next batch is now taking applications. Got a startup in you, apply at Ycombinator.com slash apply. It's never too early, and filling out the app will level up your idea. Okay, back to the video. What happened then in 2023 was when you were still not sure about whether Cursor was going to be a thing, right? You were still debating with your co-founders, whether you should still pivot. It's like, oh, is this idea still going to work?
Starting point is 00:17:56 And you're still trying to grow it, right? Because it took a long time to get to revenue, right? Yeah, I think that over 2023, it was growing. The numbers were kind of small. And I think that also we were working on something where there wasn't always a clear next. step. I think that there are probably some markets where you're really well served by going and immediately talking to a bunch of people, listening down their problems, really rigorously, or you know, really kind of systematically and exhaustively thinking through each problem,
Starting point is 00:18:24 what would kind of be the direct solution, and then prioritizing them and then going from there. But I think that we were and are in a space that's a bit different than that. You know, we're this end user application that doesn't have much of a complexity budget. We are trying to to build the best way to code with AI. And so a lot of that is figuring out, given the tools that you have today, what can you actually do? There's a lot of things that you could write down that would be useful if you could build them,
Starting point is 00:18:51 but then figuring out how to build them and all the details, it's not entirely clear how to move forward on that. And so yeah, there were a lot of times over the course of 2023. And then, you know, actually also to add to this, of our early user base, if you just kind of followed the gradient of exactly what they wanted, you would get pulled in slightly different directions
Starting point is 00:19:10 than we ended up in. You know, we had a really loud segment of users that didn't know how to code at all. And we talked about, you know, should we focus on those folks? We had a really loud segment of users that wanted us to do things that were very tech stack specific, you know, just building for one technology and making it much less of a horizontal tool. And we resisted doing that too. There was a lot of early prototyping and kind of wandering the desert in 2023 and then, you know, figuring out things around, you know, where does it make sense to not just build the software,
Starting point is 00:19:39 but also build our own models to improve the API models or to replace them in places, like for instance, with our tab, our next edit prediction, and then how exactly to do that. You went from zero to one million around 2023, right? And it took a lot to get there, right? Yeah, it was a bit more than that, but sort of roughly that part. And then 2024 was a crazy year.
Starting point is 00:20:02 You guys went from one to 100 million in one year. Tell us about this loss of a conference. compounding power because you kept that growing 10% week over week. How did that happen? So the numbers felt small early on, then the compounding kind of kept going. I think that there were a couple of things that really drove our growth. We're in this market where if you make the product better, you kind of see it in the numbers immediately, where things start to grow more.
Starting point is 00:20:30 And so we felt it around, you know, when we first started to make cursor codebase aware, when we first started to, you know, be able to predict your next action, when we made that then more accurate than when we made that faster, then when we made that more ambitious, you know, it could predict sequences of changes, and then when we let the AI model start to take more action within your code base and then do that really fast, you know, speeding that up. And so all along the way, you know, we kind of just focused on making the product better. The compounding continued. And I don't think that this is true of all markets, but I think we're in a market where
Starting point is 00:21:03 end user preferences matter a lot. And if you make the best thing, people hear about it and talk about it. and that kept going for a long time. I think one of the funny things that happened around that time, we did see a big shift in the YC companies as they were going through the batch, because we would ask what kind of tech stack
Starting point is 00:21:23 you used to build your applications. And it was night and day from one batch to the other. I remember in 2023, I think it was maybe single digit percentage of the batch we use cursor. Then 2024, it was like 80%. It's just like spread, like wildfire. wildfires, like the best builders were using you. We got onto their Twitter feed, yeah.
Starting point is 00:21:42 Was that where a lot of adoption? How did all the growth came from? So the very early stages, when we were first launching the editor, we tried to kind of evangelize it on social networks. And actually, one of my co-founders, when kind of the dopamine hit keeping him going in 2022 when we were working on some these ill-fated ideas, he started posting on the internet.
Starting point is 00:22:08 and kind of explicitly set out to try to gain a lot of followers, not by doing kind of normal social media things, but by talking about AI, actually. It was kind of surprising the degree to which someone could actually just read kind of all the papers, think kind of deeply about what was going on at the time, talk about that publicly, and then get recognized by influential people in the space. And so there was like this particular open source model,
Starting point is 00:22:34 Flan T5 at the time, that multiple, AI efforts that ended up using that model. They found out about the benefits of that model directly from my co-founder just because he was posting on Twitter and doing that kind of consistently. But he became like sort of niche, very niche, like sort of niche niche niche of SF microcelebrity. He would actually kind of evangelize the product early on. And so we had this kind of very movie magic demo, you know, when we first launched and when we first did a wait list to just get our initial batch of users.
Starting point is 00:23:05 I think that that was helpful getting the, you know, us kicking started. But then after that, we kind of stepped away from that and we kind of lived like monks 2023 and just focused on the product. And it really just spread from word of mouth. I remember there were a couple of times during that year where there were members of the team that would say things like, guys, the product's already good enough. Like let's put it aside. Let's just focus on growth engineering. And then there would be like a two-month sprint on, you know, doing some version of that. And it just never, it kind of washed away compared to the other stuff. that we worked on that year.
Starting point is 00:23:38 And by that time in 2024, how big was Kircher? How big was the company at that point? It was pretty small in 2023, where my co-founders are fantastic engineers. And there were four of us, and so we could go pretty far without hiring anyone. We also had our own set of missteps and figuring out the first set of people to hire and how exactly to do that.
Starting point is 00:24:02 And so we were both very patient early on and also, you know, focused on hiring a lot less than we probably should have early on. I think we ended 2023 at only single digits people. Like we were less than 10 still. Wow. Amazing. So now, I guess one curious, now shifting gears a little bit about what are your thoughts in terms of how the future is going to look with coding?
Starting point is 00:24:30 We were kind of this, this maybe middle road bet from the start where when we set out to work on the company and we were kind of hiring our first people, we would get these weird looks around, you know, why are you, I mean, at the end of 2022, it wasn't really like this, right, because kind of chat TBT happened and then the whole world woke up to things, but especially during, you know, beginning of 2023. But especially during 2022 when we were working on the CAD stuff and then the early code stuff, people thought working on AI was, it was kind of weird to do. People were not entirely convinced that it was a good use of time and that there were going to be lots of great applications to fall out of AI. And then even
Starting point is 00:25:03 the people who were interested in AI, there was, in our space, you know, a bunch of people that were just focused on optimizing kind of the form factor that existed already and just making those products a little bit better. And then at the same time, you know, in our social circles and professional circles, there's a bunch of people that, you know, we're thinking, oh, why would you work on anything other than AGI? And, you know, all of the work that you're doing right now in one or two years, you know, Circa at 2022 is going to go away. And yeah, I think that we've always had this view that there's going to be lots and lots of incredibly valuable things to build over the next couple decades.
Starting point is 00:25:42 AI is going to be this transformative technology, maybe more so than any revolution in recent technological revolution in recent centuries. But it's going to take a couple of decades, and it's going to be this industry-wide effort where there are all of these independent capabilities that each need to fall to really get to a place where you can entirely get to the end state of transforming. building software on computers or kind of the other areas of knowledge work that might be transformed by AI. And yeah, I think concretely kind of in the near term, we think that for professional engineers, which is the end user we serve, the market that we serve, you know, code is still really important.
Starting point is 00:26:18 And there will be this long, messy middle where you will be working with the AI, more and more it will become like a colleague. More and more, it may also become like a, you know, a very advanced compiler that can start to hide some of the code for you. You're going to have to read the logic and, yeah, and review it and edit it. So what do you think are the skills that are still going to matter? What should everyone still be studying or stop studying? I mean, I think that programming like math is kind of just a good general education. I don't think that that goes away. And I think that there's also lots of practical skills that comes from studying computer science right now.
Starting point is 00:26:53 I mean, often when people are kind of entering dynamic industries, the like specific stuff that they study in school, isn't super crucial. It's more the kind of learning that they get along the way. I don't think that's changed with AI. What advice do you have for the audience if you have like a young Michael Trouelle, maybe not just three years ago? If they want to be like you three years ago before they start cursor, what should they be doing right now? I think just working on things that you're interested in and doing it with people both that you enjoy being around but that you respect a ton and taking that really seriously. Yeah, I think that for a lot of people that are in school, there's so many
Starting point is 00:27:35 things that pulls you toward more checking boxes and less, you know, focusing on building something up over time and really focusing on something that you're interested in. All right, let's give it a run of applause to Michael. Thank you so much. Yeah, of course. Thank you for having me.

There aren't comments yet for this episode. Click on any sentence in the transcript to leave a comment.