# yihong0618/xiaogpt

Play ChatGPT and other LLM with Xiaomi AI Speaker

Repository: https://github.com/yihong0618/xiaogpt
Canonical: https://ross.abutalabs.com/products/xiaogpt
Language: Python
License: MIT
License Family: permissive
Topics: python, chatgpt, xiaomi, llms
Last push: 2026-02-24T08:25:26+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 69, release rhythm 41, longevity 92
- inputs: {"age_days": 1294, "days_push": 190, "days_rel": 312, "gap_med": 31, "n_releases_24m": 10}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6901, forks 945 (observed 2026-08-28T04:09:51.187502+00:00)

## What it is
A Python application that connects Xiaomi AI Speakers to ChatGPT and other LLMs, letting users ask questions starting with a trigger phrase and hear LLM-generated answers via the speaker's TTS. It supports multiple LLM providers including ChatGPT, Bing, ChatGLM, Gemini, Doubao, Moonshot, and Qwen, and runs via pip or Docker.

## Use cases
- turn my xiaomi smart speaker into a chatgpt voice assistant
- make xiaoai speaker answer questions with an llm
- connect chatgpt to xiaomi ai speaker without root
- use gemini or chatglm on a mi smart speaker
- replace xiaoai responses with chatgpt answers via tts
- run an llm voice assistant on cheap smart speaker hardware

## When to choose
- you own a Xiaomi AI Speaker and want LLM-powered voice answers without rooting the device
- you want to pick from many LLM backends (ChatGPT, Gemini, ChatGLM, Doubao, etc.) on the same speaker
- you prefer a simple pip or Docker setup with CLI configuration

## When to avoid
- you don't own a Xiaomi/Mi AI speaker or compatible Mina device
- you need a fully local, offline voice assistant with no cloud LLM dependency
- you want a polished commercial product with a GUI rather than a CLI tool requiring account credentials and device DID setup

## Facets
- artifact type: application
- maturity: active
- function: chatbot, speech-recognition, tts, llm-inference, cli
- domain: artificial-intelligence, large-language-models, chatbots, iot
- platform: python, windows, cli
- tags: xiaomi-ai-speaker, voice-assistant, chatgpt, smart-speaker, mi-service, hardware-integration, automation, linux, macos, docker

## Member repositories
- yihong0618/xiaogpt (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:51.187502+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:41:37.797702+00:00, confidence not recorded.
  - readme: https://github.com/yihong0618/xiaogpt (fetched 2026-08-28T04:09:51.187502+00:00, sha 9c5adb67f2c6)
  - registry_pypi: https://pypi.org/pypi/xiaogpt/json (fetched 2026-08-29T08:37:22.496132+00:00, sha 5c8bacd2cbf6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
