Skip to main content
Glama
OpenHUD

OpenHUD

Official
by ultron-hq

Install

macOS (the app, with everything inside)

curl -fsSL https://openhud.ai/mac.sh | sh

Windows

irm https://openhud.ai/install.ps1 | iex

Linux

curl -fsSL https://openhud.ai/install.sh | sh

Or download the .dmg, Windows setup or Linux .AppImage/.deb from the latest release. Setup connects your AI apps; on a Mac you allow Screen Recording and Accessibility once, for OpenHUD, and every AI app works through it.

Then ask your agent:

/openhud        fill in this form from invoice.pdf
/openhud-teach  show me how to add RSI on TradingView
/openhud-post   announce v2 on X with ~/Videos/demo.mp4
NOTE

OpenHUD started asUltron, a personal desktop agent written in Python (a flip-clock island, a Ctrl+Space prompt bar, voice, memory). Its Hands, the part that lets an AI use the computer, became this project. The rest of that app is being rewritten here in Rust, one unit at a time, each checked against the original before it ships with rust-anything. See the roadmap.

Related MCP server: screen-mcp

Measured, not promised

Every change runs a precision benchmark on real CI desktops: Hands clicks 150 targets of 8 to 40 px through its own MCP server, the way an agent does, and types five scripts.

Desktop

Screen scale

Clicks on target

Median click

Typing exact

Windows 11

1.0x

150/150

47 ms

4/5

macOS, Apple silicon

1.0x

150/150

143 ms

5/5

macOS, Intel

1.5x

150/150

163 ms

5/5

Linux (X11)

1.25x

150/150

26 ms

4/5

600/600 clicks on target, including 8 px icons on scaled HiDPI screens. The open miss is emoji on Windows and Linux. Run of 2026-11-28.

How OpenHUD works

Claude Code, Codex and other agents can edit files but can't click. OpenHUD gives them a mouse and keyboard: an MCP server that lets any agent see the screen, click, scroll and type. It works in a loop: a screenshot (the pointer marked by a red ring), one action, then another look to check it worked.

Setup (it runs after install, and again any time you run openhud):

  1. checks this computer can be seen and controlled,

  2. finds your agents and connects every one: Claude Code, Codex, Cursor, VS Code, Windsurf, Claude Desktop and Gemini CLI. It merges into their configs and never replaces another server without asking,

  3. adds the three skills to Claude Code and Codex and tells you what to ask first.

Agents confirm each action unless you opt in (answer "y" in setup, or openhud setup --approve). Every config is backed up once (.bak) before the first change.

On a Mac, the OpenHUD app runs Hands for every agent, so macOS asks for Screen Recording and Accessibility once, for OpenHUD, instead of once for Terminal, iTerm, Cursor, Claude and the rest.

You always see it working. While an agent works, an orange frame glows around the screen and a "OpenHUD is using your mouse" tag follows the pointer. Both are click-through and hidden from the agent's own screenshots.

Skills

Skill

What it does

/openhud

Do it for me: forms, settings, apps without an API

/openhud-teach

Show me how: a glowing box and caption on each button; you do the clicking

/openhud-post

Post on X, LinkedIn, Threads or Bluesky from your own logged-in browser

Commands

Command

What it does

openhud

Setup again (connects agents you installed since)

openhud stop / resume

Kill switch: every click and keystroke is refused until you resume

openhud log

What it did, most recent last

openhud doctor

Check the screen, input and permissions

openhud agents

Which agents are connected

openhud connect <agent> / disconnect <agent>

One agent at a time

openhud skills

Reinstall the skills

Safety: the kill switch, a read-only mode (OPENHUD_READONLY=1, Teach still works), a rate limit, no shell tool, and a local log of every action in which typed text is stored only as its length. All 18 tools are in the docs.

Tested on every change on real Windows, macOS (Apple silicon and Intel) and Ubuntu desktops, and before releases on Ubuntu, Debian, Fedora, Arch, openSUSE and Alpine.

Build from source

Any OS with Rust 1.85+ (on Linux the app also needs WebKitGTK: sudo apt install libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev libxdo-dev):

git clone https://github.com/ultron-hq/openhud
cd openhud
cargo build --release -p openhud          # the MCP server and CLI
cargo build --release -p openhud-app      # the desktop app

The desktop app

The OpenHUD app (.dmg, Windows setup, .AppImage/.deb, with the MCP server inside) adds:

  • The island: a small flip clock at the top of the screen. It shows the time, or your timer.

  • Ctrl+Space: a prompt bar. Timers ("start a 25 minute timer for review"), the stopwatch, pause, resume and stop are answered on the spot and logged; anything else goes to Claude Code or Codex, which can use the computer through OpenHUD.

  • A welcome window on first run: move to Applications (Mac), connect your AI apps in one click, allow the two Mac permissions once, start at login.

flowchart LR
  K["Ctrl+Space / island"] --> B["Prompt bar"]
  B -->|timers| T[("Sessions database")]
  B -->|anything else| A["Claude Code / Codex"]
  A --> H["OpenHUD MCP"]
  X["Cursor, VS Code, Gemini CLI…"] --> H
  H -->|on a Mac, through the app's broker| D["Your screen, mouse and keyboard"]

Coming from the original app, unit by unit: memory, the router and app matching, voice, and the reports. The plan is in ROADMAP.md, the decisions in rust/DECISIONS.md, and each unit's status in rust/MAP.md.

Models

Provider

Needs

Claude Code CLI (default)

claude on your PATH, your Claude plan

Codex CLI

codex on your PATH

Local (Ollama or any OpenAI-compatible server)

the server's URL

API key (Anthropic, OpenAI, Gemini, OpenRouter, …)

a key, stored in your OS keychain

Each role (router, desktop agent, team) can use a different one. See docs/providers.md.

Safety

OpenHUD can move your mouse and type. Every change must keep these rules:

  • Actions that delete, send, buy or post run only when the request came from you, never from text it read on screen or in a web page.

  • touch ~/.cache/openhud/hands.stop (or the tray's Stop) halts all desktop control at once.

  • Every action is logged locally; typed text is never logged.

  • Abilities it writes for itself run in a WebAssembly sandbox with only the permissions you grant.

Found a security problem? See SECURITY.md.

Contributing

Come say hi and see what's coming on Discord.

Contributions are welcome, from a typo to a whole platform backend. Start with CONTRIBUTING.md, pick an open unit in rust/MAP.md or an issue labelled good first issue, and say in the issue that you are taking it.

License

OpenHUD is fair source under the Functional Source License, Version 1.1, ALv2 Future License (FSL-1.1-ALv2). In plain words:

  • Use it for anything, at home or at work, change it, and share it.

  • Don't sell a competing product built from it.

  • Every release becomes Apache-2.0 two years after it ships.

Releases up to and including v0.3.3 were published under MIT OR Apache-2.0 and stay so. For other terms (for example, building it into a commercial product), open an issue.

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
      B
      maintenance
      An MCP server that gives any AI assistant eyes and hands on your desktop — screenshots, clicking, typing, OCR, window management, accessibility-tree queries, workflow recording.
      5
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      A local MCP server for Windows that gives Claude control of your screen, enabling screen viewing, image-based element finding, clicking/typing, macro recording and replaying, and scheduled automation with failsafe safety features.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP clients such as Claude Code, Codex, Cursor and Gemini CLI to control a Mac, Windows or Linux desktop by clicking, typing and reading real applications that have no API, using the accessibility tree rather than pixel guessing. It also lets agents replay saved tasks as skills without spending tokens and can type stored passwords into fields without exposing their values.
      1
      166 npm
      MIT