CLI

The mpod command, its subcommands and their flags

mpod is Pod Console's one binary: the runtime that runs your terminals and agents, the link to your account, and the commands below. hc and herdr-app are aliases of it, so herdr's scripts keep working.

mpod --version          # the runtime protocol, then the product version
mpod --version --json
mpod --help

Terminals

The runtime's own commands, as in herdr:

CommandWhat it does
mpod runStart a program, or a template by name with its task
mpod ls / getList terminals / show one
mpod readRead a terminal's screen
mpod send / keys / interruptType text / send keys / interrupt
mpod waitWait for a terminal or agent
mpod attachAttach to a terminal here; detach with Ctrl+\
mpod kill / rmStop a terminal / remove it
mpod label / keepLabel a terminal / keep it after it exits
mpod execRun a command
mpod file read / write / editWork on a file
mpod server start / stop / status / restartControl the runtime
mpod machine add / ls / login / update / rename / rmMachines reached over SSH
mpod events, templates, schemaEvents, templates and the API's schema
mpod update [--version V]Update this runtime to the newest release, or to V; terminals keep running
mpod update --from <path>Swap in another build of the runtime and restart it
mpod show <file>Draw a PNG image in the terminal

The link makes this machine reachable through Mapier's servers. Add --json for JSON output.

CommandWhat it does
mpod link pair [--name N] [--kind computer|server]Pair this machine with your account, with a code. --kind is computer by default
mpod link run [--runtime]The service itself. --runtime also keeps the runtime running
mpod link statusPaired or not, the connection to Mapier, open lines, paused, uploads
mpod link machinesYour account's machines: id, name and kind
mpod link cutEnd every remote line and refuse new ones, until allow
mpod link allowAllow control from the web again
mpod link allow-machine-shares on|offAllow sharing this whole computer or server with other people. Off by default
mpod link record [--tail 50]The local record of remote actions
mpod link trayOn Linux, who is connected and the switch that cuts every line, in your tray
mpod link install-service / uninstall-serviceInstall or remove the link as a service
mpod link unpairEnd every line and delete this machine's keys

mpod pods

Your pods, from your computer.

CommandWhat it does
mpod pods lsThe pods this machine may see
mpod pods status [pod]One pod's state
mpod pods wake <pod>Start a sleeping pod
mpod pods sleep [pod]Put a pod to sleep. On a pod, only itself
mpod pods destroy <pod>Prints where to destroy it: destroying a pod needs a person

mpod sessions

The Sessions panel's helper. It answers in JSON lines; --human prints tables. Parameters go as --params '<json>' or as --<key> <value>.

CommandWhat it does
mpod sessions listList sessions
mpod sessions showOne session
mpod sessions runningSessions running now
mpod sessions scanRead the agents' stores again
mpod sessions resume-lostResume agents that stopped with the machine
mpod sessions resume-logWhat was resumed, and when
mpod sessions settings --set auto_resume=on|ask|offWhat happens after a restart
mpod sessions agentsThe agents it reads
mpod sessions list --human

mpod agents

Agent status and agent hooks.

CommandWhat it does
mpod agents watchThe status watcher
mpod agents statusEach agent's state
mpod agents explain <terminal> [--evidence]Why an agent has its status
mpod agents settings get / set <key> <value>screen_rules true|false, off+= <agent>, off-= <agent>, max_candidates <n>
mpod agents hooks install <agent>Install an agent's optional hook
mpod agents rules listThe screen rules in use
mpod agents install-service / uninstall-serviceInstall or remove the watcher as a service

mpod mods and mpod publish

CommandWhat it does
mpod mods guideThe guide to mods, for agents
mpod mods scan <folder>What a mod does, as a label. It reads files and never runs them
mpod mods hash <folder>A mod's identity
mpod mods proposePropose a mod to the person. Agents can only propose
mpod mods skeleton <name>A name's look-alike skeleton, and whether a listing would refuse it
mpod publish keygenMake your publisher key, once
mpod publish submit --repo owner/nameSubmit a plugin to the marketplace. --kind mod|layout|package
mpod publish sign / verifySign and check a release statement

See Plugins.

Pod, Pod CI/QA and Pod Agent IAM

mpod is also the command line of Mapier's other Pod products: mpod sandboxes for Pod's sandboxes, mpod ci for Pod CI/QA, mpod approvals for Pod Agent IAM, mpod mcp to hand those commands to an agent as MCP tools, and mpod pod login to sign in to them. They are documented with those products: see mpod.