Two little IPS eyes, a pocket-size OLED or lush round AMOLED mouth, and a pair of ESP32s doing their best impression of being alive.
YouAndEye is an expressive physical face for local or cloud-connected AI agents. The agent says what it meansβhappy, thinking, suspicious, listeningβand the device decides how to perform it: eye shape, brows, gaze, blink timing, mouth motion, text, and small character beats.
The face does not need a stream of animation frames from a computer. Once powered, it keeps breathing, looking around, and blinking locally. Disconnect the agent and it still has a pulse.
The browser bench renders the same semantic poses used by the firmware. Its mouth-hardware switch compares the original 128Γ64 OLED with the optional 466Γ466 round AMOLED head before either device is flashed. The AMOLED mouth studio can isolate every affect and tune bounded intensity, warmth, confidence, and urgency.
| Thinking | Happy |
|---|---|
![]() |
![]() |
| Surprised | Suspicious |
![]() |
![]() |
| Love | Error |
![]() |
![]() |
| Part | Job |
|---|---|
| Classic Heltec WiFi Kit 32 | Runs both eye panels; its built-in OLED is the compact mouth and automatic fallback |
| Waveshare 0.71-inch DualEye LCD | Two 160Γ160 GC9D01 round IPS eyes on one compact board |
| Optional Waveshare ESP32-S3-Touch-AMOLED-1.75 | Separate 466Γ466 CO5300 mouth with 38 authored expressions, captions, icons, and local choreography |
firmware/ |
Thirty-eight eye expressions, autonomous motion, synchronized beats, and the OLED fallback |
firmware/amoled-mouth/ |
USB-only semantic renderer for the optional round mouth |
| Expression Bench | Exact-size browser playground for tuning before flashing hardware |
emote/1 |
Transport-independent semantic expression contract |
| Local MCP server | Semantic expression, local identities, and self-timed performances for Codex or another MCP client |
The accepted build sustains about 30 FPS on the classic ESP32 with synchronized blinking and zero deadline misses in its final 60-second hardware soak. Release firmware is USB-only: it starts no access point, stores no Wi-Fi credentials, and exposes no device network service.
The complete DIY build guide includes:
- exact board-generation warnings and official source links
- a shopping list and the proven 11-wire pin map
- careful first-power and upload steps
- eye, mouth, serial, and MCP smoke tests
- enclosure ideas and friendly failure recovery
The short version is delightfully small:
ββ USB ββΊ classic Heltec ββ SPI ββΊ two eyes
your agent ββ local MCP ββ€
ββ USB ββΊ ESP32-S3 ββ QSPI ββΊ round AMOLED mouth
The second controller is optional. If it is absent or fails its firmware-signature check, YouAndEye wakes the Heltec OLED and continues as the original one-board face.
Important
Heltec's current WiFi Kit 32 is an ESP32-S3 revision. This working build uses the older classic ESP32
target named heltec_wifi_kit_32 by PlatformIO. Read the buying note before ordering.
No hardware is required to explore the expressions:
python -m http.server 4173Open http://127.0.0.1:4173/simulator/, choose an expression, and watch the same
semantic motion model used by the firmware.
uv sync --extra serial
uv run --extra serial python -m unittest discover -s tests -p 'test_*.py' -v
python -m platformio run -d firmware -e heltec_wifi_kit_32
python -m platformio run -d firmware/amoled-mouth -e waveshare_amoled_mouthThe firmware pins Espressif32 6.12.0 and carries a small, licensed Arduino GFX 1.6.4 subset containing only the GC9D01 and ESP32 SPI code it uses. A fresh checkout therefore cannot silently pull incompatible display code.
Hardware writes are deliberately separate from builds. The DIY guide walks through identifying the board before supplying an upload port.
The preferred agent boundary is local STDIO MCP:
express(affect="thinking", message="PLEASE WAIT...", text_mode="scroll")
express(affect="success", sequence="celebrate")
perform(beats=[{"affect":"listening","pace":"brief"}, {"affect":"thinking","pace":"held"}, {"affect":"delighted","pace":"brief"}])
neutral()
| Tool | Meaning |
|---|---|
express |
Show a temporary affect, message, or device-owned character beat |
face_status |
Read connection state, active expression, FPS, timing, and display health |
face_capabilities |
Discover the face without opening its serial port |
neutral |
Clear pending intent and return to autonomous neutral |
configure_profile |
Create, preview, approve, activate, revise, or reset this agent's local identity |
perform |
Run a complete semantic scene with surface-owned timing and completion feedback |
Each agent can choose a curated iris palette, accent, energy, blink/gaze style, idle temperament, mouth style, and short signature acknowledgement. A new identity is previewed across neutral, listening, thinking, and success and requires user approval before activation. Profiles live in the operating system's local user-data directory, outside this repository.
See the MCP guide for Codex setup, other MCP clients, the loopback-only HTTP bridge, and safety behavior. The project is local-first and fully usable offline; a trusted desktop client can optionally make the tools available to a cloud agent without turning the microcontroller into a public service.
- Agents express intent. Surfaces perform it. Models never receive raw pixel or keyframe controls.
- Life belongs on the device. Blinks, saccades, easing, and idle behavior survive host hiccups.
- Simulator before solder. Visual ideas graduate in the browser before reaching firmware.
- Readable beats realistic. Six core expressions must remain recognizable at actual eye size.
- Fail softly. Expired or interrupted host intent returns to an autonomous neutral face.
| Path | What lives there |
|---|---|
docs/DIY_BUILD_GUIDE.md |
Parts, wiring, flashing, first boot, enclosure, and troubleshooting |
simulator/ |
Interactive expression and motion simulator |
firmware/ |
Accepted classic-ESP32 eye firmware and built-in OLED fallback |
firmware/amoled-mouth/ |
Optional Waveshare round-AMOLED mouth firmware |
host/youandeye/ |
MCP, HTTP, arbitration, validation, and verified serial bridge |
schema/ |
Canonical emote/1 JSON schemas |
docs/MCP.md |
Agent interface and client setup |
STATUS.md |
Concise release status and verification evidence |
Engineers joining the project should begin with this README and ARCHITECTURE.md. Humans
who just want a charming desk creature should begin with the DIY guide.
The current release provides thirty-eight affects, intensity-scaled geometry, five coordinated
character beats, a full cartoony mouth actor, smooth text scrolling, native icons, and synchronized binocular blinking.
The concept collection adds shocked, weary, confused, blushing, nervous, maniacal, stressed, determined,
bored, panicked, scheming, fatigued, content, pleading, sick, hyped, and baffled performances. The round mouth
distinguishes them through silhouette before adding teeth, tongue, tears, question marks, thought dots, blush,
sweat, hearts, sparkles, bubbles, or alert marks. Its anticipation, moving holds, and six local speech visemes
run without host keyframes.
Small device-owned cues add a thinking hesitation, listening attention lead, success relief, uncertainty gaze
aversion, restrained per-eye variation, and a slow neutral attention fade that resets with new intent. Its
paired host stack adds the local MCP/HTTP control plane, approval-gated per-agent identities, and self-timed
semantic scenes. Current build sizes, tests, physical-validation status, and limitations are recorded in
STATUS.md.
Try a cardboard face. Sculpt one from foam clay. Put the eyes in a robot, a puppet, or a tiny haunted radio. The protocol deliberately separates personality from hardware, so a completely different shell can keep the same emotional vocabulary.
Please document the exact hardware you test, and share photos of anything especially adorable or unsettling.
YouAndEye is free software under the MIT License. Dependency terms are collected in THIRD_PARTY_NOTICES.md.







