--- title: "Agent terminal control" description: "Managed seat census, terminal attachment, input receipts, and native agent stops." kind: Reference audience: operators --- import { Callout } from "fumadocs-ui/components/callout"; Managed seat control uses the running manager's native endpoint commands. ## Managed seats [#managed-seats] ```bash cotal ps [--json | --plain] [--on ] [--wide] [--slots] [--space ] cotal stop [--force] [--on ] [--space ] cotal stop --self [--force] cotal attach [] [--on ] [--no-reconnect] [--space ] ``` | Flag | Default | Meaning | |---|---|---| | `--space ` / `--server ` / `--creds ` | resolved mesh | Which manager to reach | | `` / `--name ` | none | Managed agent to stop or attach, named positionally or with `--name`. `stop` needs one unless `--self` is given. `attach` without one lists your agents to choose from on a terminal, and refuses `USAGE_INVALID` where it cannot ask | | `--self` (`stop`) | off | Stop only the verified managed seat running this command (see [Stopping an agent](#stopping-an-agent)) | | `--force` (`stop`) | off | Request the native hard despawn (`graceful:false`); it does not bypass authority | | `--on ` | class anycast (`ps`: class scatter) | Pin to one manager instance id (multi-manager space); takes the whole id as `ps` prints it, not a prefix. On a user-auth mesh it also takes a manager's name, its host, or the `/` an unnamed manager shows as (its runtime alone when its presence names no host), when only one of your live managers matches it; otherwise it refuses as `TARGET_AMBIGUOUS` or `TARGET_NOT_FOUND`, lists your live managers and gives the command again on each. On a static or open mesh a manager's presence does not carry its instance id, so a name is refused as `USAGE_INVALID` and the Next asks for the instance id. An empty value (`--on ""`, an unset shell variable) is refused, never treated as absent. A roster principal id (`local.…`) is refused with a message naming the instance id `ps` prints | | `--wide` (`ps`) | off | Print each seat as a labeled record that adds the operational facts the manager records: the provider the connector reported serving the model, `cwd`, `pid`, spawner, lifecycle uid, the owning manager's instance id and host, and for a `--resume` seat the session it forked (`forked from `, with the source title and transcript SHA-256 once a Hermes or Jcode seat has recorded its fork; a carried Claude session prints `forked from :` with its title, SHA-256 and `carried