qmetrics.net

XiaoZhi ESP32

ESP32 voice chatbot firmware using MCP

XiaoZhi ESP32 screenshot

XiaoZhi AI is voice-interaction firmware for ESP32 boards. It uses large models such as Qwen or DeepSeek and controls devices through the MCP protocol.

Overview

The XiaoZhi AI chatbot targets ESP32-family hardware as a voice entry point. It connects to large language and speech models and uses MCP for multi-terminal control, including on-device actions and cloud-side extensions.

Networking can use Wi-Fi, wired Ethernet, USB RNDIS, or cellular modules on supported boards. Communication supports WebSocket or MQTT plus UDP. Audio uses Opus streaming with classic ASR, LLM, and TTS pipelines or realtime end-to-end voice models; hardware with echo cancellation can do full-duplex conversation.

Boards may include OLED or LCD displays with emoji, camera input, battery management, and provisioning via hotspot or BluFi. Device-side MCP can drive speakers, LEDs, servos, and GPIO; cloud MCP can reach smart home, desktop, search, and email workflows. Many board variants and release builds are documented.

Beginners can flash prebuilt firmware without a full dev environment; default builds connect to the xiaozhi.me service where individuals can register for hosted model access. Personal server deployment is described in separate related server projects, not in this firmware repository alone.

Key features

  • WebSocket or MQTT plus UDP transport
  • Opus voice with ASR, LLM, and TTS
  • Device and cloud MCP control
  • Wi-Fi, Ethernet, USB, or 4G networking
  • Display, camera, and battery support
  • Many ESP32 chip and board targets
  • BluFi or hotspot Wi-Fi provisioning
  • Wide UI language and prompt support

Use cases

  • DIY voice assistant hardware
  • Smart home voice control on ESP32
  • MCP-driven embedded agents
  • Hands-free IoT prototypes

Tags

Similar software

Porcupine

On-device wake word and keyword spotting engine

Porcupine is Picovoice’s wake word engine for always-listening voice apps. It spots fixed spoken commands on the device using compact neural models, without sending audio to the cloud.

★ 5k⟳ 15 days agoApache-2.0

ElatoAI

Realtime voice AI stack for ESP32 toys and devices

ElatoAI connects ESP32 hardware to many STT, LLM, and TTS providers over secure WebSockets for speech-to-speech agents and custom characters.

★ 2.1k⟳ 4 days agoMIT

Tiny Engineer

Desk robot showing AI coding agent activity

Tiny Engineer is a small open-source desk robot that moves, changes its face, and rings to mirror your AI coding agent. It connects over Wi-Fi or USB to tools like Claude Code and Cursor

★ 1.2k⟳ todayMIT · open core

OpenClaw

Open-source personal AI assistant running on your devices and chat apps

Open-source AI assistant that runs on your own computer and answers in chat apps such as WhatsApp, Telegram, Slack and Discord. State, memory and credentials stay on your hardware.

★ 395.3k⟳ todayMIT
Open Source Alternative to:ChatGPTChatGPT Plus+3

DeepSeek Harness

Open-source plugin-based agent harness from DeepSeek

DeepSeek Harness is an open-source agent harness built on an everything-is-a-plugin architecture powered by Cordis. It offers a web UI, desktop app, and extensible plugins for daily work, coding, and automation.

★ 288k⟳ 6 days agoMIT

Hermes Agent

Self-improving open-source AI agent with memory, skills and messaging gateway

Open-source AI agent from Nous Research that keeps persistent memory, creates skills from experience, and runs from a terminal, desktop app or messaging platforms with any model provider.

★ 266.6k⟳ todayMIT
Open Source Alternative to:Anthropic ClaudeChatGPT+5