#4040th of 52 in Coding agents and assistants

ralph-claude-code

Shell loop that reruns Claude Code until a task list is finished

Stars
9.7k
License
MIT
Last commit
Oct 2026
Language
Shell

Missed the latest GitHub check; these facts may be older.

Overview

Ralph is a set of shell commands that re-runs Claude Code in a loop against a PROMPT.md and a fix_plan.md task list until the work is done. It exits only when heuristic completion indicators and an explicit EXIT_SIGNAL both agree. It adds rate limiting (100 calls/hour by default), a circuit breaker, session resume and a tmux monitor. Projects are set up with ralph-enable, ralph-import or ralph-setup.

Who it is for: Developers running Claude Code unattended on task-list-driven builds

Strengths

  • Dual-condition exit gate (indicators plus EXIT_SIGNAL) reduces premature stops
  • Rate limit, circuit breaker and 5-hour API limit handling for unattended runs
  • Imports tasks from PRDs, GitHub issues or beads; ralph-enable detects project type
  • Optional Docker and E2B sandbox execution; 784 tests reported

Weaknesses

  • Tied to the claude CLI; multi-provider support is still in progress
  • Breaking changes between versions, including .ralph/ layout and .ralphrc parsing
  • No tagged releases on the repository
  • Exit detection relies partly on heuristics; loops consume API quota

What it needs

  • no GPU
  • Docker
  • Needs Claude Code CLI, tmux, git, Docker (optional), E2B (optional)
  • Models: Claude (via Claude Code)

Also in Coding agents and assistants

See all 52
Also in Coding agents and assistants
RankProjectScore
1claw-codeRust CLI coding agent harness using Anthropic and OpenAI-compatible APIs194.9k starsMIT83 out of 100
2opencodeTerminal coding agent with build and plan modes, plus a desktop app213.5k starsMIT79 out of 100
3piTerminal coding agent with extensions, skills, and an SDK115.2k starsMIT79 out of 100
#4orcaDesktop app that runs CLI coding agents in parallel git worktrees92.5k starsMIT78 out of 100
#5oh-my-openagentTerminal coding agent with multi-model orchestration and git-backed memory70k starscustom license78 out of 100