Claude Code or Ralph Workflow? It depends where the work should end.
Claude Code is strong when you want to collaborate live with an agent and steer the work turn by turn. Ralph Workflow ends somewhere else: it drives a coding-agent CLI through a bounded loop, rebases each commit onto main, and pushes it. No pull requests.
Today the push runs without checks. The gate that will run your suite on the exact commit before every push is our top engineering priority and has not shipped. Read what to know before you install.
Quickstart
pipx install ralph-workflow
ralph --init
ralph --diagnose
$EDITOR PROMPT.md
ralph
Needs Python 3.12+, git, one agent CLI you have signed in to, and a remote named origin with a main branch you can push to. Delete the starter marker at the top of PROMPT.md; Ralph Workflow won't run while it is there.
Agents it can drive: Claude Code, Codex, OpenCode, Cursor, Kimi, Nanocoder, Pi and Google's Antigravity CLI. Switch agents and keep the same PROMPT.md.
How it runs Claude Code: it starts claude with --dangerously-skip-permissions, so the agent can run commands and edit files without prompts, using whatever account you signed in with. Run it somewhere you are willing to give the agent that access.
Use the right shape for the task.
See the full comparison for other tools and the FAQ, or how to write a first spec.
- Use Claude Code
- Best when you are at the keyboard and still shaping the answer. Nothing about that changes: keep Claude Code for the work you are still shaping.
- Use Ralph Workflow
- When you can write down what done means. It runs Claude Code itself, unattended, through a bounded loop, then rebases each commit onto main and pushes it.
- Use both
- Explore first, then hand off. Shape the idea interactively, write the spec in PROMPT.md, then let Ralph Workflow land it on main.