xiaozhi-esp32-server-java
Xiaozhi ESP32 Server Java is an enterprise-style backend for the Xiaozhi ESP32 smart-hardware project, with a full management console. The README (in Chinese) says it uses a multi-module, two-process design: the admin platform and the conversation service run separately and share MySQL and Redis, so they can be deployed and scaled independently. Devices connect over WebSocket and MQTT, with server-initiated wake-up and OTA remote upgrades.
The AI side is broad. It integrates OpenAI, Zhipu, iFlytek Spark, Ollama, Dify and Coze for language models, with MCP tool protocol and Function Call extensions. Speech covers local and cloud STT (Vosk, FunASR, Alibaba Cloud, Tencent Cloud, iFlytek) and TTS (local sherpa-onnx, Volcano Engine, Alibaba Cloud, Edge TTS), with voice cloning, real-time interruption and two-way streaming. Other features are voice control of smart-home devices through Function Call, a RAG knowledge base with long-term memory, and dashboards for tokens, latency and device activity.
Deployment options are scripts (`bin/all.sh start`), Docker Compose, or source deployment on Linux and Windows, with Flyway creating tables automatically. Local models are not in the repository, so the first run downloads them with `scripts/download_models.sh`, or `download_base.sh` only if you use third-party STT and TTS. The stack is Spring Boot, MyBatis-Plus, Vue and Ant Design on MySQL 8 and Redis 7, and the README reports about 1.8 GB of memory in its test. The licence is MIT and the last push was 2026-09-27. This review is based on the README and repository data; we have not run it ourselves.
Features
Why choose it
Trade-offs
Maintenance check
- Last commit
- 2026-11-11
- Commits, last 90 days
- 100+
- Releases, last 90 days
- 0
- Latest release
- v5.1.0 (2026-04-21)
- Open issues
- 3
- Recent issues with at least one comment
- 24/30
Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.
Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.
Most discussed open issues
- #83 用户对话情感识别1 comments · 2025-05-23
- #172 [BUG] DeepSeek/OpenAI 工具调用后下一轮对话 HTTP 400 (由于 Conversation 缺失工具链校验导致历史被写脏) 还有咱们这个我看好像没有配置式 MCP注册0 comments · 2026-07-01
Issue titles are quoted from GitHub. Open the link to check whether a problem still applies to the version you use.
Who it fits
- You run Xiaozhi ESP32 devices and want a Java backend with a full admin console.
- You want the admin platform and conversation service to run and scale separately.
- You need OTA upgrades, server-initiated wake-up, voice cloning and providers such as Zhipu, iFlytek, Ollama, Dify or Coze.
- You cannot run MySQL 8, Redis 7 and a JVM with about 1.8 GB of memory.
- You have no Xiaozhi hardware: it is not a general voice assistant.
- You cannot work from mainly Chinese documentation.
How it differs
xiaozhi-esp32-server is the larger community backend, with a minimal no-database mode. The Java server is built around a two-process design and admin console.
Compatibility
Quick start
Use cases
Alternatives
Featured in these lists
Comments
No comments yet. Be the first!