需 Node.js 22.22.2+ 或 24.15.0+、npm 10+;默认走 DashScope 云端前端,需先在百炼申请 API Key;Gateway 与 TUI 需分两个终端分别启动。
qwen-audio-agent
QwenAudioApache-2.0活跃维护面向 AI Agent 的实时语音运行时,把语音识别和语音合成接进编码助手,让 Agent 能边说话边干活、保持在线。
A realtime voice runtime that keeps Agents talking, working, and present. Real-time Voice Runtime for AI Agents
npm install -g qwen-audio-agent
qwenaudio config
qwenaudio
qwenaudio tuiREADME 未说明显存或 GPU 要求;桌面端支持 macOS、Windows、Linux,本地语音前端需自行启动服务并配置 URL。
实时语音运行时,让 Agent 在后台干活时仍保持对话不中断
面向 AI Agent 的实时语音运行时,把语音识别和语音合成接进编码助手,让 Agent 能边说话边干活、保持在线。
核心能力
- 全双工实时语音交互,支持自然打断与多轮对话
- 前台对话与后台任务并行,可随时追问进度或取消
- 任务结果自动回到当前对话,支持继续追问和修改
- 语音前端可替换,云端与本地部署任选
- 复用已有 Agent 的模型配置、工具、MCP 与 Skills
容易踩的坑
- v2.0.1最新正式版2026-09-26 · 2026-09-26 13:50 UTC
What's Changed
- fix(release): isolate macOS certificate import from builder keychain bug by @x-lixu in https://github.com/QwenAudio/qwen-audio-agent/pull/518
- fix(release): register temporary keychain for macOS codesign by @x-lixu in https://github.com/QwenAudio/qwen-audio-agent/pull/519
- Fix code formatting by @x-lixu in https://github.com/QwenAudio/qwen-audio-agent/pull/525
- docs(customer-service): update enhanced demo video and remove embed comments by @x-lixu in https://github.com/QwenAudio/qwen-audio-agent/pull/515
- docs(digital-human): add trimmed demo video by @x-lixu in https://github.com/QwenAudio/qwen-audio-agent/pull/526
- release: v2.0.1 backend discovery and installation fixes by @x-lixu in https://github.com/QwenAudio/qwen-audio-agent/pull/528
Full Changelog: https://github.com/QwenAudio/qwen-audio-agent/compare/v2.0.0...v2.0.1
- v2.0.02026-09-23 · 2026-09-23 10:38 UTC
查看更新说明
Qwen Audio Agent 2.0.0
🏗️ 重构编排运行时,统一客户端协议与 ACP / A2A 后台接入;🎙️ 扩展语音与视频模型;🧠 完善前台工具、记忆与资料库;💬 新增桌面对话面板与手机远程连接;🧩 新增客服、座舱、数字人等示例;📄 发布技术报告。
🏗️ Rebuilt the orchestration runtime with a unified client protocol and ACP / A2A backend integration; 🎙️ expanded voice and video model support; 🧠 enhanced frontend tools, memory, and knowledge libraries; 💬 added a desktop conversation panel and remote mobile access; 🧩 added customer service, smart cockpit, digital human, and other examples; 📄 published the technical report.
安装 / Install
npm install -g [email protected]- macOS:下载下方已签名、公证的通用 DMG;ZIP 用于自动更新。
- Windows:下载下方安装程序。Linux 桌面版可从源码构建。
- 移动端开发构建见 Mobile Actions;Android APK 和 iOS 模拟器产物不是应用商店发行版。
- macOS: use the signed, notarized universal DMG below; ZIP supports automatic updates.
- Windows: use the installer below. Linux desktop builds are available from source.
- Mobile development builds are available in Mobile Actions; Android APK and iOS simulator artifacts are not app-store releases.
- v1.11.02026-08-20 · 2026-08-20 14:38 UTC
查看更新说明
What's Changed
- refactor: harden gateway and backend architecture by @x-lixu in https://github.com/QwenAudio/qwen-audio-agent/pull/156
- refactor: align spawn_thinking terminology and document voice architecture by @x-lixu in https://github.com/QwenAudio/qwen-audio-agent/pull/159
- [doc] Update README demo video by @robin1001 in https://github.com/QwenAudio/qwen-audio-agent/pull/160
- fix(desktop): clarify backend agent labels by @x-lixu in https://github.com/QwenAudio/qwen-audio-agent/pull/161
- feat: add multimodal input parts across TUI, WebUI, and Gateway by @x-lixu in https://github.com/QwenAudio/qwen-audio-agent/pull/163
- feat(skills): 技能管理透传 skills.sh + 启动补装;权限与消息排序修复 by @x-lixu in https://github.com/QwenAudio/qwen-audio-agent/pull/166
- feat: 通用插件化契约与嵌入层(协议 2.0.0) by @x-lixu in https://github.com/QwenAudio/qwen-audio-agent/pull/167
- feat: 桌面版与 CLI 资产共享 + 运行态隔离(消除记忆/配置/工作区分叉) by @x-lixu in https://github.com/QwenAudio/qwen-audio-agent/pull/169
- feat: unify desktop runtime states and pet animations by @x-lixu in https://github.com/QwenAudio/qwen-audio-agent/pull/171
- Add Qwen Audio Agent Car example by @robin1001 in https://github.com/QwenAudio/qwen-audio-agent/pull/170
- feat: support injectable realtime providers by @x-lixu in https://github.com/QwenAudio/qwen-audio-agent/pull/172
- release: v1.11.0 by @x-lixu in https://github.com/QwenAudio/qwen-audio-agent/pull/173
Full Changelog: https://github.com/QwenAudio/qwen-audio-agent/compare/v1.10.1...v1.11.0
- v1.10.12026-08-15 · 2026-08-15 09:19 UTC
查看更新说明
What's Changed
- refactor: unify backend onboarding by @x-lixu in https://github.com/QwenAudio/qwen-audio-agent/pull/151
- release: v1.10.1 by @x-lixu in https://github.com/QwenAudio/qwen-audio-agent/pull/155
Full Changelog: https://github.com/QwenAudio/qwen-audio-agent/compare/v1.10.0...v1.10.1
- v1.10.02026-08-13 · 2026-08-13 14:49 UTC
查看更新说明
What's Changed
- release: v1.10.0 with DeepSeek backend by @x-lixu in https://github.com/QwenAudio/qwen-audio-agent/pull/149
Full Changelog: https://github.com/QwenAudio/qwen-audio-agent/compare/v1.9.1...v1.10.0
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
Qwen Audio Agent
中文 | English | User Guide | Quickstart | Paper
Agent Presence
Real conversation should not leave you waiting after a single sentence, nor should it grind to a halt just because the Agent is looking something up, calling a tool, or working on a task.
Conversation should keep flowing, and the Agent should always be present.
That is why we built qwen-audio-agent—a realtime voice runtime that keeps Agents talking, working, and present. Whether chatting with you, thinking through a problem, or working on a task, your Agent remains in the conversation. It listens, responds, and when the task is complete, naturally tells you:
"It's ready."
News
- 2026-09-23 · v2.0.0 🏗️ Rebuilt the orchestration runtime with a unified client protocol and ACP / A2A backend integration; 🎙️ expanded voice and video model support; 🧠 enhanced frontend tools, memory, and knowledge libraries; 💬 added a desktop conversation panel and remote mobile access; 🧩 added customer service, smart cockpit, digital human, and other examples; 📄 published the technical report.
- 2026-08-20 · v1.11.0 🧩 Adds embeddable Gateway and Realtime Provider extensions; 🛠️ supports installing and managing Agent Skills; 📎 adds multimodal input to the TUI; 🎨 links pet animations to runtime states.
- 2026-08-13 · v1.9.0 🧩 Desktop task cards show live Agent progress; 🔎 backend Agent selection is clearer and searchable; 🎙️ supports Qwen3.5-Omni Realtime frontend integration.
- 2026-08-07 · v1.7.0 🎨 The orb opens up custom skins — import your own look, compatible with pet packs from the Awesome Codex Pet community gallery; 🪟 improved Windows backend Agent startup.
- 2026-08-05 · v1.5.0 ⏰ Adds scheduled reminders and progress reporting; 🗣️ adds the voice wake word ("你好千问"); 🐧 desktop build support for Linux; the desktop app now uses a data directory isolated from the CLI.
- 2026-08-03 · v1.3.0 🎙️ Adds 🤗 speech-to-speech frontend integration, supporting fully local VAD, STT, LLM, and TTS.
- 2026-07-30 · v1.0.0 🚀 First stable release, introducing a macOS desktop app with a built-in Gateway.
- 2026-07-28 · v0.9.0 🌍 Project officially open-sourced; backend Agents unified under the ACP architecture.
Conversation Continues, Tasks Too
Conversation doesn't stop for background tasks; when a task completes, the result naturally returns to the current conversation:
Core Features
- Full-duplex realtime voice interaction, natural interruption, and sustained multi-turn conversation
- Replaceable realtime voice frontends, with cloud services and local deployment options
- One-click integration with your preferred Agent, reusing its model configuration, tools, MCP, Skills, and authentication
- Frontend conversation and background tasks run in parallel; ask about progress or cancel at any time
- Create multiple independent tasks executed asynchronously by the backend Agent, with continuous status tracking
- Task results automatically return to the current conversation, supporting follow-up questions and modifications
- WebUI, terminal TUI, and desktop floating orb (macOS / Windows / Linux)
- Long-term per-user personalization and cross-session memory
Architecture
Questions that can be answered directly are answered immediately; when tools or sustained processing are needed, the task is delegated to the backend Agent. Throughout, the user always faces the same assistant.
For the full design and module breakdown, see the architecture document.
Frontend and Backend Support
The voice frontend handles realtime conversation; the backend Agent executes tasks. They integrate independently and can be combined as needed.
Voice Frontends
| Voice frontend | Deployment | Setup | Features |
|---|---|---|---|
| Qwen Audio 3.0/3.1 Realtime | Cloud | Bailian API Key | Duplex voice, tool calling |
| GPT-Live / OpenAI Realtime | Cloud | OpenAI API Key | — |
| Google Gemini Live | Cloud | Google API Key | Live video input |
| Qwen3.5-Omni Realtime | Cloud | Bailian API Key | Live video input |
| Qwen3.8 Omni Flash Realtime | Cloud | Bailian API Key + workspace-specific endpoint | Live video input |
| Doubao Seeduplex 3.0 Realtime | Cloud | Volcengine Speech API Key | — |
| StepAudio 3 Realtime | Cloud | StepFun API Key | — |
| Hugging Face Speech-to-Speech | Local | Start the service and set its URL | Configurable STT / LLM / TTS |
| MiniCPM-o 4.5 | Local or cloud | Compatible service URL | Live video input, no tool calling |
Frontend connections share the same provider, model, API Key, service URL, and voice settings. Supported models and protocol parameters are maintained by the framework; see frontend configuration.
To connect another voice service, implement the Realtime Provider interface without changing the Gateway's core voice-session or backend-task logic.
Backend Agents
| Backend Agent | Integration | Setup | Rating |
|---|---|---|---|
| None | N/A | Frontend-only mode, no backend config needed | ★★★★★ |
| Bare LLM | Built-in Chat Completions | OpenAI-compatible API key, URL, and model | Experimental |
| Qwen Code | Native ACP | One-click install, user config required | ★★★★★ |
| OpenCode | Native ACP | One-click install + Bailian config | ★★★★★ |
| OpenClaw | Built-in ACP bridge | One-click install + Bailian config | ★★★★★ |
| Qoder | Native ACP | One-click install, user config required | ★★★★★ |
| MiniMax Code | Native ACP | One-click install, user config required | ★★★★☆ |
| Kimi Code | Native ACP | One-click install, user config required | ★★★★★ |
| Hermes | Native ACP | One-click install, user config required | ★★★★☆ |
| CodeBuddy | Native ACP | One-click install, user config required | ★★★★☆ |
| Codex | External ACP adapter | One-click install (base + adapter), user config required | ★★★★☆ |
| Claude Code | External ACP adapter | One-click install (base + adapter), user config required | ★★★★☆ |
| DeepSeek Harness | Native ACP | One-click install, DeepSeek API key required | ★★★★☆ |
| Pi | External ACP adapter | One-click install (base + adapter), user config required | ★★★★☆ |
| Muse Code | Native MSP adapter | Install Muse and its optional SDK on demand; user config required | ★★★☆☆ |
Ratings reflect current integration completeness, compatibility, and verification level: five stars indicate a thoroughly tested recommended integration; four stars indicate active development or not yet fully verified. For detailed configuration and capability boundaries, see the backend Agent documentation and configuration guide.
Installation
Requires Node.js 22.22.2+ or 24.15.0+, npm 10+. One-click install (recommended):
npm install -g qwen-audio-agent
For building from source, installing from GitHub, and obtaining a DashScope API Key, see the installation guide.
Quick Start
- Create your config and fill in the API Key:
qwenaudio config
QWEN_AUDIO_REALTIME_API_KEY=your-key
# Voice frontend model: optional, defaults to Qwen Audio 3.1 Realtime Plus
QWEN_AUDIO_REALTIME_MODEL=qwen-audio-3.1-realtime-plus
# Backend Agent: optional, leave empty or set to none for frontend-only mode
AGENT_PROTOCOL=openclaw
# Backend model: optional; explicit values use standard ACP, empty reuses Agent config
QWEN_AUDIO_AGENT_BACKEND_MODEL=qwen3.7-max
Before starting, create a key from the Bailian API Key page. Eligible new users can review the new-user free quota and check remaining usage on the model usage page. Quota and billing rules are subject to the current official Bailian documentation.
The example above uses the default DashScope voice frontend. See Voice Frontends for other cloud and self-hosted options.
Backend credentials remain in the Agent's own configuration. For managed Bailian setup, see backend configuration.
With a visual-capable Realtime frontend, WebUI can explicitly stream bounded camera frames alongside live audio. See Realtime frontend configuration.
- Start the Gateway, then open another terminal to start the TUI (or use
qwenaudio webuifor the browser UI):
qwenaudio # Terminal 1: Gateway
qwenaudio tui # Terminal 2: TUI
For full configuration options, local voice frontend setup, and TUI platform notes, see quick start, voice frontends, and TUI notes.
Desktop App
The desktop app provides a persistent floating voice orb with a built-in Gateway, automatic idle sleep, local voice wake, and customizable appearance. Download the installer for your platform from the releases page, or build from source:
npm run desktop:build:local # macOS
npm run desktop:build:win # Windows
npm run desktop:build:linux # Linux (AppImage + deb, no signing)
For visuals, orb behavior, and build instructions, see the desktop documentation.
Examples and Scenario Expansion
The current qwen-audio-agent framework focuses on desktop productivity: users can keep talking with the Agent in realtime while delegating tool use, file work, code changes, and long-running tasks to the backend Agent.
This "foreground conversation + background task" design is not limited to desktop use. It can also expand to more scenarios where the Agent can both chat naturally and get real work done.
| Scenario | Description | Link | Status |
|---|---|---|---|
| Desktop | Voice chat, progress follow-up, tools, and background tasks. | Docs | Available |
| Smart cockpit | Vehicle control, navigation, music, weather, and services. | Example | Available |
| X-Omni | Visual conversation, on-demand capture, optional observation and narration. | Example | Available |
| AI Passport | Qwen Voice Bean on a hardware card, with voice conversation and backend tasks. Currently half-duplex only. | Example | Available |
| Customer Service | Voice customer service for retail and airline scenarios. | Example | Available |
| Embodied intelligence | Voice commands, action execution, inspection, and exception feedback. | TBD | Planned |
| Livestream assistant | Audience interaction, product explanation, coupons, and risk reminders. | TBD | Planned |
Community
You can start discussions directly in GitHub Issues.
For users in China, scan the QR codes below to join the WeChat group. If the group QR code is full or expired, scan either maintainer's personal QR code to be invited.
| WeChat Group | Personal | Personal |
|---|---|---|
Contributing and Security
- Development and contribution guide: CONTRIBUTING.md
- Security reports: SECURITY.md
- Data flow and privacy: PRIVACY.md
- Third-party notices: THIRD_PARTY_NOTICES.md