- How you use it
- A setting in your project
- What it can do
- installs software · writes files · network · runs shell
- What's inside
The option
| Option | AConfig · v1.0.0+wwfix.1Hugging Face speech-to-speech |
|---|---|
| How you use it | A setting in your project |
| What it can do | installs software · writes files · network · runs shell |
| What's inside |
What this thread does
speech-to-speech v1.1.0 serves a local voice pipeline through the core OpenAI Realtime events. Do first: use Python 3.11+ and check the v1.0-to-v1.1 setup changes below before starting speech-to-speech local.
What it is
speech-to-speech is Hugging Face's modular voice-agent pipeline, highlighted by @Sumanth_077 in August 2026. Four stages run in their own threads: Silero VAD finds where you start and stop talking, a speech recognizer transcribes, an LLM streams text and tool calls, and a TTS model speaks the reply. Every stage has swappable backends chosen with CLI flags. Version 1.0.0 was released on 6 September 2026; v1.1.0 followed on 24 October.
The server speaks the core OpenAI Realtime GA event set at ws://127.0.0.1:8765/v1/realtime, so a client written for OpenAI's Realtime API can point at your own machine instead. The authors test it with the official OpenAI Agents SDK.
Three starting setups (from the README)
| Setup | Hardware to plan for | What leaves your machine |
|---|---|---|
| Apple Silicon, fully local (Parakeet, Qwen3.5-4B 4-bit via MLX, Qwen3-TTS) | 16 GB or more unified memory; about 7.5 GB of weights | Nothing after the first model download |
| NVIDIA GPU, fully local (LLM via Transformers) | About 24 GB of VRAM for the unquantized 4B LLM and speech models | Nothing after the first model download |
| Local speech, hosted LLM | About 8 GB free for the speech models | Transcribed text and conversation history go to the LLM provider; audio stays local |
You can also run the LLM in a separate llama.cpp or vLLM server for a quantized model.
When to use it
- You want a voice interface without per-minute API fees or sending audio to a vendor.
- You already have an OpenAI Realtime client and want a local or self-hosted fallback.
- You want to experiment with different recognizers, LLMs and voices in one pipeline.
Alternatives
- For production phone and web agents built from hosted providers, see pipecat-voice-agent-phone-web.
- For hosted speech-to-speech models, see speech-to-speech-models-for-voice-agents.
Caveats
- Only the core Realtime event set is implemented; check the README's Realtime API section if your client relies on less common events.
- On Linux the default Qwen3-TTS wheel targets CUDA 12.8 and glibc 2.39 (Ubuntu 24.04). Other setups need a matching wheel from the Hugging Face wheelhouse the README links, or the CPU fallback.
- The memory figures are the authors' planning estimates, not measured minimums.
- Use headphones, or pass
--local_audio_block_mic_during_playback(which stops you interrupting the reply). - The voice models can clone voices; clone only voices you have consent to use.
Sources
Checked against primary sources: the huggingface/speech-to-speech README, releases and metadata (Apache-2.0; v1.0.0 published 6 September 2026): default pipeline Silero VAD, Parakeet TDT, Qwen3.5-4B and Qwen3-TTS, each stage in its own thread and swappable by CLI flags; the server listens at ws://127.0.0.1:8765/v1/realtime; core OpenAI Realtime events with the OpenAI Agents SDK tested; memory guidance of 16 GB unified memory on Apple Silicon and 24 GB VRAM on NVIDIA for the default LLM; about 8 GB of the budget for the speech pipeline in the llama.cpp setup; the hosted-LLM example sends transcribed text and conversation history to the provider while audio stays local; the CUDA 12.8 and glibc 2.39 note for the Linux Qwen3-TTS wheel; --local_audio_block_mic_during_playback; voice-cloning consent warning in the README. The correction above is the model name (the README says Qwen3.5-4B, not Qwen3-4B).
Not checked here: the X post by Sumanth_077, the "about 7.5 GB of weights" figure, the claim that the README labels its memory numbers as planning estimates, and the two related WhatWorks threads.
Upgrade from v1.0.0: the 24 October 2026 v1.1.0 release notes remove Python 3.10 support (3.11+ required), change the default local LLM to Qwen3.5-4B, require the kokoro extra for Kokoro on macOS, hide routine local diagnostics unless --verbose is supplied, and cap the WebRTC extra at aiortc<1.16. The release adds YAML startup configuration, speech-language selection and turn-latency reporting. Its optional CPU Phonon backend defaults to gated, non-commercial CC BY-NC 4.0 weights; the alternative gradium/phonon-31m-en checkpoint is Apache-2.0. These optional weights do not change the code licence or the default Qwen3-TTS setup above.
Upstream report: gorkadabo1, 30 October 2026, reproduced delayed follow-up turns after cancellation when an OpenAI-compatible HTTP LLM stream kept emitting SSE comments. As checked 2026-11-14, #775 was closed on 2026-11-10 by merged PR #813; a containing release is not established here. This used a synthetic local provider on main, not a production trial; it concerns HTTP LLM backends rather than every fully local setup.
Not for: phone voice bots; see pipecat-voice-agent-phone-web
checked 2026-11-03
Started from a post by @Sumanth_077, packaged by the editor. Original post
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.