Skip to main content
Glama

YouAndEye 👀

A tiny DIY face for an AI with something to say

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 Expression Bench showing the dual-controller face with its round AMOLED mouth

Hardware tested Tests ESP32 MCP License

Build one · Meet the face API · Open the expression bench

Hello, little face

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.

Related MCP server: opencode-codex-mcp

Meet the expressions

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

Thinking expression with offset gaze and an animated dotted mouth

Happy expression with smiling closed eyes and mouth

Surprised

Suspicious

Surprised expression with wide eyes and round mouth

Suspicious expression with asymmetric narrowed eyes

Love

Error

Love expression with pink heart-shaped pupils

Error expression with red angry eyes

What is inside?

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.

Build one over a weekend

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 namedheltec_wifi_kit_32 by PlatformIO. Read the buying note before ordering.

Try the software first

No hardware is required to explore the expressions:

python -m http.server 4173

Open http://127.0.0.1:4173/simulator/, choose an expression, and watch the same semantic motion model used by the firmware.

Build and test

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_mouth

The 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.

Give the face a feeling

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.

Design rules

  • 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.

Project map

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.

Known-good release

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.

Make it yours

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.

YouAndEye enclosure and expression concept sheet

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.

Available Tools

6 tools
configure_profileConfigure the connected agent's YouAndEye identityC
Destructive

Create, revise, preview, approve, activate, inspect, or reset the profile bound to the stable local agent identity. Preview always shows neutral, listening, thinking, and success.

Inputs: action (required), accent, gaze_style, blink_style, +7 more. Returns: object

expressExpress through YouAndEyeB

Show one temporary semantic expression on the local face. The firmware owns animation. When sequence is set, omit message so the device can perform its coordinated eye/OLED beat.

Inputs: affect (required), gaze, cause, ttl_ms, +11 more. Returns: object

face_capabilitiesRead YouAndEye capabilitiesA
Read-onlyIdempotent

Describe supported affects, sequences, channels, limits, and local connection state.

Inputs: no named parameters. Returns: object

face_statusRead YouAndEye statusA
Read-onlyIdempotent

Read connection, active expression, eye renderer, mouth mode, frame timing, and misses.

Inputs: no named parameters. Returns: object

neutralReturn YouAndEye to neutralA
Idempotent

Clear pending expressions and restore the safe autonomous neutral face immediately.

Inputs: no named parameters. Returns: object

performPerform a semantic sceneC

Start, inspect, or cancel a bounded sequence of emotional beats. Supply pacing words and semantic modifiers; YouAndEye owns timing, transitions, scrolling completion, and neutral return.

Inputs: beats, title, action, return_policy, +3 more. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 6 tools

    Disambiguation4/5

    Tools are mostly distinct: express handles one expression, perform handles sequence lifecycle, neutral clears output, and profile/info tools separate configuration from capabilities/status. Minor overlap remains between face_capabilities and face_status on connection state, and express/perform/neutral all touch facial output.

    Naming Consistency3/5

    All names use lowercase snake_case, but conventions vary: bare verbs (express, perform), verb_noun (configure_profile), noun phrases (face_capabilities, face_status), and an adjective/noun (neutral). The face_ prefix groups info tools, but there is no single predictable pattern across the set.

    Tool Count5/5

    Six tools is well-scoped for a local face-control server. Each tool serves a clear role without redundant CRUD sprawl or missing core operations.

    Completeness4/5

    The surface covers single expressions, sequence lifecycle, profile management, capabilities, status, and neutral restore, which is close to complete for the domain. Minor gaps like explicit pause/resume or profile listing may exist, but the core lifecycle is covered.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Generic MCP server exposing Nexusm core capabilities (memory, conversation, knowledge, feedback, context) to MCP clients via stdio and Streamable HTTP transports.
      4
      9 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables any MCP-compatible agent to query a local OpenRhyme activity timeline, search history, and issue control commands over stdio while keeping all data on-machine.
      5
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to interact with physical embedded target boards over a dual-CDC USB bridge using MCP tools. It exposes console reading, pattern waiting, command sending, reboot/login state machines, and in-RAM MicroPython execution while a single-owner daemon safely arbitrates access to the serial devices.
      6
      4
      Apache 2.0