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
| Command | Purpose |
|---|---|
pontia init | Select 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 up | Install or refresh the per-user service definition and start or restart the service |
pontia status | Show the data directory, local service health, signed-in user, remote handle, and selected edge |
pontia doctor | Explain service, configuration, login, and remote-registration checks, with repair hints |
pontia down | Stop and disable the per-user service |
pontia update | Install the latest signed stable pontia and pontiad release |
pontia uninstall | Remove Pontia integrations, shell configuration, and autostart services |
pontia --version | Print the installed version |
pontia completions SHELL | Print 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
| Command | Purpose |
|---|---|
pontia client list | List every Agent Client entry with its short ID, name, type, and enabled state |
pontia client list --json | List every entry as JSON, including its ID |
pontia client show CLIENT | Show one entry |
pontia client enable CLIENT | Allow new Sessions to use the entry |
pontia client disable CLIENT | Stop new Sessions from using the entry; existing Sessions are unchanged |
pontia client reset CLIENT | Delete 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
| Command | Context | Purpose |
|---|---|---|
pontia workflow run FILE | Pontia Session | Parse a TOML definition and start a Workflow through the local API |
pontia workflow show [WORKFLOW_ID] | Any local shell; ID optional inside a managed Node | Show progress, the initiating Session, current Node, inputs, and output |
pontia workflow submit | Current Agent Node Session | Declare the Node’s output ready |
pontia workflow terminate | Current Agent Node Session | Send the blocking reason to the initiating Session |
pontia workflow retry ID FAILURE_EVENT_ID | Pontia Session | Retry the indicated failure in the same Node Session |
Cloud login and remote access
| Command | Purpose |
|---|---|
pontia login | Complete browser-based device authorization and store a CLI credential |
pontia remote edges | List available edges as a JSON array of IDs and names |
pontia remote enable | Register this device, select an edge interactively, and create its E2E identity |
pontia remote enable --edge EDGE_ID --name NAME | Register without prompts; both options are required |
pontia remote edit | Edit the name, handle, and Edge interactively; Enter keeps each current value |
pontia remote edit --name NAME | Change the device display name |
pontia remote edit --handle HANDLE | Change the device Dashboard URL handle |
pontia remote rotate-key | Replace the device E2E identity and key version |
pontia remote disable | Unregister 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:
| Command | Purpose |
|---|---|
pontia-edge init --edge-id ID --ticket TICKET | Initialize and register an Edge; normally use the full Cloud-generated command |
pontia-edge retry | Resume incomplete initialization on the same server |
pontia-edge update | Install the latest signed stable Edge release |
pontia-edge auto-update enable | Install and enable update checks every 10 minutes |
pontia-edge auto-update disable | Disable future checks |
pontia-edge auto-update status | Show timer schedule and the last update result |
See Self-host an Edge before using these commands directly.