AIAny
AI Agent2025
GitHub

Ralph for Claude Code

Wraps Claude Code in a loop that re-runs it until a task is done, gating every exit behind two conditions — semantic completion plus an explicit EXIT_SIGNAL — so it never stops early. Adds rate limiting and a circuit breaker for unattended, headless runs.

Introduction

The hard part of letting an AI coding agent run unattended isn't making it loop — it's knowing when to stop. Ralph's entire design turns on that question: it re-runs Claude Code against your spec over and over, but gates every exit behind two independent checks, so a single optimistic "looks done" never ends the job half-finished. It's a faithful take on Geoffrey Huntley's "Ralph" technique, named only half-jokingly after Ralph Wiggum.

What Sets It Apart
  • Dual-condition exit gate. The loop quits only when semantic completion signals and an explicit EXIT_SIGNAL: true from Claude both agree — the mechanism that keeps it from stopping on a partial task or churning forever.
  • Runaway protection by default. ~100 calls/hour rate limiting, three-layer API-limit detection, and a circuit breaker that auto-recovers after stagnation — the difference between "runs overnight" and "burns your quota by 2am."
  • Built for headless operation. A setup wizard pulls tasks from GitHub Issues or a PRD, sandboxed Docker/E2B execution isolates the agent, and a live dashboard streams loop progress and API usage.
Great Fit If / Look Elsewhere If

Great fit if you can hand it a well-scoped spec and want Claude Code to grind through implementation in a sandbox while you sleep. Look elsewhere if your task is vague (garbage in, garbage out still holds), you need parallel processing of multiple issues (not supported), or you're not on Claude — multi-provider support is still in progress, and it assumes Bash 4+, tmux, and jq are present.

Information

  • Websitegithub.com
  • AuthorsFrank Bria
  • Published date2025/08/27

Categories

More Items

Hugging Face

Evaluates coding agents on 141 executable tasks spanning frontend and application development, data analysis, and more. Each task includes a starting environment, reference solution, and verifier.

GitHub
AI Agent2026

Equips AI agents to create and manage Obsidian Markdown, Bases, and Canvas files, use Obsidian’s CLI, and sync vaults without the desktop app.

GitHub
AI Agent2026

Handles everyday tasks across real websites and apps, asking before actions that can have real-world consequences. Data and saved logins stay on the machine running it, and you choose the model.