The alpha, twice a week
That was 4 min.
Get the best new moments in your inbox every Wednesday and Saturday. It's free.
Check your inbox
We sent a link to your address. Click it to finish signing up. Not there in a minute? Look in spam.
or
Lightcone · 4 min · Nov 7, 2026
Replit automated the copy-paste loop between ChatGPT and code
Amjad Masad watched non-programmers shuttle code and errors between ChatGPT and Replit.
The episode’s best minutes
Full analysis- 22:32Replit is replacing some $10 million software projects for $250,0006 min
- 1:53Replit automated the copy-paste loop between ChatGPT and codePro pick 4 min
- 14:44Replit’s infrastructure gave its agent a head start4 min
- 5 more moments in the full episode
“Replit would produce some error. They would copy the error, put it into ChatGPT, and then copy the fix.”
Amjad Masadat 2:34 · LightconeTakeaways Pro pick
- Users were already building with AI before Replit’s agent launched.
- The hard part was automating the back-and-forth and interpreting errors.
- The agent had to keep going until the program worked.
One of Pro's picks, open to you here. Try Pro free for 7 days
One of Pro's picks. The rest of the summary and the 3 takeaways are in Real Alpha Pro; the video, the quote and the transcript stay free.
Read it with Pro, 7 days freeAbout this segment
Amjad Masad watched non-programmers shuttle code and errors between ChatGPT and Replit. That exposed the need for an agent to keep fixing errors until the program worked.
Amjad Masad is co-founder and CEO of Replit.
Co-founded and leads Replit, a browser-based coding platform letting anyone write and deploy code.
- PG
Paul Graham, Host
From “How To Build The Future: Paul Graham & Amjad Masad”, Nov 7, 2026. Watch the full episode
Thanks. We'll look at and fix what's off.
Transcript
Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.
- 2:06
enlightening is watching some of our users code and so some some users were doing 100 percent of their code using AI. But the way they did it... No, you're talking about once you released Vibe coding. No, no, before that, before that, I'll tell you. How were they finished? Okay. So they would open ChatGPT in one window, and they would open Replit in another window. This is someone who's never coded before.
- 2:34
How could you tell that they were pasting code out of ChatGPT? I invited some users to the office. Oh, you would literally watch them? We would watch them. Okay, how do you do this? And basically, they would copy the code, put it into Replit. Replit would produce some error. They would copy the error, put it into ChatGPT, and then copy the fix. And it was such a manual process. And I looked at it.
- 2:57
All we have to do is make an API. Well, we have to automate the entire process. It wasn't obvious. It wasn't easy because back then, AI models would do a couple of tool calls. Oh, you know what's different? The difference is it's not just you have to automate the back and forth. You have to understand the errors, right? Exactly. Yeah, that's hard. Yeah, and you have to loop. And the terminal condition should be that the program is working as opposed to- Yeah, that's still true.
- 3:26
Right. As opposed to kind of like, we'll do one turn, right? Because that's how ChatGPT sort of worked. That's how most AI tools worked. And so can you loop indefinitely? Go to completion. Yes. Right. Which is, that's the new thing. That's what Claude does. Yes. Yeah. So that's what we demonstrated. That's what Replit first demonstrated is, so we demonstrated a couple of things. One is that you can run LLMs to completion.
- 3:55
Which I bet was news to the model companies. They did. They actually reached out to us and they were like, we're so, I'm surprised that ReplenAsia works. How did you make it work? And the crazy thing, Paul, is that the harness circa 24 is 10 times more complex than the harness today because the models were less capable. Yeah. So as models get more capable, like what the kind of the engineering you have to do to make them become agents is less and less so.
- 4:23
Does that mean it's easier for people to compete with you? Yes. But we have to do, well, that's the thing about the AI business today. is that you have to just accept that everything that you're doing is like getting commoditized constantly and you have to like- You're doing the next thing. You're doing the next thing, right. But the other big thing that we demonstrated is that AI can provision infrastructure.
- 4:46
So up until that point- And you actually have infrastructure to provision. Yes. That's the thing that's different between you and all these competitors, right? Exactly. So we had built like databases- You'd spent all these years suffering doing system software. Right, right. Right. So it was a little like tool call, spin up a database, you know, spin up a Redis, like host this, you know. And so what people found so surprising when we launched, I mean, you saw the product July 2024.
- 5:13
And when did you launch it? September 24. Okay. And so when people saw it, like Andrej Karpathy said, this was like an AGI moment, like a field AGI moment, because everyone was like, holy crap, like LLMs could do that. It freaked me out. Yeah.