About
Hands-free voice interaction with any LLM, featuring voice interruption and a locally running 3D avatar across platforms.
AI & Machine LearningMeasured star growth
- in 24h
- Collecting history
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.en.md
Original![]()
VA · 3D Desktop Avatar
简体中文 · English
VA is an open-source desktop app for macOS and Windows that gives your AI agent a floating 3D avatar. Connect an existing Codex, Claude Code, or DeepSeek Harness session to talk to it through your microphone. The avatar displays and reads replies aloud, and it can wave or dance while speaking.
Bring your own 3D model, clone a voice locally, and customize actions and expressions. Agents can control the avatar and take pictures through the CLI or MCP. AstrBot and OpenClaw can display replies from a bound channel on your desktop and send avatar selfies back to the chat.
Quick Start · Default Avatar · Gallery · Installation · CLI and MCP · Desktop Controls · Agent Modes · OpenClaw and AstrBot · Screen and Music · Voice and Lip Sync · Agent Guide (Chinese) · Architecture (Chinese) · License
Quick Start
Open the local Codex, Claude Code, or DeepSeek Harness session you want to connect, then paste the prompt below in full. Keep the first line exactly as written so DeepSeek Harness can identify the session.
Video walkthroughs in Chinese show how to bind a new DeepSeek Harness session and interact with the avatar. Binding a new session · Dancing and gestures
Copy the quick-start prompt
VA 快速使用
Start VA on this computer, bind it to the session in which you are replying, and enable microphone input and reply narration. Run the commands and verify the results.
1. If VA is missing, download the appropriate installer from https://github.com/yincongcyincong/VA/releases/latest and verify it against SHA256SUMS.txt. On an Apple silicon Mac, drag VA.app from the DMG into Applications and open it. On Windows x64, extract the entire ZIP and run VA.exe. Confirm that VA is ready.
2. Use the bundled VA CLI at /Applications/VA.app/Contents/Resources/va on macOS or VA-win32-x64\resources\va.cmd after extracting the Windows ZIP. Use its quoted full path instead of va below, with & in PowerShell. Run va start --json and va doctor --json. If an older package lacks the launcher, clone https://github.com/yincongcyincong/VA.git into a separate directory, run npm ci with Node.js 24 or newer, and use node <VA repo>/bin/va.js. If the older desktop does not support doctor, use va status --json.
3. Bind the session using the current client, then run va chat-status --json to verify provider and sessionId.
- Codex: run va chat-bind-current --json.
- Claude Code: read CLAUDE_CODE_SESSION_ID from Bash or PowerShell in the current session. If it is empty or you cannot verify that it belongs to this chat, ask me for the local Claude Code session UUID. Once the ID and working directory are known, run va config set agent '{"mode":"local","localAgent":{"provider":"claude","cwd":"<absolute working directory of this Claude session>"}}' --json with the actual directory. Then run va chat-bind <session UUID> --json.
- DeepSeek Harness: run va chat-bind-current --provider deepseekharness --json. If VA cannot uniquely identify the session, ask for the current session ID and rerun with --id <session ID>.
If VA returns VA_UPDATE_REQUIRED, build the main branch with bash scripts/package.sh app on macOS or npm run build:win on Windows. Close the old app, launch the new build, and retry.
4. Enable reply narration with va config set agent '{"localAgent":{"speakReplies":true}}' --json, using the configured voice. On macOS, if a DeepSeek Harness desktop session needs the VA bridge, run va config run deepseek-install-role --json. If it returns restart: true, ask me to reopen DeepSeek Harness and continue in this session.
5. Enable microphone input. macOS requires macOS 26 and microphone permission for VA. On Windows, run va config run voice-recognition-status --json to check that speech recognition is ready. Report any permissions or offline speech components I need to enable or install. When ready, run va config run agent-voice-start --json and then va config run agent-voice-status --json to confirm that VA is listening for the current session.
6. Reply in this chat with "VA is connected. Microphone input and reply narration are on." Send the confirmation as text only.
Default Avatar
The first time you launch VA, it shows the VA Cover Avatar, with silver-blue twin buns, a silver leaf hair clip, and a pearl-white stand-collar coat. These front and back views show the current bundled VRM rendered in VA.
The bundled model supports skeletal animation, lip sync, and facial expressions. The full head was rebuilt locally with Hunyuan3D-2mv. The face, jawline, hair, and hand color corrections are embedded in the VRM used by both macOS and Windows. The source path is assets/models/VA Cover.vrm, with the same relative path inside the packaged app.asar. Run va model --json to inspect the current model or va model default to return to the cover avatar. Download the default avatar · Hunyuan modeling notes (Chinese) · Model credits
3D Avatar Gallery
| DeepSeek | Claude | GPT | Gemini | GLM |
|---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
| Grok | Qwen | Kimi | MiniMax | Doubao |
|---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
VA rendered all ten previews. Both platforms use the same VRMs, which include fixes to leg bind poses and skinning around shoes and clothing. ApprenTice built the models based on ZipZipPipe's character designs. The preview images are licensed under CC BY-NC-SA 4.0. Original model pack · Model credits and license
Other DeepSeek appearances include the Hunyuan V3 swimwear and pearl-white lace models. Windows builds from the main branch include both in the Model Library. On macOS, download the VRM and use Preview Local File. Previews and downloads
Installation
This guide follows the main branch. For features in a specific download, see its release notes. All releases
- macOS. On Apple silicon with macOS 13 or newer, open the DMG and drag
VA.appinto Applications. Doubao live captions require macOS 26 and on-device Chinese speech recognition. - Windows. Extract the entire Windows x64 portable ZIP and run
VA-win32-x64/VA.exe. Keep the bundled files alongside the executable.
Download VA from GitHub Releases
To run or build from source, install Node.js 22.12 or newer and run npm ci in the repository. Building the Swift helpers and DMG requires a Mac with the target architecture, Xcode Command Line Tools, and the macOS 26 SDK.
| Task | Command | Output |
|---|---|---|
| Run from source on macOS | make dev |
Builds the Swift helpers and launches VA |
| Package the macOS app | bash scripts/package.sh app |
dist/VA-darwin-<arch>/VA.app |
| Build a macOS installer | bash scripts/package.sh dmg |
A DMG and SHA256SUMS.txt under dist/ |
| Package both bot plugins | bash scripts/package.sh integrations |
An AstrBot ZIP and OpenClaw TGZ under dist/integrations/ |
| Build for Windows | npm run build:win |
VA.exe and its runtime files under dist/VA-win32-<arch>/ |
Run npm run build:win -- --arch=x64 or npm run build:win -- --arch=arm64 to select a Windows build target. Windows narration uses installed SAPI voices. Windows feature notes and testing (Chinese)
On macOS, bash scripts/package.sh builds a DMG by default and installs project dependencies if needed. Set ELECTRON_ZIP_DIR to a directory containing a cached Electron ZIP if you have one. The Swift helpers provide the Doubao desktop bridge, captioning, and system audio detection.
Use node bin/va.js start or make run to launch an existing local build. Select Quit VA (退出 VA) in Settings or run make stop to exit. On macOS, link the CLI into a directory on your PATH if you want the examples below to work from any directory.
mkdir -p ~/.local/bin
ln -s "$PWD/bin/va.js" ~/.local/bin/va
Tests and Logs
Run npm test or make test. The tests use temporary settings, mock screenshots, and mock agents. With Node.js 26, use npm run test:coverage to include JavaScript files that the tests never load.
Run npm run test:desktop in a macOS 26 desktop session to test upgrades and session binding with temporary settings and mocked microphone input. Set VA_TEST_ASAR to a packaged app.asar to test the packaged code and model catalog.
Runtime logs go to logs/va.log under the launch directory. va start uses the working directory of the command. If the OS starts the packaged app with the filesystem root as its working directory, VA uses the directory containing the app. Use tail -f logs/va.log to watch the log. It stores one JSON event per line and rotates at about 2 MiB to logs/va.log.1. Events record status and error codes instead of chat text, screenshots, audio recordings, or API keys.
CLI and MCP
Run va config list --json for available configuration groups, operations, schemas, and examples. While VA is running, use get to inspect settings, set to merge changes, and run for operations such as importing models or binding sessions. Reading voice or integration configuration shows whether secrets are set.
Use Settings → Agent Integration → Connection diagnostics, va doctor --json, or the MCP tool va_doctor to inspect the selected integration, session, microphone and speech setup, and recent interaction stages. The check runs without recording audio or sending a message.
| Group | Settings |
|---|---|
desktop |
Theme, speaking style, scale, view, position, click-through, screen observation, and music-follow |
character |
Display name, character prompt, and default dialogue |
actions |
Actions and expressions by ID. Use null to clear a specific override |
voice |
System voices, ZipVoice, GPT-SoVITS, CosyVoice2, Volcengine TTS, and action narration |
model-voice |
Inspect, set, or clear a model-specific voice |
agent |
Integration mode, local agent command, bot routes, and Doubao caption settings |
model |
Load a file or catalog ID. Set the path to null to restore the default |
va status --json
va config get desktop --json
va config set desktop '{"view":"portrait","scale":55,"screenInterval":30}' --json
va config set desktop '{"windowPosition":{"x":100,"y":200}}' --json
va config set desktop '{"windowPosition":null}' --json
va config set agent '{"mode":"local","localAgent":{"provider":"claude"}}' --json
va config run system-voices --json
va config run model-library --json
va config run model-preview '{"id":"va-cover"}' --json
va config set model '{"id":"va-cover"}' --json
va config run permissions-status --json
va config run permissions-open '{"kind":"microphone"}' --json
Pass JSON containing secrets through --stdin or --file. For MCP, use va_config_list, va_config_get, va_config_set, and va_config_run with the same groups. On macOS, window positions use global desktop coordinates and allow negative values for secondary displays. permissions-open accepts screen, microphone, camera, or accessibility and opens the corresponding system settings. For OpenClaw and AstrBot, set channel routing in VA via agent.channels and manage bot credentials in the bot service.
Control the Avatar
va actions --supported --json
va wave
va act dance-side
va actions --category speech --supported
va say 'Hello from the desktop!'
va express smile
va perform --action wave --expression smile
va view portrait
va photo --out /tmp/va-photo.png --clipboard --json
va selfie --action pose-heart --expression smile --out /tmp/va-selfie.png --json
va stop
va act accepts the action ID or the configured display label. The app displays available actions under Settings → Actions (设置 → 动作). Reload edits to performance.json with va actions --reload --supported. Use va actions --supported to see what the current model can play.
| Category | Built-in actions |
|---|---|
| Dance | dance-side, dance-spin, dance-bounce, dance-sway, dance-arm-wave, dance-twist, dance-step-touch, dance-knee-lift, dance-front-back |
| Speech | talk-natural, talk-lively, talk-thoughtful |
| Greeting | wave, nod, bow |
| Emotion | happy, angry, sad |
| Interaction | laugh, pet, kiss |
| Pose | pose, pose-heart, pose-hero |
| Idle | idle, idle-look, idle-stretch |
Ask the bound agent to dance, choose a dance in the menu, or call an action by ID. Requests with no specific dance rotate through supported routines. va act dance plays the classic routine. Side step and arm swing, alternating knee lifts, and forward and back taps use the model's thigh, knee, and ankle bones to keep the supporting foot planted. Switch to va view full to see the footwork.
va act, va express, va say, and va perform return a job ID by default. Use --wait on the CLI or wait: true with MCP to wait for completion. Actions and narration can run together. A second task of the same kind can return BUSY. va stop interrupts the current performance. Stopping narration in the UI leaves the motion playing.
va photo captures a transparent PNG from the current view. va selfie poses the avatar and captures a 780 × 1040 transparent PNG, with optional action and expression IDs. You can take a selfie while the avatar is hidden, and the CLI can launch VA for a selfie if needed. Use a fresh path for each capture. The command returns the absolute filename, and --clipboard also copies the image to the clipboard.
Connect an Agent or Bot over CLI or MCP
- Agents that support Agent Skills can load va-desktop and use the CLI or MCP.
- Configure the MCP server
va-desktopas a local stdio process with commandvaand arguments["mcp"]. If the client has its own PATH, point it to the absolute path ofva, or use the absolute Node.js path with the absolutebin/va.jspath followed bymcp. - MCP tools include
va_start,va_status,va_actions,va_perform,va_stop,va_say,va_photo, andva_selfie. The photo and selfie tools return PNGs directly. - Bots running under the same macOS user can call
va ... --jsonas a subprocess. The CLI emits anokflag and an error code and message on failure, with a nonzero exit status. To send a photo, upload the returnedpathas an attachment from your bot. Remote bots can use a bridge on the machine running VA.
Desktop control uses a per-user Unix socket on macOS and a named pipe on Windows. A sandboxed client needs access to local IPC.
Desktop Controls and Models
Move the pointer near the avatar to reveal its name and controls. Drag the name or the bottom handle to move it. VA restores the last position after restart. Drag the model to rotate the view. Click the avatar to pet it when click-through is off. Open Settings from the gear, the VA menu, or va settings. On macOS, Control + Option + V also opens it. The size slider supports 40–110%, with a default of 68%. To change it from the CLI, run va scale 55.
Choose 中文 or English from the Interface language dropdown in the Settings header. The interface, control bar, and menu update immediately, and VA remembers your choice across restarts. The next prompt uses that language for the default avatar description, action instructions, and expected reply. Custom persona text stays as written. Speech recognition has its own language settings. Use va config set desktop '{"language":"en"}' --json or the MCP tool va_config_set with the desktop section. Set the value to zh-CN for Chinese. Run va prompt or call va_prompt to inspect the current prompt. In an active Doubao call, use Sync call prompt to send the updated language instructions.
Choose a theme under Desktop Avatar → Theme (桌面角色 → 界面主题). The theme applies to Settings and the desktop dialogue bubble. The Avatar View (角色视角) setting switches between full-body and half-body views and persists across restarts.

Import PMX, VRM, GLB, glTF, FBX, or OBJ in Settings or with va model "/path/to/character.vrm". Keep external textures, .bin, and .mtl files next to the model with their relative paths intact. Run va model-check "/path/to/character.glb" --json to inspect visible geometry, bones, morph targets, and animation clips. VA checks rendering before switching models and reports missing textures.
Use Settings → Model Library (设置 → 模型库) to search, preview, and apply avatars. The source tree and Windows portable build include ten animated AI Girls VRMs. On macOS, download the repository and use Import Extracted Folder (导入解压目录…) to select assets/models/ai-girls. For other files, select Preview Local File (预览本机文件…), then Set as Desktop Avatar (设为桌面角色). Model credits · Original AI Girls pack

PMX and VRM support built-in actions when the necessary rig or expressions are present. GLB, glTF, and FBX can use embedded animation clips. OBJ is for static display. The preview lists compatible actions and expressions. You can also open Aplaybox or VRoid Hub from the library and download a model in your browser.
The original AI Girls pack includes seven static GLBs and Blender 5.2 source files for DeepSeek, Claude, and GPT. To export the GLBs or rebuild the animated VRMs, use Blender 5.2 or newer. The VRM export requires the Blender VRM add-on. Blender VRM add-on
blender --background --factory-startup --disable-autoexec --python-exit-code 1 --python scripts/export-ai-girls.py -- "/path/to/extracted-pack"
blender --background --disable-autoexec --python-exit-code 1 --python scripts/export-ai-girls-vrm.py -- \
"/path/to/extracted-pack" "/path/to/vrm-output"
Custom Actions and Expressions
While idle, the avatar occasionally plays a short gesture alongside its usual breathing and blinking. VA chooses a supported action from the Idle category after roughly 18–32 seconds, avoiding consecutive repeats where possible. Idle gestures stay silent and yield to requested actions and speech.
Open performance.json under Settings → Actions and reload it after editing. VA keeps the last valid configuration when an edit fails. Use VA_PERFORMANCE_CONFIG to select a different file. IDs start with a lowercase letter and may contain lowercase letters, numbers, and hyphens. You can reuse a built-in motion, bind a model clip, or give a bones map with X, Y, and Z angles. Use the bone, clip, and morph names reported by model inspection.
When editing the source, each avatar has its own JSON file under config/model-actions/ for dances, poses, and gestures, including Windows-specific tuning. Shared defaults live in config/action-presets.json. Windows dances use alternating steps and blend back to idle when they finish or are stopped. Individual avatars can set their own stride and knee bend. Avatar configuration index · Motion presets (Chinese) · Windows behavior (Chinese)
{
"actions": {
"hello-wink": {
"label": "Wink and wave",
"category": "greeting",
"seconds": 2.5,
"motion": "wave",
"expression": "wink",
"dialogue": ["Hey, I see you!"]
}
},
"expressions": {
"wink": {
"label": "Wink",
"pmx": { "ウィンク": 0.8 },
"vrm": { "blinkLeft": 0.8 }
}
}
}
Use pmx, vrm, or morphs for expression targets and weights from 0 to 1. Omit category to place an action under Custom. Run va act hello-wink to play the example on a compatible model. For MCP, reload with va_reload_actions and read va_actions before selecting an ID. Custom actions and the agent response protocol (Chinese)

| Sample | Source |
|---|---|
| Fox, an animated GLB | Khronos glTF Sample Assets |
| BoxTextured, a glTF with separate texture and BIN files | Khronos glTF Sample Assets |
| Seed-san, a VRM 1.0 model | VRM Consortium |
| Blocky Characters in FBX, OBJ, and GLB | Kenney on OpenGameArt |
Change the display name under Settings → Desktop Avatar, and use {{name}} in prompts or default lines to reuse it. On macOS, the name and dialogue are stored in ~/Library/Application Support/VA Desktop/character.json. Set VA_CHARACTER_CONFIG to use another path. Use va character --json or MCP's va_character to inspect it. Default dialogue
Agent Modes
Open Settings → Agent Integration (设置 → 智能体接入) or run va chat. VA runs one integration at a time. Choosing Off pauses automatic interaction, screen observation, and music-follow.
- Local Agent supports Codex, Claude Code, DeepSeek Harness, OMP, Antigravity, and custom agents. The working directory defaults to VA's launch directory.
- Doubao Client connects to the signed-in desktop app for messages, on-device call captions, and lip sync. Doubao setup
- AstrBot and OpenClaw display replies from a bound channel next to the avatar. Plugin setup
Bind and Open a Local Session
In Codex, load the va-desktop skill and ask to bind VA, or run va chat-bind-current --json. VA discovers the current session ID and working directory and launches the app if necessary. For MCP, use va_config_run with the chat-bind-current operation and provide the current session ID as parameters.id when needed. The binding confirmation stays in the chat. Subsequent replies follow the display and narration settings.
A new binding replaces the previous one by default. To listen to multiple sessions, turn on Allow Multiple Session Bindings (允许多会话绑定) under Local Agent. The current send target receives messages and microphone input. All actively bound sessions can display replies. Turning the option off keeps the current target active and leaves the other sessions in history.
va config set agent '{"localAgent":{"allowMultipleSessions":true}}' --json
va config set agent '{"localAgent":{"allowMultipleSessions":false}}' --json
Create Session (创建会话) opens the selected agent with the saved working directory. Codex tries the ChatGPT desktop app first and falls back to a terminal. Claude Code opens in a terminal with a pre-generated session ID and binds automatically. For a new Codex or OMP session, you can send the first message and then bind by full ID. Codex CLI shows session information under /status. Claude Code uses the same ID for claude --resume. Codex session information · Claude Code commands (Chinese)
With DeepSeek Harness Desktop installed, Create Session opens the desktop app so you can choose a workspace and create a session. To connect it, choose Local Agent → DeepSeek Harness, bind the session, and click Sync Avatar Capabilities (同步角色能力). Restart DeepSeek Harness after the first sync. Subsequent chats receive the avatar's current name, prompt, and available actions. VA displays new replies and can narrate them and play actions. DeepSeek Harness Desktop · Prompt extension mechanism
Binding history is filtered by agent. Open and Bind (打开并绑定) restores the saved directory and opens the session. For DeepSeek Harness, VA waits for the app to acknowledge the session before restoring the binding. OMP resumes in a terminal. Unbind (解除绑定) stops listening and keeps the record. Clearing a record removes it only from VA. Active bindings resume when VA restarts. If the original Codex session has a write lock, keep chatting in the original window. Codex desktop session links

va integration local
va chat-use codex
va chat-bind "$SESSION_ID" --json
va config run chat-sessions --json
va config run chat-open-session '{"ref":"replace-with-saved-ref","bind":true}'
va config run chat-restore-session '{"ref":"replace-with-saved-ref"}'
va config run chat-unbind-session '{"ref":"replace-with-saved-ref"}'
va config run chat-clear-sessions '{"provider":"omp"}'
va config run chat-create-session
va chat "Where did we leave off?" --speak
Replace $SESSION_ID with the session ID or set it in your shell. Use the ref returned by chat-sessions in the history commands.
Connect Google Antigravity
- Install the Antigravity CLI and run
agyin a terminal to sign in. VA looks for the official install location. Setagent.localAgent.antigravity.commandto the absolute path for a custom installation. Google installation guide - Select Settings → Agent Integration → Local Agent → Antigravity and save the working directory. New session opens
agy. After the first message, close the session, runagy conversations list --limit 0, and link its full ID in VA. To continue a conversation from the Antigravity App, use/resumeand the Other tab to import it, then link the resulting CLI copy. Manage conversations · Import from the App - VA checks that
agy acpcan resume the conversation before changing the linked session. Open in Terminal opens a conversation separately. Close that session before using Link again or Set as active session. These operations are available throughchat-open-sessionandchat-restore-session. Antigravity ACP - Send a message via
va chator use VA's microphone. VA includes the avatar prompt with each turn and uses the reply for captions, actions, and optional narration. This adapter handles text turns initiated by VA. CLI input and output
va integration local
va chat-use antigravity
va chat-bind "<full conversation ID>"
va chat "Hi, wave at me" --speak
va doctor --json
To start and bind a new conversation directly from VA, select Antigravity and run va config run chat-create-session '{"message":"Hello"}' --json.
In an MCP client, set the agent section with va_config_set and the patch {"mode":"local","localAgent":{"provider":"antigravity"}}, then run chat-bind via va_config_run with the full id. To trigger avatar actions from the original App conversation, register VA's MCP server in the App and call va_perform. Google MCP configuration
Avatar Prompt
Edit the role, speaking style, and action instructions in Settings → Desktop Avatar → Avatar Prompt (设置 → 桌面角色 → 角色 Prompt). {{actionCommands}} expands into the commands supported by the current model and action configuration. The prompt is stored in ~/Library/Application Support/VA Desktop/settings.json on macOS. Upgrading VA merges legacy persona and integration instructions into this field.
Use va config set character '{"prompt":"Your prompt"}' or MCP's va_config_set to edit it. Run va prompt for the local-agent version or va prompt --voice for the Doubao and bot-channel version. In a bound Doubao chat, Sync Avatar Capabilities sends an updated prompt. OpenClaw uses the plugin's workspacePrompt setting. How prompts trigger actions (Chinese)
On macOS, integration settings are stored in ~/Library/Application Support/VA Desktop/agent.json. Run va integration with off, local, doubao-client, astrbot, or openclaw to select a mode. For a custom agent, set localAgent.custom.command to the absolute executable path and pass arguments in args. VA sends one JSON line containing message, prompt, and sessionId on stdin. The adapter writes JSON with reply and sessionId to stdout. Screen observation requests use a null sessionId and include image.mime and Base64-encoded image.data.
Talk to a Local Agent
Link a session and use Talk to your agent → Start listening. On Mac, use Settings → Voice → Agent microphone to select Simplified Chinese or English (US). This requires macOS 26, microphone permission, and Apple’s on-device speech resources for that language. Start listening again after changing languages. CLI and MCP can set voice.agentMicLanguage to zh-CN or en-US. If a DeepSeek Harness desktop standard session needs its bridge updated, sync avatar capabilities and restart DeepSeek Harness before enabling listening. Apple Speech
On Windows, choose the system recognizer or SenseVoice and a language in Settings → Voice → Speech Recognition. This language applies to the agent microphone and Doubao captions. Restart listening after changing it. For system recognition, install the corresponding Windows speech component and allow desktop app access to the microphone. For SenseVoice, check readiness with va config run voice-recognition-status --json. Settings shows the active recognition language. Windows recognition and SenseVoice setup (Chinese)
VA sends each finalized transcript to the current session. With reply narration enabled and echo cancellation available, speak during a reply to stop its narration while the avatar continues its current action. If echo cancellation is unavailable, listening resumes after narration ends.
On macOS, when voice interruption is available, VA requests a final transcript after detecting roughly 720 ms of continuous silence. The agent-voice-status command reports whether interruption is available (canInterrupt) and whether one is in progress (interrupting). Listening is off by default. Stop it from Settings, the VA menu, or the CLI. Quitting VA or changing the selected agent or binding stops the listener.
va config run agent-voice-start --json
va config run agent-voice-status --json
va config run agent-voice-stop --json
Doubao Desktop Client

Open a chat in the signed-in Doubao app. In Settings → Agent Integration → Doubao Client (设置 → 智能体接入 → 豆包客户端), choose Bind Current Chat (绑定当前对话). New replies appear next to the avatar. Read Latest Reply with Doubao calls Doubao's own playback control. To send the shared prompt, name, and action list to the chat, select Sync Avatar Capabilities or run va chat-context. VA also attaches the prompt to the first ordinary message it sends after binding.
On Windows, start with a chat that already has messages and keep the bound chat open. VA refuses to send if a different chat is selected or if the input box already contains another draft. The Windows build includes its own .NET client and captioning helpers. On macOS, grant VA Accessibility permission before binding or sending text. If delivery fails, reopen the bound chat and check the input box for drafts.
Call Captions on macOS
Grant permissions in System Settings → Privacy & Security.
| Feature | Permission | App |
|---|---|---|
| Send text, sync the call prompt, read replies, and use Doubao's playback button | Accessibility | VA |
| Make calls or hold Space to talk | Microphone | Doubao |
| Caption Doubao's audio and drive the avatar's lip sync | Screen & System Audio Recording → System Audio Only | VA |
| Recognize spoken action requests during a call | Microphone | VA |
- In Doubao, choose More Skills → Call (更多技能 → 打电话) and wait for the call to connect. If VA captions are already running, stop them first.
- Back in VA, choose Start Captions (开始字幕). Captions appear in the desktop bubble and Settings when Doubao speaks. On first use, macOS may download Chinese speech recognition assets. Apple SpeechAnalyzer
- To trigger actions with your own voice, enable Recognize Spoken Action Requests (识别麦克风里的动作请求) and grant microphone permission to VA before starting captions.
VA uses Core Audio to capture Doubao's playback and transcribes it locally. Its playback levels drive lip sync and speaking gestures. Captions remain active while Settings is closed. Stopping captions, changing integration modes, or quitting VA releases audio capture. Use Doubao's read-aloud button to test the caption feed. If the state stays on waiting for audio, open the system recording permissions from the VA caption settings.
If Let the Local Model Choose Actions is enabled, VA checks finalized captions using Apple Intelligence when available, or macOS Chinese sentence embeddings. The active method appears in Settings. Apple on-device language model
Call Captions on Windows
Select the audio source before starting. Supported Windows versions can capture the Doubao process tree. Default Speaker Mix also includes other apps and requires explicit consent. Old versions that lack process-level capture require an explicit choice of speaker mix. VA shows captions and lip sync from Doubao's playback and transcribes locally using the selected Windows or SenseVoice engine. Capture stops when you stop captions or change modes. Restart captions after changing the output device. Windows capture sources and SenseVoice setup (Chinese)
On both platforms, starting captions attempts to send a call-specific prompt listing available gestures, expressions, and dance moves to the Doubao text chat. macOS uses the open chat, and Windows prefers the bound chat. If the call hides the text box, return to the chat and select Sync Call Prompt (同步通话提示词), or copy it using Copy Call Prompt (复制通话提示词). The Doubao app controls whether the call inherits the text chat's history.
OpenClaw and AstrBot
Choose OpenClaw or AstrBot under Settings → Agent Integration. VA displays replies from the bound channel. Enable Read Bot Replies Aloud (朗读机器人回复) for narration and lip sync. Each bot continues to use its own language model.
Build the plugin packages from the repository root.
bash scripts/package.sh integrations
Install the OpenClaw Plugin
From the VA repository in the gateway's environment, link the source directory. You can also pass dist/integrations/openclaw-va-desktop-<version>.tgz to openclaw plugins install. OpenClaw plugin installation
openclaw plugins install --link "$PWD/integrations/openclaw"
The plugin ID is va-desktop. Set its command array to a VA CLI command the gateway can run, such as ["va"] on the same machine. From an authorized account, send /va route in the target channel and enter the returned channel, target, accountId, and sessionKey in VA.
Install the AstrBot Plugin
Upload dist/integrations/astrbot_plugin_va.zip from Plugins → Install Plugin → Install from File in the AstrBot dashboard. Set the plugin's command to a VA command the bot can run. From an authorized account, send /va route in the destination channel and enter the returned UMO in VA's Target Channel field. AstrBot plugin installation
| OpenClaw channel settings | AstrBot channel settings |
|---|---|
![]() |
![]() |
Run a local bot as the same macOS user as VA. Remote bots can use SSH, and Docker deployments can use the repository's directory bridge. If two bots share one Telegram token, enable only one Telegram adapter at a time. Restart the bot's container after updating a Docker plugin. Bridge script · Integration setup and troubleshooting (Chinese)
OpenClaw uses its channel pairing and access policy. AstrBot allows administrators and users in allowed_user_ids. Authorized users can send these commands in the bound channel.
| Send | Result |
|---|---|
/va selfie or /va selfie pose-heart smile |
Return one transparent 780 × 1040 PNG using the default pose or the specified action and expression |
/va act dance or /va act dance-arm-wave |
Perform the chosen dance |
/va act wave |
Wave |
/va say Hello from VA! |
Display and read the line aloud |
AstrBot's va_desktop_selfie tool posts the PNG in the current channel. In bound Telegram chats, both plugins can handle a supported selfie request before calling the language model and send only the image. Example requests include 给我发张自拍 and 跳个舞吧.
For a dedicated OpenClaw workspace, enable plugins.entries.va-desktop.config.workspacePrompt to sync the avatar name, prompt, and action list into the VA section of SOUL.md in agents.defaults.workspace. This applies to sessions in that workspace. AstrBot adds the same prompt to conversations from authorized accounts in bound channels. Supported action statements from bots trigger gestures in VA. OpenClaw workspaces
Screen Observation and System Music
Enable screen observation and music-follow separately under Settings → Screen and Music (设置 → 屏幕与音乐). Both features start off and pause when the avatar is hidden. Screen observation supports intervals of 10s, 30s, 1min, 5min, 10min, 30min, 1h, 6h, and 24h. The default is 10s. If analysis falls behind, VA keeps only the newest pending screenshot.
va sense interval 30
va sense screen on
va sense music on
va senses --json

On macOS, grant VA screen recording permission in Privacy & Security → Screen & System Audio Recording, then restart. When running from source, macOS may attribute the permission to the terminal that launched VA.
Screen observation sends screenshots to the selected local agent. If the agent uses a remote model service, it may forward the image to that service. Switching to Doubao or a bot channel pauses screen observation. MCP clients can request a single observation with va_observe and read status with va_senses.
When an integration is selected, music-follow can run separately from screen observation. macOS classifies system audio on-device. VA plays a supported dance when it detects music and stops when the music ends or the setting is turned off. With click-through off, petting the avatar can interrupt the dance. Windows requires its local Zipformer audio classifier. Run va config run music-detection-status --json to check readiness before enabling it. Windows music detection setup (Chinese)
Camera Photos and Questions
va camera --out /tmp/va-camera.jpg
va camera --ask 'What objects are in this photo?' --agent codex
va camera takes one JPEG with the default camera and then releases it. Grant camera permission when the OS prompts you. --ask passes the image and question to the selected vision-capable agent, such as Codex, Claude Code, OMP, or a custom adapter that accepts images. Use --agent and --model to override the configuration for that request. A remote model service receives the photo when selected. Add --out to save the image as well.
For MCP, va_camera returns a JPEG to the caller. Pass question to have VA run the visual question and return a text answer.
System Audio Captions
On macOS 26 or later, open Settings → Voice → System Audio Captions, choose the language spoken in the video or meeting, and turn on the switch. On first use, allow VA to record system audio in Screen & System Audio Recording. VA transcribes audio played by Mac apps and shows captions next to the avatar and in Settings. Captions continue with Settings closed. Turn off the switch or quit VA to stop capture. To switch between system audio captions and Doubao call captions, stop the current captions first.
Speech recognition runs on the Mac and may download a speech model the first time you use a language. System audio captions process live playback audio. For optional on-device translation, choose a target language before enabling captions and download the required languages in macOS General → Language & Region → Translation Languages. Settings pairs each translation with its source caption. The source caption is available while a translation is pending or if a language pack is missing.

va config run system-captions-status --json
va config run system-captions-start '{"language":"en-US","translateTo":"zh-CN"}' --json
va config run system-captions-stop --json
The status operation returns supported languages and the current captions. Omit translateTo to show the source captions alone. MCP clients can use the same operations through va_config_run and pass the languages in parameters. va-desktop Skill
On Windows, the same settings panel can transcribe playback from the default speaker locally using the Windows recognizer or SenseVoice. Choose the caption language in that panel. Windows shows source captions only, so omit translateTo or pass an empty string. Turn off the switch or quit VA to stop capture. System audio captions and Doubao captions run one at a time. Windows caption and language settings (Chinese)
Voice and Lip Sync
Under Settings → Voice (设置 → 语音), choose a system voice, ZipVoice, GPT-SoVITS, CosyVoice2, or Volcengine TTS. The system voice picker searches installed voices by name or language. VA shows cached results while it refreshes the list. Choose a voice and click Preview Current Voice (试听当前音色). On macOS, you can download additional system voices in Accessibility settings, then refresh the list in VA. Apple system voice settings

va config run system-voices --json
va config set voice '{"provider":"system","systemVoice":"Tingting"}' --json
Speaking styles include natural conversation, lively conversation, soft and thoughtful speech, and stage delivery. Each style changes gestures and adjusts rate and volume where supported by the selected voice provider. During Doubao calls, lip sync follows the original playback.
VA shows the dialogue bubble first and starts narration when audio is ready. Synthesis skips emoji and emoticons, which remain visible in subtitles. Long replies are split at sentence-ending punctuation. While one segment plays, VA prepares the next. Lip sync follows audio, and the avatar can speak and perform actions together. Audio for the same line, provider, voice, and style is reused from memory during the current app run.
Set a Voice for Each Avatar
Choose Current Avatar (当前角色) in Voice settings. Each avatar can inherit the global voice or use its own provider, reference recording, or voice. The avatar appears while VA reads its voice settings and warms up ZipVoice in the background. The global settings hold the synthesis service addresses, Volcengine API key, and ZipVoice runtime path.
To bundle a voice with a model, put a file with the same basename and the .voice.json suffix next to it. For example, Paul.voice.json next to Paul.vrm can contain {"provider":"zipvoice","zipvoice":{"referenceAudio":"Paul-Reference.wav","referenceText":"Exact recording transcript."}}. Keep the audio path relative to the model folder. A voice saved for that avatar in VA settings takes precedence.
va config get model-voice --json
va config set model-voice '{"model":{"id":"va-cover"},"voice":{"provider":"system","systemVoice":""}}' --json
va config run voice-preview --json
va config set model-voice '{"voice":null}' --json
An empty systemVoice uses the OS default. Specify the model by catalog id or local path. Omitting the model targets the current avatar. A null voice restores inheritance. MCP clients use the model-voice config group with va_config_get and va_config_set, or call voice-preview via va_config_run. Pass {"scope":"global"} to preview the global voice.
Local Voice Cloning
VA uses Sherpa-ONNX + ZipVoice-Distill INT8 for local cloning in Chinese and English. VA loads enabled models in the background. In the project test on an Apple M4 using four CPU threads and a 3.3-second reference, three Chinese lines of 15–25 characters synthesized in approximately 0.61–0.99 seconds each after warm-up. ZipVoice models and examples
- On macOS, run
make zipvoice-ttsfrom the repository. It installs the virtual environment and model under~/Library/Application Support/VA Desktop/zipvoice-tts. On Windows, enter the Python executable with sherpa-onnx installed and the downloaded model directory. Windows setup (Chinese) - Under Voice → Local Voice Cloning (语音 → 本地音色复刻), choose roughly three seconds of clear speech and enter its exact transcript. Use 24 kHz mono 16-bit PCM WAV. With FFmpeg on PATH, VA can also convert other WAV, M4A, and MP3 files. VA reads the recording from its original path.
- Save the voice and preview it. Reply narration follows each integration's setting. Enable Speak During Actions (做动作时发出声音) for action dialogue. If synthesis fails during conversation, VA falls back to the system voice. The preview reports synthesis errors.
The reference recording and speech text are processed on-device.
va config set voice '{"provider":"zipvoice","zipvoice":{"referenceAudio":"/path/to/reference.wav","referenceText":"Hello, I am here."}}' --json
Connect GPT-SoVITS or CosyVoice2
Install and start the service, then select its tab under Settings → Voice. Enter the service URL, reference recording, and exact transcript. Save and preview the voice.
- GPT-SoVITS defaults to
http://127.0.0.1:9880/tts. Use API V2 with a Mandarin reference recording at a path the service can read. GPT-SoVITS API - CosyVoice2 defaults to
http://127.0.0.1:50000/inference_zero_shot. Start the FastAPI server with CosyVoice2-0.5B. VA sends the reference recording and wraps the service's 24 kHz PCM output in a WAV for playback. CosyVoice FastAPI
In the CLI or MCP, select gpt-sovits or cosyvoice2 in the voice configuration group. Set endpoint, referenceAudio, and referenceText in the corresponding provider object. VA sends the narration text and reference transcript to the configured endpoint. GPT-SoVITS receives the reference audio path and CosyVoice2 receives the audio file.
Enable Volcengine TTS

- Enable speech synthesis through Volcengine and obtain an API key and a supported Speaker ID. Use
seed-tts-2.0for standard synthesis orseed-icl-2.0with a compatible cloned voice. Volcengine TTS API - Select Volcengine TTS (火山 TTS) in Voice settings, enter the key and Speaker ID, select the resource, and save. You can also supply the key to the VA process via
VOLC_TTS_API_KEY. - Preview the voice. For Telegram bot replies, turn on Read Bot Replies Aloud in the bound channel's VA settings.
VA sends the narration text to Volcengine over HTTPS. On macOS, voice settings are stored in ~/Library/Application Support/VA Desktop/voice.json. Set VA_VOICE_CONFIG to use another file. Service failures during conversation fall back to the system voice. The preview reports the error.
License
VA source code is licensed under Apache License 2.0. Third-party models and preview assets follow their own licenses. Apache License 2.0 · Model credits and licenses
Acknowledgments
Thanks to the LINUX DO community for providing a place to share and discuss open-source projects. LINUX DO
Explore related projects
Loading…











