ESP32 Projects
Start a build

ESP32 AI, Voice and Vision

On-device inference, offline speech recognition, camera vision and the XiaoZhi architecture.

Espressif’s AI SDKs

The 2026 product handbook groups ESP-DL for inference, ESP-SR for speech, ESP-WHO for image recognition, ESP-Brookesia for AI-powered interfaces and ESP-GMF for audio and video. Espressif’s product handbook

On-device inference with ESP-DL 3.x

A typical model pipeline goes from PyTorch through ONNX and ESP-PPQ to an .espdl file. An April 2026 community comparison found ESP-DL fastest among the frameworks it tested on ESP32-S3, using its PIE SIMD assembly kernels.

  • September 2026 added wider w8a16 mixed-quantization support.
  • July brought PP-OCRv6 for Chinese, English and 46 Latin-script languages on ESP32-P4.
  • March added YOLO26, followed in April by P4 per-channel operator quantization.
  • Espressif introduced agent skills for model quantization, operator implementation and PIE SIMD rewrites.
  • Alternatives include TensorFlow Lite Micro with ESP-NN, the Edge Impulse hosted workflow and Meta’s ExecuTorch, whose ESP32 backend was in early development.

ESP-DL README · TinyML comparison · ESP-DL project and quantization notes

Wake words and offline speech commands

ESP-SR 2.6 was released October 9, 2026. The source describes WakeNet9 wake words such as “Hi ESP” and “Hello XiaoZhi,” MultiNet offline Chinese and English command recognition for up to 300 commands, and an audio front end. ESP-IDF 5.0 and later were supported. Check the repository’s Espressif-specific license and binary terms.

A September tutorial demonstrated four-relay control using an S3 access point and local web UI. The 1.47-inch XIAO ESP32-S3 Plus project combines an offline wake word and commands with an LCD.

ESP-SR repository · Component releases · Offline voice tutorial · XIAO voice project

Camera vision

ESP-WHO supplies camera-based detection and recognition examples, while ESP-DL covers models such as YOLO26 and PP-OCRv6. The source treats S3 and P4 as established platforms and the S31 as an option that combines vision and wireless. Hardware to compare includes XIAO ESP32S3 Sense, the inexpensive ESP32-CAM and LilyGO T-Camera-S3. Verify the model and framework branch against your board.

ESP-WHO on ESP32-S3-EYE · ESP32-CAM project directory

Coding assistants and the ESP-IDF MCP server

ESP-IDF 6.0 includes an MCP server that lets supported assistants such as VS Code Copilot and Cursor query IDF documentation and configuration. ESP-IDF v6.0 release overview

XiaoZhi’s thin device and full-featured server

  1. ESP32-S3 device: Capture microphone audio, detect a wake word and play back speech. The source priced simple device builds in the tens of yuan.
  2. Full-duplex WebSocket: Stream audio to the server and synthesized speech back, with support for interrupting playback.
  3. Server-side ASR, LLM and TTS: Run speech recognition, the model and speech synthesis on a private host or in the cloud. Providers and models can be changed.
  4. MCP tools: Add functions such as weather lookup, home automation or calculation.

The October 13 snapshot cited more than 2 million connected devices, 9 million daily conversations and 120 billion or more tokens per day. It also reported 30.9K firmware stars, 10.8K server stars, more than 150,000 developers and 138 board directories. These are figures quoted in the source snapshot.

AGIC2026 report · Chinese XiaoZhi README · Multimodal project comparison · XiaoZhi device · Self-hosted backend

Local and private architectures

  • Local model with SenseCAP Watcher: The source describes ESP32-S3 hardware paired with a local Qwen or DeepSeek model, MCP home automation and reported response times of two to four seconds. The ESP32-S3-BOX-3B example from August 2026 runs a WebSocket voice agent against Qwen on an Ollama host. SenseCAP example · unhinged-agent
  • JARVIS-style assistant: An ESP-BOX-3 design uses the XiaoZhi protocol, Claude, Groq Whisper and EdgeTTS, with MCP controls such as volume, brightness, sensors and GPIO. Agent Hub illustrates a FastAPI server implementing the XiaoZhi voice protocol and MCP tool discovery. Design notes · Agent Hub

October 13, 2026 snapshot · Original Chinese edition