py-xiaozhi is a free, open-source, Python-based AI assistant framework designed for voice interaction, multimodal processing, and connected device control. It supports real-time voice conversations through asynchronous audio streaming and Opus encoding. Users can interact with AI models through spoken commands, camera input, and visual recognition. Its Model Context Protocol integration provides tools for music playback, screenshots, application management, and device operations. The framework supports offline wake-word detection using Sherpa-ONNX. It also communicates through WebSocket and MQTT protocols with encrypted connections and automatic reconnection. Available for Windows, macOS, Linux, and embedded devices, py-xiaozhi supports robotics, IoT applications, and customizable AI assistants.

Features

  • Real-time AI voice conversations with Opus audio streaming
  • Camera-based visual understanding and image analysis
  • MCP tools for applications, music, screenshots, and device control
  • Offline wake-word detection with Sherpa-ONNX
  • WebSocket and MQTT communication with automatic reconnection
  • Cross-platform desktop, Raspberry Pi, and IoT deployment

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow py-xiaozhi

py-xiaozhi Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of py-xiaozhi!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python AI Assistants, Python Voice Assistants

Registered

2026-11-02