Skip to main content

Global flags

These flags are available on every command:

zwrm init

Initialize a new zwrm.toml configuration file.

zwrm deploy

Build and deploy the application. Guide →

zwrm status

Show application and machine status. Guide →

zwrm scale

Scale to a target number of machines. Guide →

zwrm destroy

Destroy machines or the entire application. Guide →

zwrm logs

View or stream VM console output. Guide →

zwrm ssh

SSH into a running VM, or run a single command on it. Guide →
Everything after -- runs on the VM instead of opening an interactive shell; the CLI exits with the remote command’s exit code. --machine also works for app-less machines (Postgres, sandboxes); those connect directly rather than through the proxy, whose usernames are {app}.{machine}.

zwrm sftp

Transfer files to/from a running VM through the SSH proxy. Run without a subcommand for an interactive SFTP shell, or use one-shot subcommands:
All forms accept --app, --app-id, --machine, and --user. Modern scp (OpenSSH ≥ 9.0) also works against the proxy directly.

zwrm secrets

Manage encrypted application secrets. Guide →

zwrm secrets set

zwrm secrets list

zwrm secrets unset

zwrm secrets add

All subcommands accept --app and --app-id.

zwrm volumes

Manage persistent volumes. Guide →

zwrm volumes create

zwrm volumes list

zwrm volumes resize

Grow-only: the new size must be larger than the current one.

zwrm volumes destroy

zwrm volumes limits

zwrm volumes snapshot

Manage volume snapshots. Guide →

zwrm volumes snapshot create

zwrm volumes snapshot list

zwrm volumes snapshot delete

zwrm volumes snapshot enable / disable

zwrm volumes restore

All subcommands accept --app and --app-id.

zwrm routes

Manage custom hostname routes. Guide →

zwrm routes list

zwrm routes create

zwrm routes delete


zwrm postgres

Manage PostgreSQL databases. Guide →

zwrm postgres create

zwrm postgres list

zwrm postgres connect

zwrm postgres destroy

zwrm postgres stop / start

zwrm postgres presets

zwrm postgres backup

Manage PostgreSQL backups. Guide →

zwrm postgres backup enable / disable

zwrm postgres backup create

zwrm postgres backup list

zwrm postgres backup delete

zwrm postgres restore

zwrm postgres restore status

zwrm postgres scale


zwrm auth

Manage authentication. Guide →

zwrm auth login

--token is for headless/SSH environments.

zwrm auth logout

zwrm auth whoami

zwrm auth token

Print the current session token.

zwrm auth tokens

Manage long-lived API tokens.
See Capabilities for the scope vocabulary.

zwrm org

Manage organizations and org-wide resources.

zwrm org secrets

Organization-wide secrets, inherited by every app and agent. Guide →

zwrm transfer

Move an app (with its secrets and agents) to another organization. Requires ownership of both orgs; linked Postgres databases must be unlinked first.

zwrm sandbox

Manage sandboxes. Guide →
See the Sandboxes guides for egress control, persistence, and template details.

zwrm templates

Manage agent and sandbox VM templates. Guide →

zwrm agent

Manage agents. Guide → Connect interactively (creates the agent if the name is new):

zwrm agent run

Start an autonomous run. Guide →

zwrm agent run status / list / cancel / continue

zwrm agent list

zwrm agent destroy / delete

zwrm agent update

Update agent configuration (only passed flags change).
--allowed-scopes takes a comma-separated resource:action list; an empty value resets to the platform default. Guide →

zwrm agent memory

Curate an agent’s durable memory. Guide →
save reads the body from --body, --file, or stdin.

zwrm agent budget

Show or set daily caps. Guide →

zwrm agent resize

zwrm agent logs

zwrm agent messages

Agent inbox. Guide →

zwrm agent channels

Message delivery channels. Guide →

zwrm agent connectors

Attach MCP gateway virtual servers. Guide →

zwrm agent skills

Per-agent skill enablement. Guide →

zwrm agent secrets

Manage agent secrets. Guide →

zwrm skills

Manage the org skill library. Guide →

zwrm mcp

MCP gateway and local MCP server. Guide → zwrm mcp with no subcommand runs a stdio MCP server exposing your agent runs (get_agent_run, list_agent_runs, cancel_agent_run).

zwrm mcp upstream

The auth flags are mutually exclusive. Guide →

zwrm mcp connect / disconnect

Connect an account to a per-user OAuth upstream. Guide →
--agent authorizes that agent instead of yourself — the account you consent with becomes the agent’s identity on the upstream.

zwrm mcp server

Without --bound-grant, each caller acts as their own connected account. Guide →

zwrm mcp install


zwrm triggers

Inbound webhooks: external events → agent runs. Guide →

zwrm schedules

Cron → agent runs. Guide →

zwrm dashboard

Show monitoring dashboard URLs. Guide →

zwrm host

Manage cluster hosts (platform operators only).

zwrm admin

Control plane administration (host-admin only).

ID prefix matching

Many commands accept machine, route, or database IDs. You don’t need to type the full UUID — just enough characters to uniquely identify the resource:
If the prefix matches multiple resources, the command fails with an error listing the ambiguous matches.