# frankbria/ralph-claude-code

Autonomous AI development loop for Claude Code with intelligent exit detection

Repository: https://github.com/frankbria/ralph-claude-code
Canonical: https://ross.abutalabs.com/products/ralph-claude-code
Language: Shell
License: MIT
License Family: permissive
Topics: ai, ai-agent, ai-agents, ai-development, ai-development-tools, claude-code, claude-code-cli, development-tools, development-workflow
Last push: 2026-07-18T02:33:21+00:00

## Health v2 (maintenance only)
Score: 59/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 93, release rhythm 35, longevity 26
- inputs: {"age_days": 371, "days_push": 47, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9611, forks 721 (observed 2026-08-28T04:10:36.277345+00:00)

## What it is
Ralph is a shell-based CLI tool that runs autonomous development loops with Claude Code, letting the AI iteratively improve a project until completion. It adds safeguards like dual-condition exit detection, rate limiting, circuit breakers, and git backup branches to prevent runaway loops and API overuse.

## Use cases
- run claude code autonomously until a task is done
- prevent infinite AI coding loops
- limit API usage during AI development sessions
- automate iterative code improvements with claude
- resume interrupted AI coding sessions
- get notified when an AI dev loop finishes
- back up and roll back changes made by an AI agent

## When to choose
- you use Claude Code and want hands-off, continuous development cycles
- you need safety rails like rate limits and exit detection for AI loops
- you want metrics, logging, and rollback for autonomous AI coding

## When to avoid
- you don't use Claude Code as your AI coding agent
- you prefer fully manual, review-every-change workflows
- you need a GUI-based AI development environment

## Facets
- artifact type: cli-tool
- maturity: active
- function: agent-framework, cli, developer-tools, workflow-automation, rate-limiting
- domain: developer-tools
- platform: cli
- tags: claude-code, autonomous-loop, exit-detection, circuit-breaker, git-backup, tmux, ai-agents, automation, command-line, linux, macos, shell

## Member repositories
- frankbria/ralph-claude-code (main) score 59

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:36.277345+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:21:52.533499+00:00, confidence not recorded.
  - readme: https://github.com/frankbria/ralph-claude-code (fetched 2026-08-28T04:10:36.277345+00:00, sha 9b3f7aa0adbc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
