Open-source AI assistant ecosystem with MCP integrations, multimodal workflows, IoT support, and cross-platform voice interaction.
# Add to your Claude Code skills
git clone https://github.com/huangjunsen0406/py-xiaozhiGuides for using ai agents skills like py-xiaozhi.
Last scanned: 4/21/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-04-21T06:04:09.282Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": false
}See how py-xiaozhi compares with popular alternatives.
py-xiaozhi is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by huangjunsen0406. Open-source AI assistant ecosystem with MCP integrations, multimodal workflows, IoT support, and cross-platform voice interaction. It has 3,560 GitHub stars.
Yes. py-xiaozhi passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/huangjunsen0406/py-xiaozhi" and add it to your Claude Code skills directory (see the Installation section above).
py-xiaozhi is primarily written in Python. It is open-source under huangjunsen0406 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh py-xiaozhi against similar tools.
No comments yet. Be the first to share your thoughts!
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
English | 简体中文
Dynadot是ICANN认证,域名保有量全球前五的域名注册商,首屈一指的国际域名交易平台。为所有用户提供以域名为中心的域名注册,域名交易,域名管理,以及企业邮箱及建站服务。为所有用户提供多种域名优惠,并支持免费提交域名抢注需求。Dynadot黑五活动正式上线!探索我们的官方优惠页面,个位数价格注册域名,五折购入建站工具与专业版邮箱。
py-xiaozhi is a lightweight, cross-platform multi-modal AI interaction framework built on Python's async architecture. It supports real-time voice streaming, vision-language tasks, and IoT device control. Deployable across Windows, macOS, Linux desktops, and ARM embedded platforms (Raspberry Pi, Horizon Robotics RDK, Jetson Nano), it bridges the gap between Large Language Models and physical hardware — out of the box.
Evolved from the xiaozhi-esp32 firmware project. Officially adopted by D-Robotics (xiaozhi-in-rdk) as an upstream dependency.

Zero to Xiaozhi Client (Video Tutorial)
StateManager owns IDLE, LISTENING, SPEAKING and NOTIFYING;
ConversationSession coordinates transitions. A successful wake/button action enters
LISTENING after the protocol connects and accepts the listen request. TTS moves the
device to SPEAKING; once local playback drains, the session resumes LISTENING or
returns to IDLE. Server notifications play in NOTIFYING while otherwise idle,
then return to IDLE. Connection establishment belongs to the protocol lifecycle,
not a separate device state.
py-xiaozhi/
├── main.py # Application entry point
├── src/
│ ├── activation/ # Device activation
│ ├── audio_codecs/ # Audio codecs
│ ├── audio_processing/ # Wake word detection
│ ├── bootstrap/ # Application bootstrap & dependency injection
│ ├── constants/ # Constants
│ ├── core/ # Core infrastructure (event bus, state management, task management, etc.)
│ ├── logging/ # Logging subsystem
│ ├── mcp/ # MCP tool system
│ │ ├── mcp_server.py # MCP server
│ │ └── tools/ # Tool modules (music/camera/screenshot/app/weather/volume)
│ ├── plugins/ # Plugin system (audio, UI, MCP, wake word, shortcuts)
│ ├── protocols/ # Communication protocols (WebSocket/MQTT)
│ ├── ui/ # User interface
│ │ ├── gui/ # PySide6 + QML graphical interface
│ │ ├── tui/ # Textual full-screen terminal interface
│ │ └── gpio/ # GPIO embedded interface
│ └── utils/ # Utility functions
├── libs/ # Third-party native libraries
│ ├── libopus/ # Opus audio codec library
│ └── webrtc_apm/ # WebRTC audio processing module
├── models/ # Wake word models
├── assets/ # Static resources
├── scripts/ # Auxiliary scripts
├── documents/