open_hands
a real mouse and keyboard for AI agents

An ESP32-S3 board on a USB cable becomes a hardware mouse and keyboard that an agent such as Claude or Codex drives through an MCP server. Windows sees an ordinary input device, not injected input. The host checks where the cursor really landed, refuses to act on UAC prompts and administrator windows, and stops the moment you touch your own mouse.

An agent moves the cursor, ticks a checkbox, types Polish text and pastes emoji in a test window through the open_hands board

Recorded live: every move, click and key press is a USB HID report from the board.

Why hardware

Real input

No SendInput. It works where a physical mouse works, and the receipt tells the agent where the cursor actually is.

You stay in charge

Move your mouse and the action stops. Press BOOT on the board and it disarms; only a person can arm it again.

Guarded

No input on the lock screen, UAC prompts or administrator windows. One agent at a time through a lease. An audit log without the typed text.

Cheap and open

An ESP32-S3 board costs a few dollars. Firmware and host are MIT or Apache-2.0.

Install

  1. Get a board: ESP32-S3-DevKitC-1 or any ESP32-S3 with native USB (for example ESP32-S3-Zero). Connect the native USB port, not UART.
  2. Download mode: hold BOOT, press and release RESET, release BOOT. A new board fresh from the factory usually does not need this.
  3. Flash the firmware from this page (Chrome or Edge on a computer): click the button and pick the port called USB JTAG/serial debug unit (303A:1001).
    Your browser cannot reach serial ports. Use Chrome or Edge on a computer, or flash with esptool as the release notes describe. Open this page over HTTPS to flash.

  4. Press RESET when flashing is done. The board comes back as a USB device called open_hands.
  5. Install the host: download open_hands-<version>.zip from the latest release, unpack it and run .\oh.exe install in PowerShell. It registers the MCP server open_hands in Claude Code, Claude Desktop, Cursor and Codex CLI. Restart them and ask your agent to use it.

Windows 10/11 x64 today. A Linux or macOS host is one of the open issues.

Know the risk

A plugged-in board gives every program of your Windows account input that Windows treats as physical, also on the secure desktop. The guards protect against an agent that uses open_hands, not against other software on your account. Read the risks before you plug it in, and unplug it when you do not use it.

Contribute

Linux and macOS hosts, other boards, more MCP clients, testers with Windows 10 or several monitors: see the open issues, ARCHITECTURE.md and Discussions.