CLI reference

The pontia CLI configures the local installation and delegates durable control-plane operations to the running pontiad service.

Use pontia COMMAND --help for the exact options in your installed version.

Setup and lifecycle

CommandPurpose
pontia initSelect Agent Clients, create persistent configuration, install integrations, start the per-user service, and offer remote setup
pontia setup [CLIENT]Install or repair recommended local integrations; select Clients when omitted; enable the selected Clients
pontia upInstall or refresh the per-user service definition and start or restart the service
pontia statusShow the data directory, local service health, signed-in user, remote handle, and selected edge
pontia doctorExplain service, configuration, login, and remote-registration checks, with repair hints
pontia downStop and disable the per-user service
pontia updateInstall the latest signed stable pontia and pontiad release
pontia uninstallRemove Pontia integrations, shell configuration, and autostart services
pontia --versionPrint the installed version
pontia completions SHELLPrint the completion script for a shell

If Pontia-started agents are running, pontia down and pontia uninstall list their Sessions and require --force to stop them before continuing. This check also works when the service is offline. With --force, an older Codex background server whose ownership cannot be verified is left running with a warning.

pontia uninstall shows the cleanup list and asks for confirmation; use --yes to skip the prompt. It keeps the binaries, configuration, credentials, history, cloud registration, and Agent Client installations. Open a new terminal after cleanup. Run pontia init to set up again.

pontia setup accepts pi, codex, or claude and applies the recommended configuration without additional Client options.

See Initialization for interactive setup and the equivalent step-by-step command sequence.

Stopping pontiad stops observation, input reception, and Workflow scheduling. Agent Clients manage the lifecycle of their native conversations separately.

Set a Bot description

From the current main Bot Session, run pontia bot set-description --description TEXT to fill in an empty description. The command accepts up to 2,000 characters. Users can edit or clear the description in Bot settings.

Bot helper compaction

Run pontia bot helper compact --session-id ID from the current Bot Session to request context compaction for one of its helpers. The helper must be idle or interrupted, with manual compaction available from its client. Wait for a working helper to become idle before retrying.

pontia bot helper check --session-id ID shows context usage and capabilities.manual_compaction. Add --json to either command for JSON output. A successful compact result contains accepted: true and an operation_id; it confirms the request, not completion. If the result is unknown, inspect the helper before retrying because compaction may already have started.

Shell completion

pontia completions supports bash, zsh, fish, elvish, and powershell. Add the line for your shell to its configuration file, then open a new terminal:

# bash: ~/.bashrc
source <(pontia completions bash)

# zsh: ~/.zshrc, after compinit
source <(pontia completions zsh)

# fish: run once
mkdir -p ~/.config/fish/completions
pontia completions fish > ~/.config/fish/completions/pontia.fish

# elvish: ~/.config/elvish/rc.elv
eval (pontia completions elvish | slurp)
# PowerShell: $PROFILE
pontia completions powershell | Out-String | Invoke-Expression

Agent Clients

CommandPurpose
pontia client listList every Agent Client entry with its short ID, name, type, and enabled state
pontia client list --jsonList every entry as JSON, including its ID
pontia client show CLIENTShow one entry
pontia client enable CLIENTAllow new Sessions to use the entry
pontia client disable CLIENTStop new Sessions from using the entry; existing Sessions are unchanged
pontia client reset CLIENTDelete the entry’s saved settings, which also disables it

CLIENT is a short ID such as pi, codex, claude-agent, or grok. Use --id ID with an ID from pontia client list --json when a short ID is ambiguous.

Agent tools

pontia --help lists workflow and bot under Agent tools.

Workflows

CommandContextPurpose
pontia workflow run FILEPontia SessionParse a TOML definition and start a Workflow through the local API
pontia workflow show [WORKFLOW_ID]Any local shell; ID optional inside a managed NodeShow progress, the initiating Session, current Node, inputs, and output
pontia workflow submitCurrent Agent Node SessionDeclare the Node’s output ready
pontia workflow terminateCurrent Agent Node SessionSend the blocking reason to the initiating Session
pontia workflow retry ID FAILURE_EVENT_IDPontia SessionRetry the indicated failure in the same Node Session

Cloud login and remote access

CommandPurpose
pontia loginComplete browser-based device authorization and store a CLI credential
pontia remote edgesList available edges as a JSON array of IDs and names
pontia remote enableRegister this device, select an edge interactively, and create its E2E identity
pontia remote enable --edge EDGE_ID --name NAMERegister without prompts; both options are required
pontia remote editEdit the name, handle, and Edge interactively; Enter keeps each current value
pontia remote edit --name NAMEChange the device display name
pontia remote edit --handle HANDLEChange the device Dashboard URL handle
pontia remote rotate-keyReplace the device E2E identity and key version
pontia remote disableUnregister this device and remove its local remote identity

Remote configuration changes that affect pontiad restart a running managed service. See switching Edge for stopped services and recovery.

Exit status and errors

pontia status and pontia doctor exit successfully when the local service is running and its HTTP health check passes. Read the account and remote results separately; cloud registration does not prove that the device is reachable from the internet.

Use the exit status to check command success. Errors are written to standard error with a pontia: prefix. Include the redacted error when diagnosing a failure.

pontia-edge

A self-hosted Edge has a separate root-operated CLI:

CommandPurpose
pontia-edge init --edge-id ID --ticket TICKETInitialize and register an Edge; normally use the full Cloud-generated command
pontia-edge retryResume incomplete initialization on the same server
pontia-edge updateInstall the latest signed stable Edge release
pontia-edge auto-update enableInstall and enable update checks every 10 minutes
pontia-edge auto-update disableDisable future checks
pontia-edge auto-update statusShow timer schedule and the last update result

See Self-host an Edge before using these commands directly.