py-xiaozhi vs xiaozhi-esp32-server
py-xiaozhi: py-xiaozhi is a Python-based client for the Xiaozhi AI voice assistant, designed for learning through code and experiencing AI voice features without dedicated hardware. It integrates core AI capabilities like voice interaction, visual multi-modality, and smart wake-up, alongside a rich MCP tool ecosystem and IoT device integration.; xiaozhi-esp32-server: This project develops a smart terminal software and hardware system based on human-machine symbiosis intelligence, serving as a backend for the open-source smart hardware project xiaozhi-esp32. It is implemented in Python, Java, and Vue, supporting various protocols and features like voiceprint recognition and a knowledge base.
xiaozhi-esp32-server is a backend for Xiaozhi devices. py-xiaozhi is a client that plays the device's role on a computer.
TL;DR
- You want to try the Xiaozhi voice assistant on a computer without ESP32 hardware.
- You want offline wake words with Sherpa-ONNX, echo cancellation and a GUI or command-line mode.
- You want ready MCP tools such as schedules, timers, music, train tickets, web search and maps.
- You want a self-contained assistant: AI features depend on the Xiaozhi service.
- You cannot use Python 3.9 to 3.12, working audio devices and an internet connection.
- You want to self-host the backend: that is the server projects' job.
- You own xiaozhi-esp32 hardware and want to host your own backend instead of a shared one.
- You want MQTT+UDP or WebSocket, MCP endpoints, voiceprint recognition and a knowledge base.
- You want a choice between a minimal no-database install and a full install with a web console and multi-user management.
- You have no ESP32 device: it is not useful without compatible hardware.
- You need production use: the README says it is incomplete and has not passed a network security evaluation.
- You cannot work from mainly Chinese documentation.
Side-by-Side Comparison
Features
Use Cases
Best For
FAQ
Deploy on DigitalOcean
Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.