⠀⠀⠀⠀⠀⠀⣀⣤⣶⡶⢛⠟⡿⠻⢻⢿⢶⢦⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⢀⣠⡾⡫⢊⠌⡐⢡⠊⢰⠁⡎⠘⡄⢢⠙⡛⡷⢤⡀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⢠⢪⢋⡞⢠⠃⡜⠀⠎⠀⠉⠀⠃⠀⠃⠀⠃⠙⠘⠊⢻⠦⠀⠀⠀⠀⠀⠀ ⠀⠀⢇⡇⡜⠀⠜⠀⠁⠀⢀⠔⠉⠉⠑⠄⠀⠀⡰⠊⠉⠑⡄⡇⠀⠀⠀⠀⠀⠀ ⠀⠀⡸⠧⠄⠀⠀⠀⠀⠀⠘⡀⠾⠀⠀⣸⠀⠀⢧⠀⠛⠀⠌⡇⠀⠀⠀⠀⠀⠀ ⠀⠘⡇⠀⠀⠀⠀⠀⠀⠀⠀⠙⠒⠒⠚⠁⠈⠉⠲⡍⠒⠈⠀⡇⠀⠀⠀⠀⠀⠀ ⠀⠀⠈⠲⣆⠀⠀⠀⠀⠀⠀⠀⠀⣠⠖⠉⡹⠤⠶⠁⠀⠀⠀⠈⢦⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠈⣦⡀⠀⠀⠀⠀⠧⣴⠁⠀⠘⠓⢲⣄⣀⣀⣀⡤⠔⠃⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⣜⠀⠈⠓⠦⢄⣀⣀⣸⠀⠀⠀⠀⠁⢈⢇⣼⡁⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⢠⠒⠛⠲⣄⠀⠀⠀⣠⠏⠀⠉⠲⣤⠀⢸⠋⢻⣤⡛⣄⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⢡⠀⠀⠀⠀⠉⢲⠾⠁⠀⠀⠀⠀⠈⢳⡾⣤⠟⠁⠹⣿⢆⠀⠀⠀⠀⠀⠀ ⠀⢀⠼⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⠃⠀⠀⠀⠀⠀⠈⣧⠀⠀⠀⠀⠀ ⠀⡏⠀⠘⢦⡀⠀⠀⠀⠀⠀⠀⠀⠀⣠⠞⠁⠀⠀⠀⠀⠀⠀⠀⢸⣧⠀⠀⠀⠀ ⢰⣄⠀⠀⠀⠉⠳⠦⣤⣤⡤⠴⠖⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢯⣆⠀⠀⠀ ⢸⣉⠉⠓⠲⢦⣤⣄⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⣠⣼⢹⡄⠀⠀ ⠘⡍⠙⠒⠶⢤⣄⣈⣉⡉⠉⠙⠛⠛⠛⠛⠛⠛⢻⠉⠉⠉⢙⣏⣁⣸⠇⡇⠀⠀ ⠀⢣⠀⠀⠀⠀⠀⠀⠉⠉⠉⠙⠛⠛⠛⠛⠛⠛⠛⠒⠒⠒⠋⠉⠀⠸⠚⢇⠀⠀ ⠀⠀⢧⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⠇⢤⣨⠇⠀ ⠀⠀⠀⢧⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣤⢻⡀⣸⠀⠀⠀ ⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⠛⠉⠁⠀⠀⠀ ⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⢠⢄⣀⣤⠤⠴⠒⠀⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⡇⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠘⡆⠀⠀⠀⠀⠀ ⠀⠀⠀⡎⠀⠀⠀⠀⠀⠀⠀⠀⢷⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⡇⠀⠀⠀⠀⠀ ⠀⠀⢀⡷⢤⣤⣀⣀⣀⣀⣠⠤⠾⣤⣀⡘⠛⠶⠶⠶⠶⠖⠒⠋⠙⠓⠲⢤⣀⠀ ⠀⠀⠘⠧⣀⡀⠈⠉⠉⠁⠀⠀⠀⠀⠈⠙⠳⣤⣄⣀⣀⣀⠀⠀⠀⠀⠀⢀⣈⡇ ⠀⠀⠀⠀⠀⠉⠛⠲⠤⠤⢤⣤⣄⣀⣀⣀⣀⡸⠇⠀⠀⠀⠉⠉⠉⠉⠉⠉⠁⠀ Credit: https://emojicombos.com/ralph-wiggum-ascii-art
This is a simple orchestrator for Ralph Wiggum loop invented by Geoffrey Huntley.
- Claude Code
- Github Copilot
- Opencode
- Amp
- Any other tool that you can call from CLI (Experimental)
Python 3.10+
- Install the package
pip install oh-my-ralph - Place a
requirements.mdfile with your detailed requirements in your working directory (where you want the software to be built) - Choose an AI agent and run the Ralph Loop with the appropriate command below.
Claude Code offers Anthropic's Claude models with advanced coding capabilities.
Prerequisites:
- Install Claude Code: Follow instructions at https://code.claude.com
oh-my-ralph --agent "claude -p" --model sonnet --working-dir /path/to/dir/with/requirementsNote: The --dangerously-skip-permissions flag is automatically added to enable all permissions for seamless operation.
AMP provides powerful AI assistance with multi-model support and advanced coding capabilities.
Prerequisites:
- Install AMP:
npm install -g @sourcegraph/amp@latestor usenpx --yes @sourcegraph/amp
oh-my-ralph --agent "npx --yes @sourcegraph/amp" --model smart --working-dir /path/to/dir/with/requirementsNote: The --dangerously-allow-all flag is automatically added to enable all permissions for seamless operation.
Features:
- Multi-model support (Claude Opus 4.6, GPT-5.2, fast models)
- Advanced coding capabilities with subagents and oracle mode
- Seamless integration with development workflows
- Automatic permission handling with
--dangerously-allow-allflag for uninterrupted operation
OpenCode is the default agent and provides a web interface for monitoring progress.
oh-my-ralph --agent "opencode run" --model opencode/glm-4.7-free --start-opencode-web-at-port 8089 --working-dir /path/to/dir/with/requirementsFeatures:
- Web dashboard at
http://localhost:8089 - Supports various OpenCode models
- Real-time progress monitoring
- Automated permission handling for seamless operation
GitHub Copilot CLI provides powerful AI assistance with access to GitHub's Copilot models.
Prerequisites:
- Install GitHub Copilot CLI: https://docs.github.com/en/copilot/github-copilot-in-the-cli/quickstart
oh-my-ralph --agent "copilot -p" --model gpt-4 --working-dir /path/to/dir/with/requirementsNote: The --yolo flag is automatically added to enable all permissions for seamless operation.
Features:
- Access to GPT-4 and other Copilot models
- Non-interactive execution per iteration
- Seamless integration with GitHub ecosystem
- Automatic permission skipping with
--yoloflag for uninterrupted automation
- Runs your specified
agentcommand in a loop. - The loop exits when any of the following occur:
- The command prints
<PROMPT>DONE</PROMPT>. - The maximum number of iterations is reached, configurable via
--max-iterations. - Error occurs for 5 consecutive runs of the loop.
- You manually stop the process by pressing
Ctrl+C.
- The command prints
Tests are automatically run during the build process. To run tests manually:
pytestpython test_ralph.py -v
python test_cli_model_required.py -vAll tests must pass before building.