QuiLLMan is a voice chat demonstration backed by Kyutai’s Moshi model with streaming audio in and out. It uses websockets and Opus compression for low-latency dialog.
Overview
QuiLLMan is a complete voice chat application intended as a starting point for speech-driven apps. On the backend it runs Moshi from Kyutai Lab, which listens continuously, plans, and replies in speech. Mimi encoder and decoder models keep audio streaming, while a speech-text foundation model decides timing and content of responses.
A React frontend is served by a FastAPI app, and a separate Moshi module exposes a websocket interface for bidirectional audio. Opus compression and websocket streaming aim to keep round-trip delay close to natural conversation pacing on good networks. A public demo is available, and the code is offered for experimentation and extension.
Local development uses Modal: a modal serve command runs the Moshi server and can be tested with a terminal client that needs microphone and speakers. Deploying with modal deploy publishes both the static frontend server and the Moshi websocket service; Modal apps scale to zero when idle.
The stack combines Python on Modal, FastAPI, and a browser UI, with models loaded inside the Modal class that holds streaming state.
Key features
- Moshi speech-to-speech backend
- Bidirectional websocket audio
- Opus network compression
- React web frontend
- FastAPI HTTP and WS servers
- Modal serverless hosting
- Terminal test client
- Live public demo
Use cases
- Experimenting with voice LLM UIs
- Forking a realtime speech chat starter
- Testing Moshi over websockets