Browse docs ⌄
REPLUME / DOCS / START

Start

View as agent ↗

Replume is a runtime supervisor for coding agents. It reruns the base and the candidate in an isolated copy against a contract and rules, and reports PASS, FAIL, NOT VERIFIED or INCOMPLETE.

This page takes you from install to your first report in about ten minutes. It describes version 0.2.17.

1. Install

You need Node.js 20 or newer and Git, on macOS or Linux. On Windows, use WSL, or try experimental native Windows support. Install globally, because your agent's hooks call the replume command later.

Terminal
npm install -g replume-cli

Check the version with replume --version. If it shows an older version, see troubleshooting.

Docker is optional. If a Docker daemon is running and the node:20-bookworm-slim image is already present, checks run in a container. Otherwise they run in an isolated working copy on your machine. That copy is not a security sandbox, so use Replume on repositories you trust.

2. Initialize in your repo

Run this from the repository root:

Terminal
replume init

It writes .replume/ and the hooks for your coding agent, finds your test command, and prints a Next: block. Some agents need a flag, such as replume init --codex or replume init --cursor. Agents lists them.

Commit the files init added before you start the task. replume init prints the exact git add command. Then the report shows only the agent's work.

Optional: replume init --check runs your tests once on the current code in an isolated copy, with a short time limit. It tells you if a test is already red or the runner cannot start. It installs nothing.

3. Give your agent a task

Start a new agent session in the same folder. A session that was already open does not load the new hooks. Your first message is the task, for example:

Output
Fix the SAVE10 discount in src/cart.js: it should take 10% off.

One session is one task. For the next task, commit, end the session and start a new one.

To follow the agent's steps live, run replume watch in a second terminal.

What the watch messages mean
START
The task reached Replume.
OK
An agent action was recorded without a block or warning.
BLOCK
The hook refused an action. Read the reason.
STEER
Replume sent the agent a message. It is not a block. In default mode this happens only for the cases that stop the agent.
TEST
Whether the test command passed, failed, or could not be checked.
RETRY
Strict mode sent the agent back after a failed Stop check. The number shows the attempt and the limit.
GATE
The Stop test check passed.
HOLD
Replume asked the agent to continue instead of finishing.
REVIEW
A second agent reviewed the change (strict mode), or this step was skipped.
REPLUME
Replume started writing the session report.
STOP
The agent's turn ended.
PASS / FAIL / INCOMPLETE
The verdict of the report. INCOMPLETE is never PASS.

4. Read the verdict

When the agent stops, Replume checks the work in an isolated copy and saves a report under .replume/reports/. Print a summary of the newest one:

Terminal
replume report --session

It prints the status and the path of the report, .replume/reports/<session>.md. Open that file. This is the real 0.2.17 report for the cart task:

Output
Verdict: PASS
Status: PASS (verify PASS; steered 0 times, 0 blocked)
Next: review the diff and commit it, then start a new agent session for the next task.

What changed:
- src/cart.js (+1, −1)
Tests: npm test: passed (exit 0; verify, isolated copy); 2 passed, 0 failed, 0 skipped.

Full report: .replume/reports/0dd95700-e925-4e1c-b9c2-50a626ae8f83.full.md (or `replume report --session 0dd95700-e925-4e1c-b9c2-50a626ae8f83 --full`)

Read Verdict and Next first. What changed lists the files. Tests says what ran and where.

  • PASS: the required checks passed. Read the diff, then commit.
  • FAIL: Replume has evidence of a problem. Fix what the report names, then check again.
  • INCOMPLETE: Replume could not establish a pass. Follow Next.
  • NOT VERIFIED: nothing could be verified. Follow Next to fix the setup.

If a report opens with "Expected values changed: ... needs human approval", the agent changed an expected value or a snapshot. Look at those files before you merge, even on PASS. Verdicts and codes explains every verdict.

No agent session? Check a committed change on its own with replume verify --task "<what you asked for>". Verify a commit without a session has the details.

5. Add a PR check (optional)

Terminal
replume init --ci

This writes .github/workflows/replume.yml. Review it and commit it on your default branch. Each pull request is then verified in an isolated copy, and the report becomes the job summary and one PR comment. Pull requests and GitHub Actions has the details.

Let your agent set it up

Prefer to have your agent do steps 1 and 2? Paste this into your coding agent, in the repository. Then start a fresh session for the task.

Read https://replume.dev/docs/onboard-with-your-agent.md and set up Replume in this repo.

Known limits

  • Replume can misread the task. Name the files or the behavior you want changed.
  • It can miss a wrong value when the tests still pass, a skipped step, or an incomplete run. What Replume checks lists what it does not check yet.
  • It sees only the steps that reach your agent's hooks. Support differs by agent; see Agents.

Default and strict mode · Configuration · Troubleshooting · Changelog · Roadmap

NextHow it works ↗