Ralph Workflow vs Claude Code¶
If you already know Claude Code, the simplest difference is this:
Claude Code is a coding agent you drive directly, in your terminal.
Ralph Workflow runs Claude Code (or another supported agent CLI) for you, and lands the work directly on
main, automatically, with no pull requests.
Ralph Workflow does not replace Claude Code. It needs a coding agent to run, and Claude Code is the default one. It is a free and open-source CLI (AGPL-3.0-or-later) that runs on your own machine, with no daemon.
The core difference¶
With Claude Code, you stay in the loop. You prompt, read, redirect and decide what to keep, a few minutes at a time.
With Ralph Workflow, you step out of the loop and approve the intent instead. You write a spec in PROMPT.md that says what done means and how to check it. Then Ralph Workflow:
runs Claude Code to plan, build and commit, for a set number of developer cycles (2 by default;
--quick1,--long5,--thorough10);rebases each commit onto your local
main, with the agent resolving any conflicts;pushes
maintoorigin/mainwith a plain push, never forced; andruns the agent’s own review pass after the push, which can loop back to fix things in new commits.
Nobody opens a pull request, and nobody merges by hand.
What is not built yet¶
Today the push runs without checks. Claude Code is asked to run the checks in PROMPT.md, but nothing enforces them, and your CI runs after the push, on main. The gate, which will run your suite and acceptance checks on the exact commit before every push, is our top engineering priority and has not shipped. Until it does, we do not call any push verified. Watch what lands and git revert anything wrong.
Choose Ralph Workflow when¶
you can write what done means, and how to check it, before any code;
the repository already has tests;
the task is bounded: a feature slice, a narrow refactor with tests, a cleanup with an obvious check;
a bad commit on
maincosts onegit revert; andthe agent can run on a machine, container or VM you are willing to hand over, because Ralph Workflow starts Claude Code with
--dangerously-skip-permissions.
Choose Claude Code on its own when¶
you are exploring a codebase and do not yet know what done means;
you want to approve commands or edits one at a time;
you are making small changes while you watch; or
the work should not reach
mainuntil you have looked at it.
Using both¶
The two fit together. Use Claude Code during the day to explore and to shape the task. When you can write the spec, hand it to Ralph Workflow and let it run. Ralph Workflow uses the same Claude Code login, so its usage is billed to your account. Caps limit cycles and time, not money.
Fastest honest first test¶
Before you start, have Claude Code (or another supported agent CLI) installed and signed in on your machine.
pipx install ralph-workflow
cd /path/to/your/project
ralph --init
ralph --diagnose
$EDITOR PROMPT.md
ralph
ralph --initcreates the config and a starterPROMPT.md. Delete the starter marker at the top; Ralph Workflow refuses to run until you do.ralph --diagnosechecks that the agent CLI is on yourPATH. It does not check that you are signed in.
Use one real task, not a demo. When the run ends, check what landed on origin/main against the spec.
Before you install, know that the push sends your whole local main, including commits you had not pushed and the engine’s own commits (AGENTS.md, CLAUDE.md, policy files, a skill bundle, .gitignore), and that nothing checks for committed secrets. If your forge requires pull requests on main, the push is rejected and the commits stay on your local main.