# OpenClaw in Your Hand: Building a Physical AI Terminal - Lech Kalinowski, Callstack
<!--
ref: @content/youtube/aie/2026-06-28-openclaw-in-your-hand-physical-ai-terminal
version: 3
updated_at: 2026-10-31T19:21:05.172Z
-->

Lech Kalinowski (AI Engineer, 2026-06-28): Kalinowski's starting goal was mundane — a remote control for the OpenClaw instance running on his DGX Spark — but pursuing it exposed a genuine gap: AI-native operating systems designed for microcontrollers rather than for powerful computers.

*Synthesized from Lech Kalinowski on AI Engineer, 2026-06-28.*

Lech Kalinowski holds a PhD in physics and works in Callstack's technology incubator, where over roughly three months he designed and built a handheld, distraction-free hardware terminal for driving a local OpenClaw agent — plus the backend that serves it.

## Core Thesis

Kalinowski's starting goal was mundane — a remote control for the OpenClaw instance running on his DGX Spark — but pursuing it exposed a genuine gap: AI-native operating systems designed for microcontrollers rather than for powerful computers. Since interacting with an LLM is fundamentally a text activity, the right physical form is a quiet, energy-efficient, keyboard-and-display device, not another audio or video capture gadget. His build is essentially a Game Boy for LLMs.

## Key Insights

- The display choice is the design's central trade-off, and Kalinowski solved it by refusing to choose. E-paper is ideal for reading but too slow for dynamically updating text, so he pairs a **small single-color OLED** as the live surface — where typing renders character by character — with a **bistable electronic paper** display that takes the full render when you hit enter and commits the action. One display handles motion, the other handles persistence, and the pairing is what makes the terminal both usable and power-efficient.
- The rendering approach is deliberately primitive to fit the microcontroller: **fixed static buffers holding pre-rendered one-bit images**, with pages living in pre-allocated memory. There is **no markdown engine and no `malloc` on the MCU side** at all.
- The hardware is an **ESP32 dual-core microcontroller** driving the OLED, an e-paper panel, a keyboard, and a rotary encoder, with a purpose-built power supply, all running from a **single lithium-polymer cell**.
- Kalinowski built the power management unit himself, and not by preference — an unstable regulator **destroyed two displays** during prototyping, and sourcing replacement parts from the market took several weeks. Keeping current and voltage as stable as possible became a first-class subsystem rather than an afterthought.
- His hardware field notes are specific and hard-won: software I2C misbehaved when wired up naively (there is a way to control I2C correctly without mounting additional physical pull-ups); **GPIO 13 produced a silent failure** and the design had to move to a different pin; and a cheap low-quality **rotary encoder generated rotational noise** that required added pull-ups and capacitors to clean up.
- The firmware exposes **four modes**, structured around the AI-native intent rather than around hardware functions: an internal shell for the terminal itself (system settings, basic configuration, Wi-Fi), an assistant control mode, and an RPG mode — the last being the one that surprised him most.
- The device is a thin client; the compute lives in a full backend. Kalinowski serves an **open-source 120-billion-parameter GPT model** via **TensorRT** and puts an **OpenAI-style API proxy** in front of it, because he hit repeated walls with other open-source models that don't conform to the OpenAI API shape. The terminal's firmware talks to that backend, which handles the agentic OpenClaw work.
- The agent loop works end to end on real tasks: from the handheld, he issued a command to write a Java example and store it on his local machine, and OpenClaw executed it. In the demo he also checks disk space on the DGX Spark from the device.
- **RPG mode came from a personal gap** — Kalinowski had never played tabletop role-playing games with friends, and built the experience he'd missed. The device turns out to fit text RPGs unusually well. He built NPCs with memory, generated world mood and content, and shipped **four worlds** (a cyberpunk setting, a Witcher-style fantasy world with dragons, and his favorite, a deep-space void). Characters, worlds, maps, and skills are all LLM-generated, then converted through the same one-bit memory pipeline — images transformed into matrices and maps.
- **Graceful degradation was designed in, layer by layer**: if the OLED fails, the e-paper still works; if the keyboard fails, the encoder remains; if Wi-Fi drops, the local shell is still there. Kalinowski calls the result bulletproof, and it's the direct consequence of having redundant input and output paths rather than a redundant system.
- His market read is that the field is crowded with devices built around **audio interfaces and video capture**, and empty where he is building — quiet, calm, distraction-free reading and writing with no colors, pop-ups, commercials, or web pages competing for attention. He filed a **provisional patent** in that space.
- Project numbers: roughly **3 months of work**, **130 commits**, **2 displays**, **4 modes**, **4 worlds**, and **16 classes** total. He emphasizes the firmware is tiny and consequently extremely fast.
- His closing takeaways for anyone attempting this: e-paper panels are plentiful on the market and do the job; **keep the model off the metal**, because no LLM today genuinely runs on a truly tiny MCU; and lean on narrative — for this class of device, context matters more than numbers.
- Kalinowski's own favorite irony: a text-only game with no 3D graphics is running on one of the most powerful graphics processors available, in the DGX Spark.

## Actionable Takeaways

1. Pair a fast low-power OLED with a bistable e-paper panel rather than picking one. Route in-progress typing to the OLED and commit the full render to e-paper on the trigger action — you get responsiveness and readable persistence without paying for either separately.
2. On the MCU, pre-render pages as one-bit images into fixed static buffers in pre-allocated memory. Ship no markdown engine and no `malloc` on the device side; do formatting on the backend.
3. Treat power supply design as a subsystem from day one. Kalinowski lost two displays to an unstable regulator and weeks to replacement-part lead times — the cheap path here is the expensive one.
4. Note the specific traps: software I2C can be made to work without mounted physical pull-ups; avoid GPIO 13 on the ESP32 for this class of wiring (it fails silently); and budget for pull-ups plus capacitors if you use a low-cost rotary encoder.
5. Keep the model off the device. Serve a large open-source model (his: a 120B GPT-class model on TensorRT) on real compute and let the handheld be a terminal to it.
6. Put an OpenAI-style API proxy in front of your local model. Open-source models vary in how closely they match that API shape, and the proxy is what stops each mismatch from becoming firmware work.
7. Design degradation paths per component, not per system: second display, second input device, and a local shell that works with Wi-Fi down. Each fallback is cheap individually and together they make the device hard to brick.
8. For LLM-driven text games, generate the world — characters, personalities, maps, skills, mood — and pipe generated imagery through the same one-bit matrix conversion the rest of the UI uses, so the game costs no additional rendering machinery.

## Notable Quotes

> "I just wanted to build a device which is physical and AI native, like the device which comes from the future." — Lech Kalinowski

> "The pages live in a pre-allocated memory. There's no markdown engine and no malloc on the MCU side." — Lech Kalinowski

> "If the LED doesn't work, the e-paper works. If the keyboard doesn't work, you have an encoder." — Lech Kalinowski

> "Keep the model off the metal, because it's really heavy." — Lech Kalinowski

> "The quiet game with the text interface requires the most powerful graphics card in the world." — Lech Kalinowski

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*