WhoBuilt

Ralph Loops: Build Dumb AI Loops That Ship

May 4, 2026· 1 h 48 min· 42K views·Watch on YouTube

Speaker

Chris Parsons, a CTO and AI adviser at Cherrypick, leads an AI Engineer workshop on using Ralph loops to automate coding and other repeatable work.

From brittle workflows to agent loops

Parsons describes replacing a complex n8n newsletter workflow with a Claude Code skill that uses a simple loop: read instructions, choose a step, use tools, and repeat. He says the skill produces a better first draft and improves over time when asked to update its instructions based on each session.

Start with one ticket, then repeat

A Ralph loop repeatedly asks an AI to do a task, giving it chances to notice what it missed. In a live demo, Parsons has Claude Code implement a Pomodoro timer ticket, add a test, and then revisit the work. He recommends starting with a simple loop that selects the next important ticket rather than manually mapping every dependency.

Improve the loop with feedback and context

Parsons says the prompt should specify how work is tested, refactored, marked done, and committed. He recommends reviewing the result and refining the loop over time; skills can hold project-specific instructions, while a separate agent can provide a less biased review. He also stresses permissions and sandboxing, especially when agents can access private data or the internet.

Choose what to automate and where to stop

Parsons describes loops for coding, project work, newsletters, and daily briefings, while keeping consequential actions such as sending email for himself to review. He says each loop needs clear stopping rules, such as pausing when it reaches an irreversible action or needs human judgment. He keeps a final verification step for projects and important code changes.

Scale around the real bottleneck

For teams, Parsons recommends connecting agents to the ticket system, claiming work before starting, and reducing ticket contention. He says AI can expose bottlenecks in review, releases, and coordination, so teams should fix the constraint before adding more agents. Tests and CI/CD help, but he still reviews security-sensitive changes and production database migrations.

Takeaways

  • Begin with one small task and a repeatable prompt that tells the agent how to verify its work.
  • Make ticket selection, testing, completion, and stopping rules explicit in the loop or skill.
  • Use a separate reviewer when the same agent may be biased toward approving its own work.
  • Limit permissions and pause for human review before irreversible or sensitive actions.
  • When AI increases output, identify whether review, release, or coordination is the team's main bottleneck.

Mentioned in this talk

Search inside this talk

What was claimed 8

Related talks