Ralph

github.com

An open-source autonomous agent loop that reruns Amp or Claude Code until all PRD items are done.

Pricing
Open source
Published
Nov 9, 2026

Next steps

What it does

Ralph (MIT, about 22k GitHub stars, by Ryan Carson) implements Geoffrey Huntley's Ralph pattern: a shell script that repeatedly runs an AI coding tool, Amp (default) or Claude Code, against your project until every item in a product requirements document is complete. You copy ralph.sh and the prompt template into your repo or install the bundled PRD skills globally. Prerequisites are an authenticated Amp or Claude Code, jq and a git repository.

Use cases

  • Run Amp or Claude Code repeatedly until every PRD item is complete
  • Turn a product requirements doc into a task list an agent works through autonomously
  • Add a reusable PRD skill to Amp or Claude Code across projects

Frequently asked questions

What does Ralph need?
Amp CLI or Claude Code installed and authenticated, jq, and a git repository.
Where does the idea come from?
It is based on Geoffrey Huntley's Ralph pattern.
Is it free?
Yes, MIT licensed; you pay for the underlying coding tool.
Log in to join the discussion