Skip to main content

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.

  1. Install Ralph Workflow. Use pipx install ralph-workflow (or pip install ralph-workflow).
  2. Start in your project. cd /path/to/your/project and run ralph --init. It creates your user-global config and a PROMPT.md; project-local config is optional later via ralph --init-local-config.
  3. Confirm a coding agent. Ralph Workflow looks for supported agents already on your PATH and enables the ones it finds. Install and authenticate an agent first if none are found.
  4. Check the setup. Run ralph --diagnose and fix any reported problem before starting work.
  5. Describe the task. Edit PROMPT.md with the outcome and checks you expect. For a task-shaped starter, use ralph --init feature-spec, guardrail, refactor, test-coverage, or docs before a prompt file exists.
  6. 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 is Getting started. For agent-specific model-string formats, see Agent compatibility.

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), measured on v1.1.8: gemini-3.6-flash-low, gemini-3.6-flash-high --effort high, stream-json init/step_update/result, and the manual smoke's exit-0 validated fallback-artifact path have live evidence. Re-run the manual smoke after AGY updates.
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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ralph_workflow-0.9.6.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ralph_workflow-0.9.6-py3-none-any.whl (2.8 MB view details)

Uploaded Python 3

File details

Details for the file ralph_workflow-0.9.6.tar.gz.

File metadata

  • Download URL: ralph_workflow-0.9.6.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.5

File hashes

Hashes for ralph_workflow-0.9.6.tar.gz
Algorithm Hash digest
SHA256 d2d25ce71f5241e432884c65c573e6edab0ec2010e11361c448fb3422aba5aa3
MD5 150006fe1f96cf0f3f52d45154b792e7
BLAKE2b-256 0b785d09c2a3daabf97b1b698fa088e4327ca7dcd4c9141b153790b75eec3cfa

See more details on using hashes here.

File details

Details for the file ralph_workflow-0.9.6-py3-none-any.whl.

File metadata

  • Download URL: ralph_workflow-0.9.6-py3-none-any.whl
  • Upload date:
  • Size: 2.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.5

File hashes

Hashes for ralph_workflow-0.9.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a1ca7d76cf9edb60e5524a4c7314b73ecb795dbe3fd7eeddb08f6af735bec9aa
MD5 c92093eb7c625cb6fd3a1e163ea03eb1
BLAKE2b-256 a71d09924663728640fa70a5ce8cf286afb35809ed9f08867bbf9710e116fefc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page