AlphaAvatar CLI output
What a terminal of each width shows once the command ends, rendered from its recording with the escape codes kept as colors (scripts/docs/cli_preview.py). The installer and Setup ran on 2026-11-23 in an empty home on Alibaba Cloud Linux 3 (glibc 2.32), with the Linux package CI built for 3e5b8e2d (0.6.8-3e5b8e2d9b2a), its own wheels given with --artifacts, and fictional credentials; install.sh is the one this change brings, and Setup installed and validated for real. The panels Setup's grouped install summary and config check's colored groups change were recorded again on 2026-11-24 with a package built from that change's source (0.6.8-a6e75ba8fb56-dirty.20261124093551), installed and set up for real: Setup's (setup-first, setup-bundle, setup-cancel, setup-interrupt, setup-nocolor) the same way, config check after setup (check) in the clean Ubuntu 24.04 root. Config, and Doctor declined or with --no-metrics, ran earlier on a clean Ubuntu 24.04 root with the Linux package of their build. Doctor's measured runs used the offline test doubles of its tests, marked 离线测试替身: their services and model files are stand-ins and their timings are the doubles', in rounds of their own. doctor-rounds was recorded on 2026-11-27 from the source at 51e81aeb (0.6.9) and shows Doctor's current layout, its directory as $WORK; the other measured Doctor panels, doctor-partial among them, are historical: earlier builds recorded them, and their layout predates it. No panel here holds a real service's figures: those are recorded apart, in the acceptance log. Every figure ends at the Host's output; LiveKit's transport, a client's playback and the devices are measured separately. Lines wider than a panel are diagnostics and commands, which print whole.
bash install.sh --file alphaavatar-0.6.8-3e5b8e2d9b2a-linux-x86_64.tar.gz — a first installation, setup declined
AlphaAvatar / Install 01 Package AlphaAvatar 0.6.8 · build 0.6.8-3e5b8e2d9b2a · SHA-256 verified 02 Check glibc 2.32 · runs on this machine 03 Install ~/.local/lib/alphaavatar/versions/0.6.8-3e5b8e2d9b2a · current 04 PATH added ~/.local/bin to ~/.bashrc, for new terminals added ~/.local/bin to ~/.profile, for new terminals OK AlphaAvatar 0.6.8 installed Build 0.6.8-3e5b8e2d9b2a Command ~/.local/bin/alphaavatar Current ~/.local/lib/alphaavatar/current -> versions/0.6.8-3e5b8e2d9b2a Run alphaavatar setup now, to choose what the Avatar runs with? [Y/n] n SKIP Setup not run Next source ~/.bashrc # this terminal; new ones find alphaavatar alphaavatar setup # choose capabilities; it installs them
NO_COLOR=1 bash install.sh --file alphaavatar-0.6.8-3e5b8e2d9b2a-linux-x86_64.tar.gz — installed already, plain
AlphaAvatar / Install
01 Package AlphaAvatar 0.6.8 · build 0.6.8-3e5b8e2d9b2a · SHA-256 verified
02 Check AlphaAvatar 0.6.8-3e5b8e2d9b2a is already installed · glibc 2.32 · runs on this machine
03 Install ~/.local/lib/alphaavatar/versions/0.6.8-3e5b8e2d9b2a · current
04 PATH ~/.bashrc already adds ~/.local/bin, for new terminals
~/.profile already adds ~/.local/bin, for new terminals
OK AlphaAvatar 0.6.8 installed
Build 0.6.8-3e5b8e2d9b2a
Command ~/.local/bin/alphaavatar
Current ~/.local/lib/alphaavatar/current -> versions/0.6.8-3e5b8e2d9b2a
Run alphaavatar setup now, to choose what the Avatar runs with? [Y/n] n
SKIP Setup not run
Next
source ~/.bashrc # this terminal; new ones find alphaavatar
alphaavatar setup # choose capabilities; it installs themalphaavatar setup --artifacts DIR — a new bundle, asked part by part, no model on this machine
AlphaAvatar / Setup 01 Capabilities Each question starts from the reference configuration: Enter keeps its answer. Voice: speech in and out, voice activity detected on this machine? [Y/n]: Vision: camera frames reach the model? [Y/n]: Models on this machine: turn taking, addressing, face and speaker recognition? [Y/n]: n ENV memory: memories drawn from the session's audio and video by Google's Gemini, an external model? [Y/n]: Vectors for memory and persona: LanceDB in the Avatar workspace Tools None enabled (default) Enable DeepResearch or MCP in the tools profile, then run: alphaavatar setup <bundle> RAG is not available through setup in this release. Bundle name [avatar]: first Avatar ID [first]: 01 Capabilities Bundle first · Voice on · Vision on · Local models off · ENV memory on 02 Models Provider for the conversation: OpenAI Model for the conversation [gpt-5.6-luna]: Provider for memory: OpenAI Model for memory [gpt-4o]: Provider for tool memory: OpenAI Model for tool memory [gpt-4o]: Provider for persona profiles: OpenAI Model for persona profiles [gpt-4o]: ENV memory: from Google, the only one Model for ENV memory [gemini-2.5-flash]: Provider for embeddings: OpenAI Model for embeddings [text-embedding-3-small]: Provider for speech recognition: OpenAI, segment by segment (openai_segment) Model for speech recognition [gpt-4o-transcribe]: Provider for speech synthesis: OpenAI (openai) Model for speech synthesis [gpt-4o-mini-tts]: Voice [ash]: Speed, 0.25 to 4.0 [1.15]: 02 Models OpenAI · Google 03 Credentials OPENAI_API_KEY, for the conversation model, memory, tool memory, persona profiles, embeddings, speech recognition, speech synthesis, from OpenAI: GOOGLE_API_KEY, for ENV memory, from Google: LIVEKIT_URL, for the LiveKit server sessions use: wss://livekit.example.com LIVEKIT_API_KEY, for LiveKit: LIVEKIT_API_SECRET, for LiveKit: Store OPENAI_API_KEY, GOOGLE_API_KEY, LIVEKIT_URL, LIVEKIT_API_KEY, LIVEKIT_API_SECRET in /home/tester/.local/share/alphaavatar/settings, readable only by you? [y/N]: n Not stored: start reads them from the environment or .env 03 Credentials Ready 04 Install Configuration Bundle first · will become the default Avatar ID first Version 0.6.8 · linux-x86_64 Capabilities Voice On Vision On Local models Off ENV memory On Models Conversation OpenAI gpt-5.6-luna Memory OpenAI gpt-4o Tool memory OpenAI gpt-4o ENV memory Google gemini-2.5-flash Persona OpenAI gpt-4o Embedding OpenAI text-embedding-3-small Speech STT openai_segment · gpt-4o-transcribe TTS openai · gpt-4o-mini-tts Voice / Speed ash · 1.15 Storage & Tools Vectors LanceDB · Avatar workspace Tools None enabled (default) Enable DeepResearch or MCP in the tools profile, then run: alphaavatar setup first RAG is not available through setup in this release. Installation Packages 85 Download 212 MB Plan 993ef4cfdb9932b4 Environment ~/.local/lib/alphaavatar/envs/993ef4cfdb9932b4 Install and enable? [Y/n]: y 04 Install 85 packages · 212 MB 05 Validate PASS · 3 runners OK Bundle enabled Default first Environment ~/.local/lib/alphaavatar/envs/993ef4cfdb9932b4 Start reads OPENAI_API_KEY, GOOGLE_API_KEY, LIVEKIT_URL, LIVEKIT_API_KEY, LIVEKIT_API_SECRET from the environment or .env. Next alphaavatar doctor first
alphaavatar config init reference --avatar-id reference — in the base package
AlphaAvatar / Config init OK Bundle created Configuration Bundle reference Profiles ~/.local/share/alphaavatar/configs/profiles/reference Default reference Required credentials OPENAI_API_KEY LIVEKIT_URL · LIVEKIT_API_KEY · LIVEKIT_API_SECRET Next alphaavatar setup reference
alphaavatar config check reference — before setup
AlphaAvatar / Config check ERROR Configuration and read-only path checks failed error: MissingCapabilities Selected plugins are not available; install them, or change the settings that select them: loop.plugin no installed package provides loop 'realtime' alpha-avatar-plugins-loop `alphaavatar setup` installs it context.plugin no installed package provides context 'default' alpha-avatar-plugins-context `alphaavatar setup` installs it voice.vad.plugin no installed package provides voice.vad 'silero' alpha-avatar-plugins-voice[silero] `alphaavatar setup` installs it voice.stt.plugin no installed package provides voice.stt 'openai_segment' alpha-avatar-plugins-voice `alphaavatar setup` installs it voice.tts.plugin no installed package provides voice.tts 'openai' alpha-avatar-plugins-voice `alphaavatar setup` installs it status.plugin no installed package provides status 'default' alpha-avatar-plugins-status `alphaavatar setup` installs it router.plugin no installed package provides router 'default' alpha-avatar-plugins-router `alphaavatar setup` installs it memory.plugin no installed package provides memory 'default' alpha-avatar-plugins-memory `alphaavatar setup` installs it persona.plugin no installed package provides persona 'default' alpha-avatar-plugins-persona `alphaavatar setup` installs it
alphaavatar setup reference --artifacts DIR — the bundle config init made
AlphaAvatar / Setup 01 Capabilities Bundle reference · Voice on · Vision on · Local models on · ENV memory on 02 Models As the bundle's settings choose them 03 Credentials From the environment, .env or those stored 04 Install Configuration Bundle reference · will become the default Avatar ID reference Version 0.6.8 · linux-x86_64 Capabilities Voice On Vision On Local models On ENV memory On Models Conversation OpenAI gpt-5.6-luna Memory OpenAI gpt-4o Tool memory OpenAI gpt-4o ENV memory Google gemini-2.5-flash Persona OpenAI gpt-4o Embedding OpenAI text-embedding-3-small Speech STT openai_segment · gpt-4o-transcribe TTS openai · gpt-4o-mini-tts Voice / Speed ash · 1.15 Storage & Tools Vectors LanceDB · Avatar workspace Tools None enabled Enable DeepResearch or MCP in the tools profile, then run: alphaavatar setup reference RAG is not available through setup in this release. Installation Packages 105 Download 514 MB Plan 35d6e65d4c99785a Environment ~/.local/lib/alphaavatar/envs/35d6e65d4c99785a Install and enable? [Y/n]: y 04 Install 105 packages · 514 MB 05 Validate PASS · 8 runners OK Bundle enabled Default reference Environment ~/.local/lib/alphaavatar/envs/35d6e65d4c99785a Next alphaavatar doctor reference
alphaavatar config check reference — after setup
AlphaAvatar / Config check OK Configuration and read-only path checks passed Configuration config bundle reference avatar_id reference home /home/tester/.local/share/alphaavatar workspace /home/tester/.local/share/alphaavatar/avatars/reference host rtc livekit health 127.0.0.1:8081 (dev: free port) agent inference 8 runners, 1 worker each plugins/foundation context default loop realtime voice vad=silero stt=openai_segment tts=openai vision on (input: vlm) plugins/perception status default router default (audio activity on, semantic addressing on, visual addressing on, turn taking on, interruption on) character none memory default (vdb: lancedb; retrieval on, conversation on, tool on, environment on) persona default (vdb: lancedb; profiler on, speaker on, face on) plugins/tools deepresearch none rag none mcp none
alphaavatar setup ragged — a selection this release does not install
AlphaAvatar / Setup FAIL Setup failed; nothing was enabled This release's setup installs nothing for: tools.rag.plugin: tools.rag 'default'
alphaavatar setup reference — the plan declined
AlphaAvatar / Setup 01 Capabilities Bundle reference · Voice on · Vision on Local models on · ENV memory on 02 Models As the bundle's settings choose them 03 Credentials From the environment, .env or those stored 04 Install Configuration Bundle reference · will become the default Avatar ID reference Version 0.6.8 · linux-x86_64 Capabilities Voice On Vision On Local models On ENV memory On Models Conversation OpenAI gpt-5.6-luna Memory OpenAI gpt-4o Tool memory OpenAI gpt-4o ENV memory Google gemini-2.5-flash Persona OpenAI gpt-4o Embedding OpenAI text-embedding-3-small Speech STT openai_segment · gpt-4o-transcribe TTS openai · gpt-4o-mini-tts Voice / Speed ash · 1.15 Storage & Tools Vectors LanceDB · Avatar workspace Tools None enabled Enable DeepResearch or MCP in the tools profile, then run: alphaavatar setup reference RAG is not available through setup in this release. Installation Packages 105 Download 514 MB Plan 35d6e65d4c99785a Environment ~/.local/lib/alphaavatar/envs/35d6e65d4c99785a Install and enable? [Y/n]: n WARN Cancelled; nothing was enabled
alphaavatar setup — Ctrl+C at a provider list
AlphaAvatar / Setup 01 Capabilities Each question starts from the reference configuration: Enter keeps its answer. Voice: speech in and out, voice activity detected on this machine? [Y/n]: Vision: camera frames reach the model? [Y/n]: Models on this machine: turn taking, addressing, face and speaker recognition? [Y/n]: ENV memory: memories drawn from the session's audio and video by Google's Gemini, an external model? [Y/n]: Vectors for memory and persona: LanceDB in the Avatar workspace Tools None enabled (default) Enable DeepResearch or MCP in the tools profile, then run: alphaavatar setup <bundle> RAG is not available through setup in this release. Bundle name [avatar]: second Avatar ID [second]: 01 Capabilities Bundle second · Voice on · Vision on Local models on · ENV memory on 02 Models Provider for the conversation: OpenAI Model for the conversation [gpt-5.6-luna]: Provider for memory: WARN Interrupted; nothing was enabled
NO_COLOR=1 alphaavatar setup reference — plain, a line each
AlphaAvatar / Setup
01 Capabilities Bundle reference · Voice on · Vision on · Local models on · ENV memory on
02 Models As the bundle's settings choose them
03 Credentials From the environment, .env or those stored
04 Install
Configuration
Bundle reference · already the default
Avatar ID reference
Version 0.6.8 · linux-x86_64
Capabilities
Voice On
Vision On
Local models On
ENV memory On
Models
Conversation OpenAI gpt-5.6-luna
Memory OpenAI gpt-4o
Tool memory OpenAI gpt-4o
ENV memory Google gemini-2.5-flash
Persona OpenAI gpt-4o
Embedding OpenAI text-embedding-3-small
Speech
STT openai_segment · gpt-4o-transcribe
TTS openai · gpt-4o-mini-tts
Voice / Speed ash · 1.15
Storage & Tools
Vectors LanceDB · Avatar workspace
Tools None enabled
Enable DeepResearch or MCP in the tools profile,
then run: alphaavatar setup reference
RAG is not available through setup in this release.
Installation
Packages 105
Download None · installed already
Plan 35d6e65d4c99785a
Environment ~/.local/lib/alphaavatar/envs/35d6e65d4c99785a · reused
Install and enable? [Y/n]: y
04 Install
Environment
/home/tester/.local/lib/alphaavatar/envs/35d6e65d4c99785a
is already installed; checking it
04 Install 105 packages · installed already
05 Validate PASS · 8 runners
OK Bundle enabled
Default reference
Environment ~/.local/lib/alphaavatar/envs/35d6e65d4c99785a
Next
alphaavatar doctor referencealphaavatar doctor first — the diagnosis declined
AlphaAvatar / Doctor Runtime diagnosis It starts this bundle's runtime as start does, then runs this scenario 5 times, each time in a session of its own: voice_vision Speech and screen frames in one model request Model files the cache lacks are downloaded first, as start would. It calls the services this configuration names: model providers (langchain, openai) speech recognition (openai_segment) speech synthesis (openai) embeddings as alphaavatar.memory.vdb.lancedb starts embeddings as alphaavatar.persona.vdb.lancedb starts Calls to these services may be billed. Run the diagnosis? [y/N]: n OK 9 passed · 6 skipped Checks PASS Environment 3 checks passed PASS Configuration first · 3 runners PASS Directories 3 checks passed Not verified SKIP Session and services Not run: the diagnosis was declined SKIP Media devices Not verified: the diagnostic session uses its own samples and opens no microphone, camera or player LiveKit transport: not measured; the samples end at the Host's output client playback: not measured; no client takes part physical devices: not opened; the samples stand in for them → Join a dev session from a client to try its devices Latency Not measured · Not run: the diagnosis was declined Run again as JSON alphaavatar doctor first --rounds 5 --json
alphaavatar doctor first --no-metrics
AlphaAvatar / Doctor OK 9 passed · 6 skipped Checks PASS Environment 3 checks passed PASS Configuration first · 3 runners PASS Directories 3 checks passed Not verified SKIP Session and services Not run: left out with --no-metrics SKIP Media devices Not verified: the diagnostic session uses its own samples and opens no microphone, camera or player LiveKit transport: not measured; the samples end at the Host's output client playback: not measured; no client takes part physical devices: not opened; the samples stand in for them → Join a dev session from a client to try its devices Latency Not measured · Not run: left out with --no-metrics Run again as JSON alphaavatar doctor first --rounds 5 --json
alphaavatar doctor — agreed: 5 rounds of its one scenario离线测试替身
AlphaAvatar / Doctor Runtime diagnosis It starts this bundle's runtime as start does, then runs this scenario 5 times, each time in a session of its own: voice_vision Speech and screen frames in one model request Model files the cache lacks are downloaded first, as start would. It calls the services this configuration names: model providers (scripted) speech recognition (openai_segment) speech synthesis (openai) custom memory 'doctor' custom persona 'doctor' custom provider backend 'scripted' Calls to these services may be billed. Run the diagnosis? [y/N]: y OK Diagnostics completed · 14 passed · 1 skipped Checks PASS Environment 3 checks passed PASS Configuration avatar.json · 2 runners PASS Directories 3 checks passed PASS Session and services 5 checks passed Not verified SKIP Media devices Not verified: the diagnostic session uses its own samples and opens no microphone, camera or player LiveKit transport: not measured; the samples end at the Host's output client playback: not measured; no client takes part physical devices: not opened; the samples stand in for them → Join a dev session from a client to try its devices Session Ready 2.3 ms at the median of 5, 2.2–18 ms Runners Runtime start 781 ms · the model cache did not grow (net) PASS alphaavatar.voice.vad.silero started in 0.39 s · 305 calls, queue ≤ 0.0 ms, run ≤ 0.2 ms PASS alphaavatar.router.turn_taking.smart_turn_v3 started in 0.39 s · 5 calls, queue ≤ 0.0 ms, run ≤ 0.1 ms Scenarios · 5 rounds, a session each PASS voice_vision 5/5 passed · Speech and screen frames in one model request SKIP voice Vision is on: voice_vision speaks to it; voice runs with vision off SKIP image_input No input transport delivers images to a session yet SKIP visual_output No Character is configured With model m · stt openai_segment m · tts openai m · vision vlm, max_frames 4 Sample card_question sha256:0f72883c4ad4 Latency · voice_vision · 5 of 5 rounds passed Metric Round 1 n Median Range End to end Runtime first text 704 ms 4 706 ms 705–711 ms First audio frame 726 ms 4 727 ms 726–732 ms Response complete 953 ms 4 957 ms 954–963 ms Text complete 705 ms 4 706 ms 705–711 ms Last audio frame 953 ms 4 957 ms 953–962 ms Input 650 ms 4 651 ms 651–652 ms Final speech → VAD close 599 ms 4 601 ms 600–601 ms VAD close → Final transcript 51 ms 4 51 ms 50–51 ms Context 4.0 ms 4 3.4 ms 3.1–7.6 ms Final transcript → Turn commit 1.1 ms 4 1.0 ms 1.0 ms Turn commit → Context readiness check complete 0.7 ms 4 0.5 ms 0.5–0.6 ms Context readiness check complete → Context built 1.8 ms 4 1.4 ms 1.2–5.7 ms Context built → Model request sent 0.5 ms 4 0.4 ms 0.4 ms Output 72 ms 4 73 ms 72–74 ms Model request sent → First text delta 50 ms 4 51 ms 50–52 ms First text delta → TTS request 0.9 ms 4 0.6 ms 0.6 ms TTS request → First PCM — 0 — — First PCM → First audio frame — 0 — — n: later rounds that passed and observed it; the stages add up to First audio frame — First PCM → First audio frame: from an earlier node in 5 rounds, so no sample of it — TTS request → First PCM: merged into the next row: First PCM not observed: this TTS plugin logs no first PCM Run again as JSON alphaavatar doctor $WORK/avatar.json --rounds 5 --json
alphaavatar doctor --rounds 3 — the same, 72 columns离线测试替身
AlphaAvatar / Doctor Runtime diagnosis It starts this bundle's runtime as start does, then runs this scenario 3 times, each time in a session of its own: voice_vision Speech and screen frames in one model request Model files the cache lacks are downloaded first, as start would. It calls the services this configuration names: model providers (scripted) speech recognition (openai_segment) speech synthesis (openai) custom memory 'doctor' custom persona 'doctor' custom provider backend 'scripted' Calls to these services may be billed. Run the diagnosis? [y/N]: y OK Diagnostics completed · 14 passed · 1 skipped Checks PASS Environment 3 checks passed PASS Configuration avatar.json · 2 runners PASS Directories 3 checks passed PASS Session and services 5 checks passed Not verified SKIP Media devices Not verified: the diagnostic session uses its own samples and opens no microphone, camera or player LiveKit transport: not measured; the samples end at the Host's output client playback: not measured; no client takes part physical devices: not opened; the samples stand in for them → Join a dev session from a client to try its devices Session Ready 2.3 ms at the median of 3, 2.3–18 ms Runners Runtime start 781 ms · the model cache did not grow (net) PASS alphaavatar.voice.vad.silero started in 0.39 s · 183 calls, queue ≤ 0.0 ms, run ≤ 0.2 ms PASS alphaavatar.router.turn_taking.smart_turn_v3 started in 0.39 s · 3 calls, queue ≤ 0.0 ms, run ≤ 0.1 ms Scenarios · 3 rounds, a session each PASS voice_vision 3/3 passed · Speech and screen frames in one model request SKIP voice Vision is on: voice_vision speaks to it; voice runs with vision off SKIP image_input No input transport delivers images to a session yet SKIP visual_output No Character is configured With model m · stt openai_segment m · tts openai m · vision vlm, max_frames 4 Sample card_question sha256:0f72883c4ad4 Latency · voice_vision · 3 of 3 rounds passed End to end Runtime first text: round 1 706 ms · 2 later: median 705 ms, 705–706 ms First audio frame: round 1 728 ms · 2 later: median 727 ms, 726–728 ms Response complete: round 1 957 ms · 2 later: median 957 ms, 955–958 ms Text complete: round 1 706 ms · 2 later: median 706 ms, 705–707 ms Last audio frame: round 1 956 ms · 2 later: median 956 ms, 955–958 ms Input: round 1 651 ms · 2 later: median 651 ms, 650–652 ms Final speech → VAD close: round 1 601 ms · 2 later: median 600 ms, 599–601 ms VAD close → Final transcript: round 1 51 ms · 2 later: median 51 ms, 51 ms Context: round 1 4.0 ms · 2 later: median 3.3 ms, 3.0–3.6 ms Final transcript → Turn commit: round 1 1.0 ms · 2 later: median 1.0 ms, 1.0–1.1 ms Turn commit → Context readiness check complete: round 1 0.7 ms · 2 later: median 0.5 ms, 0.5–0.6 ms Context readiness check complete → Context built: round 1 1.8 ms · 2 later: median 1.4 ms, 1.2–1.5 ms Context built → Model request sent: round 1 0.5 ms · 2 later: median 0.4 ms, 0.4 ms Output: round 1 72 ms · 2 later: median 72 ms, 72–73 ms Model request sent → First text delta: round 1 50 ms · 2 later: median 51 ms, 51 ms First text delta → TTS request: round 1 0.9 ms · 2 later: median 0.6 ms, 0.5–0.7 ms TTS request → First PCM: round 1 — First PCM → First audio frame: round 1 — n: later rounds that passed and observed it; the stages add up to First audio frame — First PCM → First audio frame: from an earlier node in 3 rounds, so no sample of it — TTS request → First PCM: merged into the next row: First PCM not observed: this TTS plugin logs no first PCM Run again as JSON alphaavatar doctor $WORK/avatar.json --rounds 3 --json
alphaavatar doctor --rounds 3 — vision off: voice instead of voice_vision离线测试替身
AlphaAvatar / Doctor OK Diagnostics completed · 14 passed · 1 skipped Checks PASS Environment 3 checks passed PASS Configuration avatar.json · 2 runners PASS Directories 3 checks passed PASS Session and services 5 checks passed Not verified SKIP Media devices Not verified: the diagnostic session uses its own samples and opens no microphone, camera or player LiveKit transport: not measured; the samples end at the Host's output client playback: not measured; no client takes part physical devices: not opened; the samples stand in for them → Join a dev session from a client to try its devices Session Ready 2.4 ms at the median of 3, 2.2–18 ms Runners Runtime start 782 ms · the model cache did not grow (net) PASS alphaavatar.voice.vad.silero started in 0.39 s · 184 calls, queue ≤ 0.0 ms, run ≤ 0.2 ms PASS alphaavatar.router.turn_taking.smart_turn_v3 started in 0.39 s · 3 calls, queue ≤ 0.0 ms, run ≤ 0.1 ms Scenarios · 3 rounds, a session each PASS voice 3/3 passed · Both sentences transcribed, the sum answered SKIP voice_vision Vision is off or text only: voice runs instead SKIP image_input No input transport delivers images to a session yet SKIP visual_output No Character is configured With model m · stt openai_segment m · tts openai m · vision off Sample sum_question sha256:0f72883c4ad4 Latency · voice · 3 of 3 rounds passed Metric Round 1 n Median Range End to end Runtime first text 704 ms 2 705 ms 703–706 ms First audio frame 726 ms 2 726 ms 725–727 ms Response complete 955 ms 2 958 ms 954–962 ms Text complete 705 ms 2 705 ms 703–706 ms Last audio frame 955 ms 2 957 ms 953–961 ms Input 650 ms 2 650 ms 650–651 ms Final speech → VAD close 600 ms 2 600 ms 599–600 ms VAD close → Final transcript 51 ms 2 51 ms 50–51 ms Context 3.5 ms 2 3.1 ms 2.8–3.3 ms Final transcript → Turn commit 1.0 ms 2 1.0 ms 1.0–1.1 ms Turn commit → Context readiness check complete 0.8 ms 2 0.6 ms 0.5–0.6 ms Context readiness check complete → Context built 1.3 ms 2 1.1 ms 1.0–1.2 ms Context built → Model request sent 0.4 ms 2 0.4 ms 0.4 ms Output 72 ms 2 73 ms 72–73 ms Model request sent → First text delta 51 ms 2 51 ms 51 ms First text delta → TTS request 0.9 ms 2 0.6 ms 0.6–0.7 ms TTS request → First PCM — 0 — — First PCM → First audio frame — 0 — — n: later rounds that passed and observed it; the stages add up to First audio frame — First PCM → First audio frame: from an earlier node in 3 rounds, so no sample of it — TTS request → First PCM: merged into the next row: First PCM not observed: this TTS plugin logs no first PCM Run again as JSON alphaavatar doctor $WORK/avatar.json --rounds 3 --json
alphaavatar doctor --rounds 2 — weights not in the cache, fetched as start would离线测试替身
AlphaAvatar / Doctor OK Diagnostics completed · 14 passed · 1 skipped Checks PASS Environment 3 checks passed PASS Configuration avatar.json · 2 runners PASS Directories 3 checks passed PASS Session and services 5 checks passed Not verified SKIP Media devices Not verified: the diagnostic session uses its own samples and opens no microphone, camera or player LiveKit transport: not measured; the samples end at the Host's output client playback: not measured; no client takes part physical devices: not opened; the samples stand in for them → Join a dev session from a client to try its devices Session Ready 10 ms at the median of 2, 2.4–18 ms Runners Runtime start 778 ms · the model cache grew by 64.0 KB (net) PASS alphaavatar.voice.vad.silero started in 0.39 s · 122 calls, queue ≤ 0.0 ms, run ≤ 0.2 ms PASS alphaavatar.router.turn_taking.smart_turn_v3 started in 0.39 s · 2 calls, queue ≤ 0.0 ms, run ≤ 0.1 ms Scenarios · 2 rounds, a session each PASS voice_vision 2/2 passed · Speech and screen frames in one model request SKIP voice Vision is on: voice_vision speaks to it; voice runs with vision off SKIP image_input No input transport delivers images to a session yet SKIP visual_output No Character is configured With model m · stt openai_segment m · tts openai m · vision vlm, max_frames 4 Sample card_question sha256:0f72883c4ad4 Latency · voice_vision · 2 of 2 rounds passed Metric Round 1 n Median Range End to end Runtime first text 706 ms 1 704 ms 704 ms First audio frame 729 ms 1 725 ms 725 ms Response complete 958 ms 1 956 ms 956 ms Text complete 707 ms 1 704 ms 704 ms Last audio frame 957 ms 1 956 ms 956 ms Input 652 ms 1 650 ms 650 ms Final speech → VAD close 601 ms 1 599 ms 599 ms VAD close → Final transcript 51 ms 1 51 ms 51 ms Context 4.1 ms 1 3.5 ms 3.5 ms Final transcript → Turn commit 1.1 ms 1 1.1 ms 1.1 ms Turn commit → Context readiness check complete 0.7 ms 1 0.5 ms 0.5 ms Context readiness check complete → Context built 1.8 ms 1 1.5 ms 1.5 ms Context built → Model request sent 0.5 ms 1 0.4 ms 0.4 ms Output 74 ms 1 72 ms 72 ms Model request sent → First text delta 50 ms 1 50 ms 50 ms First text delta → TTS request 1.0 ms 1 0.6 ms 0.6 ms TTS request → First PCM — 0 — — First PCM → First audio frame — 0 — — n: later rounds that passed and observed it; the stages add up to First audio frame — First PCM → First audio frame: from an earlier node in 2 rounds, so no sample of it — TTS request → First PCM: merged into the next row: First PCM not observed: this TTS plugin logs no first PCM Run again as JSON alphaavatar doctor $WORK/avatar.json --rounds 2 --json
alphaavatar doctor avatar.json --rounds 3 — vision off, a sentence lost in round 2; Doctor's current layout离线测试替身
AlphaAvatar / Doctor FAIL Diagnostics completed · 12 passed · 2 failed · 1 skipped Checks PASS Environment 3 checks passed PASS Configuration avatar.json · 2 runners PASS Directories 3 checks passed FAIL Session and services 3 passed · 2 failed FAIL services.external 2 passed, 1 failed, 3 not verified by the samples model providers (scripted): configured, authorized, reached, passed speech recognition (openai_segment): configured, authorized, reached, failed (stopped at stt.final) speech synthesis (openai): configured, authorized, reached, passed custom memory 'doctor': configured, authorized, reached: not observed, passed: not observed (external access unknown) custom persona 'doctor': configured, authorized, reached: not observed, passed: not observed (external access unknown) custom provider backend 'scripted': configured, authorized, reached: not observed, passed: not observed (external access unknown) livekit RTC server: not contacted; `alphaavatar dev $WORK/avatar.json` connects to it → See the failed scenarios' blocked stages and causes FAIL session.scenarios voice 2/3 passed, 2 not enabled, 1 no coverage → See each failed round's stage, cause and evidence Not verified SKIP Media devices Not verified: the diagnostic session uses its own samples and opens no microphone, camera or player LiveKit transport: not measured; the samples end at the Host's output client playback: not measured; no client takes part physical devices: not opened; the samples stand in for them camera input: not sent; the picture is a shared screen, so what reads a camera, such as face recognition, is not covered → Join a dev session from a client to try its devices PASS checked · WARN needs attention · FAIL fails as configured · SKIP not run here: why Scenarios · 3 rounds, a session each FAIL voice 2/3 passed · stopped: 1 at stt.final Round 2: The transcript does not hold every sentence of the sample Round 2: Sentence 2: the final the Turn took (23 characters) holds another sentence too, and leaves this one out → See the transcript and each sentence in --json; another STT model or plugin compares SKIP voice_vision Vision is off or text only: voice runs instead SKIP image_input No input transport delivers images to a session yet SKIP visual_output No Character is configured With model m · stt openai_segment m · tts openai m · vision off Sample sum_question sha256:0f72883c4ad4 Failed rounds · voice Round 2 · stopped at stt.final · measured: Runtime first text 466 ms; First audio frame 487 ms; Response complete 716 ms; Text complete 466 ms; Last audio frame 716 ms; Input 412 ms; Context 3.2 ms; Output 72 ms Latency · voice · 2 of 3 rounds passed Metric Round 1 n Median Range End to end Runtime first text 465 ms 1 463 ms 463 ms First audio frame 486 ms 1 485 ms 485 ms Response complete 715 ms 1 715 ms 715 ms Text complete 465 ms 1 464 ms 464 ms Last audio frame 714 ms 1 715 ms 715 ms Input 410 ms 1 410 ms 410 ms Final speech → VAD close 360 ms 1 359 ms 359 ms VAD close → Final transcript 50 ms 1 51 ms 51 ms Context 3.5 ms 1 2.7 ms 2.7 ms Final transcript → Turn commit 0.8 ms 1 0.7 ms 0.7 ms Turn commit → Context readiness check complete 0.9 ms 1 0.6 ms 0.6 ms Context readiness check complete → Context built 1.2 ms 1 0.9 ms 0.9 ms Context built → Model request sent 0.6 ms 1 0.5 ms 0.5 ms Output 72 ms 1 73 ms 73 ms Model request sent → First text delta 51 ms 1 51 ms 51 ms First text delta → TTS request 0.9 ms 1 0.6 ms 0.6 ms TTS request → First PCM — 0 — — First PCM → First audio frame — 0 — — n: later rounds that passed and observed it; the stages add up to First audio frame From the final speech, the frame with the sample's last voiced sample going in, to the Host's output boundary; RTC transport and client playback are not in it — First PCM → First audio frame: from an earlier node in 3 rounds, so no sample of it — TTS request → First PCM: merged into the next row: First PCM not observed: this TTS plugin logs no first PCM Latency · voice · every round, the 1 not passed included Metric Round 1 n Median Range End to end Runtime first text 465 ms 2 465 ms 463–466 ms First audio frame 486 ms 2 486 ms 485–487 ms Response complete 715 ms 2 716 ms 715–716 ms Text complete 465 ms 2 465 ms 464–466 ms Last audio frame 714 ms 2 715 ms 715–716 ms Input 410 ms 2 411 ms 410–412 ms Final speech → VAD close 360 ms 2 360 ms 359–360 ms VAD close → Final transcript 50 ms 2 51 ms 51–52 ms Context 3.5 ms 2 2.9 ms 2.7–3.2 ms Final transcript → Turn commit 0.8 ms 2 0.8 ms 0.7–0.9 ms Turn commit → Context readiness check complete 0.9 ms 2 0.7 ms 0.6–0.8 ms Context readiness check complete → Context built 1.2 ms 2 1.0 ms 0.9–1.0 ms Context built → Model request sent 0.6 ms 2 0.5 ms 0.5 ms Output 72 ms 2 72 ms 72–73 ms Model request sent → First text delta 51 ms 2 51 ms 51 ms First text delta → TTS request 0.9 ms 2 0.6 ms 0.6–0.7 ms TTS request → First PCM — 0 — — First PCM → First audio frame — 0 — — n: later rounds that observed it; the stages add up to First audio frame From the final speech, the frame with the sample's last voiced sample going in, to the Host's output boundary; RTC transport and client playback are not in it — First PCM → First audio frame: from an earlier node in 3 rounds, so no sample of it — TTS request → First PCM: merged into the next row: First PCM not observed: this TTS plugin logs no first PCM Details · voice · every round, the 1 not passed included Metric Round 1 n Median Range STT, the Turn's final Segment committed → STT final 50 ms 2 51 ms 50–51 ms Queued in the plugin — 0 — — TCP connect — 0 — — TLS handshake — 0 — — Upload — 0 — — Audio sent → answer headers, network and service — 0 — — Answer headers → first event — 0 — — Answer headers → transcript done — 0 — — Turn taking and Context Last assessment queued → started 0.1 ms 2 0.1 ms 0.1 ms Assessments, final → commit 0.0 ms 2 0.0 ms 0.0 ms Timed holds, final → commit 0.0 ms 2 0.0 ms 0.0 ms Semantic addressing queued → started — 0 — — Semantic addressing inference — 0 — — Speech closed → association ready — 0 — — Context readiness wait 0.0 ms 2 0.0 ms 0.0 ms Model request, first attempt Client ready — 0 — — Request taken → sent — 0 — — Encoding 0.2 ms 2 0.2 ms 0.2 ms Pictures 0 2 0 0 Body sent 20.0 KB 2 20.0 KB 20.0 KB Attempts 1 2 1 1 Sent → first stream event, network and service 0.1 ms 2 0.1 ms 0.1 ms Audio out Answer audio 0.24 s 2 0.24 s 0.24 s Frame interval, median 21 ms 2 21 ms 21 ms Largest gap between frames 21 ms 2 21 ms 21–22 ms Underruns of a real-time queue 11 2 11 11 Producing time over audio duration 0.95 2 0.95 0.95–0.96 Output events dropped 0 2 0 0 Doctor's input Sample frames late, at worst 2.1 ms 2 2.0 ms 2.0–2.1 ms n: later rounds that observed it; each row from its own start — Queued in the plugin, TCP connect, TLS handshake, Upload, Audio sent → answer headers, network and service, Answer headers → first event, Answer headers → transcript done: not measured: its STT plugin times no request — Semantic addressing queued → started, Semantic addressing inference: not measured: no semantic addressing ran for the final, or none is traced — Speech closed → association ready: not measured: no association asked for the segment, or no resolver records one — Client ready, Request taken → sent: not measured: its provider logs no such step Session Ready 2.7 ms at the median of 3, 2.4–61 ms Runners Runtime start 568 ms · the model cache did not grow (net) PASS alphaavatar.voice.vad.silero started in 0.28 s · 1 worker · 162 calls, queue ≤ 0.0 ms, run ≤ 0.2 ms PASS alphaavatar.router.turn_taking.smart_turn_v3 started in 0.28 s · 1 worker · 3 calls, queue ≤ 0.0 ms, run ≤ 0.1 ms Run again as JSON alphaavatar doctor avatar.json --rounds 3 --json
alphaavatar doctor --rounds 3 — vision off, a sentence lost in round 2; historical: an earlier build, its layout before doctor-rounds离线测试替身
AlphaAvatar / Doctor FAIL Diagnostics completed · 12 passed · 2 failed · 1 skipped Checks PASS Environment 3 checks passed PASS Configuration avatar.json · 2 runners PASS Directories 3 checks passed FAIL Session and services 3 passed · 2 failed FAIL services.external 2 passed, 1 failed, 3 not verified by the samples model providers (scripted): configured, authorized, reached, passed speech recognition (openai_segment): configured, authorized, reached, failed (stopped at stt.final) speech synthesis (openai): configured, authorized, reached, passed custom memory 'doctor': configured, authorized, reached: not observed, passed: not observed (external access unknown) custom persona 'doctor': configured, authorized, reached: not observed, passed: not observed (external access unknown) custom provider backend 'scripted': configured, authorized, reached: not observed, passed: not observed (external access unknown) livekit RTC server: not contacted; `alphaavatar dev $WORK/avatar.json` connects to it → See the failed scenarios' blocked stages and causes FAIL session.scenarios voice 2/3 passed, 2 not enabled, 1 no coverage → See each failed round's stage, cause and evidence Not verified SKIP Media devices Not verified: the diagnostic session uses its own samples and opens no microphone, camera or player LiveKit transport: not measured; the samples end at the Host's output client playback: not measured; no client takes part physical devices: not opened; the samples stand in for them → Join a dev session from a client to try its devices Session Ready 2.4 ms at the median of 3, 2.3–18 ms Runners Runtime start 817 ms · the model cache did not grow (net) PASS alphaavatar.voice.vad.silero started in 0.43 s · 183 calls, queue ≤ 0.0 ms, run ≤ 0.2 ms PASS alphaavatar.router.turn_taking.smart_turn_v3 started in 0.39 s · 3 calls, queue ≤ 0.0 ms, run ≤ 0.1 ms Scenarios · 3 rounds, a session each FAIL voice 2/3 passed · stopped: 1 at stt.final Round 2: The transcript does not hold every sentence of the sample Round 2: Sentence 2: the final the Turn took (23 characters) holds another sentence too, and leaves this one out → See the transcript and each sentence in --json; another STT model or plugin compares SKIP voice_vision Vision is off or text only: voice runs instead SKIP image_input No input transport delivers images to a session yet SKIP visual_output No Character is configured With model m · stt openai_segment m · tts openai m · vision off Sample sum_question sha256:0f72883c4ad4 Latency · voice · 2 of 3 rounds passed Metric Round 1 n Median Range End to end Runtime first text 706 ms 1 704 ms 704 ms First audio frame 727 ms 1 726 ms 726 ms Response complete 957 ms 1 957 ms 957 ms Text complete 706 ms 1 704 ms 704 ms Last audio frame 957 ms 1 957 ms 957 ms Input 652 ms 1 650 ms 650 ms Final speech → VAD close 601 ms 1 600 ms 600 ms VAD close → Final transcript 51 ms 1 50 ms 50 ms Context 3.5 ms 1 2.8 ms 2.8 ms Final transcript → Turn commit 1.0 ms 1 1.0 ms 1.0 ms Turn commit → Context readiness check complete 0.7 ms 1 0.5 ms 0.5 ms Context readiness check complete → Context built 1.3 ms 1 1.0 ms 1.0 ms Context built → Model request sent 0.5 ms 1 0.4 ms 0.4 ms Output 72 ms 1 72 ms 72 ms Model request sent → First text delta 51 ms 1 51 ms 51 ms First text delta → TTS request 0.9 ms 1 0.6 ms 0.6 ms TTS request → First PCM — 0 — — First PCM → First audio frame — 0 — — n: later rounds that passed and observed it; the stages add up to First audio frame — First PCM → First audio frame: from an earlier node in 3 rounds, so no sample of it — TTS request → First PCM: merged into the next row: First PCM not observed: this TTS plugin logs no first PCM Latency · voice · every round, the 1 not passed included Metric Round 1 n Median Range End to end Runtime first text 706 ms 2 705 ms 704–705 ms First audio frame 727 ms 2 726 ms 726–727 ms Response complete 957 ms 2 958 ms 957–958 ms Text complete 706 ms 2 705 ms 704–706 ms Last audio frame 957 ms 2 957 ms 957–958 ms Input 652 ms 2 651 ms 650–651 ms Final speech → VAD close 601 ms 2 600 ms 600–601 ms VAD close → Final transcript 51 ms 2 50 ms 50–51 ms Context 3.5 ms 2 3.0 ms 2.8–3.1 ms Final transcript → Turn commit 1.0 ms 2 1.0 ms 1.0 ms Turn commit → Context readiness check complete 0.7 ms 2 0.5 ms 0.5 ms Context readiness check complete → Context built 1.3 ms 2 1.1 ms 1.0–1.2 ms Context built → Model request sent 0.5 ms 2 0.4 ms 0.4 ms Output 72 ms 2 72 ms 72–73 ms Model request sent → First text delta 51 ms 2 51 ms 51 ms First text delta → TTS request 0.9 ms 2 0.6 ms 0.6–0.7 ms TTS request → First PCM — 0 — — First PCM → First audio frame — 0 — — n: later rounds that observed it; the stages add up to First audio frame — First PCM → First audio frame: from an earlier node in 3 rounds, so no sample of it — TTS request → First PCM: merged into the next row: First PCM not observed: this TTS plugin logs no first PCM Failed rounds · voice Round 2 · stopped at stt.final · measured: Runtime first text 705 ms; First audio frame 727 ms; Response complete 958 ms; Text complete 706 ms; Last audio frame 958 ms; Input 651 ms; Context 3.1 ms; Output 73 ms Run again as JSON alphaavatar doctor $WORK/avatar.json --rounds 3 --json
alphaavatar doctor --rounds 3 — a model that refuses images, reported as it is离线测试替身
AlphaAvatar / Doctor FAIL Diagnostics completed · 12 passed · 2 failed · 1 skipped Checks PASS Environment 3 checks passed PASS Configuration avatar.json · 2 runners PASS Directories 3 checks passed FAIL Session and services 3 passed · 2 failed FAIL services.external 1 passed, 1 failed, 4 not verified by the samples model providers (scripted): configured, authorized, reached: not observed, failed (ModelCapabilityError: image_input) speech recognition (openai_segment): configured, authorized, reached, passed speech synthesis (openai): configured, authorized, reached: not observed, passed: not observed custom memory 'doctor': configured, authorized, reached: not observed, passed: not observed (external access unknown) custom persona 'doctor': configured, authorized, reached: not observed, passed: not observed (external access unknown) custom provider backend 'scripted': configured, authorized, reached: not observed, passed: not observed (external access unknown) livekit RTC server: not contacted; `alphaavatar dev $WORK/avatar.json` connects to it → See the failed scenarios' blocked stages and causes FAIL session.scenarios voice_vision 0/3 passed, 2 not enabled, 1 no coverage → See each failed round's stage, cause and evidence Not verified SKIP Media devices Not verified: the diagnostic session uses its own samples and opens no microphone, camera or player LiveKit transport: not measured; the samples end at the Host's output client playback: not measured; no client takes part physical devices: not opened; the samples stand in for them → Join a dev session from a client to try its devices Session Ready 2.4 ms at the median of 3, 2.2–18 ms Runners Runtime start 786 ms · the model cache did not grow (net) PASS alphaavatar.voice.vad.silero started in 0.39 s · 156 calls, queue ≤ 0.0 ms, run ≤ 0.2 ms PASS alphaavatar.router.turn_taking.smart_turn_v3 started in 0.39 s · 3 calls, queue ≤ 0.0 ms, run ≤ 0.1 ms Scenarios · 3 rounds, a session each FAIL voice_vision 0/3 passed · stopped: 3 at model.first_event Rounds 1, 2, 3: The run ended failed: ModelCapabilityError: image_input → The model takes no pictures: choose one that does, or turn vision off SKIP voice Vision is on: voice_vision speaks to it; voice runs with vision off SKIP image_input No input transport delivers images to a session yet SKIP visual_output No Character is configured With model m · stt openai_segment m · tts openai m · vision vlm, max_frames 4 Sample card_question sha256:0f72883c4ad4 Latency · voice_vision · every round, the 3 not passed included Metric Round 1 n Median Range End to end Runtime first text — 0 — — First audio frame — 0 — — Response complete — 0 — — Text complete — 0 — — Last audio frame — 0 — — Input 652 ms 2 652 ms 651–652 ms Final speech → VAD close 601 ms 2 601 ms 601–602 ms VAD close → Final transcript 51 ms 2 51 ms 50–51 ms Context 4.4 ms 2 3.2 ms 3.1–3.3 ms Final transcript → Turn commit 1.1 ms 2 1.0 ms 1.0 ms Turn commit → Context readiness check complete 0.7 ms 2 0.5 ms 0.5–0.6 ms Context readiness check complete → Context built 2.1 ms 2 1.3 ms 1.2–1.3 ms Context built → Model request sent 0.5 ms 2 0.4 ms 0.4 ms Output — 0 — — Model request sent → First text delta — 0 — — First text delta → TTS request — 0 — — TTS request → First PCM — 0 — — First PCM → First audio frame — 0 — — n: later rounds that observed it; the stages add up to First audio frame — Runtime first text, First audio frame: not observed in any such round — Response complete, Text complete, Last audio frame: not recorded: an output ended otherwise — Model request sent → First text delta: merged into the next row: First text delta not observed: the first model request streamed no text — First text delta → TTS request: merged into the next row: TTS request not observed: no TTS request for the first request's answer — TTS request → First PCM: merged into the next row: First PCM not observed: no TTS request — First PCM → First audio frame: not measured: First audio frame not observed: no audio frame answers the first model request Failed rounds · voice_vision Round 1 · stopped at model.first_event · measured: Input 652 ms; Context 4.4 ms Round 2 · stopped at model.first_event · measured: Input 652 ms; Context 3.3 ms Round 3 · stopped at model.first_event · measured: Input 651 ms; Context 3.1 ms Run again as JSON alphaavatar doctor $WORK/avatar.json --rounds 3 --json
alphaavatar doctor — Ctrl+C at the question离线测试替身
AlphaAvatar / Doctor Runtime diagnosis It starts this bundle's runtime as start does, then runs this scenario 5 times, each time in a session of its own: voice_vision Speech and screen frames in one model request Model files the cache lacks are downloaded first, as start would. It calls the services this configuration names: model providers (scripted) speech recognition (openai_segment) speech synthesis (openai) custom memory 'doctor' custom persona 'doctor' custom provider backend 'scripted' Calls to these services may be billed. Run the diagnosis? [y/N]: ^C WARN Interrupted · 9 passed · 6 skipped Checks PASS Environment 3 checks passed PASS Configuration avatar.json · 2 runners PASS Directories 3 checks passed Not verified SKIP Session and services Not run: interrupted at a question SKIP Media devices Not verified: the diagnostic session uses its own samples and opens no microphone, camera or player LiveKit transport: not measured; the samples end at the Host's output client playback: not measured; no client takes part physical devices: not opened; the samples stand in for them → Join a dev session from a client to try its devices Latency Not measured · Not run: interrupted at a question Run again as JSON alphaavatar doctor $WORK/avatar.json --rounds 5 --json