Sandbox
@snwfdhmp/awesome-ralph

Curated Ralph loop resources for coding agents

Awesome Ralph is an awesome-list style index for the Ralph coding method. It collects the core philosophy, workflow guides, implementation repos, and community discussions around running an agent in repeated loops until the specification is met.

918 starsβ€’75 forksβ€’Updated 7mo ago
Ralph Wiggum Showdown w/ @GeoffreyHuntley
HumanLayer β€’ 12k views β€’ 8 months ago

Videos about this repo

Who it's for

Builders who want a map of Ralph loop guides, examples, and tools for agent-led coding.

What it delivers

You can quickly find the right Ralph guide or implementation instead of piecing the method together from scattered posts.

What it does

Official resources

Links to Geoffrey Huntley’s primary essays on the Ralph loop, backpressure, and context management.

Playbooks and methodology

Summaries and links for the 3 phases, 2 prompts, 1 loop workflow and related implementation guides.

Implementation roundup

A categorized list of Claude Code plugins, standalone tools, tool-specific versions, and multi-agent systems.

Tutorials and explainers

Step-by-step guides, videos, podcasts, and articles that show how people apply Ralph in practice.

Community and related tools

Pointers to Reddit, Discord, Hacker News threads, directories, and nearby context-engineering resources.

How to get it

  1. 1Ralph is a technique created by Geoffrey Huntley for autonomous AI coding. The core…
    while :; do cat PROMPT.md | claude-code ; done

README

Ralph Wiggum AI Coding method

Awesome Ralph Awesome Follow on X

A curated list of resources about Ralph (aka Ralph Wiggum), the AI coding technique that runs AI coding agents in automated loops until specifications are fulfilled.

Ralph is a technique created by Geoffrey Huntley for autonomous AI coding. The core concept is elegantly simple:

while :; do cat PROMPT.md | claude-code ; done

Key principles:

  • Run an AI agent repeatedly until a PRD/specification is complete
  • Progress persists in files and git history, not in context
  • Each iteration starts fresh with clean context
  • Use "backpressure" (tests, lints, type checks) to validate work
  • Philosophy: "Sit on the loop, not in it" β€” or as Huntley puts it: "deterministically bad in an undeterministic world"

Found this useful? ⭐️ Like this repo to help others discover it

Contents

Official Resources

Primary sources from Geoffrey Huntley, the creator of the Ralph technique.

Playbooks & Methodology

Comprehensive implementation guides covering the 3 Phases, 2 Prompts, 1 Loop workflow.

  • How to Ralph Wiggum - Geoffrey Huntley's official playbook covering context management, sandboxing, and prompt patterns.
  • ralph-playbook - Comprehensive methodology guide with diagrams, phase explanations, and "signs & gates" steering techniques.

The Core Workflow

Phase 1: Define Requirements β€” Human + LLM conversation produces JTBD-aligned specifications Phase 2: Planning Mode β€” Gap analysis generates prioritized TODO list (no implementation) Phase 3: Building Mode β€” Implement from plan, run tests, commit, repeat

Essential File Structure

project-root/
β”œβ”€β”€ loop.sh                    # Ralph loop script
β”œβ”€β”€ PROMPT_build.md            # Build mode instructions
β”œβ”€β”€ PROMPT_plan.md             # Plan mode instructions
β”œβ”€β”€ AGENTS.md                  # Operational guide (~60 lines max)
β”œβ”€β”€ IMPLEMENTATION_PLAN.md     # Prioritized task list (generated)
β”œβ”€β”€ specs/                     # Requirement specs (one per JTBD)
└── src/                       # Application source code

Implementations

Claude Code Plugins

  • ralph-claude-code - Claude Code with intelligent exit detection, rate limiting, circuit breaker, and semantic response analyzer.
  • choo-choo-ralph - Beads-powered 5-phase workflow with structured specs, verified implementations, and compounding knowledgeβ€”per-project installation with fully customizable workflows.

Standalone Implementations

  • ralph-starter - CLI with integrations for GitHub, Linear, and Notion; supports multiple agents, interactive wizard, workflow presets, and cost tracking.
  • snartank/ralph - PRD-driven task management with automatic branching, flowchart visualization, and auto-archiving.
  • iannuttall/ralph - Minimal file-based agent loop supporting codex/claude/droid/opencode.
  • smart-ralph - Spec-driven development workflow. Transforms feature requests into structured specs (research, requirements, design, tasks) then executes them task-by-task autonomously.
  • ralph-wiggum-bdd - A standalone Bash script for Behavior-Driven Development with Ralph Wiggum Loop.
  • ralph-orchestrator - Rust orchestrator with 7 AI backends, Hat System for specialized personas, and interactive TUI mode.
  • nitodeco/ralph - CLI orchestration tool for PRD-driven development with sequential task execution and interactive terminal UI.
  • pentoai/ml-ralph - Autonomous ML agent for running experiments using Claude or Codex.
  • oh-my-ralph - Opinionated Ralph Wiggum loop implemented in Python.

Tool-Specific Implementations

  • ralph-wiggum-cursor - Cursor implementation with token tracking, context rotation at 80k tokens, and interactive setup.
  • opencode-ralph-wiggum - OpenCode implementation with real-time status display, mid-loop context injection, and struggle detection.
  • ralph (GitHub Copilot) - VS Code extension with visual Control Panel, Progress Timeline, and Fresh Chat Mode.
  • ralph-tui - Terminal UI orchestrator connecting to task trackers with interactive PRD creation.
  • Goose Ralph Loop Tutorial - Block's Goose implementation with cross-model review and recipe-based workflows.

Multi-Agent Systems

  • ralph-loop-agent - Vercel's TypeScript SDK wrapper with verification callbacks and context summarization.
  • multi-agent-ralph-loop - Multi-agent orchestration for complex projects requiring parallel work streams.

Tutorials & Guides

Articles & Blog Posts

Videos & Podcasts

Videos

Podcasts

Community

Hacker News Discussions

Tools & Directories

Ralph Communities

  • r/ralphcoding - A subreddit about Ralph Coding. Share your learnings, resources, achievements with the community.
  • Ralph Discord - Discord community discussing Ralph methods/resources/achievements.

Related Tools

Support

If this list helped you discover useful Ralph resources, please give it a ⭐️ star! It helps others find this collection.

Stargazers repo roster for @snwfdhmp/awesome-ralph

Contributing

Contributions welcome! Please read the contribution guidelines first.

Join the community on Discord and Reddit

Files in the repo

Repository payloadβ€’3 top-level entries
  • .github
  • CONTRIBUTING.md
  • README.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More collections

The awesome collection of OpenClaw skills. 5,400+ skills filtered and categorized from the official OpenClaw Skills Registry.🦞

52k
phuryn/
pm-skills
phuryn/pm-skillsCollections

PM Skills Marketplace: 100+ agentic skills, commands, and plugins β€” from discovery to strategy, execution, launch, and growth.

26k

Extracted system prompts from Anthropic - Claude Fable 5.1, Opus 5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro, Antigravity. xAI - Grok, Grok Bot, Cursor, Kimi and more! Updated regularly.

65k
1 add