
Description
Ralph for Claude Code is an autonomous development loop that runs Claude Code repeatedly on a project until the work is complete. It implements a technique described by Geoffrey Huntley and adds safeguards that stop runaway loops and excessive API use. Each loop checks an exit gate that requires both completion indicators and an explicit exit signal, and a circuit breaker stops the loop when it detects repeated errors. Rate limiting is set to 100 calls per hour by default and can be changed. The tool keeps session continuity with a --resume flag and expires sessions after 24 hours by default. It supports JSON output with a fallback to text parsing, a dry-run mode that simulates loops without making API calls, a live streaming view, and tmux integration for monitoring. Metrics are tracked per loop and summarized by a ralph-stats command, and automatic git backup branches can be created and rolled back. Ralph can also import requirements from a PRD or a GitHub issue. Install it once and use the ralph command in any directory. The project reports 784 tests and is at version 0.11.5.…
Highlights
- Autonomous Claude Code development loops
- Dual-condition exit gate
- Rate limiting and circuit breaker
- Dry-run mode and live streaming
- Git backup branches with rollback
Ratings & Reviews
No ratings yet
Be the first to rate Ralph for Claude Code.
People also visit

ralph-orchestrator
by mikeyobrien - Ralph Orchestrator implements the simple but effective "Ralph
Ralph for Claude Code FAQ
What is Ralph for Claude Code?
An autonomous loop that keeps running Claude Code on a project, with built-in limits to prevent runaway loops and API overuse.
How does it decide to stop?
It needs both completion indicators and an explicit exit signal, and a circuit breaker also stops the loop when repeated errors are found.
Can I try it without using the API?
Yes. Dry-run mode simulates loops without making API calls.
What are the default limits?
The README says 100 calls per hour, with an hourly reset, and sessions expire after 24 hours by default. Both are configurable.
Can it make backups?
Yes. The --backup option creates git backup branches, and --rollback restores them.
How do I install it?
Install it once, and it becomes a global command you can use in any directory.
What are the best Ralph for Claude Code alternatives?
Popular alternatives to Ralph for Claude Code include Ralph Wiggum Plugin, ralph-reviewed and ralph-wiggum. See all Ralph for Claude Code alternatives

















