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
Veeam Data Platform v13.1 - Get Your Free Trial Icon
Veeam Data Platform v13.1 - Get Your Free Trial

Secure by design, portable by default. Recover clean, fast, anywhere. Start a free trial.

Try Veeam Data Platform today. Experience the unified platform that's secure by design, portable by default, and proven to recover clean, fast, and anywhere.
Try it 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

1 day ago