An autonomous coding-agent orchestrator: hand off a well-specified task and return to reviewable, tested work.
Project description
ralph-workflow
Ralph Workflow is a free, open-source orchestrator for AI coding agents. Hand it a well-specified task, let agents plan, build, verify, and fix, and come back to reviewable, tested work.
Install
pipx install ralph-workflow
ralph --version
pipx keeps the install isolated from your other Python projects; the
post-condition is that ralph --version prints the installed package
version.
First run
The complete first-run path is six short steps and does not require opening any other config file before your first run.
- Install Ralph Workflow. Use
pipx install ralph-workflow(orpip install ralph-workflow). - Start in your project.
cd /path/to/your/projectand runralph --init. It creates your user-global config and aPROMPT.md; project-local config is optional later viaralph --init-local-config. - Confirm a coding agent. Ralph Workflow looks for supported agents
already on your
PATHand enables the ones it finds. Install and authenticate an agent first if none are found. - Check the setup. Run
ralph --diagnoseand fix any reported problem before starting work. - Describe the task. Edit
PROMPT.mdwith the outcome and checks you expect. For a task-shaped starter, useralph --init feature-spec,guardrail,refactor,test-coverage, ordocsbefore a prompt file exists. - Run Ralph Workflow. Run
ralph, then read the finish-receipt artifact: it names the change, checks run, and review focus before you decide what to do next.
The canonical first-run walkthrough — with screenshots of the bundled config layout, the per-agent model-string cheat sheet, and what each diagnostic flag actually checks — is in Getting started. It is the single home for the first-run sequence and does not require opening any other config file before your first run.
Supported agents
Eight built-in agents ship with Ralph Workflow:
| Agent | Notes |
|---|---|
| Claude Code | Anthropic's CLI for Claude (interactive, PTY transport). |
| Claude Code (Headless) | Same claude binary in headless subprocess mode (claude-headless). |
| Codex | OpenAI's Codex CLI. |
| OpenCode | Open-source terminal coding agent. |
| Nanocoder | Local-only TUI coding agent. |
| Google Anti Gravity (AGY) | Google's Antigravity CLI (agy, v1.0.9+). |
| Pi | Minimal coding agent. Headless mode is pi --mode json <prompt>. |
| Cursor | Cursor Agent CLI (agent), headless --print mode. |
Pick one, authenticate it on your machine once, and Ralph Workflow uses it. The selection and trust-boundary story is in the maintained Sphinx manual under agents and agent-compatibility.
Requirements
- Python ≥ 3.12
- Local execution; no daemon, no cloud dependency
- One supported agent CLI installed and authenticated
License
AGPL-3.0-or-later.
Documentation
The maintained operator manual is at
docs/sphinx/index.rst — tutorial,
configuration reference, MCP / artifact / pipeline configuration,
concepts, troubleshooting, diagnostics, and developer internals.
Project home
- Repository: https://codeberg.org/RalphWorkflow/Ralph-Workflow
- PyPI: https://pypi.org/project/ralph-workflow/
- Issue tracker: https://codeberg.org/RalphWorkflow/Ralph-Workflow/issues/new
- Contribution route:
CONTRIBUTING.md
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ralph_workflow-0.9.4.tar.gz.
File metadata
- Download URL: ralph_workflow-0.9.4.tar.gz
- Upload date:
- Size: 2.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
522e08f7bebf08fa024aeb5efb791780515b38b3c48872ecf34398dd1818d262
|
|
| MD5 |
0cd6ff6efb3079f1ac63945357b8d3b4
|
|
| BLAKE2b-256 |
07f9b661309cce1bd03b4c0d9a0f1c7cb61ed7737985727374eead013e175269
|
File details
Details for the file ralph_workflow-0.9.4-py3-none-any.whl.
File metadata
- Download URL: ralph_workflow-0.9.4-py3-none-any.whl
- Upload date:
- Size: 2.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
231698d196e8d8424ebf046abb4ff53c307d2401b068d42f0588a5379b76abec
|
|
| MD5 |
32e90c2d7e303bbdc982253d7e871b00
|
|
| BLAKE2b-256 |
32f0b9313d8a0259645ffd7b0bed80e1da9e5db40d07bd2a0e40556a083d4cc6
|