AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompareGuides
Submit Tool
ToolsCategoriesTrendingNewCompareGuides
Home/
Voice / Speech/
xiaozhi-esp32-server-java
xiaozhi-esp32-server-java logo

xiaozhi-esp32-server-java

Active·★ 1.4k·MIT·Updated 2026-09-27
★ Hidden Gem★ API Integration

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.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool.

#esp32#java#mcp#mcp-client#mcp-server#mcp-servers#spring-ai#stt
$ Install
$ git clone https://github.com/joey-zhou/xiaozhi-esp32-server-java && cd xiaozhi-esp32-server-java && ./scripts/download_models.sh && bin/all.sh start
↗ Visit site★ GitHub
01

Features

01Multi-module dual-process architecture
02Multi-AI platform integration (OpenAI, Zhipu, etc.)
03Full voice pipeline with local/cloud STT/TTS
04WebSocket and MQTT real-time communication
05IoT smart home control and device management
06RAG knowledge base with document upload and retrieval
02

Why choose it

+Complete backend plus admin console for Xiaozhi ESP32 devices, with WebSocket, MQTT and OTA
+Many model options: OpenAI, Zhipu, iFlytek, Ollama, Dify, Coze, plus MCP and Function Call
+Voice pipeline with local and cloud STT/TTS, voice cloning and interruption
+Docker Compose or scripts, automatic table creation, MIT license
03

Trade-offs

!Needs MySQL 8, Redis 7 and a JVM, and the README reports about 1.8 GB of memory
!Local speech models are downloaded separately and add disk and memory use
!Tied to the Xiaozhi ESP32 hardware ecosystem, so it is not a general voice assistant
!Documentation is mainly in Chinese
04

Compatibility

ESP32
ESP32
Verified via docs
05

Quick start

1
$ git clone https://github.com/joey-zhou/xiaozhi-esp32-server-java
2
$ cd xiaozhi-esp32-server-java
3
$ ./scripts/download_models.sh
4
$ bin/all.sh start
06

Use cases

↳Managing ESP32 devices with a complete backend platform
↳Building intelligent voice assistants with real-time interaction
↳Controlling IoT smart home devices via voice commands
07

Alternatives

ChatTTS logo
ChatTTS★ 39.9k
A generative speech model for daily dialogue.
xiaozhi-esp32-server logo
xiaozhi-esp32-server★ 10.8k
本项目为xiaozhi-esp32提供后端服务,帮助您快速搭建ESP32设备控制服务器。Backend service for xiaozhi-esp32, helps you quickly build an ESP32 device control server.
fastmcp logo
fastmcp★ 28.1k
🚀 The fast, Pythonic way to build MCP servers and clients.
semble logo
semble★ 6.2k
Fast and Accurate Code Search for Agents
csharp-sdk logo
csharp-sdk★ 4.6k
The official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration with Microsoft.
fast-agent logo
fast-agent★ 3.9k
Code, Build and Evaluate agents - excellent Model and Skills/MCP/ACP Support
Godot-MCP logo
Godot-MCP★ 283
Godot-MCP — Model Context Protocol (MCP) integration for the Godot Engine. AI tools for the Godot Editor in C#, with cloud connection to ai-game.dev. Apache-2.0.
ncp logo
ncp★ 100
Natural Context Provider (NCP). Your MCPs, supercharged. Find any tool instantly, load on demand, run on schedule, ready for any client. Smart loading saves tokens and energy.
See all alternatives →

Featured in these lists

  • Best Open-Source Voice Assistants and Speech Tools

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Compatibility05Quick start06Use cases07Alternatives
Stats
GitHub Stars★ 1.4k
Last commit2w ago
StatusActive
LicenseMIT
CategoryVoice / Speech
Trend (30d)
+0k↑ 1.3%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.