Docs

Keyling documentation

What Keyling is, the layers it is made of, and where to start reading for each goal.

What Keyling is#

Keyling is open-source firmware and host tools for the Waveshare ESP32-S3-LCD-1.47 development board.

  • Plug it in over USB and the computer sees an ordinary keyboard and mouse. No drivers needed.
  • Connect it to Wi-Fi and scripts or AI agents can press keys and move the mouse over the local network.
  • The device runs timelines on schedule. Output must be armed first, and one press of the BOOT button stops it at any time.

Two ways to use it:

Mode Description
Macros Macros are stored on the device and run with a click of BOOT. Nothing needs to run on the computer
Live control An agent or script sends keyboard and mouse actions over Wi-Fi, through the stick command line, the MCP server, or the HTTP API

The device only presses keys on time. Which keys to press and which window is in the foreground are up to you, your macro, or your agent.

Components#

Part Where What it does
Rescue firmware Device Wi-Fi, Wi-Fi setup, updates, logs, minimal UI. Always present, rarely updated
Kernel Device USB keyboard and mouse, display, microSD card, app management, Lua runtime, device web app
Apps Device storage Lua apps with hot reload. The macro player is one of them
Device web app Device storage Open the device address in a browser: macro editing, API testing, settings
Host tools Computer The stick command line and the stick-mcp MCP server, with matching features
Software-layer SDK Computer stick-sdk: click, type, and drag by screen coordinates, with an optional human style and post-run verification

The hardware layer only handles on-time execution and baseline reliability. Human-like modeling, pixel targeting, and foreground window checks belong to the software-layer SDK.

The repository, command line, protocol headers, and device IDs keep the early codename stick: for example the stick command and device IDs like stick-xxxxxx.

Where to start#

I want to… Read
Start from a new board without installing a dev environment Quick start
Learn about the buttons, display, LED, and microSD card Hardware and buttons
Switch Wi-Fi networks, or find the device address Wi-Fi setup and networking
Manage the device from a browser Device web app
Write a macro and run it with BOOT Macros
Let an AI agent operate my computer Connect an AI agent
Click and type by screen coordinates, and check the foreground window Software-layer SDK
Write a plan for the SDK to run Plan format
Understand the risks and safeguards first Safety and limits
Manage the device from the command line The stick command line
Call the API from my own code HTTP API
Run my own code on the device Lua apps
Update the firmware, or recover a device that won't boot Updates and recovery
Modify and build the firmware myself Build the firmware yourself
Troubleshoot a problem FAQ
Look up a term Glossary

Current status#

NoteThe web installer (/install) is in beta. The step where the device boots straight into the kernel after flashing has not yet been verified on real hardware. See Quick start and Updates and recovery.

The host tools and the SDK are currently fully tested only on Windows.

Use it responsibly#

Keyling types into whichever window is in the foreground. Only operate computers you are authorized to use, and follow the terms of the software and services involved. Before letting an agent run, confirm the foreground window is the right one.

Source code and developer docs: github.com/kk8o/keyling, MIT license.

All docs#

Get started

Use

Integrate

Develop

Reference

View the source of this page on GitHub