Install Firmware via Web Flasher

Connect your ESP32 board via USB. Important: Hold down the BOOT button on your ESP32 board before clicking the install button below.

Select the correct COM port (often labeled as USB-to-UART bridge), then check "Erase Device" if prompted. Flashing takes about 2 minutes.

Your browser does not support Web Serial. Please use Google Chrome or Edge.

Complete Setup Walkthrough

Step 1

Wi-Fi Initialization

Once the firmware is flashed, wait for the ESP32 to restart. A new Wi-Fi Access Point named XiaoZhi-xxx will appear in your network list. Connect to it.

Navigate to http://192.168.4.1. Select your home Wi-Fi network and enter the password.

Wi-Fi Configuration Screen
Step 2

XiaoZhi Dashboard Registration

Once the device connects to your Wi-Fi, open a new browser tab and go to xiaozhi.me. Click on the Console button and sign up (Google Login is recommended for convenience).

XiaoZhi Web Platform Login
Step 3

Pairing the Device

Inside the console, click Add Device. Look at the OLED screen on your ESP32—a pairing code will be scrolling across the display. Enter this code into the console field and click "Start Using".

Entering Pairing Code
Step 4

Configure Master Role Introduction

The "Role Introduction" is the brain of your AI agent. Let's dynamically configure the perfect system prompt (under 2000 characters) by providing some context.

Quick Start Templates (Click to auto-fill)
What should the AI call itself?
Who are you and what do you do?
What exactly is the AI built to do for you? Be specific.
Your Generated System Prompt
0 / 2000
Configuring Role and Persona
Finish

Restart & Enjoy!

Click Save at the bottom of the screen. Perform a hard reset on your ESP32 board to lock in the new identity. Press the BOOT button once to wake the agent up and begin talking!

Fullscreen View
Scroll to Top