Skip to main content
Prerequisites: Node.js v18 or higher.

Install

npm install -g celerflow
Verify:
celerflow --version

Commands

CommandDescription
celerflow loginAuthenticate via browser (device code flow with Google OAuth).
celerflow connect --code <CODE>Connect local agent to a workspace using a setup code.
celerflow statusShow connection status, workspace, agent list, and token info.
celerflow doctorRun diagnostics: auth, network, token validity, registration.
celerflow disconnectGracefully disconnect the agent (data preserved).
celerflow removePermanently remove the agent and delete its data.

Authentication flow

celerflow login
  1. The CLI requests a device code from the CelerFlow API.
  2. Your browser opens to celerflow.vercel.app/cli-auth.
  3. Sign in with Google and confirm the code displayed in the terminal.
  4. The CLI receives your token and saves it to ~/.celerflow/credentials.json.
Credentials persist across sessions. You only need to log in once per machine. Use --force to re-authenticate.

Connecting an agent

celerflow connect --code ABC123
  1. Sends the setup code to CelerFlow for verification.
  2. Registers the agent with a unique ID.
  3. Receives a bootstrap token for future API calls.
  4. Generates openclaw.plugin.json in the agent workspace with the CelerFlow plugin config.
  5. Saves agent configuration to ~/.celerflow/agent.json.
Don’t share or commit agent.json or openclaw.plugin.json — they contain your bootstrap token.

Global options

OptionDescription
--jsonOutput as JSON (supported by status).
--yesSkip confirmation prompts (supported by remove).
--no-browserPrint the auth URL instead of opening a browser (supported by login).

Uninstall

npm uninstall -g celerflow
rm -rf ~/.celerflow