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 auto-update enableInstall and start six-hour automatic update checks
pontia auto-update disableStop and remove the automatic update schedule
pontia auto-update statusShow the schedule and available run times
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. Use --force to stop those agents and continue; this check also works when the service is offline. The command reports an older Codex background server separately when you can manage it from Codex.

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.

Bot commands

Bot tools run inside a Pontia Bot, helper, retrieval, or Dreaming Session. Add the global --json option for machine-readable output.

CommandPurpose
pontia bot send-to-userSend a complete reply, link it to earlier messages, open a todo, or resolve todos
pontia bot link-messageLink an unquoted user message to one to five earlier messages
pontia bot todo markMark an existing chat message as an open todo
pontia bot todo resolveResolve a todo on an existing chat message
pontia bot set-descriptionFill the current Bot’s empty description
pontia bot update-userReplace text in the shared USER.md, or append with an empty --old-text
pontia bot chat-history searchSearch the requesting Bot’s chat for literal text
pontia bot chat-history contextRead a matched chat message with its chronological neighbors
pontia bot session-messagesRead a target Session’s paginated messages by Turn and category
pontia bot helper createStart a general or Profile-based helper in an active or temporary Workspace
pontia bot helper listList the current Bot’s open helper Sessions
pontia bot helper sendSend additional instructions to a helper
pontia bot helper replyReport a helper result to its Bot
pontia bot helper checkRead helper status, capabilities, and paginated messages
pontia bot helper compactRequest context compaction for an idle or interrupted helper
pontia bot helper closeExit a helper Session while retaining its history
pontia bot profile templatesFetch recommended Agent Profile templates
pontia bot profile listList shared Profiles and their availability
pontia bot profile showRead one Profile, including its system prompt
pontia bot profile clientsList enabled Clients available to Profiles
pontia bot profile modelsList models offered by a Client
pontia bot profile createCreate a shared Agent Profile
pontia bot profile updateChange selected Profile fields
pontia bot profile deleteDelete a shared Profile
pontia bot workspace registerRegister and activate a directory within a configured root
pontia bot workspace describeSet or clear a Workspace description
pontia bot memory pendingList active memories awaiting organization
pontia bot memory organizeMark memory organization complete or pending
pontia bot memory createCreate a device memory
pontia bot memory updateReplace a memory’s content and metadata
pontia bot memory archiveArchive or restore a memory
pontia bot memory linkLink two active memories
pontia bot memory unlinkRemove a link between memories
pontia bot memory readRead active memories by ID
pontia bot memory searchSearch memories by whole keywords
pontia bot memory retrieveStart a read-only deep-retrieval helper
pontia bot memory neighborsRead one hop of linked active memories
pontia bot memory useRecord memories used in a response or decision
pontia bot dreaming clarifyAsk a Bot to clarify ambiguous memories

Memory writes performed by Dreaming use the global --reason option to record their evidence. Paginated session-messages, helper check, memory pending, and memory neighbors results print the next command to run. helper check also reports context usage and manual-compaction availability.

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 install --listShow registered installers, methods, detection results, and prerequisites
pontia client install CLIENTInstall a Client, apply its integration setup, and enable it
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. Account and remote results report separate stages; use the remote reachability result to confirm internet access to the device.

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.