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 --helpTerminals
The runtime's own commands, as in herdr:
| Command | What it does |
|---|---|
mpod run | Start a program, or a template by name with its task |
mpod ls / get | List terminals / show one |
mpod read | Read a terminal's screen |
mpod send / keys / interrupt | Type text / send keys / interrupt |
mpod wait | Wait for a terminal or agent |
mpod attach | Attach to a terminal here; detach with Ctrl+\ |
mpod kill / rm | Stop a terminal / remove it |
mpod label / keep | Label a terminal / keep it after it exits |
mpod exec | Run a command |
mpod file read / write / edit | Work on a file |
mpod server start / stop / status / restart | Control the runtime |
mpod machine add / ls / login / update / rename / rm | Machines reached over SSH |
mpod events, templates, schema | Events, 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 |
mpod link
The link makes this machine reachable through Mapier's servers. Add --json for JSON output.
| Command | What 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 status | Paired or not, the connection to Mapier, open lines, paused, uploads |
mpod link machines | Your account's machines: id, name and kind |
mpod link cut | End every remote line and refuse new ones, until allow |
mpod link allow | Allow control from the web again |
mpod link allow-machine-shares on|off | Allow 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 tray | On Linux, who is connected and the switch that cuts every line, in your tray |
mpod link install-service / uninstall-service | Install or remove the link as a service |
mpod link unpair | End every line and delete this machine's keys |
mpod pods
Your pods, from your computer.
| Command | What it does |
|---|---|
mpod pods ls | The 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>.
| Command | What it does |
|---|---|
mpod sessions list | List sessions |
mpod sessions show | One session |
mpod sessions running | Sessions running now |
mpod sessions scan | Read the agents' stores again |
mpod sessions resume-lost | Resume agents that stopped with the machine |
mpod sessions resume-log | What was resumed, and when |
mpod sessions settings --set auto_resume=on|ask|off | What happens after a restart |
mpod sessions agents | The agents it reads |
mpod sessions list --humanmpod agents
Agent status and agent hooks.
| Command | What it does |
|---|---|
mpod agents watch | The status watcher |
mpod agents status | Each 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 list | The screen rules in use |
mpod agents install-service / uninstall-service | Install or remove the watcher as a service |
mpod mods and mpod publish
| Command | What it does |
|---|---|
mpod mods guide | The 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 propose | Propose 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 keygen | Make your publisher key, once |
mpod publish submit --repo owner/name | Submit a plugin to the marketplace. --kind mod|layout|package |
mpod publish sign / verify | Sign 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.