DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to run a voice frontend stack with local speech models with Qwen Audio Agent

Connect the Hugging Face speech-to-speech service so VAD, STT, LLM, and TTS run locally.

Short answer: Install the runtime with npm install -g qwen-audio-agent; then start the Hugging Face Speech-to-Speech service on your machine using its own instructions; set the voice frontend in the config to Hugging Face Speech-to-Speech and enter the service URL. All steps.

Who it is forA privacy-minded developer who wants voice conversation without sending audio to a cloud provider.

The problemCloud voice services send audio off the machine, which some users cannot accept for their work.

The outcomeYou run the Hugging Face speech-to-speech service locally, point the runtime at its URL, and have a voice conversation that uses local components.

What you need first

  • Node.js 22.22.2+ or 24.15.0+ and npm 10+
  • A Bailian (DashScope) API Key or another supported voice frontend key, such as an OpenAI or Google API Key
  • A backend Agent you want to use, such as Qwen Code, OpenCode, or Claude Code, installed through the one-click install option
  • Microphone access on your computer

Steps

  1. Install the runtime with npm install -g qwen-audio-agent.
  2. Start the Hugging Face Speech-to-Speech service on your machine using its own instructions.
  3. Set the voice frontend in the config to Hugging Face Speech-to-Speech and enter the service URL.
  4. Start the Gateway with qwenaudio and open the TUI with qwenaudio tui.
  5. Speak a short question and confirm the reply comes from the local service.

Prompt for your agent

Use the repo QwenAudio/qwen-audio-agent to connect the Hugging Face speech-to-speech frontend running at <service URL>. Report the frontend name shown in the Gateway and whether a spoken question gets a reply. Verify the Gateway log shows the local service URL before reporting success.

Caveat. The README says the frontend is configurable for STT, LLM, and TTS only once the service is running, and the exact service setup is in the linked voice frontend guide, so the first run depends on that separate setup.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for QwenAudio/qwen-audio-agent and "Run a voice frontend stack with local speech models"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer