AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
Code Assistant/
ralph-claude-code
ralph-claude-code logo

ralph-claude-code

Active·★ 9.7k·MIT·Updated 2026-10-25
★ Trending

Ralph for Claude Code implements Geoffrey Huntley's technique, named after Ralph Wiggum, for running Claude Code in continuous autonomous development cycles. It installs once as a global command and then wraps a project in a loop, with safeguards so the loop stops sensibly instead of running away.

The README lists a dual-condition exit gate that needs both completion indicators and an explicit EXIT_SIGNAL, rate limiting with an hourly reset (100 calls per hour by default), a circuit breaker with error detection and a response analyzer that filters errors in two stages, handling of Claude's five-hour usage limit with user prompts, session continuity with a configurable expiry (24 hours by default), tmux monitoring, PRD import and an uninstall script. It reports version 0.10.0 as active development with 308 passing tests across 11 files; that release moved all Ralph files into a .ralph/ folder as a breaking change and added a ralph-migrate command. Items still in progress include dry-run mode, a config file, log rotation and metrics. It is MIT licensed.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool. Data as of 2026-10-24.

License
MIT
Latest release
No GitHub releases
Last commit
2026-10-24
Contributors
31
Forks
730
Open issues and PRs
19
First published
2025-08-27

Source: GitHub, npm and PyPI public APIs.

#Autonomous AI#Claude Code#DevOps#CLI Tools#Session Management#Coding
$ Install
$ git clone https://github.com/frankbria/ralph-claude-code.git && cd ralph-claude-code && ./install.sh
↗ Visit site★ GitHub
01

Features

01Autonomous Development Loop
02Intelligent Exit Detection (Dual-condition)
03Session Continuity and Expiration
04Rate Limiting and Circuit Breaker
05PRD Import Functionality (Multi-format)
02

Why choose it

+Adds guardrails to an autonomous loop: dual-condition exit, rate limiting, a circuit breaker and error analysis.
+Handles Claude's five-hour usage limit and keeps session continuity with a configurable timeout.
+tmux monitoring lets you watch the loop, and a PRD import helps start from a requirements document.
+Well tested for a small project (308 tests reported), with install, migrate and uninstall scripts.
03

Trade-offs

!It runs Claude Code autonomously in a loop, so it consumes your usage quota and API calls (the default cap is 100 calls per hour) while you are away.
!v0.10.0 moved all files into a .ralph/ folder as a breaking change, so projects set up on older versions need the ralph-migrate step.
!Several listed features are still in progress, including dry-run mode, a config file and log rotation.
05

Maintenance check

ActiveChecked: 2026-10-27
Last commit
2026-10-25
Commits, last 90 days
14
Releases, last 90 days
0
Latest release
—
Open issues
18
Recent issues with at least one comment
21/23
Commits per week, last 12 weeks
Commits per week, last 12 weeks: 0, 0, 0, 0, 0, 0, 0, 2, 11, 0, 1, 0

Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.

Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.

Most discussed open issues

  • #327 [P8.1] Recompile triage-incoming-issues.lock.yml to pick up gh-aw v0.79.8 + checkout v6.0.32 comments · 2026-06-15
  • #389 [P8.7] E2B upload list contains .ralphrc twice (file count off by one)1 comments · 2026-10-10
  • #388 [P8.6] E2B sandbox: remaining RALPH_DIR edge cases (symlink to outside, cwd /, outside-workspace mapping)1 comments · 2026-10-10
  • #384 [P8.5] GLM review check fails on every fork PR (no secrets) — skip it for forks1 comments · 2026-10-09
  • #375 [P8.4] Remove obsolete create_files.sh (embeds a pre-#346/#371 loop)1 comments · 2026-10-07

Issue titles are quoted from GitHub. Open the link to check whether a problem still applies to the version you use.

04

Who it fits

Pick it if
  • You want Claude Code to keep working in a loop while you are away, with safeguards so it stops sensibly.
  • You want a dual-condition exit, rate limiting (100 calls per hour by default) and a circuit breaker.
  • You want the loop to handle Claude's five-hour usage limit and keep session continuity.
Look elsewhere if
  • You cannot afford unattended usage: it consumes your quota and API calls while running.
  • You set it up before v0.10.0 and cannot run the migration: files moved into `.ralph/`.
  • You need dry-run mode, a config file or log rotation: the README lists them as in progress.
06

How it differs

ruflo logovs ruflo★ 79.8k

Ruflo coordinates swarms of agents with a console and memory. Ralph runs one Claude Code loop with exit and rate safeguards.

Full comparison →
07

Compatibility

Claude Code CLI
Native
Verified via docs
Claude
Supported AI
Verified via docs
tmux
Monitoring
Verified via docs
GitHub Actions
CI/CD
Verified via docs
08

Quick start

1
$ git clone https://github.com/frankbria/ralph-claude-code.git
2
$ cd ralph-claude-code
3
$ ./install.sh
09

Use cases

↳Automating software development projects using Claude Code.
↳Converting existing product requirements or specifications into actionable autonomous development plans.
↳Iterative improvement, debugging, and feature addition to codebases with AI guidance.
10

Alternatives

⚡Top VS:
VSruflo★79.8k→VSclaudian★15.8k→VSbuildwithclaude★3.7k→VScodefuse-chatbot★1.3k→
ruflo logo
ruflo★ 79.8k
🌊 The leading agent orchestration platform for Claude. Deploy intelligent multi-agent swarms, coordinate autonomous workflows, and build conversational AI systems. Features enterprise-grade architecture, distributed swarm intelligence, RAG integration, and native Claude Code / Codex Integration
VSCompare→
claudian logo
claudian★ 15.8k
An Obsidian plugin that embeds AI coding agents (Claude Code, Codex CLI, OpenCode and more) in your vault, with the vault as the agent's working directory.
VSCompare→
buildwithclaude logo
buildwithclaude★ 3.7k
A single hub to find Claude Skills, Agents, Commands, Hooks, Plugins, and Marketplace collections to extend Claude Code
VSCompare→
codefuse-chatbot logo
codefuse-chatbot★ 1.3k
An intelligent assistant serving the entire software development lifecycle, powered by a Multi-Agent Framework, working with DevOps Toolkits, Code&Doc Repo RAG, etc.
VSCompare→
awesome-devtools logo
awesome-devtools★ 687
A curated list of awesome developer tools and services — from cloud platforms and IDEs to AI-powered coding assistants and productivity utilities.
VSCompare→
Context7 logo
Context7★ 63.8k
MCP Server that provides up-to-date code documentation for LLMs and AI code editors.
VSCompare→
Open Interpreter logo
Open Interpreter★ 68.7k
A coding agent for the terminal, optimized for low-cost and open models. Forked from OpenAI's Codex, it can emulate other agent harnesses and runs commands in a native sandbox.
VSCompare→
awesome-cursorrules logo
awesome-cursorrules★ 41.0k
📄 Configuration files that enhance Cursor AI editor experience with custom rules and behaviors
VSCompare→
See all alternatives →

Featured in these lists

  • Best Claude Code Workflow Tools, Skills and Harnesses

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs05Maintenance check04Who it fits06How it differs07Compatibility08Quick start09Use cases10Alternatives
frankbria /
ralph-claude-code
↗

Autonomous Claude Code loop with exit detection, rate limiting and a circuit breaker

9.7k730MIT
Last commit3d ago
StatusActive
CategoryCode Assistant
Contributors31
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.