XiaoZhi AI Firmware Download
Official XiaoZhi AI firmware is published through GitHub Releases of 78/xiaozhi-esp32. If this is your first time, flash a prebuilt image instead of setting up a development environment.
Latest release: v2.5.2
v2.5.2 was published on 2026-10-11. The whole release matrix is built by GitHub Actions:
- 188 firmware variants covering 154 board directories;
- built with ESP-IDF 6.1.0;
- chip platforms: ESP32, ESP32-C3, ESP32-C5, ESP32-C6, ESP32-S3, ESP32-S31 and ESP32-P4.
See the v2.5.2 release page for the full change list.
What a release contains
Each variant is one archive named v<version>_<variant>.zip, for example v2.5.2_bread-compact-wifi.zip. The archive holds a single file:
merged-binary.bin: the complete flash image (bootloader, partition table and application), written as a whole at flash address0x0.
Two more files are attached to the release:
SHA256SUMS: SHA-256 checksums of every archive;release-manifest.json: the source commit, ESP-IDF version and the full variant list, including the chip of each variant.
Choose the variant for your board
If your breadboard build uses an ESP32-S3-DevKitC-1, match the module marking and memory configuration with the MCUID board reference. Then use the wiring and display type to select the firmware variant below.
A variant name combines vendor, board and optional screen, network or revision parts, and matches a directory under main/boards/ in the upstream repository. In the breadboard builds, ml307 is the ML307 4G version, 128x64 is the OLED resolution and lcd is the LCD version.
The table lists common boards. The release attachments and release-manifest.json are the authoritative full list; all 154 board directories and 188 variants, grouped by chip, are on Supported Boards.
| Board | Chip | Variant |
|---|---|---|
| Breadboard, new wiring (Wi-Fi) | ESP32-S3 | bread-compact-wifi |
| Breadboard, new wiring (Wi-Fi, OLED 128x64) | ESP32-S3 | bread-compact-wifi-128x64 |
| Breadboard, new wiring (Wi-Fi, LCD) | ESP32-S3 | bread-compact-wifi-lcd |
| Breadboard, new wiring (ML307 4G) | ESP32-S3 | bread-compact-ml307 |
| Breadboard, ESP32 DevKit | ESP32 | bread-compact-esp32 |
| XiaGe Mini C3 | ESP32-C3 | xmini-c3, xmini-c3-v3, xmini-c3-4g |
| LCSC ESP32-S3 development board | ESP32-S3 | lckfb-lichuang-dev |
| LCSC ESP32-C3 development board | ESP32-C3 | lckfb-lichuang-c3-dev |
| M5Stack CoreS3 | ESP32-S3 | m5stack-core-s3 |
| M5Stack AtomS3R + Echo Base | ESP32-S3 | m5stack-atoms3r-echo-base |
| Espressif ESP-BOX-3 | ESP32-S3 | espressif-esp-box-3 |
| Espressif ESP-BOX / ESP-BOX-Lite | ESP32-S3 | espressif-esp-box, espressif-esp-box-lite |
| Espressif ESP-SparkBot | ESP32-S3 | espressif-esp-sparkbot |
| Espressif ESP-VoCat | ESP32-S3 | espressif-esp-vocat |
| Magiclick 2.4 / 2.5 | ESP32-S3 | magiclick-2p4, magiclick-2p5 |
| Magiclick C3 / C3 v2 | ESP32-C3 | magiclick-c3, magiclick-c3-v2 |
| Kevin Box 2 | ESP32-S3 | kevin-box-2 |
| Nologo Xingzhi 0.96 OLED (Wi-Fi) | ESP32-S3 | nologo-xingzhi-cube-0.96oled-wifi |
| Nologo Xingzhi 1.54 TFT (Wi-Fi) | ESP32-S3 | nologo-xingzhi-cube-1.54tft-wifi |
| Seeed Studio SenseCAP Watcher | ESP32-S3 | sensecap-watcher |
| DFRobot Unihiker K10 | ESP32-S3 | dfrobot-df-k10 |
| LILYGO T-Circle-S3 | ESP32-S3 | lilygo-t-circle-s3 |
| ALIENTEK DNESP32S3 / DNESP32S3-BOX | ESP32-S3 | alientek-atk-dnesp32s3, alientek-atk-dnesp32s3-box |
| Movecall Moji | ESP32-S3 | movecall-moji-esp32s3 |
| Waveshare ESP32-S3-Touch-AMOLED-1.8 | ESP32-S3 | waveshare-esp32-s3-touch-amoled-1.8 |
| Waveshare ESP32-S3-Touch-LCD-1.85 | ESP32-S3 | waveshare-esp32-s3-touch-lcd-1.85 |
Flash the firmware
Option 1: flash without a development environment
Follow the beginner flashing tutorial maintained upstream. ESP-IDF is not required.
Option 2: esptool on the command line
- Download the archive for your variant from the release page and unzip it to get
merged-binary.bin; - Connect the board with a data cable and, if needed, put it into download mode;
- Write the image at address
0x0:
# Install esptool (requires Python)
pip install esptool
# Write the merged image at 0x0 (replace the serial port with your own)
esptool.py -b 460800 write_flash -z 0x0 merged-binary.binSerial port names depend on the OS: commonly /dev/ttyACM0 or /dev/ttyUSB0 on Linux, /dev/cu.usbmodem* on macOS and COMx on Windows. Pass -p <port> when you need to select one explicitly. Some boards document their own flash parameters; check the README in that board’s directory in the upstream repository.
Verify the download
Put the archives and SHA256SUMS in the same directory, then check the files you downloaded:
# Linux
sha256sum -c SHA256SUMS --ignore-missing
# macOS
shasum -a 256 -c SHA256SUMS --ignore-missingBuild it yourself
If your board is not listed, you need to change the configuration, or you are adapting your own hardware, build the firmware locally:
- Set up ESP-IDF: the firmware requires ESP-IDF v6.0.1 or later, with the
release/v6.1branch recommended; - build and package in one step with the upstream script:
python scripts/build.py <board> --zip.
Server and account
Official firmware connects to the official server by default. Personal users can register and use the Qwen realtime model for free, and configure devices in the official console (see the upstream README for the entry point). To use a self-hosted backend, read Self-Hosted Server first; community server projects are listed in Ecosystem Projects.
Source: 78/xiaozhi-esp32 GitHub Releases and the upstream README.md and docs/releasing.md.