ESP32 Projects
Start a build
Markdown

Pikoo for ESP32-S3

An ESP32 smart-home project for ESP32-S3 involving Microphone, Speaker.

ESP32-S3ESP-IDFUnrated
Parts and source

Before you start

Check the exact Microphone, Speaker configuration against the upstream wiring or parts list.

Upstream README

🐱 Hi Pikoo · Hardware AI Agent

English | 简体中文

Pikoo is an ESP32-S3 voice companion with expressive dual eyes and a device-owned C++ Agent. It wakes locally, manages conversations, executes tools, controls its speaker and eyes, and saves lists and explicit memories on the device. Your configured services provide voice and language-model inference.

English is the default. Set agent.language to zh-CN for Chinese dialogue; keep the complete English wake phrase “Hi, Pikoo”.

Quick start · User guide · FAQ · All documentation

Pikoo enclosure concept

What you can do

Capability Behavior
Natural interaction Local wake, realtime dialogue, follow-ups, interruption and farewell sleep
Physical controls Wake/stop/end/mute through BOOT; USB diagnostics and settings
Local organization Shopping list, todos and explicitly requested memory
Information retrieval Optional web search; webpage extraction with the supporting adapter
Body control Voice-controlled volume and dual-eye brightness, smiles, single-eye blinks and gaze, with execution receipts
Maintenance Replaceable service configuration, data export/import and checked USB installation

The device owns tool execution and persistence. Conversation requires network services; language models do not run on the ESP. There is no speaker identity system, automatic memory learning, cross-device sync or bundled home automation.

What you need

  • Non-touch Waveshare ESP32-S3-DualEye-LCD-1.28, 16 MiB Flash and 8 MiB PSRAM.
  • Compatible speaker, data-capable USB cable, stable power and 2.4 GHz Wi-Fi.
  • A Live-compatible voice service and a function-calling reasoning service. Search is optional.
  • Python for USB installation. ESP-IDF 5.5.5 is required only to build firmware from source.

No Pikoo application server is required. Each service has an independent endpoint, protocol, credential and model. Compatibility depends on implemented protocol capabilities, not merely an “OpenAI-compatible” label. Read the configuration reference before selecting services.

Install and use

  1. Follow the quick start to build current main or install the published 2.0.0 firmware package, and verify the artifacts.
  2. Create a private configuration from examples/device.example.json; fill your Wi-Fi, Live and LLM settings.
  3. List USB ports and create a verified full-Flash backup outside the repository.
  4. Run the install dry-run, then install firmware and configuration.
  5. Check status, unmute and say “Hi, Pikoo”. Try “turn your volume down a little” and “smile”, then read and update a disposable list item.

The step-by-step quick start includes commands, expected outputs, source-build alternatives and the first-use checklist. Use troubleshooting for MIC OFF, USB, TLS or service errors.

Architecture and extension

flowchart LR
    Hardware[Microphone / Speaker / Eyes / Button] <--> Agent[ESP32 C++ Agent]
    Agent <--> Voice[Configured Live service]
    Agent <--> LLM[Configured reasoning service]
    Agent <--> Search[Optional search service]
    Agent <--> Store[(Local lists / memory / context)]

Live client delegation hands reasoning tasks to the device. The Agent calls the selected LLM, validates and executes registered tools, and returns results to Live. Background HTTPS work is isolated from realtime audio, with bounded queues, task deadlines and cancellation tokens.

Architecture · Tool contract · Development and silent tests · Verification scope

Directory Contents
firmware/components/pikoo_core Shared C++ session, configuration, tools and adapters
firmware/main ESP networking, storage, audio and board integration
firmware/simulator Native test driver and offline eye preview
tools Build, USB setup, validation and packaging
models/hi-pikoo TFLite weights, checkpoint, policy and model documentation
training Training and evaluation tooling
hardware/enclosure Printable STLs and bilingual offline assembly guide

Downloads, privacy and licenses

The Release provides a firmware ZIP, model ZIP, application-only BIN, manifest and SHA256SUMS. Weights are also tracked directly in Git; Git LFS is not required. Model documentation explains which artifact to use.

Idle wake audio stays local; active conversations are processed by configured services. Ordinary NVS stores credentials and is not protected against physical Flash access. Exports omit credentials but still contain private content. See security and privacy.

Original source, documentation and Pikoo-authored artwork use Apache-2.0. Wake weights and firmware containing them retain separate non-commercial model terms and third-party restrictions. Preserve notices and attribution when redistributing.

LICENSE · NOTICE · Model terms · Third-party sources · Contributing