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.
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
- Get a board: ESP32-S3-DevKitC-1 or any ESP32-S3 with native USB (for example ESP32-S3-Zero). Connect the native
USBport, notUART. - Download mode: hold
BOOT, press and releaseRESET, releaseBOOT. A new board fresh from the factory usually does not need this. - 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 esptoolas the release notes describe. Open this page over HTTPS to flash. - Press
RESETwhen flashing is done. The board comes back as a USB device called open_hands. - Install the host: download
open_hands-<version>.zipfrom the latest release, unpack it and run.\oh.exe installin PowerShell. It registers the MCP serveropen_handsin 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.