QwenAudio/qwen-audio-agent
A realtime voice gateway that keeps conversation moving during background Agent work
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
The Gateway separates the live voice session from backend Agent execution. The voice frontend answers directly when it can; work that needs tools or sustained processing can be delegated as independent asynchronous tasks. Status and completed results return to the active conversation, so users can ask follow-up questions without switching clients or waiting for the task to finish. WebUI, TUI, and desktop clients share the unified client protocol introduced in v2.0.0.
This is a JavaScript/Node.js runtime with Express and ws in its manifest, alongside SDKs for ACP, A2A, and MCP. The Realtime Provider interface is the extension point for voice services: a new provider can be added without changing the Gateway's core session or task logic. Backend execution is a separate integration surface, with native ACP implementations, bridges, and external adapters; model settings, tools, Skills, and credentials can be reused from the configured Agent.
Key Capabilities & Differentiators
The runtime supports full-duplex voice, interruption, and sustained multi-turn dialogue, with several independent background tasks tracked in parallel. Users can ask for progress, cancel work, and follow up on results as they arrive. Qwen Audio 3.1 Realtime Plus is the default frontend; alternatives include OpenAI GPT Realtime and GPT Live, Gemini Live, Qwen Omni Realtime variants, and a self-hosted Speech-to-Speech service. With a vision-capable frontend, WebUI can explicitly send bounded camera frames alongside audio.
The choice of frontend determines which modalities and tools are available: MiniCPM-o 4.5 accepts live video but does not support tool calling. On the backend, Qwen Code and OpenCode use native ACP, OpenClaw uses a built-in ACP bridge, and Codex and Claude Code use external ACP adapters. Frontend-only sessions need no backend configuration. The built-in OpenAI-compatible Chat Completions backend is experimental.
Trade-offs & Limitations
A direct realtime API integration is simpler when a single provider and a few session-local tools are enough. This runtime adds value when conversations must continue during long-running work and the team wants to reuse an existing Agent's tools and configuration. The extra layer also adds operational dependencies: provider credentials, model capabilities, backend configuration, and adapter installation need to be checked together. A supported integration is not necessarily feature-equivalent to another, so validate interruption, task cancellation, and any required tools on the exact pairing.
Hosting the Gateway yourself does not make a cloud voice frontend local. Cloud deployments avoid serving speech models but depend on network conditions and provider billing or quotas. Local voice hosting shifts inference capacity and maintenance to the operator, without guaranteeing lower end-to-end latency. Apache-2.0 covers the runtime; review third-party components, model licenses, and service terms separately, especially where audio, camera frames, project files, or cross-session memory are subject to retention or data-boundary requirements.
Hardware & Deployment Guide
The package manifest accepts Node.js ^22.22.2, ^24.15.0, or >=26.0.0, with npm 10 or later. Install with npm install -g qwen-audio-agent, create configuration with qwenaudio config, and set QWEN_AUDIO_REALTIME_API_KEY to a Bailian key for the default DashScope frontend. Run qwenaudio for the Gateway, then qwenaudio tui in another terminal or qwenaudio webui for the browser. Backend credentials remain in the Agent's configuration. The desktop app is available for macOS, Windows, and Linux and embeds the Gateway.
For self-hosted speech, start a compatible service separately and configure its URL. That changes the voice path only: an offline deployment also requires the chosen backend, models, and tools to run without cloud access. With hosted inference, size the Gateway for concurrent live sessions and task traffic; size any local inference service separately for its models and concurrency. v2.0.0 rebuilt orchestration around a unified client protocol and ACP/A2A integration; v2.1.0 refined backend reachability probing so a stale negative result would not reject the first receipt.
Teams adding hands-free voice to an existing Agent workflow, where users need to keep talking, check task progress, or redirect work before it finishes.
A single provider's live API and a few in-session tools already meet the need, or you require a turnkey offline stack without separately deploying and validating model services.
Quick Start & Installation
npm install -g qwen-audio-agent
Comparison vs. Top Voice, Vision & Video Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| qwen-audio-agent ★ | 3.3k | +39 | JavaScript | Apache-2.0 | A realtime voice gateway that keeps conversation moving during background Agent |
| voice-pro | 13.5k | +34 | Python | GPL-3.0 | Self-hosted Gradio studio for transcription, translation, and dubbing |
| voicebox | 61.8k | +399 | Python | MIT | Local-first voice studio with multi-engine speech synthesis, dictation and MCP. |
| WhisperLiveKit | 11.3k | +27 | Python | Apache-2.0 | Self-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.
curl -sL https://repoforai.com/repo/QwenAudio/qwen-audio-agent.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about qwen-audio-agent
Do I need a backend Agent to run a voice session, and how do the two connect?
How should I size CPU, RAM, and VRAM?
Can I use it commercially and keep data on premises?
When is this a better fit than integrating a realtime voice API directly?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
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