Open-Source AI Coding Orchestrator: What Ralph Workflow Is Actually For¶
If you are searching for an open-source AI coding orchestrator, you will find many tools that start agents, run several at once, and show you what they are doing.
Ralph Workflow does one narrower thing: it lands coding-agent work directly on main, automatically, with no pull requests.
It is a free, open-source command-line tool (AGPL-3.0-or-later) that runs on your own machine with the coding-agent CLI you already use.
What it does¶
You write the spec.
PROMPT.mdsays what done means and how to check it. You approve the intent before any code is written, not the diff afterwards.Your agent plans, builds and commits. Claude Code, Codex, OpenCode, Cursor, Kimi, Nanocoder, Pi or Google’s Antigravity CLI, signed in with your own account. The default is 2 developer cycles;
--quickgives 1,--long5 and--thorough10. Wall-clock timeboxes also apply. Caps limit cycles and time, not money.Each commit is rebased onto your local
main. The agent resolves conflicts. If it can’t, the engine falls back to a merge commit.Your whole local
mainis pushed toorigin/main. A plain push, never forced. Iforigin/mainmoved first, the push fails and the work rebases again.The agent’s own review pass runs after the push. It can loop back and fix things in new commits.
Nobody opens a pull request, and nobody merges by hand.
What it does not do yet¶
Today the push runs without checks. The agent is asked to run the checks in PROMPT.md, but nothing enforces them. “Verify” in the loop is an agent review, not an executed check. Ralph Workflow does not read CI results; your CI runs after the push, on main.
The gate will close that gap: your suite and acceptance checks will run on the exact commit that will land, before the push, and a failing commit will go back to the agent instead of landing. It is the top engineering priority and has not shipped. Until it does, no push is verified.
Other limits worth knowing before you install:
It pushes your whole local
main, including commits you have not pushed yet and the engine’s own commits (AGENTS.md, CLAUDE.md, its policy files, its skill bundle and.gitignore). Nothing checks for committed secrets.Agents run without permission prompts, in their unattended mode, so they can run commands and edit files without asking.
Uncommitted work on
maincan be cleared. If files in the checkout that holdsmainare in the way, they are saved underrefs/ralph-reclaim/(kept up to 30 days) and removed. Setauto_integrate_reclaim_target_worktree = falseunder[general]inralph-workflow.tomlto make it refuse and retry instead.A protected
mainthat requires pull requests rejects the push. The run carries on and the commits stay on your localmain.
What a good first run looks like¶
Pick a repository that already has tests, and a task small enough that you can check the result in one sitting. Then:
pipx install ralph-workflow # Python 3.12+
ralph --init # config and a starter PROMPT.md
ralph --diagnose # is the agent CLI on PATH? (not: is it signed in?)
# edit PROMPT.md: the outcome, the checks, and delete the starter marker
ralph
When the run ends, the commits are already on origin/main. Check what landed against your spec: read the commits, run your tests, look at what CI says on main. If something is wrong, git revert it, like any other commit.
A good spec makes that check fast. For example:
Task: Reject an empty project name in the CLI create flow
Done when:
- `create ""` exits non-zero with a clear message
- a test in tests/test_create.py covers it
- the full test suite passes
Out of scope:
- reserved names
Where to go next¶
Getting Started: the shortest path to a first run
When Ralph Workflow Fits, and When It Does Not: choosing a first task
How to check what landed on main: what to look at after a run
Source and feedback¶
Primary repo: https://github.com/Ralph-Workflow/Ralph-Workflow
Report first-run friction: https://github.com/Ralph-Workflow/Ralph-Workflow/issues/new
Codeberg mirror: https://codeberg.org/RalphWorkflow/Ralph-Workflow