Skip to content

Agents

The stack an agent needs: a headless session with no display, the IPC socket to drive it, screenshots to see it, and this documentation as plain Markdown.

Terminal window
scoot --headless --outputs 2 -- foot &
scoot msg windows
scoot msg screenshot --out /tmp/shot.png

--headless renders into a framebuffer with no display. scoot msg is the control client. It also builds on macOS, where scoot is client-only, to drive a compositor in a VM. windows answers every window’s id, app id, title, output, workspace, rectangle, and more (icon, focus, popup grab, adoption): what you click. screenshot answers the output’s own pixels. Then act: scoot msg action focus-column left, scoot msg pointer click X Y, scoot msg type "hello", scoot msg key super+Return.

Read Drive scoot over IPC for the socket, then the rules that keep automation honest:

  • Rules an agent needs: window focus vs keyboard focus, the popup_grab rule, physical-vs-logical conversion, pointer locks, wait-idle pacing.
  • Screenshots: capture reproducibly, the pointer, retry rules.
  • What the socket refuses: the ten bounds, paced captures, connection limits.
  • Events: subscribe instead of polling.

wait-idle is the pacing primitive: block until nothing has redrawn for --quiet-ms (default 200 ms) before screenshotting or typing.

scootlaunch --list --json, --query TEXT --json and --run-id ID [--action A] need no compositor connection. They use the same index, ranking and spawn path as the panel, headless. An agent in a VM enumerates and launches apps over SSH with WAYLAND_DISPLAY set, then sees the result through windows.

Terminal window
scootlaunch --list --json | jq '.[] | {id, name}'
scootlaunch --query "fire" --json | jq '.[0] | {id, name}'
scootlaunch --run-id org.mozilla.firefox.desktop
scoot msg windows | jq '.windows[] | {app_id, title}'

--run-id prints one JSON object and exits 0, or prints an error object (invalid-id, unknown-id, ambiguous-id, invalid-action, unknown-action, launch-failed) and exits 1. The full schema, the exit codes and the troubleshooting boxes are in the launcher CLI reference.

Every page ships as plain Markdown: the three bundles (/llms.txt index, /llms-full.txt everything, /llms-small.txt compact) plus one twin per page at a stable /<slug>.md URL. Per-app sets (one per sidebar section) live under /_llms-txt/: the scoot msg / IPC set is the grammar reference in one file. Commands are in fenced blocks, and nothing meaningful is only in an image.

--help prints the usage text, every request and every action, with topics (scoot msg --help, help <verb>) and --help --json for the machine-readable form, the contract every binary meets. Actions and the generated CLI contract are the prose source.