# Repository Briefing: QwenAudio/qwen-audio-agent
> Source: https://repoforai.com/repo/QwenAudio/qwen-audio-agent (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/QwenAudio/qwen-audio-agent
- **Official Docs / Website**: https://qwenaudio.github.io/qwen-audio-agent/
- **Category**: Voice, Vision & Video (语音 / 视觉 / 视频生成)
- **Primary Language**: JavaScript
- **License**: Apache-2.0
- **Engineering Health**: A+ (94/100 · Maintenance 35/35 · Adoption 19/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v2.1.0 (2026-11-16) — https://github.com/QwenAudio/qwen-audio-agent/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: CLI, Self-Hosted
- **Momentum**: 3,328 ★ total (+6 24h / +39 7d) · 362 forks
- **Topics**: `acp`, `agent`, `agentic-ai`, `ai-coding`, `claude-code`, `codex`, `developer-tools`, `opencode`, `speech-recognition`, `text-to-speech`, `voice-agent`, `voice-ai`
- **When to Use**: Best for: 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. Skip if: 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.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Task orchestration: Tracks multiple independent background tasks while the live voice session remains active; users can check progress or cancel, and results return to the conversation.
- Provider extension: The Realtime Provider interface supports adding a voice service without changing core Gateway session or task logic.
- Backend integration: ACP and A2A are supported; Qwen Code and OpenCode use native ACP, while Codex and Claude Code require external ACP adapters.
- Multimodal input: WebUI can explicitly stream bounded camera frames alongside live audio when the selected frontend supports vision.
- Deployment choices: DashScope is the default cloud voice path; self-hosted Speech-to-Speech connects by service URL and manages its own STT, LLM, and TTS.
- Client surfaces: Browser WebUI, terminal TUI, and a macOS, Windows, and Linux desktop orb with a built-in Gateway and local voice wake.
```

## Quick Start / Clone
```bash
npm install -g qwen-audio-agent
```
