Agent Linux Control
One CLI for Linux OS control. Prefer DOM/app APIs for web content; use this for desktop UI, browser chrome, dialogs, downloads, file pickers, screenshots, visual verification.
Loop
agent-linux-control doctor
agent-linux-control manifest --brief
agent-linux-control observe --brief --output /tmp/alc.png
- Inspect screenshot.
- Act once, or batch with
sequence --brief.
- Verify via
wait-change --brief or observe --brief.
- Recover/debug via
journal tail.
Token Rules
- Prefer
--brief for agent loops. Use full JSON only when diagnosing.
- Prefer
paste over type for long text.
- Prefer
sequence --brief for known multi-step plans; fewer tool calls, fewer tokens.
- If
alc-daemon is running, CLI and MCP input commands auto-use it; otherwise Python /dev/uinput fallback runs.
- Prefer MCP
manifest/observe/sequence with {"brief":true} when MCP available.
- Journal redacts text payloads to length + SHA-256.
- Prefer app-native APIs for real work inside apps; use desktop control for launch, dialogs, visual verification.
- For long autonomous work, prefer isolated workspace when available; direct desktop shares user pointer/focus.
Commands
- Contract:
agent-linux-control manifest --brief
- Observe:
agent-linux-control observe --brief --output /tmp/alc.png
- Watch:
agent-linux-control watch --brief --count 10 --interval 0.5 --output-dir /tmp/alc-watch
- Wait:
agent-linux-control wait-change --brief --timeout 10 --output /tmp/alc-changed.png
- Screenshot:
agent-linux-control screenshot --output /tmp/alc.png
- Move:
agent-linux-control move 200 0
- Goto:
agent-linux-control goto 900 600
- Click:
agent-linux-control click left --x 900 --y 600
- Scroll:
agent-linux-control scroll -5
- Type:
agent-linux-control type "hello"
- Paste:
agent-linux-control paste "hello"
- Key:
agent-linux-control key enter
- Hotkey:
agent-linux-control hotkey ctrl+l
- Clipboard:
agent-linux-control clipboard set "text" / agent-linux-control clipboard get
- Browser:
agent-linux-control browser --prefer chrome --require-prefer https://example.com
- Batch:
agent-linux-control sequence --brief --file plan.json
- Daemon bench:
agent-linux-control bench daemon --count 8
- MCP:
agent-linux-control mcp
- Journal:
agent-linux-control journal tail --lines 10
- Obsidian:
agent-linux-control brain export --output-dir ./agent-linux-control-vault
- Daemon:
alc-daemon serve --socket /tmp/agent-linux-control.sock
Safety
- Never type secrets, approve elevated prompts, submit payments, send messages, or delete data unless user explicitly asked for that exact action.
- Observe before/after important UI actions.
- If click misses, re-observe and recalc; do not repeat blindly.
- Wayland
goto is approximate.
- If
/dev/uinput not writable, ask user to run installer or enable udev rule. Do not bypass permissions.
Install
curl -fsSL https://raw.githubusercontent.com/antharmaya/agent-linux-control/main/install.sh | sh
Local:
AGENT_LINUX_CONTROL_SOURCE_DIR="$PWD" ./install.sh
Source: antharmaya/agent-linux-control — distributed by TomeVault.
1---2name: antharmaya-agent-linux-control-agent-linux-control3description: Agent Linux Control4---56# Agent Linux Control78One CLI for Linux OS control. Prefer DOM/app APIs for web content; use this for desktop UI, browser chrome, dialogs, downloads, file pickers, screenshots, visual verification.910## Loop11121. `agent-linux-control doctor`132. `agent-linux-control manifest --brief`143. `agent-linux-control observe --brief --output /tmp/alc.png`154. Inspect screenshot.165. Act once, or batch with `sequence --brief`.176. Verify via `wait-change --brief` or `observe --brief`.187. Recover/debug via `journal tail`.1920## Token Rules2122- Prefer `--brief` for agent loops. Use full JSON only when diagnosing.23- Prefer `paste` over `type` for long text.24- Prefer `sequence --brief` for known multi-step plans; fewer tool calls, fewer tokens.25- If `alc-daemon` is running, CLI and MCP input commands auto-use it; otherwise Python `/dev/uinput` fallback runs.26- Prefer MCP `manifest/observe/sequence` with `{"brief":true}` when MCP available.27- Journal redacts text payloads to length + SHA-256.28- Prefer app-native APIs for real work inside apps; use desktop control for launch, dialogs, visual verification.29- For long autonomous work, prefer isolated workspace when available; direct desktop shares user pointer/focus.3031## Commands3233- Contract: `agent-linux-control manifest --brief`34- Observe: `agent-linux-control observe --brief --output /tmp/alc.png`35- Watch: `agent-linux-control watch --brief --count 10 --interval 0.5 --output-dir /tmp/alc-watch`36- Wait: `agent-linux-control wait-change --brief --timeout 10 --output /tmp/alc-changed.png`37- Screenshot: `agent-linux-control screenshot --output /tmp/alc.png`38- Move: `agent-linux-control move 200 0`39- Goto: `agent-linux-control goto 900 600`40- Click: `agent-linux-control click left --x 900 --y 600`41- Scroll: `agent-linux-control scroll -5`42- Type: `agent-linux-control type "hello"`43- Paste: `agent-linux-control paste "hello"`44- Key: `agent-linux-control key enter`45- Hotkey: `agent-linux-control hotkey ctrl+l`46- Clipboard: `agent-linux-control clipboard set "text"` / `agent-linux-control clipboard get`47- Browser: `agent-linux-control browser --prefer chrome --require-prefer https://example.com`48- Batch: `agent-linux-control sequence --brief --file plan.json`49- Daemon bench: `agent-linux-control bench daemon --count 8`50- MCP: `agent-linux-control mcp`51- Journal: `agent-linux-control journal tail --lines 10`52- Obsidian: `agent-linux-control brain export --output-dir ./agent-linux-control-vault`53- Daemon: `alc-daemon serve --socket /tmp/agent-linux-control.sock`5455## Safety5657- Never type secrets, approve elevated prompts, submit payments, send messages, or delete data unless user explicitly asked for that exact action.58- Observe before/after important UI actions.59- If click misses, re-observe and recalc; do not repeat blindly.60- Wayland `goto` is approximate.61- If `/dev/uinput` not writable, ask user to run installer or enable udev rule. Do not bypass permissions.6263## Install6465```sh66curl -fsSL https://raw.githubusercontent.com/antharmaya/agent-linux-control/main/install.sh | sh67```6869Local:7071```sh72AGENT_LINUX_CONTROL_SOURCE_DIR="$PWD" ./install.sh73```7475---76> Source: [antharmaya/agent-linux-control](https://github.com/antharmaya/agent-linux-control) — distributed by [TomeVault](https://tomevault.io).77<!-- tomevault:4.0:skill_md:2026-06-16 -->