CLI, every command
Every command pm accepts, as the binary itself describes them. This page is
generated from pm 0.11.0 rather than written alongside it, so a flag cannot
be documented here and absent from the tool.
Every command
Section titled “Every command”| Command | What it does |
|---|---|
pm browser |
Install the managed Chromium browser and Playwright runtime on this host |
pm daemon |
Run the daemon in the foreground |
pm pushgw |
Run the push gateway relay |
pm worker |
Join this machine to a controller as a worker and run the sessions it dispatches. First run needs –controller and –token; later runs reconnect from the saved config |
pm bucket |
Manage buckets |
pm project |
Manage projects |
pm models |
Manage model profiles: named provider accounts with one endpoint per API dialect, attachable to a bucket, project, or spawn |
pm terminal |
Manage terminals subordinate to a session |
pm spawn |
Spawn an agent session in a project |
pm ls |
List buckets, projects, and live sessions, most recently active first |
pm forwards |
Published port forwards |
pm review |
PR-style reviews of local work |
pm items |
Work items on a bucket’s board |
pm config |
Daemon settings stored in its database |
pm instructions |
Manage versioned bucket/project instruction overlays |
pm briefing |
Print a bucket’s latest briefing |
pm update |
Report the newest published build, and install it over this binary unless –check. A running daemon keeps serving the build it started with, so restart it yourself once this has replaced it |
pm attach |
Attach the terminal to a session (detach with Ctrl-) |
pm interrupt |
Send an interrupt (Ctrl-C) to a session |
pm kill |
Kill a session’s agent process |
pm apis |
Enable or disable a session’s MCP APIs at runtime. Revocations apply on the session’s next tool call; a newly granted tool set may need the agent’s MCP client to reconnect (or the session to be resumed) before the agent notices it |
pm tui |
Full-screen dashboard (quit with q) |
pm login |
Sign in to a remote controller so commands and the dashboard can reach it. Asks for the username and password of its web UI and saves the login under –name, which later commands select it by |
pm logout |
Sign out of a remote controller and forget its saved login |
pm remotes |
List saved logins to remote controllers |
pm resume |
Resume an ended session’s agent conversation in place |
pm transcript |
Print an ended session’s terminal transcript |
pm tmux |
tmux glue: fleet status, opening sessions as windows, and materializing saved workspaces as native splits |
Puppet Master: manage agent sessions across projects
Usage: pm [OPTIONS] <COMMAND>
Commands: browser Install the managed Chromium browser and Playwright runtime on this host daemon Run the daemon in the foreground pushgw Run the push gateway relay worker Join this machine to a controller as a worker and run the sessions it dispatches. First run needs --controller and --token; later runs reconnect from the saved config bucket Manage buckets project Manage projects models Manage model profiles: named provider accounts with one endpoint per API dialect, attachable to a bucket, project, or spawn terminal Manage terminals subordinate to a session spawn Spawn an agent session in a project ls List buckets, projects, and live sessions, most recently active first forwards Published port forwards review PR-style reviews of local work items Work items on a bucket's board config Daemon settings stored in its database instructions Manage versioned bucket/project instruction overlays briefing Print a bucket's latest briefing update Report the newest published build, and install it over this binary unless --check. A running daemon keeps serving the build it started with, so restart it yourself once this has replaced it attach Attach the terminal to a session (detach with Ctrl-\) interrupt Send an interrupt (Ctrl-C) to a session kill Kill a session's agent process apis Enable or disable a session's MCP APIs at runtime. Revocations apply on the session's next tool call; a newly granted tool set may need the agent's MCP client to reconnect (or the session to be resumed) before the agent notices it tui Full-screen dashboard (quit with q) login Sign in to a remote controller so commands and the dashboard can reach it. Asks for the username and password of its web UI and saves the login under --name, which later commands select it by logout Sign out of a remote controller and forget its saved login remotes List saved logins to remote controllers resume Resume an ended session's agent conversation in place transcript Print an ended session's terminal transcript tmux tmux glue: fleet status, opening sessions as windows, and materializing saved workspaces as native splits help Print this message or the help of the given subcommand(s)
Options: --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print help -V, --version Print versionpm browser
Section titled “pm browser”Install the managed Chromium browser and Playwright runtime on this host
Usage: pm browser [OPTIONS] <COMMAND>
Commands: install Install the pinned Playwright MCP runtime and Chromium. Requires Node.js and npm help Print this message or the help of the given subcommand(s)
Options: --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm browser install
Section titled “pm browser install”Install the pinned Playwright MCP runtime and Chromium. Requires Node.js and npm
Usage: pm browser install [OPTIONS]
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm daemon
Section titled “pm daemon”Run the daemon in the foreground
Usage: pm daemon [OPTIONS]
Options: --db <DB> SQLite database path
--socket <SOCKET> Daemon unix socket path
[env: PM_SOCKET=]
--scrollback-dir <SCROLLBACK_DIR> Directory for ended-session transcripts
-v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it
--http <HTTP> Bind address for the web UI and API
[default: 127.0.0.1:7676]
--no-http Disable the HTTP surface entirely
--http-tls-cert <PEM> PEM certificate chain that serves the web UI and API over HTTPS. Browsers only allow notifications on HTTPS or localhost, so a dashboard reached at any other address needs this. Off by default, which keeps plain HTTP
--http-tls-key <PEM> PEM private key for --http-tls-cert
--worker-listen <WORKER_LISTEN> Bind address for the mutually authenticated worker plane. Workers reach the controller here and nowhere else. Every interface by default, because a worker on another machine and a container on this one both need an address they can route to, and the plane admits nobody without a pinned key or an unspent enrollment token. Narrow it to 127.0.0.1:7677 for a controller that will only ever run its own sessions, or turn it off with --no-worker-listen
[default: 0.0.0.0:7677]
--no-worker-listen Disable the worker plane, refusing every remote worker
--no-local-worker Disable running sessions on the controller host
--public-host <PUBLIC_HOST> Deprecated: use --public-url. Accepted as a hostname and turned into a public URL against the web UI's port
--public-url <PUBLIC_URL> Base URL users, remote workers and published forwards reach this controller at, when that differs from what the daemon binds, such as behind a reverse proxy or on a tailnet name. The dashboard's WebSocket handshakes and its state-changing requests are allowed from this origin as well as from the address they were sent to, so a proxy that rewrites Host needs it set
--forward-bind <FORWARD_BIND> Interface forward listeners bind. HTTP forwards use the web server unless --share-port-range gives each one a listener.
Raw TCP forwards bind loopback whatever the web UI binds, because they are unauthenticated and the agent names the port it forwards to without having to own it. Setting this is what exposes them, and it exposes every one an agent publishes.
--forward-ports <FORWARD_PORTS> Port range for raw TCP forward listeners as lo-hi (e.g. 41000-41999); defaults to OS-assigned ephemeral ports
--share-domain <DOMAIN> Wildcard domain that mounts each HTTP forward on its own subdomain, `f<id>.<domain>`, at the root of that origin, so a preview that emits root-relative URLs works. Needs a wildcard DNS record for *.<domain> and a certificate covering it, here or on the reverse proxy in front. Takes precedence over --share-port-range.
Prefer a different registrable domain from the dashboard's own host. A subdomain of it gives a preview its own origin but leaves it on the same site, so the browser still attaches the dashboard's session cookie to requests the preview makes to it, as the per-forward-port mount does. That is allowed and the daemon names it at startup.
[env: PM_SHARE_DOMAIN=]
--share-port-range <SHARE_PORT_RANGE> Port range, lo-hi (e.g. 40000-40100), that mounts each HTTP forward on a listener of its own at the root of the public host. Read only when --share-domain is unset. The reverse proxy and firewall in front must pass the range.
A port makes a separate origin but not a separate site, so a preview reaches no dashboard response or storage while still sharing the cookie jar. Only --share-domain, on a registrable domain of its own, makes a preview a separate site.
[env: PM_SHARE_PORT_RANGE=]
--stale-turn-quiet-ms <STALE_TURN_QUIET_MS> Terminal silence, in milliseconds, after which an agent that installs lifecycle hooks is treated as having finished a turn it never reported. Defaults to two minutes
--hook-silence-grace-ms <HOOK_SILENCE_GRACE_MS> How long, in milliseconds, a newly launched agent may run without producing a single lifecycle hook before its hooks are treated as not working. Defaults to one minute
-h, --help Print help (see a summary with '-h')pm pushgw
Section titled “pm pushgw”Run the push gateway relay.
The relay holds no per-device or per-controller state and authenticates nothing: controllers send the device token with each push, and rate limits bound abuse.
Usage: pm pushgw [OPTIONS] --apns-key-p8 <APNS_KEY_P8> --apns-key-id <APNS_KEY_ID> --apns-team-id <APNS_TEAM_ID> --apns-topic <APNS_TOPIC>
Options: --listen <LISTEN> Listen address
[env: PUSHGW_LISTEN=] [default: 127.0.0.1:8400]
--socket <SOCKET> Daemon unix socket path
[env: PM_SOCKET=]
--apns-key-p8 <APNS_KEY_P8> Path to the APNs .p8 signing key file
[env: PUSHGW_APNS_KEY_P8=]
-v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it
--apns-key-id <APNS_KEY_ID> APNs key id (10-char identifier from the Apple developer portal)
[env: PUSHGW_APNS_KEY_ID=]
--apns-sandbox-key-p8 <APNS_SANDBOX_KEY_P8> Path to a second .p8 signing key used only for sandbox sends. Needed when the primary key is scoped to production alone. Omitted, the primary key signs both environments
[env: PUSHGW_APNS_SANDBOX_KEY_P8=]
--apns-sandbox-key-id <APNS_SANDBOX_KEY_ID> Key id of the sandbox signing key
[env: PUSHGW_APNS_SANDBOX_KEY_ID=]
--apns-team-id <APNS_TEAM_ID> APNs team id
[env: PUSHGW_APNS_TEAM_ID=]
--apns-topic <APNS_TOPIC> APNs topic (bundle id of the iOS app)
[env: PUSHGW_APNS_TOPIC=]
--apns-endpoint <APNS_ENDPOINT> Override the APNs endpoint URL (for testing)
[env: PUSHGW_APNS_ENDPOINT=]
--trusted-proxy <TRUSTED_PROXIES> Address of a reverse proxy in front of the relay. A request from it is rate limited by the client address in its X-Forwarded-For header instead of the proxy's own. Repeat the flag, or separate addresses with commas, for more than one
[env: PUSHGW_TRUSTED_PROXIES=]
--rate-per-source <RATE_PER_SOURCE> Pushes one source may send per rate window
[env: PUSHGW_RATE_PER_SOURCE=] [default: 60]
--rate-per-token <RATE_PER_TOKEN> Pushes one device token may receive per rate window
[env: PUSHGW_RATE_PER_TOKEN=] [default: 30]
--rate-window-secs <RATE_WINDOW_SECS> Length in seconds of the window both rate limits count over
[env: PUSHGW_RATE_WINDOW_SECS=] [default: 60]
--bad-token-limit <BAD_TOKEN_LIMIT> Device tokens APNs may call invalid, per source and bad-token window, before the source is blocked. 0 turns the block off
[env: PUSHGW_BAD_TOKEN_LIMIT=] [default: 5]
--bad-token-window-secs <BAD_TOKEN_WINDOW_SECS> Length in seconds of the window invalid tokens are counted over
[env: PUSHGW_BAD_TOKEN_WINDOW_SECS=] [default: 60]
--bad-token-block-secs <BAD_TOKEN_BLOCK_SECS> How long in seconds a source stays blocked
[env: PUSHGW_BAD_TOKEN_BLOCK_SECS=] [default: 600]
-h, --help Print help (see a summary with '-h')pm worker
Section titled “pm worker”Join this machine to a controller as a worker and run the sessions it dispatches. First run needs --controller and --token; later runs reconnect from the saved config
Usage: pm worker [OPTIONS] [COMMAND]
Commands: list List the workers configured on this machine [alias: ls] modify Change a worker's stored settings. Nothing is applied until the worker is restarted, which this prints restart Rebuild a worker's container on its current settings. Its agents are killed and resumed afterwards with their history stop Stop a worker's container, leaving it configured start Start a worker's container again on the settings it was built with logs Read a worker's container log delete Delete a worker's local configuration and container resources after confirmation help Print this message or the help of the given subcommand(s)
Options: --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --controller <CONTROLLER> Controller URL, e.g. wss://host:7676. Remembered after the first run --listen <LISTEN> Accept a connection from the controller instead of dialing it, for a host the controller can route to but which cannot open outbound connections back. Binds a mutually authenticated listener at this address --listen-any Allow binding a wildcard address. The worker plane accepts process spawns, so binding every interface is deliberate, not a default --allow-from <ALLOW_FROM> Only accept the controller from these addresses or CIDR ranges. Repeatable; omitted accepts any source that gets through the mutual handshake --token <TOKEN> One-time enrollment token minted by the controller --sandbox Launch the worker inside a container instead of this process. The container runs a Linux pm binary as the ordinary `pm worker` --dir <HOST[:CONTAINER][:ro|rw]> Bind-mount a host directory into the sandbox. A bare path mounts at the identical absolute path, which project spawns require. Repeatable --restart <RESTART> What the runtime does when the container stops. Defaults to unless-stopped, which brings the worker back from a crash or a reboot while respecting a deliberate stop [possible values: no, on-failure, always, unless-stopped] --foreground Stay attached to the container's output instead of returning once it is up. The runtime supervises the worker, so a launch detaches by default and prints how to reach it --name <NAME> Identifies this worker on this machine. Each name enrols separately, with its own key, so one machine can join a controller as several hosts; a bare `pm worker --name <name>` resumes that one. Also labels the container under --sandbox --image <IMAGE> Image to run. Defaults to the stock Ubuntu system container on Incus, which is provisioned at launch, and on docker and podman to the published worker image for this version, pulled on first use. Pass the tag `make sandbox-image` builds to run a working tree instead --env <KEY[=VALUE]> Environment for the containerized worker, KEY=VALUE or KEY to pass the launcher's value through. Repeatable --network <NETWORK> Container network. A network mode on docker and podman, the name of an Incus network on incus, which has no host mode --runtime <RUNTIME> Container runtime; autodetected when omitted, preferring incus on Linux and docker elsewhere [possible values: docker, podman, incus] --incus-shifted-home[=<INCUS_SHIFTED_HOME>] Enable ID shifting for the Incus home volume. Requires idmapped mounts [possible values: true, false] --force Replace a running sandbox container even when it has live sessions --cpu <N> CPU cores the sandbox may use. Unset means every core --memory <SIZE> Memory the sandbox may use, e.g. 4GiB. Unset means unlimited --memory-swap <BOOL> Whether the sandbox may swap. Unset means it may [possible values: true, false] --cpu-allowance <PCT> Share of its cores the sandbox may use, e.g. 50%. Incus only --memory-enforce <MEMORY_ENFORCE> Whether the memory cap is enforced hard, killing the sandbox, or soft, reclaiming only under host pressure. Incus only [possible values: hard, soft] --disk <SIZE> Size of the sandbox's root disk, e.g. 40GiB. Incus only --systemd Print a systemd unit that runs this exact invocation, instead of running the worker. The enrollment token is dropped from the unit, so the command that enrolled this host can be rerun with this flag appended --install Write the generated unit, reload systemd, and enable it now --system Generate a system unit under /etc/systemd/system rather than a user unit under ~/.config/systemd/user -h, --help Print helppm worker list
Section titled “pm worker list”List the workers configured on this machine
Usage: pm worker list [OPTIONS]
Options: --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm worker modify
Section titled “pm worker modify”Change a worker's stored settings. Nothing is applied until the worker is restarted, which this prints
Usage: pm worker modify [OPTIONS]
Options: --name <NAME> Which worker. Omitted means the only one configured --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --dir <HOST[:CONTAINER][:ro|rw]> Replace the directories mounted into the container -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --add-dir <HOST[:CONTAINER][:ro|rw]> Add one directory, keeping the rest --rm-dir <HOST> Stop mounting this host path --env <KEY[=VALUE]> Replace the environment passed in --restart <RESTART> [possible values: no, on-failure, always, unless-stopped] --image <IMAGE>
--network <NETWORK>
--runtime <RUNTIME> [possible values: docker, podman, incus] --incus-shifted-home[=<INCUS_SHIFTED_HOME>] Enable ID shifting for the Incus home volume. Requires idmapped mounts [possible values: true, false] --cpu <N> CPU cores the sandbox may use. Unset means every core --memory <SIZE> Memory the sandbox may use, e.g. 4GiB. Unset means unlimited --memory-swap <BOOL> Whether the sandbox may swap. Unset means it may [possible values: true, false] --cpu-allowance <PCT> Share of its cores the sandbox may use, e.g. 50%. Incus only --memory-enforce <MEMORY_ENFORCE> Whether the memory cap is enforced hard, killing the sandbox, or soft, reclaiming only under host pressure. Incus only [possible values: hard, soft] --disk <SIZE> Size of the sandbox's root disk, e.g. 40GiB. Incus only -h, --help Print helppm worker restart
Section titled “pm worker restart”Rebuild a worker's container on its current settings. Its agents are killed and resumed afterwards with their history
Usage: pm worker restart [OPTIONS]
Options: --name <NAME> --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --force Rebuild even when the container has live sessions -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm worker stop
Section titled “pm worker stop”Stop a worker's container, leaving it configured
Usage: pm worker stop [OPTIONS]
Options: --name <NAME> --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm worker start
Section titled “pm worker start”Start a worker's container again on the settings it was built with
Usage: pm worker start [OPTIONS]
Options: --name <NAME> --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm worker logs
Section titled “pm worker logs”Read a worker's container log
Usage: pm worker logs [OPTIONS]
Options: --name <NAME> --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -f, --follow Follow the log instead of printing what there is and exiting -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm worker delete
Section titled “pm worker delete”Delete a worker's local configuration and container resources after confirmation
Usage: pm worker delete [OPTIONS]
Options: --name <NAME> Which worker. Omitted means the only one configured --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --no-delete-resources Keep the container and its persistent agent state -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --accept-delete Accept deletion without an interactive confirmation -h, --help Print helppm bucket
Section titled “pm bucket”Manage buckets
Usage: pm bucket [OPTIONS] <COMMAND>
Commands: add ls rm help Print this message or the help of the given subcommand(s)
Options: --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm bucket add
Section titled “pm bucket add”Usage: pm bucket add [OPTIONS] <NAME>
Arguments: <NAME>
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm bucket rm
Section titled “pm bucket rm”Usage: pm bucket rm [OPTIONS] <ID>
Arguments: <ID>
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm project
Section titled “pm project”Manage projects
Usage: pm project [OPTIONS] <COMMAND>
Commands: add edit ls rm path Per-worker launch paths for a project help Print this message or the help of the given subcommand(s)
Options: --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm project add
Section titled “pm project add”Usage: pm project add [OPTIONS] --bucket <BUCKET> <NAME> <PATH>
Arguments: <NAME> <PATH>
Options: -b, --bucket <BUCKET> --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm project ls
Section titled “pm project ls”Usage: pm project ls [OPTIONS]
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm project path
Section titled “pm project path”Per-worker launch paths for a project
Usage: pm project path [OPTIONS] <COMMAND>
Commands: set Set the project's launch path on one worker clear Clear the project's path on one worker so spawns there fall back to the project's configured path help Print this message or the help of the given subcommand(s)
Options: --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm project path set
Section titled “pm project path set”Set the project's launch path on one worker
Usage: pm project path set [OPTIONS] <PROJECT> <WORKER> <PATH>
Arguments: <PROJECT> <WORKER> Worker id or name; must be one of the project's allowed workers <PATH> Absolute path on that worker; not checked against the local filesystem
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm project path clear
Section titled “pm project path clear”Clear the project's path on one worker so spawns there fall back to the project's configured path
Usage: pm project path clear [OPTIONS] <PROJECT> <WORKER>
Arguments: <PROJECT> <WORKER> Worker id or name
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm models
Section titled “pm models”Manage model profiles: named provider accounts with one endpoint per API dialect, attachable to a bucket, project, or spawn
Usage: pm models [OPTIONS] <COMMAND>
Commands: ls List profiles with their endpoints and which agents they cover. API keys are never shown, only whether one is set show Show one profile in the same redacted form add Create a profile. The key is stored sealed and write-only edit Rename a profile or replace its key. Omitted fields are left alone, so an edit never drops the stored key rm Delete a profile. Refused while a bucket, project, or resumable session still references it endpoint Create or replace the profile's endpoint for one dialect rm-endpoint Delete one dialect's endpoint. Refused while a resumable session would reselect it on resume set-bucket Attach a profile to a bucket, or clear it with --none set-project Override a project's profile, or clear the override with --none so it inherits its bucket help Print this message or the help of the given subcommand(s)
Options: --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm models ls
Section titled “pm models ls”List profiles with their endpoints and which agents they cover. API keys are never shown, only whether one is set
Usage: pm models ls [OPTIONS]
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm models show
Section titled “pm models show”Show one profile in the same redacted form
Usage: pm models show [OPTIONS] <ID>
Arguments: <ID>
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm models add
Section titled “pm models add”Create a profile. The key is stored sealed and write-only
Usage: pm models add [OPTIONS] <NAME>
Arguments: <NAME>
Options: --api-key <API_KEY> Provider API key. Required before an endpoint can set a base url, since that redirects the agent's traffic to it --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm models edit
Section titled “pm models edit”Rename a profile or replace its key. Omitted fields are left alone, so an edit never drops the stored key
Usage: pm models edit [OPTIONS] <ID>
Arguments: <ID>
Options: --name <NAME> --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --api-key <API_KEY> -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --clear-api-key Drop the stored key -h, --help Print helppm models rm
Section titled “pm models rm”Delete a profile. Refused while a bucket, project, or resumable session still references it
Usage: pm models rm [OPTIONS] <ID>
Arguments: <ID>
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm models endpoint
Section titled “pm models endpoint”Create or replace the profile's endpoint for one dialect
Usage: pm models endpoint [OPTIONS] --model <MODEL> <PROFILE> <DIALECT>
Arguments: <PROFILE> <DIALECT> anthropic-messages, openai-responses, or google-genai
Options: --model <MODEL> Model the agent's main reasoning loop uses --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --base-url <BASE_URL> Gateway base url; omit to pin the model on the agent CLI's own account [default: ""] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --background-model <BACKGROUND_MODEL> Cheaper model for auxiliary work off the main loop. Agents whose CLI has no such setting ignore it [default: ""] --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm models rm-endpoint
Section titled “pm models rm-endpoint”Delete one dialect's endpoint. Refused while a resumable session would reselect it on resume
Usage: pm models rm-endpoint [OPTIONS] <PROFILE> <DIALECT>
Arguments: <PROFILE> <DIALECT>
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm models set-bucket
Section titled “pm models set-bucket”Attach a profile to a bucket, or clear it with --none
Usage: pm models set-bucket [OPTIONS] <BUCKET>
Arguments: <BUCKET>
Options: --profile <PROFILE> --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --none -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm models set-project
Section titled “pm models set-project”Override a project's profile, or clear the override with --none so it inherits its bucket
Usage: pm models set-project [OPTIONS] <PROJECT>
Arguments: <PROJECT>
Options: --profile <PROFILE> --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --none -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm terminal
Section titled “pm terminal”Manage terminals subordinate to a session
Usage: pm terminal [OPTIONS] <COMMAND>
Commands: new attach restart close transcript help Print this message or the help of the given subcommand(s)
Options: --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm terminal new
Section titled “pm terminal new”Usage: pm terminal new [OPTIONS] <SESSION>
Arguments: <SESSION>
Options: --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --title <TITLE> --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm terminal restart
Section titled “pm terminal restart”Usage: pm terminal restart [OPTIONS] <TERMINAL>
Arguments: <TERMINAL>
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm terminal transcript
Section titled “pm terminal transcript”Usage: pm terminal transcript [OPTIONS] <TERMINAL>
Arguments: <TERMINAL>
Options: --generation <GENERATION>
--socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --scrollback-dir <SCROLLBACK_DIR>
-v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm spawn
Section titled “pm spawn”Spawn an agent session in a project
Usage: pm spawn [OPTIONS] --project <PROJECT> [PROMPT]
Arguments: [PROMPT] Initial prompt; omit to start the agent with no prompt and type in its terminal
Options: -p, --project <PROJECT> --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --agent <AGENT> Agent to run: claude, codex, gemini, opencode, antigravity, or grok [default: claude] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --title <TITLE> Short label shown in listings; defaults to the prompt --cwd <CWD> Working directory override; defaults to the project's path --permission <PERMISSION> Permission mode: default, auto, or bypass. Omit to inherit the project (then bucket) default --no-items-api Disable the Items API for this session: its MCP server will not offer the work-item tools --supervisor Grant the supervisor tools: the session's MCP server can spawn sessions for board items in its bucket, watch them, and type into their terminals. Spawns through those tools always use the chosen project's own path and permission mode, and may pick among the project's configured hosts --role <ROLE> Session role: worker or supervisor. --supervisor remains a compatibility alias --model-profile <MODEL_PROFILE> Model profile id for this session; omit to inherit the project (then bucket) profile. The spawn is rejected when the profile has no endpoint the chosen agent can use --worker <WORKER> Worker to run on, as a worker id or name. Only workers the project allows are accepted; anything else is rejected with the valid choices. Omit to use the project's default worker resolution --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helpList buckets, projects, and live sessions, most recently active first
Usage: pm ls [OPTIONS]
Options: -a, --all Include ended sessions --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm forwards
Section titled “pm forwards”Published port forwards
Usage: pm forwards [OPTIONS] <COMMAND>
Commands: ls List published forwards across all sessions close Close a forward by id (see `pm forwards ls`) help Print this message or the help of the given subcommand(s)
Options: --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm forwards ls
Section titled “pm forwards ls”List published forwards across all sessions
Usage: pm forwards ls [OPTIONS]
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm forwards close
Section titled “pm forwards close”Close a forward by id (see `pm forwards ls`)
Usage: pm forwards close [OPTIONS] <FORWARD>
Arguments: <FORWARD>
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm review
Section titled “pm review”PR-style reviews of local work
Usage: pm review [OPTIONS] <COMMAND>
Commands: open Open a review, or attach to the one already covering the target ls List reviews status Thread counts for a session's open reviews finish Close a review help Print this message or the help of the given subcommand(s)
Options: --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm review open
Section titled “pm review open”Open a review, or attach to the one already covering the target.
The worktree is stated, never inferred: a session's launch directory is fixed when it spawns and the agent may have moved or created a worktree since.
Usage: pm review open [OPTIONS] --worktree <WORKTREE> <SESSION>
Arguments: <SESSION> The session that will answer the review's comments
Options: --socket <SOCKET> Daemon unix socket path
[env: PM_SOCKET=]
--worktree <WORKTREE> Absolute path of the working tree to read
--base <BASE> Base ref or SHA. Resolved against the worktree, wherever it lives, before the review is opened
[default: HEAD]
-v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it
--head <HEAD> Head ref or SHA. Omit to review the working tree
--path <PATHSPEC> Limit the review to matching paths; each filter is its own review
--file <FILES> Review exactly these paths, skipping enumeration
--label <LABEL> What to call this review in the UI
--reset Discard existing threads and history for this target first
--name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available
-h, --help Print help (see a summary with '-h')pm review ls
Section titled “pm review ls”List reviews
Usage: pm review ls [OPTIONS]
Options: --session <SESSION> Only this session's reviews --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -a, --all Include finished reviews -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm review status
Section titled “pm review status”Thread counts for a session's open reviews
Usage: pm review status [OPTIONS] <SESSION>
Arguments: <SESSION>
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm review finish
Section titled “pm review finish”Close a review
Usage: pm review finish [OPTIONS] <REVIEW>
Arguments: <REVIEW>
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm items
Section titled “pm items”Work items on a bucket's board
Usage: pm items [OPTIONS] <COMMAND>
Commands: ls List a bucket's items. Done/dropped are hidden unless --all, snoozed unless --snoozed show Print one item with its body, links, and timeline respond Reply to an item and optionally route it to a supervisor add Create an item done Mark an item done drop Drop an item (deliberately not doing it; survives re-sweeps) snooze Park an item until a date (YYYY-MM-DD), or clear with --clear rm Delete an item outright. A swept item may return on the next sweep; prefer drop for those help Print this message or the help of the given subcommand(s)
Options: --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm items ls
Section titled “pm items ls”List a bucket's items. Done/dropped are hidden unless --all, snoozed unless --snoozed
Usage: pm items ls [OPTIONS]
Options: -b, --bucket <BUCKET> Bucket id; optional when only one bucket exists --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --status <STATUSES> Filter to these statuses (repeatable), e.g. --status inbox -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --project <PROJECT> Filter to one project id -a, --all Include done and dropped items --snoozed Include snoozed items --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm items show
Section titled “pm items show”Print one item with its body, links, and timeline
Usage: pm items show [OPTIONS] <ID>
Arguments: <ID>
Options: -b, --bucket <BUCKET> --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm items respond
Section titled “pm items respond”Reply to an item and optionally route it to a supervisor
Usage: pm items respond [OPTIONS] <ID> <TEXT>
Arguments: <ID> <TEXT>
Options: -b, --bucket <BUCKET>
--socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --session <SESSION> Route to an existing supervisor session -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --new-supervisor-project <NEW_SUPERVISOR_PROJECT> Spawn a new supervisor in this project and route to it --reply-only Record the reply without routing it to a session --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm items add
Section titled “pm items add”Create an item
Usage: pm items add [OPTIONS] <TITLE>
Arguments: <TITLE>
Options: -b, --bucket <BUCKET> Bucket id; optional when only one bucket exists
--socket <SOCKET> Daemon unix socket path
[env: PM_SOCKET=]
--project <PROJECT>
-v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it
--priority <PRIORITY> urgent, high, normal, or low
--status <STATUS> For a new item, use `planned` for queued/ready work when the request is sufficiently specified and no additional user information, triage, prioritization, or decision is needed before work can start. A clear user request to create, add, or file an unambiguous task should normally be `planned` unless the user specifies another status. Use `inbox` only for captured work that genuinely requires user triage, clarification, prioritization, or a decision before it is ready. Raw creates that omit status fall back to `inbox`, so set `planned` explicitly for ready work. Dispatching a worker is orthogonal to status: `planned` does not mean a worker has been or should be dispatched. Examples: "Create a task to rename the Run button to Dispatch" -> `planned`; "Maybe improve the dashboard navigation" -> `inbox`; "Create a task to rename the Run button to Dispatch, but do not dispatch it" -> `planned`.
--due <DUE> Due date as YYYY-MM-DD
--url <URL>
--body <BODY>
--name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available
-h, --help Print help (see a summary with '-h')pm items done
Section titled “pm items done”Mark an item done
Usage: pm items done [OPTIONS] <ID>
Arguments: <ID>
Options: -b, --bucket <BUCKET> --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm items drop
Section titled “pm items drop”Drop an item (deliberately not doing it; survives re-sweeps)
Usage: pm items drop [OPTIONS] <ID>
Arguments: <ID>
Options: -b, --bucket <BUCKET> --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm items snooze
Section titled “pm items snooze”Park an item until a date (YYYY-MM-DD), or clear with --clear
Usage: pm items snooze [OPTIONS] <ID> [UNTIL]
Arguments: <ID> [UNTIL]
Options: -b, --bucket <BUCKET> --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --clear -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm items rm
Section titled “pm items rm”Delete an item outright. A swept item may return on the next sweep; prefer drop for those
Usage: pm items rm [OPTIONS] <ID>
Arguments: <ID>
Options: -b, --bucket <BUCKET> --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm config
Section titled “pm config”Daemon settings stored in its database
Usage: pm config [OPTIONS] <COMMAND>
Commands: ls List every setting with its current and default values set Set a setting; applies to sessions spawned afterwards unset Clear a setting so the built-in default applies again help Print this message or the help of the given subcommand(s)
Options: --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm config ls
Section titled “pm config ls”List every setting with its current and default values
Usage: pm config ls [OPTIONS]
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm config set
Section titled “pm config set”Set a setting; applies to sessions spawned afterwards
Usage: pm config set [OPTIONS] <KEY> [VALUE]
Arguments: <KEY> [VALUE] The value. Omit it when reading from --stdin or --file
Options: --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --stdin Read the value from standard input --file <FILE> Read the value from a file -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm config unset
Section titled “pm config unset”Clear a setting so the built-in default applies again
Usage: pm config unset [OPTIONS] <KEY>
Arguments: <KEY>
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm instructions
Section titled “pm instructions”Manage versioned bucket/project instruction overlays
Usage: pm instructions [OPTIONS] <COMMAND>
Commands: ls effective set revert help Print this message or the help of the given subcommand(s)
Options: --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm instructions ls
Section titled “pm instructions ls”Usage: pm instructions ls [OPTIONS] --bucket <BUCKET>
Options: --bucket <BUCKET> --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --project <PROJECT> -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm instructions set
Section titled “pm instructions set”Usage: pm instructions set [OPTIONS] --bucket <BUCKET> --role <ROLE> --expected-revision <EXPECTED_REVISION> <MARKDOWN>
Arguments: <MARKDOWN>
Options: --bucket <BUCKET>
--socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --project <PROJECT>
-v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --role <ROLE>
--expected-revision <EXPECTED_REVISION>
--note <NOTE> [default: ""] --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm briefing
Section titled “pm briefing”Print a bucket's latest briefing
Usage: pm briefing [OPTIONS]
Options: -b, --bucket <BUCKET> Bucket id; optional when only one bucket exists --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm update
Section titled “pm update”Report the newest published build, and install it over this binary unless --check. A running daemon keeps serving the build it started with, so restart it yourself once this has replaced it
Usage: pm update [OPTIONS]
Options: --check Report what is available and change nothing --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --version <VERSION> Install this exact version instead of the newest --channel <NAME> Follow this release channel from now on: `stable`, or a channel name such as `dev`. Installs what the channel points at, even when that is an older build than this one, and is remembered for later runs of `pm update` and for the daemon's own check -h, --help Print helppm attach
Section titled “pm attach”Attach the terminal to a session (detach with Ctrl-\)
Usage: pm attach [OPTIONS] <SESSION>
Arguments: <SESSION>
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm interrupt
Section titled “pm interrupt”Send an interrupt (Ctrl-C) to a session
Usage: pm interrupt [OPTIONS] <SESSION>
Arguments: <SESSION>
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm kill
Section titled “pm kill”Kill a session's agent process
Usage: pm kill [OPTIONS] <SESSION>
Arguments: <SESSION>
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm apis
Section titled “pm apis”Enable or disable a session's MCP APIs at runtime. Revocations apply on the session's next tool call; a newly granted tool set may need the agent's MCP client to reconnect (or the session to be resumed) before the agent notices it
Usage: pm apis [OPTIONS] <SESSION>
Arguments: <SESSION> Session id
Options: --items <ITEMS> Enable or disable the work-item tools: true or false [possible values: true, false] --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --supervisor <SUPERVISOR> Enable or disable the supervisor tools: true or false [possible values: true, false] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --role <ROLE> Change first-class role: worker or supervisor --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm tui
Section titled “pm tui”Full-screen dashboard (quit with q)
Usage: pm tui [OPTIONS]
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm login
Section titled “pm login”Sign in to a remote controller so commands and the dashboard can reach it. Asks for the username and password of its web UI and saves the login under --name, which later commands select it by
Usage: pm login [OPTIONS] <URL>
Arguments: <URL> The controller's web address, e.g. https://pm.example.com
Options: --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --username <USERNAME> Username; asked for when omitted --password-stdin Read the password from standard input instead of asking -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --pin <SHA256> SHA-256 of the public key the controller's certificate must carry, in hex. For a certificate no system root vouches for; without it such a certificate is shown and confirmed interactively --device-name <DEVICE_NAME> What the controller's device list shows this login as --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm logout
Section titled “pm logout”Sign out of a remote controller and forget its saved login
Usage: pm logout [OPTIONS]
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm remotes
Section titled “pm remotes”List saved logins to remote controllers
Usage: pm remotes [OPTIONS]
Options: --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm resume
Section titled “pm resume”Resume an ended session's agent conversation in place
Usage: pm resume [OPTIONS] <SESSION>
Arguments: <SESSION>
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm transcript
Section titled “pm transcript”Print an ended session's terminal transcript
Usage: pm transcript [OPTIONS] <SESSION>
Arguments: <SESSION>
Options: --scrollback-dir <SCROLLBACK_DIR> Transcript directory override (defaults to the data dir) --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm tmux
Section titled “pm tmux”tmux glue: fleet status, opening sessions as windows, and materializing saved workspaces as native splits
Usage: pm tmux [OPTIONS] <COMMAND>
Commands: status One-line fleet summary in tmux status-line markup, for status-right polling open Open sessions as tmux windows running `pm attach` pick Pick a live session from a tmux menu and open it in a window workspace List saved workspaces or recreate one's split layout in tmux help Print this message or the help of the given subcommand(s)
Options: --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -h, --help Print helppm tmux status
Section titled “pm tmux status”One-line fleet summary in tmux status-line markup, for status-right polling
Usage: pm tmux status [OPTIONS]
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm tmux open
Section titled “pm tmux open”Open sessions as tmux windows running `pm attach`
Usage: pm tmux open [OPTIONS] [SESSIONS]...
Arguments: [SESSIONS]... Session ids to open
Options: --needs-input Open every session currently waiting on input instead --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm tmux pick
Section titled “pm tmux pick”Pick a live session from a tmux menu and open it in a window
Usage: pm tmux pick [OPTIONS]
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print helppm tmux workspace
Section titled “pm tmux workspace”List saved workspaces or recreate one's split layout in tmux
Usage: pm tmux workspace [OPTIONS] [WORKSPACE]
Arguments: [WORKSPACE] Workspace id or name; omit to list saved workspaces
Options: --name <NAME> Controller to talk to: a name given to `pm login`, or `local` for the daemon on this machine. Required when more than one is available --socket <SOCKET> Daemon unix socket path [env: PM_SOCKET=] -v, --verbose... Log pm's own crates in more detail: once for debug, twice for trace, three times for trace everywhere including the transport libraries. Applies to `pm daemon`, `pm worker` and `pm pushgw`, which are the commands that log. `RUST_LOG` overrides it -h, --help Print help