podcasts / No Priors: Artificial Intelligence | Technology | Startups / episode
No Priors: Artificial Intelligence | Technology | Startups cover art
podcast
📅 ⏱ 36 min episode · summary ~2 min read 📝 Transcript · 7,410 words 🎙 Alex Graveley

Alex Graveley: No Priors: Artificial Intelligence transcript

No Priors: Artificial Intelligence | Technology | Startups · Transcript & summary by WhipScribe

The engineer who built GitHub Copilot explains how the first version got made, why milliseconds mattered more than expected, and where he thinks AI agents go next.

Read the transcript Episode page ↗
🔔 Get every new No Priors: Artificial Intelligence transcript by emailOne email per new episode. Unsubscribe in every message.
One email per new episode, unsubscribe in every message. Not shared with the publisher.
In this episodeGitHubGitHub CopilotOpenAIMicrosoftStripeHackpadDropbox PaperMobileCoinSignalBurning ManMagicClara Labs

▸Chapters

Tap a chapter to play it from that moment in the show's own player.

▸Key takeaways

01Alex Graveley's GitHub team started with a small OpenAI code model that passed under 10% of tests on in-the-wild Python functions.
02Graveley's team tried list, button and pop-up designs in VS Code before inline autocomplete, which he said was useful, became the product.
03Graveley's team found that every 10 milliseconds of added latency cost about 1% of the completions developers would take.
04Copilot's first data center in Texas left Indian users with far fewer completions until the team ran GPUs in Europe with Microsoft's help.
05Graveley expects coders within three to five years to review only the risky or confusing parts of AI-written code, rather than check every line.

▸Notable quotes

“every 10 milliseconds is one percent fewer completions that people would do” Alex Graveley · at 21:18 — ▶ hear it from here
“I'm not really scared about AIs killing us, although I'm very grateful that there are people that are thinking about it.” Alex Graveley · at 9:52 — ▶ hear it from here

▸What this episode covers

Alex Graveley traces his path from teenage Linux work and open-source contributions to a string of startups. After an education startup stalled, he forked Etherpad into Hackpad, a real-time text editor that Burning Man camps used to plan builds, and Dropbox later folded the work into Paper. He then worked on an operations-heavy text assistant that used an early sequence-to-sequence model to save operator typing time, followed by crypto projects including a captcha marketplace and MobileCoin, before he joined GitHub.

Copilot began as a small code model that OpenAI had fine-tuned, which Graveley says was closer to a training experiment than a product. His team tested it by generating function bodies for Python tests pulled from real repositories, raising the pass rate from under 10% to over 60% through more code, better prompts and diff training. Their interface experiments, from lists to buttons to pop-ups, failed until inline autocomplete in VS Code worked. Latency became the decisive metric: a Texas-only data center left users in India with far fewer completions until GPUs ran in Europe, and cost estimates that started near $30 a month dropped sharply once the infrastructure was tuned.

Looking ahead, Graveley argues the next wave is agents that take action on the web for people, which is the premise behind his stealth project Minion. He sketches everyday tasks such as booking flights, filing taxes or finding contacts to reconnect with. He expects a long stretch of discomfort from AI impersonation and scams before defenses catch up, and he worries more about bad people using the technology than about AI turning on us. On hiring, he finds that founders often have to learn what these models can do themselves, because intuition about them is still rare.

Have a recording of your own? Paste a link or upload it.

WhipScribe sends back a timestamped transcript, like the one on this page.

Every recording starts with a free preview. Full transcripts come in packs from $4 for 300 minutes. Uploads up to 10 hours or 5 GB.

▸Alex Graveley on No Priors: Artificial Intelligence: the answers

Who is Alex Graveley?

Alex Graveley was the principal engineer and chief architect behind GitHub Copilot. He is a longtime open-source contributor and repeat founder, and he is now building Minion, a stealth project for AI bots that act for people.

What did Alex Graveley say about GitHub Copilot?

Alex Graveley said his team learned that speed matters more than expected for Copilot. Every 10 milliseconds of delay meant about 1% fewer completions people would accept, and users far from the team's only Texas data center saw poor results until the company ran GPUs in Europe.

“every 10 milliseconds is one percent fewer completions that people would do”Alex Graveley · 21:18

What did Alex Graveley say about Minion?

Alex Graveley described Minion as a way to bring Copilot-style help to everyday life outside the code editor. He imagines bots that organize schedules, book flights, handle taxes and flag contacts to reconnect with, all under controls that keep the AI aligned with the user.

“So I want Minion to give you a little bit of help outside of your code editor.”Alex Graveley · 28:09

What did Alex Graveley say about Cloudflare?

Alex Graveley praised Cloudflare's approach to bot detection, which uses browser fingerprinting in place of visual captchas. He argued that visual captchas are no longer good enough, and that better filtering of sock-puppet accounts will matter more as AI agents improve.

“I like what Cloudflare is doing with their kind of fingerprinting instead of visual captures, which are not good enough anymore.”Alex Graveley · 10:34

What did Alex Graveley say about Stripe?

Alex Graveley said that after Hackpad went through Y Combinator, Stripe adopted it as an internal knowledge base and used it for many years. He described Stripe as one of the first large companies to use the product.

“we were able to get Stripe and Stripe used us for many years, actually.”Alex Graveley · 3:56

What is Alex Graveley's main argument on No Priors?

Alex Graveley argues that the next wave of AI is agents that take action for people, not just answer questions or write copy. He says the key lessons from building Copilot, especially the importance of speed and testing, carry over to these agents, which he expects to handle everyday tasks within a few years.

Mentioned in this episode

Episode facts

Released
March 30, 2023
Length
36 minutes

▸Questions this episode answers

Q1What did Alex Graveley say about how GitHub Copilot was built?

Alex Graveley said GitHub started with a small OpenAI model fine-tuned on code, which at first passed under 10% of tests on in-the-wild Python functions. His team generated function bodies and reran the tests to measure progress, and the pass rate rose to over 60% through more training code, better prompts and training on diffs between code versions.

Q2What did Alex Graveley say about latency and code completions?

Alex Graveley said the team learned that speed matters most for Copilot: every 10 milliseconds of delay meant about 1% fewer completions people would accept. Completion rates in India were much lower because the first and only data center was in Texas, so each request travelled far and often arrived after the user had typed past the suggestion.

Q3What did Alex Graveley say about the interface experiments for Copilot in VS Code?

Alex Graveley said his team tried nearly every interface they could think of inside VS Code, including buttons over empty functions and a control-key list of generated options. The list approach gave each person only about one generation per day, so it did not work. Inline autocomplete, which showed a pop-up of suggestions, was the design that stuck.

Q4What did Alex Graveley say about the inference costs of Copilot?

Alex Graveley said the team's early estimates of inference cost were wildly off. The first estimates suggested around $30 a month per user on average, but when Microsoft's Azure setup allowed more accurate projections, the first big figure came in at about $10 a month, and further optimization on price pushed it lower.

Q5What is Alex Graveley's view on how coding with AI will change in three to five years?

Alex Graveley said it is hard for him to imagine that world, because developers now mostly know code is right by running it, while future developers may trust generated code without testing it. He thinks every barrier to that is achievable, for example by code-reviewing only dangerous or confusing parts, or by training models on functions before and after changes.

Q6What does Alex Graveley say Minion is meant to do?

Alex Graveley described Minion as a project to build bots that take action for people, not just answer questions or write copy. His examples include organizing a schedule, booking flights, finding a trip, doing taxes, and flagging contacts he has not spoken to in a long time. He wants Copilot-style help applied to everyday life outside the code editor, with checks that keep the AI aligned with the user.

Q7What did Alex Graveley say about AI scams and bad actors?

Alex Graveley said he expects a many-year period of extreme discomfort, in which AIs pretend to be people, confuse them, or drain savings from older relatives. He said he is less worried about AI killing people than about bad people using new technology to hurt them, and he thinks legislation and systems to prevent such abuse should come faster than they have.

▸Transcript

Our own transcript of the public episode, with a timestamp about every 90 seconds. Tap a timestamp to play the episode from there in the show's own player; the link button on a paragraph copies a link that opens this page there.

0:00Opening: Copilot as the pair programmer

0:00The most fun stuff was like these people that would pop up and be like, I don't program, but I just learned how to write this hundred line script that does this thing that I need. It's like, oh my God. This is the No Priors Podcast. I'm Sarah Gore. I'm Elad Gel. We invest in, advise, and help start technology companies. In this podcast, we're talking with the leading founders and researchers in AI about the biggest questions. Everyone talks about the future impact of AI, but this week on No Priors, we're talking with the architect of arguably the first AI product that has already revolutionized a profession, GitHub Copilot. Alex Gravely was the principal engineer and chief architect behind this product, a sort of pair programmer that auto-completes your code as you type. It's rapidly become a product that developers won't live without, and the most leaned-upon analogy for every new startup.

1:06Co-pilot for finance, for sales, marketing, support, writing, decision-making, everything. Alex is a longtime hacker and tinkerer, open-source contributor, repeat founder, and creator of products that millions of people use, such as Dropbox Paper. I have huge respect for the range of work he's done, ranging from hardware-level security and virtualization to real-time collaborative, web-native, and AI-driven UI. He has a new project in Stealth, Minion. Just as a heads up, we recorded this podcast episode in person, and you'll notice we don't sound as crisp as we usually do. Still, I think you'll enjoy listening to this conversation. Let's get into the interview. Welcome to the podcast, Alex. Hi.

1:46So let's start with some background. How did you end up working in tech or AI? Tech was earlier. I started, you know, really young and I got really into Linux when I was 14 or so. And yeah, it was right around the time when the web was like a new thing and you had to work to kind of get on the web. I just is the idea of helping in the open and making it freely available so other people could learn from things like i was learning from things seemed great so i went and spent many years just working on open source stuff yeah spend many hours compiling kernels and hacking on stuff and uh yeah and what was the thought process behind starting like hackpad oh hackpad yeah so i had just finished like four or five years at

2:33Hackpad started as a Burning Man tool

2:33vmware and uh i wanted to get into startups i knew i knew that and then so i left vmware and i started working on an education startup like many of us do. Many, many founders start with like the idea of an education startup. It's like a rite of passage. It's like a rite of passage. Yeah. So I spent, I don't know, nine months working on that. Turns out education is very hard. So after nine months, I was like, all right, this isn't going anywhere. I know. I don't know if there's a value prop here. I mean, that was the value is that I learned that like you have to make something that is both achievable and that people want to pay for or spend their time on. So yeah, then I was just kind of fishing around. I was living in like a warehouse in San Francisco,

3:16a bunch of Burning Man people. And we were having trouble organizing large scale Burning Man projects. And so I forked Etherpad and started hacking on it, recruited a friend in the community to start working on it with me, and yeah, just grew from there. Before we did YC, we had many of the large Burning Man camps using it to organize their builds. Can you describe the product experience? Oh yeah, it was a real-time text editor, kind of like Google Docs. Google Docs was the only other one that did that at that time. It was kind of nice because it would highlight who said what. So you could go track down if somebody had a contribution, you'd be like, oh, what did you mean? Or I heard you say something about this.

3:56So that's very useful in large-scale, pseudo-anonymous groups where you don't really know who has ownership over what, like Burning Man camps. And let's see. And then we did YC and then we got a bunch, almost many of those people did it. My like, my hack was to go do YC and try and get all the companies doing YC to use my product, which many of them did. I also took like very extensive notes of all the YC presentations using the product that everyone would then like look at. And we were able to get Stripe and Stripe used us for many years, actually. They built for the, I think we were their first knowledge base. They used it for a long time. A bunch of other big companies as well. And post Dropbox acquisition,

4:41Magic's ops-heavy assistant and Facebook M

4:41you worked on what became Paper. How do you think about like what you want to go work on next? I spent the next few years kind of poking around at stuff. I knew that I wanted to make a robot that does stuff for you. So there's this company called Magic. So I worked at this company called Magic. They were doing this like text-based personal assistance. You remember this one? I think just like everybody starts an education startup, Magic is one of those names of cycling. And there's a really cool AI company right now called Magic as well. So I feel like there's also these names that kind of persist from generation to generation, which I think is really cool. I'm sure you know it's CodeGen. Yeah, yeah, yeah.

5:15No, yeah. I haven't seen a demo yet, but it sounds like they're doing the right thing. There's a few people doing the kind of whole repository changes. So it seems like a great direction. It was all op space. It was super heavy op space. So, you know, they had teams of people and it was 24 hours and they would cycle in and, you know, lose context. And like, they're all busy because they're trying to like deal with lots of people with lots of requests all the time. And so really it was like a crash course in like human behavior, right? Like what do people do under stress how do they act what do they say what can you train what can't you train like can you bucket stuff and the answer is no like humans are complicated especially in text form the beauty

5:55of the web and like traditional uis right is that you fill them in and like if it doesn't do what you want then you make the decision to either go forward or not go forward, right? Text has this annoying property of you can be all the way at the 99% mark and then change the goal entirely. Yeah, so it's complicated. It's hard to understand what people want. It's hard to understand the complexity involved, especially when you're dealing with the real world. Flights get delayed. Passwords get lost. Do you think we're the last generation to deal with that? In other words, it feels like we're about to hit transition point in which agents can actually start doing some of these things for us for real. When before I think

6:33all these products really started with these operations heavy approaches. I remember, you know, there was a really early sort of personalized search engine called Aardbark. Or similarly, if you kind of look behind the hood, it was a lot of ops people and there was a little bit of algorithm, right? That was really with like, you would like sort of describe what you're good at or something, and then they would try and send questions to you. Yeah, exactly. They kind of route things, but I think there's actually people doing some of the routing at least, or I can't exactly remember, right? But I think it was, you know, I think a lot of people wanted to build these really complex sort of bots or agents that were doing really

7:04rich things and the technology just wasn't there, it feels like, for a period of time. There was also some startups. I remember one company that I got involved with that was trying to do like virtual scheduling and assistance, you know, six, seven, eight years ago. And again, it felt like it was a little bit early, maybe. Clara Labs. Clara, that's the one. Yeah, yeah, yeah. I remember the Sarah. And then we had an operator. Do you remember operator? I remember operator then like on the question answering stuff we had jelly so there's a whole series yeah yeah what we were able to do with magic as a like an aside there you know i started working there because i wanted to work on the ai part i think somewhere in there and facebook m started

7:40as well and it was just it was a fun place to try and learn everything I could about solving those problems. So yeah, before transformers, there was a sequence to sequence was kind of the previous iteration. You were able to like take all the, all the histories of the chats between assistants and people and train a little model on it and a little by today's metrics and run it. And it would like it would show some great text in the little text bar and people could edit it and hit enter and get the operators. Yeah, the operators. And yeah, we would measure how much time they spent typing with it and with it. And so it would save like half an hour across 100 people per day across an eight hour shift.

8:24Crypto detour: MobileCoin for Signal

8:24So yeah, that was like my first shipping ai product and then how'd you end up going to microsoft oh yeah there's a bunch of other stuff along with it so after that i got into crypto my friend was doing h captcha which was like sort of a captcha marketplace which is now like something like the number one or number two captcha service in the world, which is crazy. So kind of launched that. That was fun. Annoyed people the world over for many, many man hours in aggregate. And then left that to work with Moxie on a cryptocurrency for Signal. So that was really fun, complicated. And it all worked in a few seconds. We were shooting for Venmo quality. When you think about crypto in the context of AI, because people talk about it in a few

9:10different contexts, right? One is you have programmatic sort of money as code running, and so that could create all sorts of really interesting things from an agent-driven perspective. But then the other piece of it is identity. And some people think, I mean, WorldCoin would be one example, but there's other examples of effectively trying to secure identity cryptographically on the blockchain in an open way, and then using that identity in the future to differentiate between AI-driven agents and people. Do you think that's going to be important or does that stuff not really matter in terms of the identity portion of not only crypto, but just like how we think about the future of agents? It's a good question. The honest answer is I think we're going to go through a many year period of extreme discomfort where AIs pretend to be things or

9:52confuse people or extract money from your grandparents or drain people's life savings in ways that are scary. And, you know, OpenAI is trying to do their best but for some reason the focus has been on open ai doing everything and instead of like we should go build the systems that prevent that we should go pass the legislation that that drops the hammer on people doing that stuff we should go all this kind of stuff that is unfortunately it seems like we're gonna need some really bad things to happen before we align correctly i I'm not really scared about AIs killing us, although I'm very grateful that there are people that are thinking about it. I'm more worried about bad people using new technology to hurt us.

10:34Stress-testing society against AI spam

10:34Yeah, Ilya from NIR has some really interesting thoughts on this because he was one of the main author, or he was the last author on the Transformer paper before he started NIR. And he's brought up these concepts of like, how do you stress test society relative to the coming wave of AI, which I think is an interesting concept. Yeah, it's a great way to look at it. Like it's not as bad as it could be, right? If you think about it, they're most of the things that you want to spam, either have a spam blocker or are somewhat difficult to create an account on. So doing a better job of sock puppet account filtering is going to be really important going forward. You know, I like what Cloudflare is doing with their kind of fingerprinting instead of visual captures, which are not good enough anymore.

11:14One thing that is kind of a saving grace here is that many of the things that you would want to do cost money. So calling everybody costs money. Texting everyone should be hopefully illegal soon, but also costs money. So calling everybody costs money. Texting everyone should be hopefully illegal soon, but also cost money. Maybe not enough money to prevent these things, but. Probably not enough as agents can make money, right? They can just look at the trade-offs of cost. Yeah, I think it's interesting. I guess I would say it's not, you know, it's somewhere in the middle. It's like, imagine there's an, you know, North Korea has been trying to do this to us for a long time, right? Now there's a North Korea that has more resources or is more distributed or whatever.

11:50It's, you know, we have some mitigations. We need more. We need to be thinking about it a lot more. How did you end up at GitHub and how did you end up working on Copilot? While I was working on MobileCoin, my dad's kidneys failed and I tried to donate a kidney. And they found a lump in my chest as part of the scans they do. And, uh, I had to have my right, most of my right lung removed in 2018. And so that was a big deal. And so it took some time. It's weird. Healing from internal injuries takes a lot longer than you think. Anyway, happy story is that I don't have cancer now for over four years and my dad's kidneys got, he had a transplant also. So things are good. And so after, I don't know, I guess I was recovering

12:39for, for quite a while. And then I went and begged my friend for a job i figured i should start working again that was the transition i guess so i worked on some random stuff at first i converted github to using their own product to build github which was kind of fun they weren't yeah so i think people still use code spaces now to build github which is pretty cool but yeah then this kind of opportunity to work with open ai came up and because i had been tracking AI in the past and was pretty aware of what was going on, I jumped on it. Was that proposed by OpenAI or by GitHub or who kind of initiated it all? So I don't know the exact beginnings. I know that OpenAI and Microsoft were working on a deal for supercomputers.

13:21OpenAI's small code model arrives

13:21So they wanted to build a big cluster for training. And there was a big deal that was being worked out and there was some software kind of provisions thrown in, I think office and Bing probably. And GitHub was like, Oh, well, okay, well maybe there's something that hub can do here. Think open AI through a small, through a small fine tune over then was like, here's a small model trained on, um, on some code. See if this is interesting, you know? So we played around with it. What's small i don't know this was uh i have to remember now i think this is before i knew very much so it was definitely not a davinci size model it's for sure i don't know what size it was yeah and so it was just like i learned later this was basically a training artifact so they had wanted to see what

14:00introducing code into their base models would do i think it had positive effects on chain of thought reasoning. Code is kind of linear, so you can imagine that, you know, you kind of do stuff one after another, and the things before have an impact. And yeah, it was not that good. It was very bad. It was, I think, just like I said, just an artifact and a small sample of GitHub data that they had crawled. And this was before actually I joined me and this guy, Albert Ziegler, were the first two after Uge. Uge got ahold of this model and started playing with it. And he was able to say like, well, you know, like it doesn't work most of the time, but here it is doing something, you know, here's, here's, and it was only Python at that time.

14:44Here it is, you know, generating something useful. We didn't really understand anything. So that was enough to like, okay, well, you know, go fetch a couple of people and start working, see if there's anything there. We didn't really know what we had. So the first, you know, task was to go test it out, see what it did. We crowdsourced a bunch of Python problems in-house, stuff that we knew wouldn't be in the training set. And then we started work on fetching repositories and finding the tests in them so that we could basically generate functions that were being tested and see if the tests still pass. There had been like a brand new PyTest feature introduced like recently that allowed you to see which functions were called by the PyTest.

15:21Testing the model on Python functions

15:21So you go find that function, zero zero the body ask the model to generate it and then rerun the test and see if it passed and i think it was less i don't know 10 something like that of of those guys and the dimensions are kind of like how many chances do you give it to solve something and then how do you test whether it's worked or not right so for the standalone tests that was we had people write test functions and then we would try to generate the body. And if the test passed, then you know it works. And in the wild test harness, we would download a repository, run all the tests, look at the ones that passed, find the functions that they called, make sure that they weren't trivial, generate the bodies for them, rerun the tests, see what it passes, see what you get your percentage.

16:09Yeah. I mean, it was something like some very, very low percentage up front, but we knew that there was kind of a lot more juice to squeeze. So like getting all of GitHub's code into the model and then a bunch of other tricks that we hadn't, you know, we hadn't even thought of at that time. Yeah. And eventually, you know, it went from, you know, less than 10% on in the wild test to over 60%. So that's like one in two tests it can just generate code for, which is insane. Right. Somewhere along the way, you know, there was like 10% to 20% to 35% to 45%. You know, these kind of like improvements along the way, somewhere along the way, we did more prompting work so that the prompts got better. Somewhere along the way, they used, you know, all the versions of the code,

16:53as opposed to just the most recent version. They used diffs so that it could understand small changes. Like, yeah, it got better. And so, but when we first started, we were just, we didn't know what we had. We were just trying to figure it out at the time that they were thinking in terms of like, maybe you can replace Stack Overflow or something, you know, do a Stack Overflow competitor. Was that the first like product idea you guys had for it? I don't know that we had that idea. I think that was kind of like a... The on high? Yeah, yeah, yeah. That was more like a, I mean, I said, if you made something that competed with Stack Overflow, because we have all this code, wouldn't it be nice to leverage it?

17:28Trying UI designs inside VS Code

17:28Yeah, and so we made some UIs, but like early on, you know, it was like, early on it was bad. So it would be like, you'd watch it and it would, it would like, it would run and most of them would be bad. And be like, there'd be like one success and be like, oh, sweet. I got a success, but I had to wait, you know, some number of seconds for. Was the test user group just like the six of you like some larger group the first iteration was just like an internal tool that people would help people write these tests and then we wanted to see if maybe we could turn that into some ui that people would use because where if there's some way to cover up the fact that one in 10 things pass, right? So we tried a few UI things there.

18:06And then it was actually OpenAI. It was like, it would be nice if we could, we're testing these model fine tunes. It'd be nice if we could like test them more quickly. What about doing like a VS Code extension? Just do autocomplete. And I was like, all right, sure, why not? And yeah, so we did autocomplete at first. And that was kind of, that was a big jump, you know, because they were still thinking in terms of like stack overflow, you know, but this is, it's like, you know, I didn't have any ideas basically. I didn't know how to beat stack overflow with this thing, but we could play with some stuff in VS code that was maybe closer to the code, you know, first we did autocomplete, and that was kind of fun. It was useful.

18:48It would show this little pop-up box like autocomplete does, and you could pick some strings. And so that format actually, you know, the usage was, you know, it was fine. It wasn't the right metaphor exactly, right? But you've got, like, this code generated, mixed in with the specific terms that are in the code, and it's a little, it's not exactly the same thing. We tried things like adding a little button over top of empty functions. So you would go generate them or you could like hit a control key and it would create a big list on the side that you can choose from. Or there's a little pop-up thing. So basically tried every single UI we could think of in VS Code. And multiple generations, like the list. That didn't work.

19:25Yeah, none of them really worked. I think lists were like, you know, maybe you'd get one generation per person per day. And this was just a small sample. It was just like a few people that were interested in GitHub, language nerds, or people that had written tests for us and open AI people. Yeah, so very early on, I had this idea that it should i had this idea that should work like a gmail great text autocomplete which was i was like enamored with that product it's like it was the first quote-unquote large language model deployment in the wild it was fast it was cool like the paper's great like they give you all sorts of details on how they do it all the all the workarounds they had to do. So that was always in the back of my head, you know?

20:08It was bad, also. It was like, you know, those completions are not good. But it seemed like the right thing. Anyway, and somewhere along the way, after I tried all the UI, you know, sort of come up with some idea for... VS Code didn't support this, so I tried to hack it in. And finally, I came up with a way to hack it in. And enough to make a demo, like a little demo video. Was there support to like build real support for it within the organization? It's a little complicated. I guess, you know, we were pretty much a Skunkworks project. No one knew about us. So we would go to like the, if you go to VS Code, people would be like, hey, we need you to go implement this very complex feature. We're like, I don't even know who you are.

20:45Like, what are you talking about implement this very complex feature. Like, I don't even know who you are. Like, what are you talking about? There was definitely some politicking that happened to get the VS Code people to dedicate some resources to that on a short, short timeframe. Like, we were moving really fast. You know, it was less than a year before from beginning to ship public launch. Was there a certain metric where you're like, this is good enough, like we need to actually put it in the public product? Which specifically, like the completions or like the UI? Yeah, if it was completions, if it was... Yeah, there was, I mean, we had a long, we had a nice long window of public access before GA.

21:18Speed as the metric: latency and Texas

21:18So where it was free and you could use it. And we did a bunch of optimizing for different groups of people that would be, know okay well you know do we want more experienced people do we want more new people who want people from this area or this area and that gave us a bunch of really good stats so we were able to learn that for instance like speed is the only thing that matters yeah there's something crazy thing like every 10 milliseconds is one percent fewer completions that people would do that adds up 10 milliseconds is 1% fewer completions that people would do. That adds up. 10 milliseconds is pretty fast. We learned that because somewhere in our first few months of public release, we noticed that Indian completions were really low.

21:59Like for whatever reason, they were just significantly lower than Europe. So network latency to India? Yeah. And it turns out because OK OK, I only had one data center. So it was all in Texas. And so it was going, if you can imagine, you're typing. And so that goes from India through Europe over the water down to Texas and back and back and back. And now if you've typed something that doesn't match the thing that you requested, then that's useless. So you don't get a completion. By the way, I know it's obvious, but that's happened on every single product I've ever worked on. You know, like when I was at Google, like I worked on a variety of mobile products, same thing, you know, page load times,

22:30obviously search in general, 100 millisecond difference, like it makes a big shift in market share. So yeah, it's kind of nuts how much speed matters. Yeah, and so once we figured that out, we knew that we had something awesome, right? Like people that were close to Texas were like, this is freaking great. Like they were like, you know, we had a Slack channel and? Like people that were close to Texas were like, this is freaking great. Like they were like, you know, we had a Slack channel and people were posting in it all the time. And the most fun stuff was like these people that would pop up and be like, I don't program, but I just like learned how to write this hundred line script that like does this thing that I need.

22:57It's like, oh my God. I definitely feel like I now speak different languages that I don't actually know the syntax of, which is very exciting. Yeah. It turns out these models are really great at finding patterns. So once we had the UI mechanism that worked, so we knew we were going to have something like that. And then it was just this like using as much performance as we could get out. Like we basically never found the bottom of like, you know, we made it as fast as we could and it was still improving on completions. And then that perpetuated like, okay, okay, I know there's this plan for Azure to run OpenAI in six months. We need you to do that in the next month. So let's figure out how to make this happen.

23:37GPU capacity in Europe and inference costs

23:37Because we wanted to run a bunch of GPUs in Europe so we could hit Asia. There was no other place that we could run them in Europe. We could run them on West Coast. We could run them in Texas at the time. So that was, and Microsoft stepped up there. We got it running. And then pretty much after that, we launched. And yeah. Were you surprised by the uptake post-launch? No, no. I mean, our retention rate was 50%. Like it never went, like months later, it was still above 50% by like weekly cohort, which is like insane. Right. And we didn't, we didn't know if people would pay for it. That was one thing. I lobbied pretty hard for going cheap and capturing the market. How did you guys think about inference costs for this thing at the beginning? Oh, yeah.

24:27We were, our estimates were wildly off. Wildly off, yeah. So we got estimates that were like, you know, it'll be 30 bucks a month for your, on average, right? And then once Microsoft was able to like do some, kind of do their Azure infrastructure, we were able to then like fork off little bits so we could do more accurate projections. And there was a bunch of like moments where like, how much is it going to cost? You'd like wait for these results. The first big one was 10 bucks a month. It'll cost 10 bucks a month. And I was like, oh my God, it's so much cheaper than we expected. And then we could optimize it. And that was like, we hadn't even optimized on price yet. Right. And then we optimized on price a bunch. bunch and yeah now it's less than that so like it was very fortuitous right like we were thinking like okay well maybe it's maybe it's enterprise only

25:15because that's the only people who are going to be willing to pay for this like 30 bucks a month it's not it's a lot and that's like with no margins right um but yeah for 40 of your code it's not a lot yeah that's the thing we know that we know that now where do you extrapolate all this like three to five years out are there basically going to be just like agents writing code for us in certain ways is it 95 of code is written by co-pilots and you know humans are kind of directing it like what do you kind of view the the world evolving into in the next couple years and next couple i mean like three to five not 20 yeah it's hard i don't know i think it's hard for me to you know it's hard for me to imagine what that world

25:58Predicting coding three to five years out

25:58looks like because it's such a shift from like i have my hands on something and i know that it's right to where we are now which is i mostly know it's right or i and I know that it's right to where we are now, which is I mostly know it's right. Or I have a sense that it's right, but I have to, I have to test it and see it run to know that it's right to then just write this and I'll, I'll trust that it's going to work. Like those are pretty crazy transitions, right? Yeah. They exist. Like, you know, for sure. But you could also imagine like certain ways to do like a code review post, some chunk or some, some other sort of quality check. Yeah, I think every, if that's the goal we want to get to as a people, like, I think every barrier to that is achievable.

26:33So we can code review only the dangerous parts or only the confusing parts. Or we can do things like train a model on functions before and after changes to say like, OK, this looks like a more polished version of this function would be this. Or, yeah, we can do things like, you know, just start at the very basic, you know, very basic main loop and then add everything piece by piece with tests so that it's, you know, what works and what doesn't. And then just have the I keep generating what's the logical next feature. Like all these things will get figured out. So if that's what we want to do, that's what's going to happen. So what's the idea behind Minion? Yeah, I think I mentioned making bots that do stuff for you.

27:14Minion: bots that take action

27:14It's a broad topic. And I think that's where we see AI going. The next few years are in the eyes taking action, not just answering questions or writing copy, but actually helping us in our daily lives. Things like organizing my schedule or booking flights or finding a trip for me to take or doing my taxes or telling me which contacts I haven't talked to in a long time and should reach out to you know there's a lot of stuff that we can do by giving AIs access to information and letting them act on that information in a controlled way that checks to make sure that we're that we're aligned and yeah I think that'll be a really fun future. Almost like you can imagine Copilot applied to everyday activities, right?

28:09Like Copilot gives you a little bit of help. So I want Minion to give you a little bit of help outside of your code editor. How do you decide to work on Minion specifically? Minion specifically. So basically I stopped working at Magic. I quit because I couldn't figure out how to hook up the AI to data. I was like, in order to improve the quality, I need a PhD in math. Like, I don't know what to do now. And it just sort of, the models got better enough where that specific problem seems solvable. Yeah, so the tech got better. And so that specific problem is where interacting with the real world broke down in the past. You know, like I said, flights get delayed, prices change, not just like a little

28:50bit all the time, you know, they might not have the seat you want at the concert that you want to go to. And so, you know, AIs are this kind of compression of everything that you in their training set, but they're not a real-time mechanism anyway so that that was the idea i was like okay well i think we can you can work on this old problem of how to make a bot do stuff for people that's what we want let's go make it i don't know it's like maybe i can use the excitement from copilot to launch into something which is incredibly hard and, but which I believe the technology is around for if we can figure it out. So yeah, that's it. That's the only reason I've ever gotten into startups actually is like, okay, I want to do a startup so that I can do a

29:33harder startup, you know, or I want to do a project so I can do a harder project. Is this one sufficiently hard? This one's hard. Yeah. It's good and hard. I think part of that is there are these fun things that you kind of learn along the way that keep you engaged, right? Like the thing with code, with Copilot, it turns out code is pretty special, right? Like you can run it. So if an AI generates some code and it runs, then you know something about that code that you wouldn't know necessarily the text. And doing agent-like work on the internet or on apps has a lot of these similar kind of properties where it's like, oh, yeah, you can learn something here. We can learn from what people do or we can see if it's a success or a failure and then learn from that.

30:17Or we can optimize what works based on what doesn't work or figure out what's annoying and try to improve it. So I think these things all compound in some really interesting way you know i think the goal right is is you know straight out of sci-fi right you want to make a thing where you say hey computer file my taxes and it does the right thing you know and uh i think we can get there it's certainly in the next few years but it's also fun to like think about how to break these things down and turns out breaking down tasks in the same way that humans do. Take a complex task, you figure out, you know, you write a list of things to go through it. Same kind of thing works for AIs as well. So you break them, you break down complex tasks, figure out if there's any information

31:00you need. Maybe you have to write some code, maybe you have to ask some questions, maybe you have to query some data. Maybe you have to ask some questions. Maybe you have to query some data. Same thing a human do. Humans don't usually write code to do their taxes. But sometimes it's kind of the same thing. You go through a list of your pay stubs. That's executing a for loop. Also, I like data sets that don't exist. So people clicking on stuff on the web is a gigantic data set, which is currently unowned. And so I think that's pretty exciting. I think there's a lot of stuff to learn from that. So you're hiring. And one thing we've talked about is like, it's kind of a funny thing to try to hire for building products with this new set of technologies. And that like working in

31:43Hiring for AI product intuition

31:43machine learning for the last decade may not help you that much how do you how do you think about the people you need yeah it's been strange it seems very bimodal like very senior people get it and very young people get it and so i don't know that the middle has really caught up yet or realizes that we have the other side. No, I just mean the middle in terms of like, I just mean the middle in terms of like, it's like, I'm very young. No, it's not an age thing. It's not an age thing. It's more like you tell someone who's very naive and you tell someone who's very experienced, like I can make magic. Here's how I can do it. And then the very naive person is like, that's awesome. And then the very experienced person is like, ah, maybe, you know, but the response from

32:28almost everybody else is that's not possible or I don't see it. Yeah. A number of companies I know are trying to build that intuition internally now. And often this is the first time in a really long time that I've seen certain founders come back and start coding again. You know, they'll have a multi-hundred person company and they'll get so enamored by what's happening that they'll just dive in. A number of them have told me that they feel like some of their team members just don't have that intuition for what this can actually do. And so they don't even know what to build or where to start or how interesting or important it is. And so it's almost like this founder mindset is needed, to your point, in terms of this is a really interesting new set of capabilities and how to actually learn what these are and then how do I apply them?

33:09And I think people lack natural intuition for what this does right now. It's definitely not intuitive. Yeah. I mean, I would say I have some intuition now and people that are, again, on that experience spectrum have some intuition, but it's not intuitive. There's many kinds of different learners and there's many kinds of different programmers, right? It takes a certain kind of programmer to be comfortable with this idea of like, I don't know what's going to work. Let me try some stuff. It turns out that similar attributes to the web or product making, being able to test stuff, look at the right metrics, find the right metrics. Yeah, those are useful skills, I think, that are reusable. But the intuition and

33:45the tenacity that it takes to like you know this doesn't work at all what do i do that's still rare i think in that field because there's there's so much uncertainty that it's easy to go like i tried 10 things and it didn't work so like this is impossible like okay i think the natural reaction of somebody looking at something that has 10 performance at the beginning is like why even bother we're not going to get there. Right. That's a great point. The crazy thing is that these things work at all. Right. And not only that, but they scale and they improve the scale. Right. Most things break at scale. Almost everything breaks at scale. And that's what, you know, that's what you hire people to deal with. You know, every doubling, you usually, something breaks, you gotta fix it.

34:27Scaling surprises and closing thoughts

34:27It's a pretty crazy thing to think of what kind of emergent properties might still be out there. If we can get these things 10 times bigger. So I'm always, I'm always in favor of people pushing those limits, you know, like it doesn't make sense. Like even, even the best people can't explain what's going to happen when you, you know, go bigger. We built the large Hadron Collider for that reason too. You know, we didn't know. We think maybe we'll find some stuff. These endeavors are valuable and like, yeah, I'm grateful to be alive during this time. It's a great note to end on. Thank you for joining us for the podcast. Thanks so much. Sure. Thank you for listening to this week's episode of No Priors.

35:07Follow No Priors for new guests each week and let us know online what you think and who in AI you want to hear from. You can keep in touch with me and Conviction by following at Sarah Normis. You can follow me on Twitter at Alad Gil. Thanks for listening. No Priors is produced in partnership with Pod People. Special thanks to our team, Cynthia Galdea and Pranav Reddy, and the production team at Pod People. Alex McManus, Matt Saab, Amy Machado, Ashton Carter, Danielle Roth, Carter Wogan, and Billy Libby. Also, our parents, our children, the Academy, and tyranny.ml, just your average friendly AGI world government.

Have a recording of your own? Paste a link or upload it.

WhipScribe sends back a timestamped transcript, like the one on this page.

Every recording starts with a free preview. Full transcripts come in packs from $4 for 300 minutes. Uploads up to 10 hours or 5 GB.

▸More from No Priors: Artificial Intelligence | Technology | Startups

No Priors: Artificial Intelligence | Technology | Startups cover art
The Future is Small Models, with Matei Zaharia, CTO of Databricks2023-04-06 · 39 min
No Priors: Artificial Intelligence | Technology | Startups cover art
How do we go from search engines to answer engines? With Perplexity AI’s Aravind Srinivas and Denis Yarats2023-03-23 · 38 min
No Priors: Artificial Intelligence | Technology | Startups cover art
Your AI Friends Have Awoken, With Noam Shazeer2023-04-13 · 30 min
No Priors: Artificial Intelligence | Technology | Startups cover art
What is the future of search? With Neeva’s Sridhar Ramaswamy2023-03-16 · 36 min
No Priors: Artificial Intelligence | Technology | Startups cover art
The Computing Platform Underlying AI, with Jensen Huang, Founder & CEO of NVIDIA2023-04-20 · 45 min
No Priors: Artificial Intelligence | Technology | Startups cover art
What is the role of academia in modern AI research? With Stanford Professor Dr. Percy Liang2023-03-09 · 46 min
New No Priors: Artificial Intelligence | Technology | Startups transcripts by email
One email per new episode, unsubscribe in every message. Not shared with the publisher.