• Picks
  • Discover
  • Alternatives
  • About

© 2026 Willet

  • Newsletter
  • About
  • FAQ
  • Terms
  • Privacy & Cookies
Join the Discord (opens in a new tab)
Ryan Carson avatar

Ralph

Bash loop that reruns a coding agent until every PRD story passes

  • AI coding agents
  • Agent skills and plugins
View on GitHub
Website

What it is

A shell script and prompt templates that launch Amp or Claude Code over and over, each time in a fresh context, picking the next unfinished user story from a prd.json file, implementing it, running typechecks and tests, and committing on success. State carries between runs through git history, a progress log, and AGENTS.md notes. It also ships skills for drafting PRDs and converting them to the JSON task format. Developers who want an agent to work through a feature backlog unattended use it to break work into small stories and let the loop grind through them.

Images

Facts

Stars
22,022 GitHub stars.
22,022

Forks
2,097
Commits
20
Contributors
4
Language
TypeScript
License
MIT
Last commit
Feb 2, 2026
On GitHub since
January 2026
Platforms
macOS, Linux, CLI
Self-hostable
No
Author
Ryan Carson
Tags
  • agent-skills
  • coding-agent
  • spec-driven-development
  • agent-harness
  • ai-agents

Last synced from GitHub on Oct 20, 2026

The 10 best overlooked open-source projects, every Monday.

Share and more

Comments

No comments yet. Start the conversation.

Similar projects

  • Amazon Web Services - Labs avatar

    AI-DLC Workflows

    Structured, gated development lifecycle workflows for AI coding agents

    5.4k
  • Chachamaru avatar

    Claude Harness

    Plan, work, and review workflow plugin for AI coding assistants

    3.2k
  • GitHub avatar

    Spec Kit

    Structured spec, planning, and task workflows for AI coding agents

    142k

What people are saying

Updated Oct 21, 2026
  • Bluesky“jumped on the Ralph bandwagon. adapted this one for claude code noticed it got forked 300 times in the last day. tried this one first, an older mature…”Jan 11, 2026 · 5 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“One solution is the "ralph loop" that tells the agent to just keep going (popularized by which does more than just the loop described here). However, with…”Apr 28, 2026 · 0 likes · 1 reply (opens Bluesky in a new tab)
  • Bluesky“Gonna try ralph overnight instead of staying up all night with CC”Jan 21, 2026 · 1 like · 0 replies (opens Bluesky in a new tab)
  • Bluesky“GitHub - snarktank/ralph: Ralph is an autonomous AI agent loop that runs repeatedly until all PR...”Apr 14, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“My favorite new AI trend this week is Ralph Wiggum, in which you just force the agent to run in an infinite loop with no option to abort until it satisfies…”Jan 16, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)