Command Reference

Remoroo CLI commands, flags, and environment variables (aligned with the shipped client).

Remoroo CLI reference

This page mirrors the latest CLI (remoroo_cli/remoroo/cli.py). Run remoroo --help or remoroo run --help for the live text on your machine.

Installation

pip install remoroo

Requires Python 3.10+. Default execution uses Docker; you can use --engine venv instead.

Authentication

remoroo login    # browser device flow
remoroo whoami
remoroo logout

Credentials are stored at ~/.config/remoroo/credentials. You can also set REMOROO_API_KEY for non-interactive use.

remoroo run

Starts a local run (default). Execution happens on your machine; the hosted Brain handles model calls and run bookkeeping.

remoroo run [OPTIONS]

Common options

OptionDescription
--localRun on this machine (default behavior; use to override if you also pass other mode flags).
--remoteNot available in this CLI release. Prints how to contact sales for Enterprise hosted execution and exits with code 2.
--repo PATHRepository root (default: current directory).
--out PATHBase directory for cached/synced run outputs (see also .remoroo/runs/ in the repo).
--goal "..."Goal string (optional; otherwise prompted in the TUI).
--metrics "a, b"Comma-separated metric constraints (optional; otherwise prompted).
--yes / -ySkip confirmation prompts.
--verbose / -vVerbose logging.
--no-patchDo not prompt to apply final_patch.diff.
--engine docker | --engine venvExecution sandbox (default: docker, or REMOROO_DEFAULT_ENGINE).
--cache-env / --no-cache-envDocker layer caching (default: cache on).
--in-place / --no-in-placeEdit repo directly vs isolated working copy (default: in place).
--agentic / --no-agenticAgentic loop vs legacy pipeline (default: agentic).
--v2 / --v1v2 agent loop (default) vs legacy v1.
--model IDv2 LLM model id (e.g. provider-specific id).
--pick-model / --no-pick-modelFull-screen model picker before TUI (default: on; not used when --resume).
--budget HOURSWall-clock / cost budget in hours (default: 10).
--allow-overageAllow run to exceed credit balance (billed as overage per your plan).
--resume RUN_IDAttach worker to an existing run instead of creating a new one.
--brain-url URLOverride Brain / API base URL (default from config / REMOROO_API_URL).

Exit codes (remoroo run)

CodeMeaning
0Success.
1Failure, error, or run did not complete successfully.
2Either partial success (outcome reported as partial by the session) or you passed --remote while hosted execution is unavailable—check the message printed to the terminal.

remoroo attach

Attach a local worker to an existing run (goal/metrics loaded from the server; no model picker).

remoroo attach --id RUN_ID [OPTIONS]
OptionDescription
--id / -i RUN_IDRequired. From remoroo list.
--repo PATHLocal checkout (optional).
--out PATHOutput base directory.
--brain-url URLAPI base URL.
--enginedocker or venv.
--cache-env / --no-cache-envSame as run.
--in-place / --no-in-placeSame as run.
--agentic / --no-agenticSame as run.
--v2 / --v1Same as run.
--yes / -ySkip attach/patch confirmations.
--no-patchNever apply patch after run.
--verbose / -vVerbose logging.

remoroo list

List runs ( statuses for attach/resume).

remoroo list [OPTIONS]
OptionDescription
--limit / -nMax runs (server caps at 100).
--attachable / -aOnly PENDING / RUNNING / PAUSED.
--status / -sFilter by one status (ignored if --attachable).
--jsonPrint raw JSON.
--brain-urlAPI base URL.

remoroo abort

Abort a run on the control plane (sets status failed; clears pause/detach flags). Does not SIGKILL a remote worker process—see CLI help text for caveats.

remoroo abort RUN_ID [OPTIONS]
OptionDescription
--yes / -ySkip confirmation.
--brain-urlAPI base URL.

remoroo worker

Long-lived worker that polls the Brain for jobs (dedicated machine / advanced setups).

remoroo worker --repo PATH [OPTIONS]
OptionDescription
--repoRepository path (required).
--serverBrain server URL (default from config).
--intervalPoll interval in seconds (default 1.0).

Environment variables

VariablePurpose
REMOROO_API_KEYBearer token (skip interactive login).
REMOROO_API_URLDefault API / Brain base URL (overridable with --brain-url).
REMOROO_DEFAULT_ENGINEdocker or venv.

Artifact layout

Authoritative run outputs for a repo are typically under:

<repo>/.remoroo/runs/<run-id>/

See the first experiment guide for files such as final_report.md, final_patch.diff, and trace.jsonl.