> ## Documentation Index
> Fetch the complete documentation index at: https://smithers-feat-claude-workflow-mirror.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ralph

> Keep an agent continuously working on a prompt.

`ralph` is the simplest continuous-work loop. It repeatedly runs the configured smart agent with the provided prompt.

```bash theme={null}
bunx smithers-orchestrator workflow run ralph --prompt "Continue reducing flaky tests"
```

## Inputs

| Input    | Type   | Default                                   |
| -------- | ------ | ----------------------------------------- |
| `prompt` | string | `"Continue working on the current task."` |

## Use it when

* You want an agent to keep working on an open-ended prompt with no fixed finish line.
* A maintenance task benefits from continuous iteration (reducing flaky tests, chipping at tech debt).

## Use something else when

* The work has a clear definition of done: use [`implement`](/workflows/implement) or [`mission`](/workflows/mission).
* You need review gates or validation each pass: use a validation-loop workflow such as [`implement`](/workflows/implement).

## Resume & retry

`ralph` runs an unbounded loop and will not stop on its own. Cancel it with `bunx smithers-orchestrator cancel RUN_ID` when enough work is done, or configure a `maxIterations` limit in your local workflow file. Runs are durable and resume with `up --resume`.
