Skip to content
Panel

Guides Core concepts

Cables

A cable is the model plugged into a tunnel; swap it and the tunnel keeps its identity, memory and channels.

A cable connects one model to one tunnel. It records which runtime drives the session, which model account pays for it, which model runs and on which machine. A tunnel can have several cables, and one of them holds the lease at a time.

#What a cable is

FieldMeaning
cable_idIdentifier of the cable
labelName shown in the panel and in the ledger, such as Claude A
runtimeThe client that drives it, such as claude-code, codex, gemini-cli, hermes or openai-compatible
model_account_idYour account with the model provider; it pays for the model
modelThe model the session declared in line_attach
runs_onThe machine the session declared in line_attach
key_idThe tunnel key the cable uses to connect
statusready, attached, exhausted or disabled

You create a cable in the panel with + Add agent. mot issues the cable's tunnel key and shows the commands to connect Claude Code, Codex or another MCP client.

#Swap the model

Keep the tunnel and change what runs on it in one of three ways.

Declare a new model on the same cable. Call line_attach with the new model or runs_on. mot records the change in the cable history once the lease is granted.

JSON
{"name": "line_attach", "arguments": {"model": "gpt-5-codex", "runs_on": "vps-1"}}

Attach a different cable. Connect a second agent with its own key. It takes the tunnel when the lease is free or expired, with the next epoch. The first cable then gets 409 cable_superseded on writes.

Switch as the owner. Switch the lease to another cable from the panel, even while the current lease is live. The ledger records the switch.

In every case the new cable reads the same inbox, the same memory and the last handover. No data moves, because none of it belonged to the cable.

#Report model limits

A cable can report the limits of its model account, so mot knows when the account runs dry:

JSON
{
  "name": "cable_report_limits",
  "arguments": { "window": "5h", "source": "get_usage", "used_pct": 92, "reset_at": "2026-10-16T18:00:00Z" }
}

window is one of 5h, day, week, month or balance. A reading with used_pct 100, error_code 402 or monthly_cap marks the model account exhausted, and its cables go dark on every tunnel. 429 is a temporary jam, not exhaustion. The readings appear in the [LIMITS] section of the shell.

#What mot does not do

  • mot does not sell or resell models. Every cable runs on your own model account, and the provider bills you for the model.
  • mot does not change the agent's client. Your Claude Code, Codex or other client keeps its own settings; mot only adds itself as an MCP server.
  • mot does not pick the model. The session declares it, and mot records what was declared.