BASE

Ralph for Claude Code

Ralph for Claude Code

Tool for autonomous development iterations · Free

A CLI wrapper for repeated Claude Code runs, with completion detection, rate limits, and a circuit breaker for implementing tasks from a specification.

Also known as: frankbria/ralph-claude-code

Resource illustration: Ralph for Claude Code

Open resource ↗

What you can use for free

You can use the code under the stated license; servers, APIs, and compute must be provided separately.

Paid features and costs

Claude Code and model costs are billed separately.

Access and limitations

You can use the code under the stated license; servers, APIs, and compute must be provided separately. Claude Code and model costs are billed separately.

Use cases

  • Write completion criteria and set a maximum number of iterations.
  • Run a short loop in a test branch and check exit detection and the circuit breaker.

Example workflow

A possible workflow; this is not a report of hands-on testing.

A CLI wrapper for repeated Claude Code runs, with completion detection, rate limits, and a circuit breaker for implementing tasks from a specification.

Before you start

  • A repository, a specification, and a limited iteration budget.

Steps

  1. Write completion criteria and set a maximum number of iterations.
  2. Run a short loop in a test branch and check exit detection and the circuit breaker.
  3. Compare the result with the workflow's goal; after changing the project, run its standard checks.

Check your result

  • The loop stops according to its condition; tests confirm the implementation.
  • Check connection permissions and dependency terms; confirm external service costs if the workflow requires them.

Choosing Ralph for Claude Code

Write completion criteria and set a maximum number of iterations.

Choose this when

  • Write completion criteria and set a maximum number of iterations.
  • Run a short loop in a test branch and check exit detection and the circuit breaker.

Requirements

  • Prepare the task configuration and check it in a dry run before the actual loop.

Things to consider

  • Costs and limits of free use: Claude Code and model costs are billed separately.
  • Terms of use: MIT for the code and instructions in this repository; integrated products have separate licenses.
  • A dry run does not confirm implementation quality or passing tests. EXIT_SIGNAL alone does not replace other completion indicators.

Frequently asked questions

What can you use for free in Ralph for Claude Code?

You can use the code under the stated license; servers, APIs, and compute must be provided separately.

What additional costs might arise with Ralph for Claude Code?

Claude Code and model costs are billed separately.

What terms of use matter for Ralph for Claude Code?

MIT for the code and instructions in this repository; integrated products have separate licenses.

How do you get started with Ralph for Claude Code?

Write completion criteria and set a maximum number of iterations. Run a short loop in a test branch and check exit detection and the circuit breaker. Compare the result with the workflow's goal; after changing the project, run its standard checks.

What does a dry run check?

The README describes a dry run without API calls: it checks launch configuration. The actual loop separately uses completion indicators and EXIT_SIGNAL to determine when to stop.

License

MIT for the code and instructions in this repository; integrated products have separate licenses.

MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.

License terms

Technologies and topics

  • Ralph for Claude Code
  • frankbria
  • Ralph loop

Sources

Other resources