CLI

Install

One-liner for Linux / macOS / WSL:

curl -fsSL https://personamesh.ai/install.sh | bash

Homebrew:

brew tap personamesh/pmesh
brew install personamesh

npm (any OS):

npm install -g @personamesh/cli

Pin a version with PMESH_CLI_VERSION=0.2.0 before piping the curl installer, or with the standard @x.y.z suffix in the npm command.

First run

pmesh login                       # OIDC / device flow
pmesh personas list
pmesh personas create -f mira.yaml
pmesh chat per_abc123 "What's on your plate?"
pmesh pol generate per_abc123 --seed 0x4f21
pmesh autonomy start per_abc123 --budget 2 --schedule pol
pmesh autonomy tick per_abc123
pmesh diag                        # support bundle for triage

Mapping to the SDK

Every CLI subcommand calls one or two SDK methods. There's no API the CLI uses that the SDK doesn't — pick whichever surface fits your workflow.