AlphaAvatar CLI 输出

各宽度的终端在命令结束时显示的内容,由其录制渲染而成,转义码保留为颜色(scripts/docs/cli_preview.py)。安装程序和 Setup 于 2026-11-23 在 Alibaba Cloud Linux 3(glibc 2.32)上的一个空 home 目录中运行,使用 CI 为 3e5b8e2d 构建的 Linux 包(0.6.8-3e5b8e2d9b2a)、通过 --artifacts 提供的该构建自己的 wheel 以及虚构的凭据;install.sh 是本次改动带来的版本,Setup 真实地完成了安装和验证。本次改动(Setup 的分组安装摘要和 config check 的彩色分组)所影响的面板于 2026-11-24 重新录制,所用的包由该改动的源码构建(0.6.8-a6e75ba8fb56-dirty.20261124093551),经过真实的安装和 setup:Setup 的面板(setup-first、setup-bundle、setup-cancel、setup-interrupt、setup-nocolor)按同样方式录制,setup 之后的 config check(check)在干净的 Ubuntu 24.04 root 中录制。Config,以及拒绝诊断或使用 --no-metrics 的 Doctor,此前在干净的 Ubuntu 24.04 root 上用其所属构建的 Linux 包运行。Doctor 的测量运行使用其测试中的离线测试替身,标为「离线测试替身」:其服务和模型文件都是替身,计时也是替身的计时,来自它们各自单独的轮次。doctor-rounds 于 2026-11-27 由 51e81aeb 的源码(0.6.9)录制,显示 Doctor 当前的布局,录制目录显示为 $WORK;其余测量运行的 Doctor 面板(包括 doctor-partial)属于历史录制:由更早的构建录制,布局早于当前布局。本页没有任何面板含有真实服务的数据:那些数据另行记录在验收日志中。每个数值都止于 Host 的输出;LiveKit 的传输、客户端的播放和设备另行测量。宽于面板的行是诊断信息和命令,它们会完整打印。

bash install.sh --file alphaavatar-0.6.8-3e5b8e2d9b2a-linux-x86_64.tar.gz — 首次安装,拒绝运行 setup

100 列退出码 0

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 — 已经安装过,无颜色

100 列退出码 0

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 them

alphaavatar setup --artifacts DIR — 新 bundle,逐部分提问,本机不运行模型

100 列退出码 0

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 — 在基础包中

100 列退出码 0

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 — setup 之前

72 列退出码 2

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 — config init 创建的 bundle

100 列退出码 0

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 — setup 之后

72 列退出码 0

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 — 本版本不安装的选择

72 列退出码 1

AlphaAvatar / Setup

FAIL  Setup failed; nothing was enabled
      This release's setup installs nothing for: tools.rag.plugin: tools.rag 'default'

alphaavatar setup reference — 拒绝安装计划

72 列退出码 1

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 — 在 Provider 列表处按 Ctrl+C

72 列退出码 130

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 — 无颜色,每部分一行

100 列退出码 0

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 reference

alphaavatar doctor first — 拒绝诊断

72 列退出码 0

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

100 列退出码 0

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 — 同意诊断:其唯一场景运行 5 轮离线测试替身

100 列退出码 0

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 — 同上,72 列离线测试替身

72 列退出码 0

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 — 关闭视觉:用 voice 代替 voice_vision离线测试替身

100 列退出码 0

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 — 权重不在缓存中,按 start 的方式获取离线测试替身

100 列退出码 0

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 — 关闭视觉,第 2 轮丢失一句;Doctor 当前的布局离线测试替身

100 列退出码 1

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 — 关闭视觉,第 2 轮丢失一句;历史录制:较早的构建,布局早于 doctor-rounds离线测试替身

100 列退出码 1

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 — 拒绝图像的模型,如实报告离线测试替身

100 列退出码 1

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离线测试替身

72 列退出码 130

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