Get started

QuoxCLI

Talk to Quox from your terminal, or script it.

Maturity: Beta. The commands below were read from the CLI's own command definitions (QuoxCLI 0.3.1, shipped with QuoxCORE 1b8bf54d). The interactive screens are Beta. The full, generated command reference is at quox.ai/cli.

At a glance
What it isquox, the command line for Quox. Run it with no arguments to talk to Quox; add a command to script it.
Where it runsOn your QuoxCORE server, or on any machine with Node.js 20 or newer that can reach it.
When to reach for itDay-to-day operation, scripts and CI, or anything faster typed than clicked.
How to startOn a QuoxCORE server it is already installed: quox -p local status. Elsewhere: npm install -g quoxcli.

Install

On your QuoxCORE server, the installer already put quox at /usr/local/bin/quox, with a profile called local that points at the install. Nothing else to do:

bash
quox -p local status

On any other machine (Node.js 20 or newer):

bash
npm install -g quoxcli
quox --version

The package installs two commands: quox and quoxon.

Sign in

bash
quox login                     # asks for email, password and MFA code
quox whoami
quox logout

For scripts, pass the password on standard input so it never appears in your shell history or process list:

bash
quox login --email [email protected] --password-stdin < password-file

For CI, set a token instead of signing in: QUOX_TOKEN. Your session is stored in ~/.config/quox/config.json (readable only by you) and refreshes itself when it expires.

Profiles

A profile is a named Quox instance. Use one per server.

bash
quox config profile add work --url https://quox.example.com
quox config profile use work
quox config profile list
quox config profile remove work

Pick a profile for one command with -p work, or for a shell with QUOX_PROFILE=work. QUOX_URL points a command at an instance directly.

Global flags

FlagDoes
-o, --output <format>table (default), json, csv or quiet
--jsonShort for --output json
-q, --quietPrint IDs only
-p, --profile <name>Use this profile
--org <slug or id>Act in this organisation (must match your session)
-y, --yesSkip confirmation prompts
-v, --verbose, --debugMore detail
--no-colorPlain output
--insecureAccept a self-signed certificate

A tour of the commands

JobCommand
Is everything healthy?quox status, quox doctor, quox service health
Talk to Quoxquox (interactive), or quox chat "what is running on web-01?"
See what waits for your approvalquox approvals list, quox inbox list
Answer an approvalquox inbox respond <itemId> --action approve
Agentsquox agent list, quox agent get <id>
Run a workflowquox workflow run <workflowId>
Memoryquox memory search --query "backup window"
Backupsquox backup create --label before-upgrade, quox backup list
AI providersquox provider connect anthropic --key-from-stdin, quox provider list
Safetyquox safety status
Evidencequox volt fetch <runId>, then quox volt verify <file>

Every command has --help. The full list, generated from the CLI itself, is at quox.ai/cli.

Scripting

Use --json and a JSON tool such as jq:

bash
quox agent list --json
quox backup create --label nightly -y

Exit codes tell a script what went wrong:

CodeMeaning
0Success
2Invalid input
3Not signed in, or the session expired
4Not allowed
5Not found
6Conflict
7Could not reach the server
8The server reported an error

Shell completion and plugins

bash
quox completion bash   # or zsh, fish

The CLI loads plugins from ~/.quox/plugins/, or from the folder in QUOX_PLUGIN_DIR.

Limits

  • The interactive screens are Beta.
  • The version on npm can be newer than the one inside your server. quox --version tells you which you are running.
  • This page shows a tour, not every command. Use quox --help or quox.ai/cli for the full list.

Last verified 2026-10-29 against QuoxCLI 0.3.1 (QuoxCORE 1b8bf54d) and quoxcli 0.4.0 on npm.