Skip to content

CLI Reference

This page is the command and flag reference for RightNow Agent. Use it when you know the task and need the shell syntax or a link to the detailed workflow.

Start with help

  1. Check the commands available in your installed version.
  2. Run diagnostics before starting a model-backed task.
  3. Choose an interactive session or one headless prompt.
text
rightnow --help
text
rightnow doctor
Command or optionPurpose
rightnow [PROMPT]Start an interactive session, optionally with an initial prompt.
-p / --single / --print PROMPTRun one prompt, print the response to stdout, and exit.
text
rightnow -p "Summarize this workspace"

For setup failures, follow Troubleshooting. For task output and exit codes, see Headless Mode.

Command index

Syntax in the tables is reference notation: replace capitalized arguments, and choose one alternative separated by a vertical bar. Add a command after rightnow.

Command or optionPurpose
doctorCheck terminal, clipboard, color, and input support without opening the TUI. Guide.
inspect [--json]Show the configuration discovered for the current directory. Guide.
agentRun without the interactive UI; see the ACP transport options. Guide.
choreManage the durable local repository chore queue. Guide.
auth / connectManage provider API keys. Guide.
mcpManage MCP server configurations. Guide.
pluginManage plugins and marketplace sources. Guide.
memoryManage cross-session memory. Guide.
receiptInspect and verify deterministic transaction receipts. Guide.
sessionsList, search, or restore stored sessions. Guide.
exportExport a session transcript as Markdown. Guide.
worktreeManage Git worktrees. Guide.
du / disk-usageReport disk use under the effective product home. Guide.
dashboardOpen the Agent Dashboard at startup. Guide.
version / vPrint version information; --json emits machine-readable output.
update [--check] [--json] [--force-reinstall] [--version VERSION] [--alpha | --stable]Check or install an update; --json is for --check, and channel switches are mutually exclusive. Guide.
config syncSynchronize active configuration with a supplied configuration template. Guide.
telemetry speedReport local speed telemetry. Guide.

login, logout, status, and --oauth belong to retired RightNow account sign-in; use provider credentials instead.

The remaining commands are documented in the sections below: models and completions, setup, leader, wrap, and trace.

Flag index

Flag syntaxDetails
-v / -V / --versionPrint the version.
--cwd DIRSet the working directory.
--leader-socket PATHUse a custom warm agent service socket path.
--debugEnable debug logging.
--debug-file FILEWrite debug logs to the selected file.
--prompt-json JSON--prompt-file PATH--verbatim--output-format FORMAT--include-partial-messages--json-schema SCHEMAInput and output
-m / --model MODEL--reasoning-effort / --effort EFFORT--rules / --append-system-prompt TEXT--system-prompt-override / --system-prompt TEXTModel and prompt rules
-r / --resume [ID_OR_TITLE]-c / --continue-s / --session-id UUID--fork-session-w / --worktree [NAME]--worktree-ref / --ref REF--restore-codeSession selection and worktrees
--agent NAME--agents JSON--tools TOOLS--disallowed-tools TOOLS--max-turns N--permission-mode MODE--allow / --allowedTools RULE--deny / --disallowedTools RULE--always-approve / --yolo / --dangerously-skip-permissions--disable-web-search--sandbox PROFILETools and permission controls
--no-plan--no-subagents--experimental-memory--no-memory--no-alt-screen--minimal--fullscreenInteractive session controls

Read the headless execution controls before combining flags with -p; that guide identifies accepted flags that do not affect headless execution. Use Permissions and Safety to choose permission rules.

Models and shell completions

List the models available to the loaded configuration.

text
rightnow models

Completion generation prints a shell script; it does not activate that script in your current shell.

Windows PowerShell

powershell
rightnow completions powershell

macOS zsh

text
rightnow completions zsh

Linux bash

text
rightnow completions bash

Fish

text
rightnow completions fish

Managed configuration

Managed setup requires a deployment key or an active team credential; it is separate from choosing a model provider.

1. Preview

Fetch managed configuration and print it as JSON without installing it.

text
rightnow setup --json

2. Install

Fetch and install managed configuration.

text
rightnow setup

Warm agent service

The warm agent service uses rightnow leader; daemon is its compatibility alias.

Use --pid with status, stop, or info to target a PID from leader list. Start, status, stop, list, and info accept --json.

Command or optionPurpose
rightnow leader startStart the warm agent service or reuse the one already running.
rightnow leader statusReport whether the warm agent service is running.
rightnow leader stopGracefully stop the warm agent service.
rightnow leader listList running leader processes.
rightnow leader infoShow details for a leader process.
rightnow leader killStop all running leader processes.

Check status

text
rightnow leader status

Start

text
rightnow leader start

Stop

text
rightnow leader stop

Clipboard wrapper

Command or optionPurpose
rightnow wrap CMD [ARGS...]When stdin, stdout, and stderr are terminals and PTY setup succeeds, run the command in a local PTY and forward OSC 52 clipboard writes to the local clipboard.

In PTY mode, the wrapped terminal follows window-size changes.

On Unix, a single quoted command string or an aliased command uses an interactive shell only in PTY mode.

If a standard stream is not a terminal or PTY setup fails before launch, the fallback runs without clipboard forwarding and uses a non-interactive Unix shell when shell routing is needed.

Session traces

Use --local to export without uploading. Without it, trace uploads only when trace upload is enabled; otherwise it falls back to local export.

Template: replace SESSION_ID with an existing ID from Sessions.

text
rightnow trace SESSION_ID --local
Command or optionPurpose
--output / -o PATHChoose the local archive path.
--jsonPrint a machine-readable trace result.

A successful local export prints the archive path; JSON output includes status and local_path.

Choose a local export first

Review the archive before sharing it. Use Troubleshooting if diagnostics or configuration need attention.