Loading summary
A
Today, we're breaking down the clearest explanation of Ralph Wiggins. No, not the Simpsons character. It's the AI coding loop that everyone is freaking out about. RALPH is a simple idea with huge consequences. You give an agent a list of small tasks and it keeps picking one, implementing it, testing it, committing the code. It's basically a way for you to have AI agents building your business, building your product overnight while you sleep. Sounds too good to be true, but it works. And it uses Claude Opus 4.5 to go and do it. So in this episode, this is the clearest explanation of how beginners can learn how to use ralph. You don't need to be technical to understand it. By the end of this episode, you will be capable to implement RALPH so that you too could wake up to features fully done for ideas in your head for the startup you want to build. Enjoy the episode. The Startup Ideas Podcast. It's sipping time, baby. We finally got Ryan Carson on the pod. This is a guy who. Ryan, I don't know if you know this, but I was a Treehouse customer. I learned how to code many years ago, maybe 12 years ago, and he is one of the best communicators when. When. When it comes to learning AI, learning how to code. So we brought him on to figure out what the hell is ralph.
B
What is happening? Greg, it's so good to be here, man. Like, I literally watch your show. I'm not one of those people. It's like I watch show and don't. I do. It's packed, packed with knowledge. So it's fun to get the invite. And it's crazy. You were a Treehouse student. I mean, I learned how to code, getting a computer science degree, which seems hilarious now. And I decided people shouldn't need a computer science degree. So launched Treehouse, taught a million people how to code, and now people really don't need a computer science degree.
A
That's right. So for this, for this episode, what are people going to learn? And if they stick around to the end, who are they going to be?
B
So what I'm going to teach everybody is how to build an entire feature for your app while you sleep. So if you watch through the end, you're going to have all of the technical knowledge, even if you're not a hardcore developer. In fact, I would say this is perfect for you. If you're not a hardcore developer, you're going to have all the knowledge, all the code. I literally have a repo that you can go and download the code. So watch to the end and you're going to have the sauce.
A
All right, let's do it.
B
Okay. So a friend of mine named Jeff Huntley thought up this idea called ralph. And Jeff is super creative and he launched this a while ago. And the idea is really simple, but that's why it's so good. So yesterday I thought, you know, I'm just going to post about this and give people a breakdown of what is this thing, how does it work? And, you know, you never quite know when the algo is going to hit on X. Sometimes it does, sometimes it doesn't. And this went bonkers. Right? So you can see we're over 700,000 views. Then there's been retweets of this thing that have got over 100,000 views each. So it's just gone ballistic. So what is it? Well, I'm going to walk you through it. I'm sure Greg will share all the links in the show notes so you can click through and read this. But I'm actually going to walk you through a workflow of what is RALPH and how does it work? So let's start there. Say that you're building an app. You know that you want to add a feature to it. This is often when you do what's called a product requirement doc or a prd. The idea is that you want to build something like, hey, I want to add this new feature that does xyz and you want to build that. But it's pretty complex. Like, this is not a one shot, make me a landing page. This is a pretty complex thing you want to add to your app. Well, how do you do that? So you start off with writing a prd. And a prd, thankfully, is something that agents are really good at. So the way that you do that is that you actually have amp or cloud code or whoever is your agent of choice do that. So I'm going to show you how I do that. I'm going to show you this, which is called the PRD generator. So what I do is I fire up amp and I basically start talking. I use whisper flow. Love it. And I basically say, okay, I want to build this feature and this is all the stuff it should do. And I just talk for often, like two, three minutes. And then I tag this file, right? So this is a simple markdown file. This is a skill called PRD generator. And this isn't rocket science, Right? So it's got the job that you want AMP to do or your agent to do. It's going to receive a feature description from the User, it's going to ask three to five essential questions that clarify. It's going to ask for answers to basic questions. Right. So this is a pretty standard prompt. Right. So what I've done just to remind you is if we go back to our flow, I've opened up amp, I've clicked whisper flow and I've started talking. And then I tag this file or this skill and I say, use my PRD skill and turn this into a prd. You can actually see I've got a real life example of me doing this and a file that ends up being a prd. So let's go back here. All right, so you've got this markdown file, which is a product requirement document. Again, just in kind of normal person language. That's just a description of what you want to build. And it often has things called user stories in there, which are specific things that you want the user to be able to do in this feature. So now you've got a markdown file. Great. What do you do with that? So the next step is, this is a RALPH specific thing, is that you convert this into a JSON file. Now I've shown sort of an example of a JSON file. If you don't know what that is, it's basically a specific format that computers like. So what you can see is that this is a user story. So the title is add priority field to a database. And then the acceptance criteria. This is the most important thing. So how do you. How does AMP or your agent know if it's done with this thing? You have to give it clear what we call acceptance criteria. They're basically tests so that the agent by itself can build this thing and know if it was done without asking you. So the whole key of RALPH is that it's going to build this whole feature while you sleep. But how is it going to do that without you saying all the time that's good or that's bad or this needs to be fixed? It has to know if it passed the acceptance criteria. Right. So this is one of the big unlocks with RALPH or any kind of flow like this, is that the agent needs to have a feedback mechanism so that it knows if what it's doing is correct.
A
So what you're saying is the alternative is you have to be ralph, right? You have to be that person to be like, yes, no, yeah, you have.
B
To do all the testing, right. And that's a pain. So. And the agents are smart enough now, Opus 4. 5 is smart enough now that if you give it good acceptance criteria and it can do it. So, all right, so we've got a prd, a product requirement doc. We've used this skill. Let me take this here. Okay, so now this is called the RALPH PRD converter. And it says, it converts a PRD to a PRD JSON file for the RALPH autonomous agent system. And it basically says, okay, take a PRD and markdown format and then output it like this. Right? So this is telling the agent exactly what you need the PRD to be turned into. And it has a couple really important things here, like the story size, the number one rule. Each story must be completable in one RALPH iteration. So this is the other big unlock with working with agents is that they have a context limit, right? So you know, with Opus, you're looking at about 168,000 tokens. You have to be picking chunks of work that can be fully completed within that context window. And this is why RALPH works so well, is that it runs little independent threads where it completes one user story because it's not very big. So you've got a bunch of very small user stories. Story ordering, it puts the ones that it should do first at the top and then it says acceptance criteria. They must be verifiable. Right? So this is really key. So good criterias are add, you know, status columns to the task table with default pending. You can filter dropdown has options all active completed. And again, these are things that amp wrote for me and I verified, but they're important that it's in there. So let's go back. All right, so we've created our product requirement doc. Great. We've used the RALPH skill to turn it into a JSON file. Great. Now we run a script. So this is a little different. So most of us who have used agents like an AMP or a cloud code or a cursor, you're used to opening up that program, right? So you open up cursor or you open up AMP and you start talking to it, right? This is actually a BASH script, right? So this is a file that, that your actual local computer runs. So I'm going to show you actually what this looks like really quick.
A
And for people who don't know what BASH is, it's. It's just a way for.
B
It's just a type of. So. So, so when you open up your command, your terminal, which is basically a text input box for your computer, you can type commands on it and you can also run scripts on it. So that's what a bash script is it's a type of file that the computer can run from the command line. So I'll show you what this looks like. And again, this is open source. And we're going to have all these notes, all these links in the notes. And so you could literally take this RALPH public repo I have, download it and use it. So let's go and look what this actually looks like. Now, this looks kind of scary, but let's look at what it's actually doing. So it's saying, okay, how many times can this script run? The default is 10. It has a script directory, it has the PRD file, right? Like we talked about this. So it's called PRD JSON. It's got a progress file, which we're going to talk about. And then the idea is that it archives the script when it's done, and then basically it does a loop. And I'll explain how that loop works visually, because it looks nicer than Bash, but this is the actual file that runs. So once again, we'll quickly recap. We've got a PRD rewrote. We converted it into a PRD JSON, which is just a list of user stories. Every user story is very small, right? It has very clear acceptance criteria. And then you go to the command line and you run the RALPH script, which is you type a couple characters and you hit enter. Now then what happens? And why is this so exciting? So, all right, so then what happens is the agent, you know, I use amp, it picks one of the stories, usually it picks the first one and it's looking for any user story that has passes false, right? So you can see here, has this user story been, does it pass or not? No, this one doesn't. So let's grab it, right? And this is the other really cool thing about ralph. So for decades, teams of engineers have been working this way. You have a list of usually sticky notes, or now that's Kanban boards, and you have a user story. You pull it off and you say, I'm going to do that. You go to your desk, you start coding, and then you complete it. You commit it and you merge it. Then you come back to the board and you grab another sticky note. This is the way humans have been coding forever. And the reason why is because it works. You have a unit of work that you can understand, that you can test and you can complete independently, right? And this is exactly what RALPH is doing. So it's picking a story, grabbing off the board, and it's tackling it. So then it starts working, right? This is what we're all used to. If you're in cloud code, or if you're in amp, or if you're in cursor, you say, okay, build this thing and you start seeing it working, right? So I'm actually going to show you today I posted and I said, okay, this is a real thing. I actually built an entire feature with ralph and these are the steps I took. I created the prd, I created the user stories, and then I started ralph. And then I'm just going to show you an example of kind of what this looks like for real. So this is a thread and amp, this is basically what you would usually look at and type into. And this is the system prompt that RALPH gets, right? So it says you're an autonomous coding agent working on my project, your task, read the prd, read the progress log and just do a bunch of stuff. And then it basically says, and then it starts working on it. Do, do, do, pretty straightforward. And then you can see down here it's actually cranking, right? So this is the kind of stuff you're used to seeing. So here it starts writing code. Now the whole time that this is happening, I'm sleeping, right? Or you know, I'm having dinner with my amazing wife or something, or I'm paying attention to my kids, right? But RALPH amp is cranking on that first user story without me having to look at it, give it feedback, do anything, because it has everything it needs the context, it has the acceptance criteria, it has everything.
A
What about tokens? Is it burning through my tokens?
B
No, this is the beautiful thing. So I actually looked at a couple of these. Let's actually look really quick. Yeah, so look at this. This was three bucks. I mean, $3, that's less than a latte.
A
Totally.
B
So the question is, how valuable is your time, Right? I think that, you know, for some people three hours is going to be too much, right? So for instance, the typical RALPH cycle is probably 10 iterations, so you're looking at maybe 30 bucks. But think about how expensive and how hard that would have been with your time or developers time. So it becomes pretty amazing. And I'll do one plug, which is that we're about to launch a daily free token allowance on AMP. And so you get like 10 bucks a day. So you could do this for free. So, and so I think people are afraid of like, what if the agent runs by itself? Is it going to go off and do crazy things? And the answer is no, because you gave it a clear User story with clear acceptance criteria. Right. It's going to be actually a pretty small thread, so.
A
Right. I mean, it only does a crazy thing if your criteria is crazy, right? Yeah.
B
So this is the whole point is you have these very small atomic user stories. So. All right, so Amp cranks, it actually finishes the feature, the user story, and then it commits the change. Right? So it's like, okay, I did everything. And this is really important. This is in the system instructions for RALPH when you finish commit, because you may need to roll back, right? You may need to go back and fix things. And this allows the agent to do that if it needs it. This is pretty standard stuff for agents. And then what it does next is it updates the PRD JSON. And if you look at this, it's going to change this from passes false to passes true. So all of a sudden it's like that person, they go back to the board and they put the sticky note back on and it's crossed off. Right. And then this is one of the most important things is that it logs its progress. So this here is really important. So what's going to happen is when this iteration is finished, it's going to learn things. It's going to learn things about your code base. It's going to run into walls and have to go around them. You don't want it learning that stuff every time. Right. So what it does is a very simple prompt. It says if you learned, if any of the files you edited have Agents MD files in that folder and you learn something that's important, update that file. So not only are you, and this is what Kieran and the team over at every absolutely crushed with their compound engineering concept, is that your agent should be getting smarter every time it makes a mistake. And by updating Agents md, you're gonna get that long term benefit. This isn't just during this iteration. You're gonna benefit every time from now on that you use AMP or cloud code. So.
A
And for people who don't know what Agents MD is and the importance of it, can you give a quick primer on it?
B
You bet. So what? It's a very simple file. It's literally a markdown file. And think of it as notes that you would give to a new developer who had never seen your code. And the neat thing is you can have an Agents MD file in every folder in your entire repo if you want. And what happens is AMP will if AMP starts looking at a file in a folder and it sees an Agents MD file in that folder it will read it first. So it's cool. It's like sticky notes everywhere, right? So it's like if you have some knowledge about this part of the code base and you really want the dev to know, hey, before you mess with stuff, read this. That's what Agents MD does. So you can have it at the top of your folder directory so that gets read every time the agent works. Or you can put it, bury it down in some subfolder so that it just reads that when it's editing that file. So that's really, really important. If you don't do this, you're going to have a bad time over and over again. And then what it does is it updates a progress TXT file. This is like short term memory. So this is like saying, hey, during, during these 10 iterations that Ralph is going to do, what are some things that we're kind of learning? What are we doing? How does all this work? I'm actually going to show you. Actually, I won't show you an example because it's a bunch of text. But the idea is for each iteration it's going to say, okay, here was the amp thread that we used, which is great because then the agent can go back and read it. So say that you get to iteration two and it wants to see, well, what I do in iteration one. It can actually read that thread and figure it out. It also puts a couple notes in there like, oh yeah, I probably shouldn't do that in the future. Or I should think about this. It's more of a short term memory, whereas Agents MD is its long term memory, things that it really needs to remember. So that is logging in progress Txt anything confusing so far?
A
Crystal clear.
B
Nice.
A
Yeah.
B
Okay, so what happens next? Well then RALPH says, okay, is there any more stories? So it goes back up to the little board and looks for more sticky notes, right? And it says, oh, yep, there is more stories. So I just do it again, right? I pick a story, it usually picks the next one in the JSON file. But the nice thing about it is it's like a human. It can also figure out, well, I could do that story or that story. I'll pick this one because that would be smarter. So it grabs it, then it implements, commits a change, it updates the PRD JSON file, it logs its progress updating any Agents md and it just does this over and over again until da da, it's done. So this I'm going to show you again. This was a real example of me using RALPH today. So this morning I built a big feature into my app. So I created the PRD and then I created the user stories and then we cranked and we started doing this. Now this Ralph iteration took 14 iterations to do just to kind of zoom into like one of these, right? What does this actually look like? So again, same system prompt. Now this is the key is I think people don't get it. Like, well, why is this different than me just like using AMP or CLAUDE code like on my computer. And what's happening is you're getting a fresh loop every time. So you're getting a brand new thread or a brand new instance of CLAUDE code every time. So you're starting fresh with a brand new context window. Starting from fresh. So these are the instructions, this is what we're doing. Read the prd, do the stuff, progress report format, append to it. Here's how to append. So the things that's putting the progress file are the AMP thread so that it can read it again. What was implemented, the files that were changed, any learnings for future iterations, you know, patterns discovered, gotchas, useful context and then it kind of cranks through and then it starts down here, you know, and that's pretty much it. I mean, it's very, very simple. And with that you can ship massive features while you sleep. And y', all, I've been, you know, I got my computer science degree 26 years ago, right. I've taught a million people how to code. Right. I've started companies with huge engineering teams. Right. This loop is basically an entire engineering team. Why you sleep. It's unbelievable. And this just wasn't possible before Opus 4.5. I think with Opus 4.5, this is absolutely the real deal. And just wait till Opus 5 comes out. I mean, it's so, so exciting to be alive right now.
A
Yeah. And I think it's not just an engineering team, it's a high quality engineering team that, you know, runs by best practices.
B
Right. For $30.
A
For $30.
B
It's so crazy. Now in a perfect. The real world is. So let's look back at this thread. At the bottom, I said after I finished, I tested manually and did find a few edge bugs. This is normal, right. You're going to probably run into a couple things that don't quite work right. Or aren't perfect. But AMP and I just worked on it and cranked out fixes really fast and the feature shipped this morning. So that's what all the hubbub is about with ralph again, it's Exciting because it's so simple. It's a loop, right? It's grabbing a user story and doing it. It's having clear acceptance criteria and then it's writing down what it learns so that it doesn't make the same mistakes. The last thing I will say very, very, very important I'm going to zoom in is these two steps. Writing a PRD and converting them to user stories. This is where you should spend a huge amount of time. Like you should spend an hour on this, right? It's very, very, very important that you get your PRD right and that your user stories are small atomic and that you have clear acceptance criteria. Because if you don't take your time on that, you're going to get 10 iterations of Ralph and you're going to end up with something that's not very good. And I will say one tip, one really good at the coal face with your pick as you're working is figure out how to connect your agent to a browser. I have a specific skill which is in. Let me actually show you GitHub. Let's go to Snark tank and I'm going to show you this repo called AMP skills. If the you can download all these, these are open source now not open source but this one is what I would use which is your web is your dev browser. Okay. So dev browser used this because what this does is this allows AMP or claude code to actually use your browser and test and your user stories that involve front end code remember that the agent needs to be able to test that. And testing browser is hard for agents. So you have to give a specific skill like DevBrowser. This is a free skill that a friend of mine made. It's really good. So one small tip for you.
A
Cool. We'll include that in the show notes. If people want to get started today, how do they get started with ralph?
B
So I would probably go to this repo. So just go to GitHub.com nartank Ralph, it's completely free. Look at the code but just tell your agent to look at this code. So tell your agent to go set it up if you're using amp. Great. And it will crank it out, get it all set up and then say okay, I want to ship my first feature. How do I do it? And it will walk you through it.
A
And you believe that even if you're non technical you can do it.
B
Yeah, I think you need to be curious. I think you need to have agency. But I think if you have those two things which you probably do if you're watching the show. You can do this now. It helps to be technical, right? There's a couple things that are useful, but I think we're now in a world where if you want those skills, you can acquire them very, very quickly. And I'd encourage you go out there and get your hands dirty. Like, that's the most important thing is use the thing, figure out how it works, and then if you don't get it, ask amp. Ask cloud code. Like, you have this superhuman tutor to help you. So just ask them.
A
Ryan, thank you so much for coming on.
B
You.
A
You explained this exactly how I wanted you to, crystal clear. Unbelievable. I would love to have Ryan back on the pod if he. If he would come back. But, you know, would you a. Would you come back on the pod?
B
Let's do it. I'd love to. Let's share as much knowledge as we can.
A
And I want that comment section on YouTube Buzzing for Ryan for. Because, listen, it might look easy now. You might be like, oh, I get Ralph. That was super easy. But it's because he explained it in a simple way, which I think is the beauty about you, Ryan. So thank you so much. I'll include links for all of this to get started. Links to follow Ryan on X, you know, links to amp, links to Claude code, and Ryan, anything else you want to make mention to.
B
Well, thanks, Craig, for your content. Like, it is a big unlock. I think if people want to learn these things, they can. And your content is a big piece of that. And the second thing I would say is you do not need a computer science degree, y'. All. You can do these things. Like, if you are curious and hardworking, you can now do anything. And now's your moment. So if you've got an idea, build, build, build.
A
Yeah. Quit watching us right now.
B
Get out of here. Go. Come. Get out of here.
A
All right, we'll see you next time. Thanks again, Ryan.
The Startup Ideas Podcast – Greg Isenberg with Ryan Carson
Date: January 8, 2026
This episode dives deep into "RALPH"—not the Simpsons character, but an autonomous AI coding agent loop that enables anyone, even non-technical founders, to ship software features while they sleep. Host Greg Isenberg is joined by Ryan Carson, founder of Treehouse, to break down RALPH's workflow, explain how it works technically and practically, and offer actionable advice for beginners who want to leverage this cutting-edge tool.
The PRD is transformed into a JSON file containing user stories, each small enough to be completed in one loop (iteration).
Acceptance Criteria
Instead of a GUI, RALPH operates as a Bash script on your command line.
The script picks the next incomplete user story, launches a new Claude Opus 4.5 instance (or similar LLM), and completes the cycle: 1. Picks a user story (not yet passing) 2. Implements and tests the feature 3. Checks acceptance criteria and commits code 4. Updates progress and logs learnings for next iterations
Why small stories matter:
RALPH loops through all stories, picking, implementing, testing, and logging each independently.
The process mirrors human agile development: one “sticky note” (user story) at a time with progress tracked continuously.
Agents.md: Long-term memory; stores crucial lessons for future agents or developers about sections of the codebase.
progress.txt: Short-term memory; logs what happened in each iteration for immediate reference.
Agents.md files before editing code.On Simplicity and Impact:
“It’s grabbing a user story and doing it. It’s having clear acceptance criteria and then it’s writing down what it learns so that it doesn’t make the same mistakes.” — Ryan [24:38]
On democratizing development:
“You do not need a computer science degree, y’all. You can do these things...if you are curious and hardworking, you can now do anything.” — Ryan [28:18]
On the workflow’s power:
“This loop is basically an entire engineering team. Why you sleep. It’s unbelievable. ...And just wait till Opus 5 comes out.” — Ryan [22:44]
Links mentioned:
“If you are curious and hardworking, you can now do anything. And now's your moment. So if you've got an idea, build, build, build.” — Ryan Carson [28:29]