78/xiaozhi-esp32

▲ 497 stars today★ 30,660⑂ 7,191

An MCP-based chatbot | 一个基于MCP的聊天机器人

About 78/xiaozhi-esp32

78/xiaozhi-esp32 is an open-source project on GitHub, mainly written in C++. An MCP-based chatbot | 一个基于MCP的聊天机器人 It currently holds 30,660 stars and 7,191 forks with 672 open issues, and was last pushed on 2026-10-11 (repository created 2024-08-31).

Project Overview

AI Homed tracks it on the Today's Trending board.

GitHub Repository Details

Repository 78/xiaozhi-esp32 · default branch main · size 11119 KB · watchers 252 · source: GitHub REST API and repository README

README

An MCP-based Chatbot

(English | 中文 | 日本語)

Introduction

👉 Human: Give AI a camera vs AI: Instantly finds out the owner hasn't washed hair for three days【bilibili】

👉 Handcraft your AI girlfriend, beginner's guide【bilibili】

As a voice interaction entry, the XiaoZhi AI chatbot leverages the AI capabilities of large models like Qwen / DeepSeek, and achieves multi-terminal control via the MCP protocol.

https://github.com/78/xiaozhi-esp32/blob/HEAD/Control everything via MCP

Recent Updates

Features Implemented

Hardware

Breadboard DIY Practice

See the Feishu document tutorial:

👉 "XiaoZhi AI Chatbot Encyclopedia"

Breadboard demo:

Breadboard Demo

Supports 138 Board Directories and 171 Release Variants (Partial List)

Image from the project README Image from the project README Image from the project README Image from the project README Image from the project README Image from the project README Image from the project README Image from the project README Image from the project README Image from the project README Image from the project README Image from the project README

Software

Firmware Flashing

For beginners, it is recommended to use the firmware that can be flashed without setting up a development environment.

The firmware connects to the official xiaozhi.me server by default. Personal users can register an account to use the Qwen real-time model for free.

👉 Beginner's Firmware Flashing Guide

Development Environment

Use the release/v6.1 branch rather than the v6.1 release tag: an ESP32-C3 Wi-Fi initialization failure with that tag is reported in #2344. After switching SDK revisions, run git submodule update --init --recursive in the ESP-IDF directory, source its export.sh, and run idf.py fullclean in this project before rebuilding.

Developer Documentation

Large Model Configuration

If you already have a XiaoZhi AI chatbot device and have connected to the official server, you can log in to the xiaozhi.me console for configuration.

👉 Backend Operation Video Tutorial (Old Interface)

Related Open Source Projects

For server deployment on personal computers, refer to the following open-source projects:

Other client projects using the XiaoZhi communication protocol: Custom Assets Tools:

About the Project

This is an open-source ESP32 project, released under the MIT license, allowing anyone to use it for free, including for commercial purposes.

We hope this project helps everyone understand AI hardware development and apply rapidly evolving large language models to real hardware devices.

If you have any ideas or suggestions, please feel free to raise Issues or join our Discord or QQ group: 1095994019

Star History

https://github.com/78/xiaozhi-esp32/blob/HEAD/Star History Chart

GitHub Stars & Activity

30,660Stars
7,191Forks
672Open issues
C++Language

GitHub Popularity

GitHub stars30,660
Forks7,191
Open issues672
Primary languageC++
LicenseMIT
Stars gained today497
Created2024-08-31
Last pushed2026-10-11

Trending History

Weekly boardrank #55 · ▲ 497 stars
Monthly boardrank #52 · ▲ 2,252 stars

Related AI Projects

1

tensorflow / tensorflow

C++★ 201,304⑂ 78,212▲ 27 stars
→
2

kvcache-ai / Mooncake

C++★ 6,976⑂ 1,438▲ 13 stars
→
3

morluto / rea

TypeScript★ 430,313⑂ 0
→
4

mattpocock / skills

Shell★ 312,996⑂ 26,267▲ 1,376 stars
→
5

obra / superpowers

Shell★ 312,358⑂ 27,784▲ 683 stars
→
6

affaan-m / ECC

JavaScript★ 297,130⑂ 43,922▲ 809 stars
→
7

deepseek-ai / deepseek-harness

TypeScript★ 272,390⑂ 0
→
8

NousResearch / hermes-agent

Python★ 260,514⑂ 0
→

More AI Rankings