← Back to Leaderboard
Qmodal-labs

modal-labs/quillman

Real-time speech-to-speech chat with Moshi and bidirectional WebSockets

Engineering Health (Methodology)
B+ · 69/100
Maintenance Activity
● Updated 1mo ago
Latest Release
Rolling commits (main)
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance26/35
Fork Adoption17/25
Release Cadence6/20
License Clarity20/20
API
Total Stars
★ 1,216
24h Growth
+0
7d Growth
+0
Forks
161

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

modal-labs/quillman Star History (2023-04-18 - 2026-12-04) ALL-TIME STAR HISTORY (2023-04 – 2026-12) +1.2k in 1326d · avg +1/day 1.3k 642 0 2023-04-18: ★ 12023-07-08: ★ 7352023-09-30: ★ 8012023-12-23: ★ 8512024-03-16: ★ 8932024-06-08: ★ 9442024-08-31: ★ 9812024-11-23: ★ 1,0412025-02-15: ★ 1,0682025-05-10: ★ 1,0932025-08-02: ★ 1,1242025-10-25: ★ 1,1482026-01-17: ★ 1,1672026-04-11: ★ 1,1872026-07-04: ★ 1,2032026-09-26: ★ 1,2102026-12-04: ★ 1,216 ★ 1.2k 2023-04 2025-02 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

QuiLLMan separates static frontend delivery from stateful speech inference. src/app.py uses FastAPI to serve the React frontend in src/frontend/. The browser connects to the FastAPI WebSocket exposed by src/moshi.py, where a Modal class loads the models and maintains streaming state. The frontend entrypoint imports the inference module, so starting the full app brings up both services.

Mimi handles streaming audio encoding and decoding on the model side, while Moshi's speech-text model determines when and how to respond. Opus serves a different purpose: compressing audio for network transport over the bidirectional WebSocket. That WebSocket is the practical integration boundary. There is no documented plugin system for swapping model providers.

Key Capabilities & Differentiators

The app supports continuous speech-to-speech interaction: it can receive new microphone audio while sending generated audio back over the same connection. It does not require a completed transcript as the handoff between a separate recognizer and synthesizer. The concrete stack is Kyutai’s Mimi codec and Moshi, with moshiko-pytorch-bf16 as the linked speech-text checkpoint. Opus is the network audio format.

The browser demo offers end-to-end evaluation, while tests/moshi_client.py lets developers exercise the inference endpoint directly with a microphone and speakers. These are useful paths for testing conversation flow and audio handling, but there are no verified latency benchmarks, concurrency limits, or compatibility matrices for additional checkpoints or providers. Measure response timing and audio continuity over the networks and devices you intend to support.

Trade-offs & Limitations

Compared with a modular ASR → LLM → TTS stack, QuiLLMan avoids explicit handoffs between separately operated services and makes continuous audio the primary interface. That is a useful starting point for natural voice interaction, but the application offers no documented swap points for speech recognition, reasoning, or synthesis. A modular pipeline is a better fit when you need editable transcripts in the critical path or want to replace and evaluate each stage separately.

Modal's scale-to-zero behavior reduces the need to keep idle inference workers running, but the first connection after idle may encounter model startup. Opus lowers the amount of audio sent over the network without eliminating the effects of network conditions or inference load. Before production use, validate session isolation, overload handling, and reconnect behavior rather than assuming those guarantees. The application is MIT-licensed; check model-weight terms separately before commercial use.

Hardware & Deployment Guide

The supported path is a managed Modal deployment. Install modal in a Python virtual environment with pip install modal, configure an account with modal setup, and create a token with modal token new. Run modal deploy src.app from the repository root to deploy both the frontend server and inference WebSocket. For development, modal serve src.app starts both services; modal serve -m src.moshi starts inference alone. Both development modes apply file changes while running.

For direct audio testing, install requirements/requirements-dev.txt and run python tests/moshi_client.py with a microphone and speakers available. Clear the browser cache if frontend edits do not appear. No verified GPU or VRAM target, ready-to-run offline deployment, or published release is identified. Pin a tested commit for repeatable rollout and validate peak memory, cold-start time, and steady-state streaming under the intended session load.

Service split: src/app.py serves the React frontend, while src/moshi.py exposes the inference WebSocket.
Model roles: Mimi provides streaming audio encoding and decoding; Moshi's linked moshiko-pytorch-bf16 checkpoint drives responses.
Audio transport: Opus compresses audio on the wire, while a bidirectional WebSocket carries input and output on the same connection.
Inference lifecycle: A Modal class loads the models and maintains streaming state behind FastAPI.
Integration test path: tests/moshi_client.py exercises the inference WebSocket without the browser UI.
Development workflow: modal serve -m src.moshi starts the inference service alone; modal serve src.app starts both services.
Best For

Prototyping continuous speech-to-speech interaction on Modal with a browser UI and a directly testable inference WebSocket.

Skip If

You need an offline deployment path out of the box, independently replaceable ASR and TTS engines, or established latency and concurrency guarantees.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

API
python -m venv venv
source venv/bin/activate
pip install -r requirements/requirements-dev.txt

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
quillman ★1.2k—PythonMITReal-time speech-to-speech chat with Moshi and bidirectional WebSockets
speech-to-speech13.9k+137PythonApache-2.0A modular speech cascade for self-hosted voice agents over OpenAI Realtime
voice-pro13.5k+34PythonGPL-3.0Self-hosted Gradio studio for transcription, translation, and dubbing
WhisperLiveKit11.3k+27PythonApache-2.0Self-hosted streaming speech-to-text with pluggable ASR and speaker diarization

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/modal-labs/quillman.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

modal-labs/quillman Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about quillman

Can I integrate the inference backend without the browser UI?

For an audio-only integration, start with tests/moshi_client.py. It connects directly to the inference WebSocket without the React frontend. Use it to check the message framing and Opus handling before writing a client; bidirectional WebSocket support alone does not make a client compatible.

What GPU and VRAM should I budget for?

No minimum GPU or exact VRAM requirement is specified. Size for Moshi and Mimi model loading as well as memory use during active streams. Measure peak memory, startup time, and audio continuity on the chosen hardware at your target concurrency before committing to an instance type.

Can I use it commercially or run it on infrastructure I control?

The application code is MIT-licensed, but that does not establish commercial usage rights for the Moshi and Mimi weights. Review the model terms separately. The supplied deployment path runs on Modal under your account; an offline or non-Modal installation is not provided as a ready-to-use path.

When should I use this instead of an ASR → LLM → TTS pipeline?

Choose QuiLLMan when the prototype needs continuous speech input and output through one model stack. Prefer a modular ASR → LLM → TTS pipeline when editable transcripts are central to the product or when recognition, reasoning, and synthesis must be selected and evaluated independently.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining modal-labs/quillman? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature modal-labs/quillman on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare