< CollectionsArticle
Ralph.
Run the same prompt in a loop until the work is done, and when it goes wrong, fix the prompt.
4 sections · 4 problems
0 of 4 done
Start Next: 01 Write a Ralph Loop From Scratch
Section 01
The loop
0 of 1
The post: A coding agent, one prompt, and a shell loop that runs it again and again.
Section 02
The plan file
0 of 1
The post: The loop works through a checklist, one item a loop, and ticks an item off only when the tests pass.
Section 03
Back pressure
0 of 1
The post: Tests and builds reject bad work, so the loop can run without someone watching it.
Section 04
When it is stuck
0 of 1
Beyond the post: A loop that repeats itself needs noticing.