Macro keyboard
Snap together taps, typing, waits, clicks and repeats in the block editor of the device web app, then save to the device. Click BOOT to run; double-click to switch to the next macro.
Keyling turns an ESP32-S3 board into a USB keyboard and mouse you can program over Wi-Fi. Plug it into a computer and it works without drivers, driven by scripts or AI agents over your local network.
Runs on the Waveshare ESP32-S3-LCD-1.47 board. You install it right from your browser.
How it works
Commands arrive over your local network; input goes out over USB. No drivers or software to install on the computer.
The stick CLI, MCP server, HTTP API
Runs timelines and lets go when the lease expires
Sees an ordinary keyboard and mouse, no drivers
Three ways to use it
Snap together taps, typing, waits, clicks and repeats in the block editor of the device web app, then save to the device. Click BOOT to run; double-click to switch to the next macro.
The stick-mcp MCP server gives an agent device status, keyboard and mouse actions, macros, the monitor screen and screenshots. Every tool matches a CLI command.
Lua apps live on the device and hot-reload when you push them. The HTTP API and the stick CLI cover the device, macros, files and keyboard and mouse output.
Device web app
The web app is served by the device itself: no internet connection, nothing to install. Once paired, you can edit macros, try the API and change settings.






Captured in a 1440×900 desktop window; click an image to view it full size. Device IDs, addresses and Wi-Fi names are examples.
Device screen
1.47 inches, 320×172 pixels. Online or not, sending or not, and which step it stopped at, all at a glance.






The firmware has three built-in styles. Switch between them in the device web page under Settings → Screen; the change is immediate.






Real device screenshots; device IDs and addresses are examples. The screen can also be switched to Chinese.
In action
The example macro 「画图测试」 (“Paint test”) from the repository. Nothing is installed on the computer: every line and every character comes from the device over USB.

The macro opens Paint, draws the outline stroke by stroke with the mouse, then types a line of text. Every step goes out at its scheduled time. Click BOOT to start, and press it again to stop at any point.

Features
The device’s job is to execute on time. Which keys to press and which window is in front is up to you, your macro or your agent.
Each record is 6 bytes, with frames as little as 4 ms apart. The device schedules against ideal timestamps, so rounding errors never add up, and long sequences stream in batches without gaps.
The monitor screen shows the keys, mouse buttons and pointer path the computer is receiving. On Windows there is also a loopback self-check, stick hid-check, and the software-layer SDK can check each step after a run.
Press BOOT during output to clear the queue, release every key and disarm. Arming is a lease of 1–600 seconds; when it expires, the device lets go on its own.
A keyboard icon in the status bar while armed. An amber border and a steady light during output. A stated reason whenever it stops.
Kernel updates are signature-checked and written to the other slot. If the new kernel isn’t confirmed within 60 seconds of rebooting, or crashes in that time, the bootloader returns to the previous version.
The rescue firmware is always installed and takes over after 3 kernel crashes in a row. Hold BOOT while plugging in USB to enter the chip’s download mode and reinstall at any time.
Put timeline files on the microSD card and the device plays them as it reads, without the network. Up to 16 MB per file.
Open the device’s address in a browser to edit macros, try the API and change settings. It also serves the host tools package and an llms.en.txt for agents.
Get started in three steps
Everything happens in the browser, with no development environment. The web installer is currently in beta.
A Waveshare ESP32-S3-LCD-1.47, USB-A version. You also need a computer with desktop Chrome or Edge, and 2.4 GHz Wi-Fi.
Hold the BOOT button while plugging in USB, then choose Clean install on the install page. The browser writes the firmware directly in a minute or two.
Join the device’s hotspot from your phone and enter your Wi-Fi details. Open the address shown on the device screen in a browser, then click BOOT to allow pairing.
Hand it to an agent
Copy the connection prompt from the home page of the device web app and give it to an agent that supports MCP. The agent reads llms.en.txt on the device, installs the tools and requests pairing. You click BOOT on the device to allow it.
# The exact package file name is listed in http://192.168.1.50/llms.en.txt
$dev = "http://192.168.1.50"
$whl = "$dev/sdk/stick-x.y.z-py3-none-any.whl"
# Pair: when the device screen shows the same 4-digit number, click BOOT to allow
uvx --from $whl stick --url $dev pair --wifi --name "Claude Code"
# Register as an MCP server
claude mcp add stick -e STICK_URL=$dev -- uvx --from $whl stick-mcpstick_info {}
stick_monitor {"status": {"state": "running", "title": "Save"}}
stick_hid_arm {"seconds": 30}
stick_hid_send {"actions": [{"tap": "S", "mods": ["ctrl"]}]}
stick_hid_disarm {}Specs
The official firmware supports this one board.
| Board | Waveshare ESP32-S3-LCD-1.47, USB-A version |
|---|---|
| Chip | ESP32-S3R8, dual-core, 8 MB PSRAM, 16 MB flash |
| Display | 1.47-inch, 172×320, ST7789Landscape 320×172 by default: 24-pixel status bar, 320×148 app area |
| USB | USB-A plug, native USB on the chipComposite HID: keyboard, mouse, media keys, absolute pointer |
| Wireless | Wi-Fi, 2.4 GHz |
| Storage | microSD card slot, FAT file system, hot-pluggable |
| Light and buttons | One RGB LED; BOOT button |
| Firmware layout | Rescue firmware, kernel slots A / B, storagePartitions: rescue firmware 1.5 MB, kernel 3 MB × 2, storage about 8.3 MB |
| Software stack | ESP-IDF v6.1.1, LVGL 9.6.0, Lua 5.4.7 |
| Host tools | The stick CLI and the stick-mcp MCP server, written in PythonThe host tools and SDK are currently fully tested on Windows only |
Open source and limits
The firmware, device protocol, CLI, MCP server, SDK and device web app are all open source. Third-party components keep their own licenses.
The project never burns eFuses and does not enable Secure Boot or flash encryption. You can always reflash over USB, or switch to firmware signed with your own key.
Human-like timing, actions by screen coordinates, foreground window checks and post-run verification belong to the software-layer SDK, stick-sdk. The project does not do in-game automation.
SafetyKeyling controls the computer it is plugged into: anyone who can send commands to the device can operate that computer. Use it only on a local network you trust, and only on computers you are allowed to operate. See Safety and limits.