Skip to main content
Glama

pilot

Desktop control for AI agents: give it a goal, it looks at the screen, acts, and stops when the goal is done. It drives the whole desktop on Linux (COSMIC, Wayland) and Windows. It is an MCP server, so a coding agent like Claude Code can use your screen as a tool. (Web pages are left to the agent's own browser.)

Status: planning. Nothing runs yet.

The loop

goal → snapshot (accessibility tree with element refs + screenshot) → model picks an action
     → act (click, type, key, scroll, navigate) → check → … → done | ask human

Related MCP server: deskwright

Architecture

 Claude Code / agent loop ──MCP──► pilot (this repo) ──tailnet HTTP──► pilot-host on each PC
                                                                      ├─ pop-os  (COSMIC/Wayland)
                                                                      └─ Windows
  • pilot-host runs on each PC: screenshot, mouse, keyboard, list windows.

    • Linux/Wayland: screenshot through the portal (or cosmic-screenshot), input through a uinput virtual device (same approach as talk).

    • Windows: SendInput and desktop duplication / GDI capture.

    • Elements: AT-SPI on Linux, UI Automation on Windows. The agent clicks ref=42 ("Save" button) when the app exposes it, and falls back to pixel coordinates when it doesn't.

  • pilot is the brain and the MCP server. It picks the PC you used last (presence, like talk's speech relay) unless told otherwise.

Safety

  • Every action is logged with its screenshot.

  • Confirm before: sending messages, purchases, deleting, anything with passwords. A kill switch on the host (hotkey) stops everything at once.

  • The host listens on the tailnet only, with a token.

Plan

  • pilot-host on pop-os: screenshot + uinput mouse/keyboard

  • MCP server: snapshot, act, list_windows, focus

  • Accessibility tree (AT-SPI) with refs, pixel fallback

  • pilot-host on Windows (UI Automation + SendInput)

  • Eval: a handful of fixed tasks with pass/fail, run on every change

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to control Linux/X11 desktops by providing tools for taking screenshots, clicking, typing, and managing windows via AT-SPI and xdotool.
      4
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to operate a real GNOME Wayland desktop through accessibility-tree widget actions, pointer/keyboard input, OCR, window management, and screen capture, optionally on a private headless session.
      33
      26 PyPI
      11
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables an AI agent to see and control a Linux desktop via Wayland/Hyprland, providing screenshots, structured desktop state, pointer/keyboard input, semantic window/workspace tools, and a policy engine for safe execution.
      Apache 2.0