#4343rd of 96 in AssistantsFor voice, speech and music

py-xiaozhi

Python voice client for Xiaozhi AI servers with MCP tools and GPIO

Releases and problems feed (RSS)

Stars
3.6k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 29 weeks+305
2 May 2026: 3,258 stars9 May 2026: 3,264 stars16 May 2026: 3,275 stars23 May 2026: 3,288 stars30 May 2026: 3,298 stars6 Jun 2026: 3,309 stars13 Jun 2026: 3,328 stars20 Jun 2026: 3,335 stars27 Jun 2026: 3,348 stars4 Jul 2026: 3,357 stars11 Jul 2026: 3,368 stars18 Jul 2026: 3,385 stars25 Jul 2026: 3,394 stars1 Aug 2026: 3,405 stars8 Aug 2026: 3,413 stars15 Aug 2026: 3,422 stars22 Aug 2026: 3,430 stars29 Aug 2026: 3,435 stars5 Sept 2026: 3,447 stars12 Sept 2026: 3,452 stars19 Sept 2026: 3,461 stars26 Sept 2026: 3,465 stars3 Oct 2026: 3,476 stars10 Oct 2026: 3,484 stars17 Oct 2026: 3,506 stars24 Oct 2026: 3,521 stars31 Oct 2026: 3,535 stars7 Nov 2026: 3,546 stars14 Nov 2026: 3,553 stars21 Nov 2026: 3,563 stars

3,258 on 2 May 20263,563 on 21 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

py-xiaozhi is an async Python client for the Xiaozhi voice assistant protocol. It streams Opus audio over WebSocket or MQTT, runs offline wake-word detection with Sherpa-ONNX, and exposes an MCP tool server (music, camera, screenshot, apps, weather, volume). It runs with a PySide6 GUI, a Textual TUI, or a GPIO mode on boards such as Raspberry Pi.

Who it is for: Developers building Xiaozhi voice clients on PCs or ARM boards

Strengths

  • Three front ends: PySide6/QML GUI, Textual TUI, and GPIO for headless boards
  • Offline wake word via Sherpa-ONNX with custom keywords
  • Runs on Windows, macOS, Linux, and ARM boards (Raspberry Pi, RDK, Jetson Nano)
  • New MCP tools go in src/mcp/tools; plugin system and Protocol base class

Weaknesses

  • Needs a Xiaozhi-compatible backend and internet; no local LLM is run
  • Python 3.10 to 3.12 only; GUI and TUI need separate extras
  • Docs are mostly in Chinese; main branch needs manual dependency reinstall
  • Built-in tools limited to music, camera, screenshot, apps, weather, volume

What it needs

  • RAM ≥ 4 GB
  • no GPU
  • Needs Xiaozhi-compatible server (WebSocket or MQTT), Microphone and speaker, FFmpeg (wheel installs), Sherpa-ONNX models (wake word), OpenCV and camera (optional)
  • Models: Sherpa-ONNX (wake word), Opus audio codec

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in Assistants

See all 96
Also in Assistants
RankProjectScore
#41nanomusePersonal agent for phone, desktop and web with a self-hostable relay Live demo ↗ (opens in a new tab)3.7k starsGPL-3.072 out of 100
#42MoltisSelf-hosted personal agent server in Rust with chat channels and sandboxing3k starsMIT72 out of 100
#44qwen-audio-agentRealtime voice front end that delegates tasks to backend coding agents3.3k starsApache-2.070 out of 100
#45inno-agentPersonal learning agent with layered memory, cron scheduler and Feishu/WeChat channels1.6k starsMIT70 out of 100
#46ai-chatbot-frameworkSelf-hosted multi-user agent with a per-user Docker sandbox, memory and skills2.2k starsMIT68 out of 100