Kubik for ESP32-C6
An ESP32 display project for ESP32-C6 involving AMOLED display, Microphone, Speaker.
Parts and sourceBefore you start
Check the exact AMOLED display, Microphone, Speaker configuration against the upstream wiring or parts list.
Upstream README
Kubik
Give your AI agent a place on your desk.
Kubik is a small Wi-Fi voice companion built on the Waveshare ESP32-C6-Touch-AMOLED-2.16 or ESP32-S3-Touch-AMOLED-1.8 V2. Tess, an animated tesseract, listens, reacts and brings your agent’s replies to life. Your agent keeps its context and tools; Kubik provides the screen, microphone, speaker and physical controls.

Current firmware renderer, with a simulated playback level. This is a UI demonstration, not a recording of response latency.
Connect OpenClaw with the Kubik channel plugin; connect Hermes Agent 0.22.2 with its native gateway platform. Custom agents can use the adapter SDK. Provider credentials stay on the agent host.
Download and update
For the C6 board, download kubik-kit-tess.zip from the latest release. Tess is the default; choose the Plush kit only for that character. Each kit includes the firmware, setup guide, installer and component license notices.
S3 source builds target the 1.8 V2 (CO5300/CST820) board only. Their firmware and kit filenames end in -esp32s3.zip; see the S3 hardware guide. Original 1.8 (SH8601/FT3168), S3 2.16 and generic S3 modules are not supported by this profile.
To update, extract the kit, then extract its firmware ZIP into a separate folder. Close any program using Kubik’s USB port, connect Kubik by USB-C and run these commands in the firmware folder (macOS/Linux):
python3 -m venv .venv
.venv/bin/python -m pip install esptool==4.13.0
.venv/bin/python flash-device.py --check
.venv/bin/python flash-device.py
On Windows, use py -3 -m venv .venv and .venv\Scripts\python.exe instead. The installer checks image hashes before writing and preserves saved Wi-Fi networks, pairing and settings. For a new device, continue with the steps below; for an existing device, let it reconnect. Current firmware: 0.6.4. Published channel: openclaw-kubik 0.6.14; update the channel from npm with the installation command below.
Get connected
You need a flashed Kubik, a phone and a 2.4 GHz Wi-Fi network. For Muse, follow the phone-only setup. For OpenClaw or Hermes, keep your agent running on a reachable computer or server and configure its speech providers, then follow these steps:
- Prepare your agent. Follow the setup page for OpenClaw or Hermes: install the integration and configure speech. OpenClaw supports local discovery with Server address left blank; Hermes uses
kubik://<server-address>:18793. The guide explains remote addresses; a domain is optional. - Connect Wi-Fi. Scan the first QR to join Kubik’s setup Wi-Fi, then the second to open its setup page. Choose your home network, enter its password, select OpenClaw and enter a server address if needed. Tap Connect Kubik; the device shows a pairing code when it reaches the host.
- Approve and talk. Match the pairing code on the device and host, tap Allow in the configured owner Telegram chat (or approve on the server), and follow the on-device guide. Start talking with KEY on C6 or a short BOOT press on the connected S3 home screen.
Install the OpenClaw channel from npm on your agent computer:
openclaw plugins install openclaw-kubik --force --accept-capabilities
openclaw channels add --channel kubik --enable
See approval methods and the English package guide for the server address, pairing and voice setup.
Muse without a host
Experimental native Muse support uses only your phone and Kubik. Muse is temporarily hidden in the Wi-Fi setup wizard; the experimental implementation remains in the source. When enabled, choose Muse, enter a personal Muse SDK key, then pair in the Muse app under Settings → Devices → Developer mode → Add device and press the confirmation button shown on Kubik. Bluetooth is used for pairing only; afterward Kubik connects directly over Wi-Fi. No computer, server address or Kubik host is needed.
On this C6 board, the current Muse SDK path accepts a voice note and returns text; TTS, Realtime, GPT Live and model selection are unavailable. Native cloud/device pairing is not yet verified. Personal tokens are not included in builds; SDK-token terms do not authorize embedding one in a retail firmware. See Muse setup and limits.
Everyday use
On C6, buttons run left to right when looking at the screen: BOOT · PWR · KEY. The S3 1.8 V2 has BOOT and PWR only. On its connected home screen, a short BOOT press starts/sends voice input or ends Live. Elsewhere it goes back; hold BOOT for Settings. S3 Classic uses press → speak → press again or tap to send, with a 60-second limit; holding BOOT opens Settings. See S3 controls. The table below describes C6.
| Control | Action |
|---|---|
| BOOT, short press | Return to the previous screen |
| BOOT, hold | Open or close Settings |
| KEY | Start or finish voice input; end a Live conversation |
| PWR | Press to turn the screen off/on; hold about two seconds for power off/on |
Swipe Tess horizontally, vertically or diagonally to turn it in 3D and 4D; release to let its momentum fade. Tilting or lifting keeps the visible screen bright and restores it from dimming. Once movement stops, the usual idle timer resumes. To enter Skies, Tess’s musical particle game, hold for 1.5 seconds: two diagonally opposite corners on C6, or one corner of the screen on S3. The S3 CST820 reports one contact. Its portrait interface renders directly at the panel’s 368×448 resolution, using a 480×584 layout and touch coordinate system. Geometry keeps the same scale in both axes; all four screen corners receive touches. C6 retains its square 480×480 interface.
No connection? Press BOOT briefly on the offline points to bring Tess back for local play. Press BOOT again outside Skies to return to the points.
Her body is a toy: tap her and a wave rings through her edges, swipe her a few times and she spins open, press beside her and pull to stretch her or sling her into the rim, throw her hard and sweep her shattered dots home. Left alone, she plays by herself. Six first discoveries grow her from a point into a tesseract. Short reactions accompany plucks, pulls and impacts. Movement and inertia do not add a continuous background tone. She never stretches her corners by herself. There is no game menu or HUD; see Playing with Tess.
Press PWR to wake a dark screen. After automatic sleep, a touch or lifting Kubik also wakes it; ordinary movement and shaking do not. After switching the screen off with PWR, touch, BOOT, KEY and movement are ignored. An incoming agent reply can wake either sleeping state; background activity and reconnections keep the screen off. Touch restores a dimmed screen to full brightness; holding or dragging keeps it active.
Settings provides overall volume, brightness, Agent, Guide and Status (bottom left, beside Power off). Status shows the current Wi-Fi address, gateway, DNS, MAC, DHCP name and agent endpoint on three swipeable pages; its Wi-Fi button reopens network setup. Hold the volume slider for 0.8 seconds to open Sound, with separate Speech and Interface sliders. Press BOOT to return. The main slider shows their rounded average and moves both together, preserving their difference until a channel reaches 0 or 100; the other then continues. Both levels are saved independently. Tess synthesizes its short, syllabic reactions locally, with recognizable motifs, expressive endings and prime-length variation cycles. Emotions have distinct arrangements: warm overlapping pads, airy echoes or crossing voices. Menus, sliders, buttons and touch reactions share the same syllabic voice; simple actions stay brief. Replay the guide any time without resetting your connections. The hidden Events journal (five taps on the battery indicator in Settings) shows recent agent events: swipe to browse, tap for details, or enable a translucent overlay to follow events while Tess reacts. Screen Lab previews situations without calling an agent.

Current screen examples; transitions are a slideshow.
Choose a voice mode in Settings → Agent → Voice:
| Mode | Conversation |
|---|---|
| STT | Record a message, then receive a spoken or text reply. Recognition and speech models are selected separately. |
| Realtime | Speak a turn; a pause completes your input. One voice model handles input and output. |
| GPT Live | A continuous conversation until you stop it. The microphone remains active through replies; host-side echo cancellation uses the speaker signal. |
OpenClaw and the source-built Hermes platform 0.3.0 support all three modes. Availability depends on your host’s providers. Hermes keeps Classic as the default; its native modes show the configured voice model, while Classic providers and the agent’s model are configured in Hermes. Voice choices are saved for the paired device and do not change the agent’s model. Replies use speech when the selected mode is ready and volume is at least 20; otherwise they appear as text. See models and voice settings and Realtime / Live setup.
On the awake home screen, Tess can also start voice input with “Hi Tessa”. The local detector recognizes Tessa and may activate without Hi. It is disabled in sleep, menus and other unavailable states. Audio before activation is not sent to the agent.
Kubik remembers up to eight Wi-Fi networks. Automatic sleep is silent. While sleeping on battery, it reconnects periodically to receive queued notifications; an unavailable network prevents delivery.
Make it your own
Current source builds automatically discover a nearby PeriPage A6+ over BLE
after Kubik connects to its agent. OpenClaw and native Hermes expose kubik_printer
for text and QR printing with dimensions in millimetres. The device reports its
recognized print-head profile and DPI, wraps content and rejects jobs that do not
fit. No phone app or manual Bluetooth address is needed. Update the firmware and
agent integration together; published firmware 0.6.4 and npm 0.6.14 do not include
this physical driver. See printer setup, sizing and limits.
Tess is the default character. Plush is a separate firmware build, selected before flashing; there is no character switch on the device.
To support another agent, implement an adapter against the Agent SDK. The host handles pairing, device connections and the setup wizard; your adapter supplies the agent capabilities and interaction. Start with the documented examples and wire protocol.
Build and contribute
The repository includes firmware/assets/wake/tessa.tflite for reproducible Tess builds. Its upstream license is unspecified; it is excluded from Kubik’s Apache 2.0 license. See the model notice.
Use ESP-IDF 5.5.1 for firmware. Node.js, uv and Chrome are also required for the complete acceptance suite; versions and prerequisites are in acceptance.
idf.py -C firmware -B "$PWD/firmware/build" -DKUBIK_CHARACTER=TESS build
python3 tools/accept.py
For the S3 1.8 V2 board, select its target and a separate build directory:
idf.py -C firmware -B "$PWD/firmware/build-s3" -DIDF_TARGET=esp32s3 -DKUBIK_CHARACTER=TESS build
Use build-s3-plush and -DKUBIK_CHARACTER=PLUSH for Plush. S3 bundles have an
-esp32s3 suffix; the existing unsuffixed release kits are for C6. Select the exact
board before flashing. See S3 hardware and verification.
Acceptance builds both targets and both characters and checks the renderer, protocol, setup pages and clean host installation. It does not publish or flash your device. Build outputs and local credentials are excluded from Git.
CI runs lint once and the agent, native and build stages on both macOS
and Linux. Exact RGB references are validated on macOS ARM64. Linux uses
native-portable, retaining sanitizer and frame-stream checks without RGB hash
comparison. See acceptance for the platform boundary.
To reproduce the UI demonstration:
python3 tools/preview-dialogue.py --out /tmp/kubik-conversation-preview
Read AGENTS.md before changing behavior. User scenarios define the observable contract; update them alongside code, tests and instructions.
Preview the UI without a device
Run python3 tools/emulator.py and open the printed local URL. The browser runs
real native firmware screens with touch, BOOT/PWR/KEY, tilt, Tess and Plush.
Screen Lab also describes the hidden device menu and its
interactive preview controls. Full software acceptance requires no connected device.
To hear the offline particle contacts driven by the real rolling physics, run
python3 tools/render-particles.py /tmp/kubik-particles.wav. This renders a quiet
16-second sample at full Interface volume, including settling and silence.
Documentation
- Setup page and printable A6 guide
- Installation and maintenance
- Agent models and voice
- Adapter SDK and protocol
- Architecture and acceptance
- Changelog
The device UI and setup pages are in English. Maintenance documentation and behavior scenarios are currently in Russian.
License and publication status
Project code, artwork, sounds and documentation are licensed under Apache 2.0. See NOTICE and third-party notices for component-specific terms.
Exception: the included Tessa wake-word model has an unspecified upstream license. Its inclusion does not establish permission for use or redistribution, including commercial distribution. It is not licensed under Apache 2.0; see the model notice.