Skip to main content
Blitz
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

063 · Voice

Talk to Blitz. A microphone in the chat bar opens a live voice conversation with Gemini: you say what you want, the voice hands the work to the workspace’s agent, and when the work is done it tells you, in a sentence or two, what changed and what’s waiting for you. Desktop only, Google only, off until you turn it on, and completely gone when it’s off.

Status Built (2026-11-13, for v1.0.0; not yet: the tray’s Stop talking (VOX-23), an organization switching voice off (VOX-52, VOX-90), voice’s tokens in the session’s cost (VOX-18), the 1007 “audio content type not supported” seen once in the owner’s first test, not reproduced. The owner: “a voice interface using the bidi voice access with ADK. A microphone icon in the chat bar, and voice summaries of the work”, then “Don’t forget to add the voice settings in the UI, not just the file, and it should be able to be switched completely off. This is a desktop only feature and I’m happy to make it a Google only feature.”)
Source pkg/engine/voice.go (the conversation, the voice agent and its tools, the turns’ facts, summaries); pkg/engine/voicecloud.go and pkg/engine/runtime/{cloudvoice,resample}.go (the cloud engine, VOX-70); pkg/engine/runtime/voice.go (the Live model, its settings); pkg/engine/runtime/wirefake/live.go (the Live API’s fake); pkg/config (VoiceConfig, [voice]); VoiceService (proto/blitz/v1/voice.proto, pkg/service/server/voice.go); the page’s apps/desktop/web/src/voice/ (voice.ts, audio.ts, useVoice.ts, VoiceControls.tsx, VoiceSettings.tsx), the composer and conversation (Conversation.tsx), the status bar, the command palette, Settings (SettingsDrawer.tsx, simpleMode.ts); Electron’s microphone permission (apps/electron/src/logic.ts pagePermission, main.ts), packaging/entitlements.plist, the app’s Info.plist (packaging/mac.bzl)
Depends on spec_015_models (the Gemini provider, its API key or Vertex AI), spec_021_service (the API, SVC-30’s reasons), spec_024_desktop (the composer, Settings), spec_061_models (the models each provider lists), spec_064_personality (how the voice sounds)

1. Purpose

Some work is easier said than typed: “run the tests and fix whatever broke”, “what’s left on the payments spec?”, “yes, go ahead”. And a long run is easier to follow by ear than by watching the window: Blitz can say “Done: three files changed, all 212 tests pass, nothing waiting on you” while you look at something else.

Voice is a way of driving the agent you already have, not a second agent. The voice model listens, answers what it can from what Blitz tells it, and passes anything that needs work to the session’s agent as an ordinary turn. So the sandbox, approvals, permission rules, guardrails, limits and Changes all apply exactly as they do for a typed message, and the conversation keeps a written record of everything said.

Scope. The desktop app only; the CLI and the VS Code extension have no voice. Two engines (section 8a): Google’s Gemini Live models, or Google Cloud’s speech with a text model of any provider (VOX-05a). With the live engine, Google’s Gemini Live models only (through the Gemini API with a key, or Vertex AI), whatever model the session’s agent uses.

2. Switched on, switched off

  • VOX-01 Off by default. [voice] enabled is false until the person turns it on, in Settings › Voice (VOX-40) or the settings file.

  • VOX-02 Off means gone. With voice off:

    • the chat bar has no microphone, the status bar no voice indicator, the command palette and menus no voice commands, and Settings › Voice shows only its switch and what voice does;
    • the page never asks for the microphone, so the operating system never asks the person either (VOX-50);
    • the service refuses the voice socket (VOICE_OFF, VOX-31) and opens no live connection, speaks no summary and sends Google nothing for voice;
    • nothing of voice runs in the service: no voice agent is built and no voice tools are registered.

    Turning it off while a voice conversation is open ends it at once (VOX-14).

  • VOX-03 On, but not set up. Voice needs a Google provider (VOX-05). With voice on and none set up, the microphone shows, disabled, and its tooltip and Settings › Voice say what’s missing, with a button to Set up Google (Settings › Providers, on Gemini).

  • VOX-04 The settings. [voice] in ~/.blitz/.env.toml (the person’s; a workspace’s settings can’t turn voice on, only the person can, so a repository can’t switch on someone’s microphone):

    Key Default Meaning
    enabled false Voice on or off (VOX-01, VOX-02).
    model "" The Gemini Live model, as gemini/<model>. Empty is VOX-06’s default.
    voice "Kore" One of Gemini’s prebuilt voices (Puck, Charon, Kore, Fenrir, Aoede, Leda, Orus, Zephyr…, as the model offers them). The session’s personality’s voice wins when it has one (spec_064 PER-40).
    listen "tap" tap: click the microphone to start, click again to end; Gemini hears when you start and stop speaking. hold: speak only while holding the microphone or its shortcut (VOX-21), for noisy rooms.
    summaries "voice" When work is summarised aloud (VOX-17): voice, only in a voice conversation; always, also when a turn the person typed ends; off, never.
    idle_minutes 5 A voice conversation with nothing said and nothing running for this long ends by itself (VOX-14). 1–60.
    engine "auto" How the voice hears and speaks (VOX-70, VOX-70a): auto, the cloud for a personality that tunes its voice when Google Cloud is set up, else live; live, a Gemini Live model in its own voice; cloud, Google Cloud’s Speech-to-Text, a text model and Text-to-Speech, which speak a personality’s locale, speed and pitch.
    text_model "" The cloud engine’s model, as provider/model. Empty is the workspace’s small model ([suggestions] model).
    language "" The language the person speaks, for the cloud engine’s Speech-to-Text (one of VOX-71’s locales). Empty is the personality’s locale, else en-US.
    hear_model, hear_location "" Speech-to-Text’s model and location. Empty: long, in global.

    The microphone device is the window’s own (~/.blitz/desktop.json), not a setting in the file: device IDs belong to one computer. Each key can be set with SetConfigValue (voice.enabled, voice.model, voice.voice, voice.listen, voice.summaries, voice.idle_minutes); bad values are refused with what’s allowed. The CLI’s blitz config template lists [voice], commented out, saying it’s for the desktop app.

3. The model

  • VOX-05 Google only. The voice is a Gemini Live model reached through Blitz’s gemini provider (spec_015), with an API key or Vertex AI (application default credentials or OAuth, with the provider’s project and location). No other provider, gateway or local model is offered for voice. The session’s agent, the one doing the work, can be on any provider.
  • VOX-05a 2026-11-26 (the owner, asked whether the cloud engine’s text model must be Google’s: “any provider”). VOX-05 is the live engine’s. With the cloud engine (VOX-70) the hearing and the speaking are Google Cloud’s, and the model between them is the workspace’s small model or the one text_model names, of any provider: what the person says reaches that provider as text, as a typed message would, and the privacy page says so.
  • VOX-06 The default model. With model empty, the newest model the provider lists for live, two-way audio (bidiGenerateContent among its supported actions; spec_061’s list, kept 10 minutes) whose name says native audio, else any live one. When the provider lists none (Vertex AI lists no actions), the default is the one Blitz’s model facts name for live voice. A model that isn’t live-capable is refused when it’s set (VOICE_MODEL).
  • VOX-06a 2026-11-22 (the owner: models listed that “aren’t even accessible”, and “failed to receive setup complete” on Linux). A provider’s listing names models a key or project can’t use (allowlisted previews, a region’s absent ones), and the newest by name isn’t the newest (gemini-live-2.5-… sorts after gemini-3.8-…). So the live models are listed (the Gemini API’s bidiGenerateContent ones; on Vertex AI, which lists no actions, Google’s base models whose name says live or native audio), then each is checked: a live session opened with the conversation’s own settings (liveSetup: audio, the voice, both transcriptions, resumption) until the provider accepts it (setupComplete) or refuses, then closed, nothing said and nothing billed; four at a time, 8 seconds each, the answers kept 10 minutes per key, project and voice. The default is the best that answers (liveBetter: native audio first, the family voice is built and tested on and the one that sounds most natural, then the higher version, then the newer dated release, then released before preview); Settings › Voice offers only those. ADK sent the person’s audio as realtime input’s deprecated mediaChunks to every model but gemini-3.1 on the Gemini API, and the Gemini API’s live models after 2.5 read only audio: they heard nothing, and answered nothing. third_party/adk_go/live_audio_field.patch sends audio to the Gemini API’s models after 2.0 and 2.5, which keep mediaChunks; Vertex AI’s are left as ADK sends them (TestVoiceAudioField). A model set is checked too, so one that doesn’t answer is said when the conversation starts, not in the middle of it. None answering is ErrNoLiveModel with the provider’s reason, shown in Settings › Voice. The fixed defaults Blitz carried (VOX-06, a 2025 preview each for the Gemini API and Vertex AI) are gone.
  • VOX-07 Through ADK’s live runner. The service runs the voice agent with ADK’s Runner.RunLive (google.golang.org/adk/v2, bidirectional streaming), which connects through genai’s Live API. Audio is 16-bit mono PCM: 16 kHz in, 24 kHz out. The connection asks for:
    • audio responses in the configured voice (speechConfig);
    • transcripts of both sides (inputAudioTranscription, outputAudioTranscription), for the conversation’s record (VOX-16);
    • Gemini’s own activity detection with listen = "tap", and explicit activity start/end messages with listen = "hold";
    • context window compression and session resumption, so a conversation outlasts Gemini’s session limit and survives a dropped connection: Blitz keeps the latest resumption handle and reconnects with it, quietly, before the server’s goAway deadline.
  • VOX-08 2026-11-22 (the owner: “can we add settings for jitter and background noise?”). How Gemini hears the person and how replies play, in [voice]: noise (normal, the default, or noisy: Gemini’s start-of-speech sensitivity low, so background chatter isn’t taken for the person talking), pause_ms (200–5000: the silence that ends the person’s turn, Gemini’s silenceDurationMs), start_ms (20–2000: the speech that starts one, prefixPaddingMs); 0 or out of range is Gemini’s own. They’re sent in the live setup’s automatic activity detection, with tap to talk only (hold to talk turns it off), and the model check (VOX-06a) uses them too. buffer_ms (20–2000, default 20) is the app’s: how long a reply’s first piece is held before it plays, so the pieces after it arrive in time on an uneven connection. Settings › Voice has all four (noise, pause and start with tap to talk); a workspace can’t change them.
  • VOX-08 The reply language is the language the person speaks in (the voice’s instructions say so). The session’s reply language (spec_024’s run settings) isn’t passed to it yet.

4. The voice agent

  • VOX-10 Who it is. A built-in agent, voice, with its own short instructions: it’s the person’s spoken link to the workspace’s agent; it keeps replies short (two sentences unless asked for more); it never claims to have done something it didn’t; it hands anything that needs reading files, running commands or changing things to the agent with run_task. It knows the workspace’s name, the session’s agent and model, and what’s running. It speaks with the session’s personality (spec_064 PER-40), in its frame (PER-03). It’s not listed among the agents the person can pick and can’t be edited in Studio; its instructions live in pkg/engine/voice.go. 2026-11-13 (the owner: “all communication from the agent should be first person, like "I’m looking into the details …"”) It speaks as Blitz, always in the first person (“I’m looking into that now”, “I found…”, “I need your OK to…”), and never mentions an agent, a subagent, a tool or a hand-off: the work is its own. Blitz’s notes to it ([Blitz] …) are written the same way.

  • VOX-11 Its tools, and only these. It has no file, shell, web or MCP tools of its own:

    • run_task(request): starts a turn in the session with request as the person’s message (spoken requests are rephrased into a clear written prompt, and the written prompt is what’s shown and kept), through the same turn path as a typed message: hooks, the agent, approvals, limits, the record. Refused while a turn runs: then it’s steer.
    • steer(request): adds to the running turn, as the composer’s steer does (spec_024).
    • stop(): stops the running turn, as the Stop button does.
    • status(): what’s running (the turn, its task list, its last tool calls by name, how long it has run), what’s waiting on the person (a permission, a question), and the last turn’s result (its answer’s start, the files it changed, its tests, its cost).
    • answer(choice): answers what’s waiting: the permission showing, else the question the agent asked, by one of its offered options or as free text (VOX-13).
    • recent(n): the last n (at most 10) messages of the conversation, as text, so “what did it say about the cart?” can be answered.
    • end_conversation(): ends the conversation once its goodbye has been said (VOX-14).
  • VOX-12 Nothing secret reaches the voice. What status and recent give the voice model goes through the same redaction as the agent’s tool output (keys, tokens, hidden files never in it: spec_006 FS-15), and they never include file contents beyond what’s already in the conversation.

  • VOX-13 Approvals by voice, carefully. When Blitz needs permission to run a command or change a file, in the conversation’s own turn or a background task’s or sub-agent’s, the voice asks in the first person, saying what the action does in a few plain words (“I need permission to read the recipes table, may I?”, “… to run the tests …”), never reading out the command, SQL or code: the window shows that. 2026-11-13 (the owner: it read a whole SQL statement aloud). The note gives the voice the action as data, for it only, with examples of plain asks. A spoken yes allows it once, and only when:

    • that approval card is showing in the window (it’s the one answered: the voice model never sees an approval’s ID, which it would read out), and
    • what the person said since the card showed is a yes (“yes”, “sure”, “you may”, “go ahead”, …), with no no in it, and the model’s answer says yes too (Blitz checks the words, not only the model’s reading of them). A yes said before the card showed isn’t one.

    “For the session” and “always” can’t be given by voice; denying can. Anything else (a mishearing, a second approval arriving) leaves the card for a click. A card answered in the window is a note to the voice (“the person answered it in the window”), so it doesn’t ask about it after.

    2026-11-13 (the owner: “the buttons appear, but the agent can’t seem to clear them”). “You may” wasn’t a yes, so the card waited for a click; the voice kept asking about cards already clicked, and once read its note and an ID aloud. Fixed as above.

  • VOX-14 When it ends. A voice conversation ends when the person clicks the microphone again, says to stop (“stop listening”, the voice ends it with a goodbye), closes the workspace or the window, turns voice off, or after idle_minutes with nothing said and nothing running. A turn the voice started keeps running when the voice conversation ends; its summary is then spoken only with summaries = "always".

  • VOX-15 One at a time. One voice conversation per workspace in the service (a second is refused, VOICE_BUSY), and one per window: while one is open, the other workspaces’ microphones are hidden. It’s about the session showing when it starts.

  • VOX-16 The record. The conversation keeps what was said, in writing: the person’s words (from the input transcript) and the voice’s replies (from the output transcript), each marked as spoken, in the session’s messages beside the typed ones, so they’re searched, summarised and resumed like any other. A spoken exchange that only answered (no run_task) is kept the same way. The voice model’s own audio isn’t kept; nor is the person’s (VOX-51).

  • VOX-17 Spoken summaries. When a turn ends (with summaries allowing it), the voice says what happened, in one or two sentences, from facts Blitz collects, not from a guess:

    • whether it finished, stopped, failed or hit a limit;
    • the files changed (their count, the main ones by name);
    • tests or builds it ran and how they went (from the shell tool’s exit codes);
    • what’s waiting: an approval, a question, a failed check;
    • the cost, only when over a dollar;
    • 2026-11-13 (the owner: “the voice agent is calling the sub agent, but then unaware of the subagents response”) the agent’s answer itself, its final text (secrets masked, at most 6,000 characters), so the voice tells the person what the agent found and answers their question from it. A task the voice handed over always has its answer said, whatever summaries is; status has the last answer too.

    While a turn runs the voice stays quiet, except to say an approval or a question is waiting (VOX-13) or that the turn failed. With summaries = "always" and no voice conversation open, the summary is spoken through a short live connection opened for it (text in, audio out), and only while the window is in front and the session showing; otherwise a turn ending is the usual notification.

  • VOX-18 Usage. The live model’s tokens are logged by the voice logger at debug (VOX-33). Adding them to the session’s usage and cost, as the session’s other model calls are, is still to do; Settings › Voice says audio isn’t free.

5. The window

  • VOX-20 The microphone in the chat bar. With voice on (VOX-02), the composer has a microphone button beside Send. Its states:

    • ready: the outline icon, “Talk to Blitz (⌥⌘V)”;
    • connecting: a spinner;
    • listening: filled and pulsing with the input level;
    • speaking: a wave while the voice talks; speaking over it interrupts it (Gemini’s barge-in; the page drops what it hasn’t played);
    • muted: crossed out, the conversation open but the microphone closed;
    • not set up (VOX-03) and no microphone (VOX-50): disabled, the tooltip saying why and what to do.

    It uses the composer’s existing icon buttons and the page’s icon set (@mdi/js), with no new styles.

  • VOX-21 The shortcut. ⌥⌘V starts and ends a conversation (with listen = "hold", holding it talks); listed in the command palette as Talk to Blitz and Stop talking, and in the menu bar’s View menu.

  • VOX-22 The voice bar. While a conversation is open, a slim bar above the composer shows:

    • the live transcript, the person’s words and the voice’s, a line or two, the latest at the end;
    • mute, and end;
    • the model and voice, small.

    It never covers the conversation’s last message. The written messages land in the conversation as they finish (VOX-16), marked with a small speaker icon.

  • VOX-23 The status bar shows a red Listening while a conversation is open, in any view (the conversation needn’t be showing); clicking it ends the conversation. The tray’s Stop talking is still to do.

  • VOX-24 When something goes wrong (the connection drops and can’t resume, the model refuses, the quota is spent), the bar says so in a sentence with what to do, the conversation ends, and nothing typed is lost.

6. Settings › Voice

  • VOX-40 A section of its own. Settings has Voice in its Setup group beside Agents, Connectors and Browser, and it’s shown in simple mode too (the switch is a choice people make, not an advanced one). It reads and saves the settings with GetConfig and SetConfigValue, like Browser’s section; every change applies to the next voice conversation, and turning voice off applies at once.

  • VOX-41 What it holds, top to bottom:

    1. Voice: the on/off switch (VOX-01), with a line on what it does and where the audio goes: “Talk to Blitz with Google’s Gemini Live. While you talk, your microphone’s audio goes to Google; Blitz keeps the words, not the audio.”

    2. Model: a menu of the Google provider’s live models (VOX-06), the default first (“Default: name”), with the provider used (Gemini API or Vertex AI). Without a Google provider: what’s missing and Set up Google (VOX-03).

    3. Voice: a menu of the prebuilt voices (From the personality first when the personality has one, spec_064 PER-40), with Play beside it to hear a short sample (one short live call; the first one says it costs a little).

    4. Microphone: the input devices the system has (the window’s choice, VOX-04), with a level meter that moves while the section is open and the microphone allowed, and Allow the microphone when it isn’t (VOX-50).

    5. Listening: Tap to talk or Hold to talk (listen).

    6. Spoken summaries: In voice conversations, Always, Never (summaries).

    7. End after: minutes of silence (idle_minutes).

    8. 2026-11-26 (VOX-70). Voice engine, after the switch: Automatic, Gemini Live or Google Cloud, with a line on each (VOX-70a). Unless it’s Gemini Live, beside or in place of the live model’s menu: what’s missing, in the service’s words (cloud_not_set_up), else the project speech is made in; The language you speak (language: the locales by name, Your personality’s locale first); Model that writes the replies (text_model) and How Blitz hears you (hear_model, hear_location), both menus (VOX-73a). Speech that starts your turn is the live engine’s only.

    With the switch off, only item 1 shows (VOX-02). Labels and text are in the page’s catalogs (en-US, es, fr-CA).

  • VOX-42 The settings file shows [voice] like any other table, and Settings › Voice reflects a change made there when it’s saved.

7. Audio and the service

  • VOX-30 The path. The page server speaks HTTP/2 only, and a browser can’t stream to the service, so voice works as the terminal does (spec_062): VoiceService (voice.proto) streams the conversation down and takes the person’s side by unary calls, through the page server’s API proxy like every other call.

    • Converse(workspace, session_id) opens a conversation and streams it until it ends: first started (its ID, the model, the voice, tap or hold), then the voice’s audio (24 kHz PCM), transcripts (heard, said, pieces with final ending a line), state (listening, speaking), interrupted, the window’s work (run_task, steer, stop, answer, approve), error and finally ended (closed, idle, goodbye, off, summary, error). The stream ending ends the conversation. summary_only says the session’s last turn’s summary and ends (VOX-17); sample_voice says a short sample in that voice and ends (VOX-41).
    • SendVoice(workspace, id, …) sends one of: the person’s audio (16 kHz PCM; the page sends 100 ms at a time), speaking (hold to talk’s start and end), waiting (what the window shows waiting, whole each time it changes, VOX-13) or end.
    • DescribeVoice(workspace, list_models) is Settings › Voice’s: the settings, why voice isn’t set up, the model in use and its API, Gemini’s voices, the live models, the personality’s voice.

    The page captures with getUserMedia (audio only, echo cancellation and noise suppression on) and an AudioWorklet, in 20 ms frames resampled to 16 kHz; it plays the voice’s audio through one AudioContext, dropping its queue on an interruption.

  • VOX-31 Refusals, as SVC-30’s reasons:

    • VOICE_OFF: voice is off (VOX-02);
    • VOICE_NOT_SET_UP: no Google provider, or it can’t sign in (VOX-03);
    • VOICE_MODEL: the model isn’t a Gemini Live model;
    • VOICE_BUSY: a conversation is already open in this workspace (VOX-15);
    • UNKNOWN_VOICE: SendVoice to a conversation that has ended, or another workspace’s;
    • INVALID_ARGUMENT: a sample voice that isn’t one of Gemini’s.
  • VOX-32 Only the window. VoiceService is served as every other service is: on the service’s socket, reached by the page through the page server’s proxy (its origin and token checks), never on a network port of its own.

  • VOX-33 Logs. The voice logger (spec_003 LOG-01b) records each conversation’s start and end, its model, reconnects and errors at info, and the events (not audio, not transcripts) at debug.

8. Microphone and privacy

  • VOX-50 The microphone permission. The app asks for the microphone only when a voice conversation starts or Settings › Voice’s meter is shown, and only with voice on:
    • Electron’s permission handler (pagePermission) allows media with audio only, never video, for the window’s own page; every other page is refused, as before. The page asks only with voice on, so with voice off nothing asks;
    • on macOS the app’s Info.plist has NSMicrophoneUsageDescription (“Blitz uses the microphone when you talk to it.”) and its entitlements com.apple.security.device.audio-input, as notarization requires; macOS asks the person the first time, never while voice is off;
    • when the system says no, the button is disabled with “Allow Blitz to use the microphone in System Settings › Privacy & Security › Microphone” (Windows’ and Linux’s equivalents), and Settings › Voice has a button that opens that page.
  • VOX-51 What goes where. While a conversation is open, the microphone’s audio goes to Google’s Gemini Live API through the provider the person set up (their key, or their Vertex AI project) and nowhere else. Blitz writes no audio to disk. The transcripts are kept as the conversation’s messages (VOX-16). The privacy guide says this, and the active-installs ping (spec_054) says nothing about voice.
  • VOX-52 Organizations. Not built (VOX-90). An organization’s policy would switch voice off for its members, the switch showing off and disabled. The voice uses the person’s Google provider, not the organization’s gateway (VOX-05).

8a. The cloud engine

2026-11-26 (issue #134, the owner: “they need to add pitch, speed, and locale for better control”; “it should be sliders. The entire sound module is based on user defined personalities”; and, of the ways to do it, “a true production worthy use”: Google Cloud’s Text-to-Speech, for conversations too.) A Gemini Live model speaks only in its own voice: its speech takes a voice’s name, no speaking rate and no pitch, and its native-audio models choose their own language. Google Cloud’s Text-to-Speech has the same thirty voices (Chirp 3: HD) in 53 locales, with a speaking rate. So the voice has a second engine, which speaks text.

  • VOX-70 Two engines. [voice] engine is live (everything above), cloud, or auto, the default (VOX-70a). With cloud a conversation is three services in a row (pkg/engine/voicecloud.go): Google Cloud’s Speech-to-Text (v2, streaming) hears the person; the voice agent, VOX-10’s with VOX-11’s tools and VOX-13’s rules, runs on a text model (text_model, else the workspace’s small model, of any provider) and writes its answer; Text-to-Speech (Chirp 3: HD, streaming) says it. Everything else is the same conversation (Voice in pkg/engine/voice.go, over a voiceLink that’s a Live session or this pipeline): the tools hand work to the window, approvals are asked aloud and answered by a spoken yes, summaries come from the turn’s facts, both sides are kept as spoken lines, and the window gets the same events (VoiceStarted.engine says which). A sample (VOX-41) and a spoken summary (VOX-17) are the same pipeline with nothing heard. The agent is told that its words are read aloud as written (plain sentences, no symbols), and in which locale’s language to answer: a voice speaks one.
  • VOX-70a 2026-11-26 (the owner: a personality’s locale, speed and pitch were saved and silent while the engine was Gemini Live, the default; “Automatic”). engine is auto unless set. Left to auto, a voice that’s tuned (a personality with a locale, a speed other than 1 or a pitch other than 0; or a sample the editor tunes) is spoken by the cloud engine when Google Cloud is set up, and everything else by a live model (config.VoiceConfig.EngineFor). Whether it’s set up is found by trying: a tuned voice whose cloud engine isn’t set up (VOICE_NOT_SET_UP) is spoken by a live model, in the personality’s voice without its tuning, rather than not at all, and Settings › Voice and the editor say what’s missing. live and cloud are the engine whatever the personality; set to cloud and not set up, there’s no conversation. DescribeVoice answers engine (as set) and engine_in_use (what it comes to for the workspace’s personality); left to auto with the cloud in use, its not_set_up is empty whatever the live model’s state. Settings › Voice’s Voice engine is Automatic, Gemini Live or Google Cloud; unless it’s Gemini Live it shows the cloud’s settings, and unless it’s Google Cloud the live model’s.
  • VOX-71 The voice and its locale. The voice is named as before (the personality’s, else [voice] voice): Chirp 3: HD’s voices have Gemini’s names, so Aoede in en-GB is en-GB-Chirp3-HD-Aoede. The locale is the personality’s (spec_064 PER-41), else the language the person speaks (language, else en-US); the locales are Chirp 3: HD’s (config.VoiceLocales, listed by DescribeVoice). Speech-to-Text listens for language, else the personality’s locale, else en-US.
  • VOX-72 Speed and pitch. A personality’s speed (0.5 to 2; 1 is the voice’s own) and pitch (−6 to 6 semitones; 0 is its own) are made together, since Chirp 3: HD takes a speaking rate and no pitch. The pitch is made by reading the audio faster or slower (pkg/engine/runtime/resample.go: a windowed-sinc resampler on the 24 kHz PCM, its band narrowed when reading faster), which also makes it shorter or longer by the same factor; so Text-to-Speech is asked for speed ÷ 2^(pitch/12), and the speech comes out at the speed, in the pitch. That rate must be within what the API takes (0.25 to 2): a speed and pitch that together aren’t are refused when the personality is saved (config.VoiceTuning.Check). The window plays what it’s sent, as with the live engine.
  • VOX-73 Hearing. Speech-to-Text ends a stream after five minutes, and one that’s sent no audio for a while. So a stream is open only while audio comes (listener in pkg/engine/runtime/cloudvoice.go): the first audio opens one (16 kHz PCM, interim words, voice activity events, automatic punctuation), audio goes in messages of at most 12.8 KB, a stream gone quiet for two seconds (the microphone muted, hold to talk released) is ended, which settles its last words, and the next audio opens another; a stream four minutes old is ended between sentences, and at 4 min 45 s whatever is being said. A stream that fails is tried again, three times in a row; a failure that isn’t a stream’s (a sign-in, a permission, a setting Google refuses) ends the conversation at once, saying why (VOX-74). With hold to talk the microphone reaches Speech-to-Text only while held.
  • VOX-73a 2026-11-26 (the owner, at Settings › Voice’s typed fields: “WTF am I supposed to put there?”, and “model is there twice”). Menus, not names to type, and each named for what it is. Tried against Google’s service that day: long in global (the default) and telephony in global send words as they’re said and settle a sentence about 0.1 s after it ends; chirp_3 in us and chirp_2 in us-central1 hear accurately but say nothing until the person has finished, so speaking over the voice waits for a whole sentence; chirp_3 isn’t in global; short misheard a word and chirp in us-central1 answered nothing, so neither is offered. Settings › Voice offers those four as How Blitz hears you (hearChoices, Standard first and recommended; a pair set by hand in the file shows as it is), setting hear_model and hear_location together. Model that writes the replies is a menu of the models the providers list, Default: your workspace’s small model first. The live engine’s menu is Gemini Live model, so with the engine on Automatic, which shows both engines’ settings, no two fields share a name.
  • VOX-74 Set up, and said when it isn’t. The cloud engine uses Google Cloud’s own credentials (Application Default Credentials: gcloud auth application-default login, a service account’s key file, or a Google Cloud machine’s), never a Gemini API key, which isn’t Speech-to-Text’s or Text-to-Speech’s; and a project with both APIs on: [llm.gemini] project_id, else GOOGLE_CLOUD_PROJECT, else the credentials’ own (their quota project). Missing credentials, a sign-in that has run out (tried as a conversation starts, and when Settings › Voice lists the models) or no project is VOICE_NOT_SET_UP with what to do; mid-conversation, an API that’s off, a refusal, a spent quota or a model or location Google doesn’t have is said in a sentence that names it (runtime.CloudVoiceProblem). DescribeVoice answers the engine, its settings, the locales, cloud_not_set_up and cloud_project; with the cloud engine its not_set_up is the cloud’s, and no live model is asked for.
  • VOX-75 Taking turns. A live model takes turns itself; here the engine does. The person’s words settle (Speech-to-Text’s final results) and are their line; 350 ms after the last of them with nothing more said (pause_ms, when set), the agent answers them together. What it writes is said as its sentences end (a long one without an end is said at 280 characters), in order; when a tool runs mid-answer, what’s written so far is said meanwhile and the rest is a second stream of speech (Text-to-Speech gives up a stream sent nothing for a few seconds). Speaking over the voice stops it: the person’s words while an answer is being written or its audio still playing (interim words; with noise = "noisy", only settled ones; with hold to talk, pressing) give the answer up, the window is sent interrupted and drops the audio it hasn’t played, no more of that answer’s audio follows, and what had been written is kept as the voice’s line. Blitz’s own notes to the voice (an approval waiting, a turn’s summary) are answered in turn, after what’s being said. start_ms is the live engine’s only.
  • VOX-76 Tests. The engine with a faked Speech-to-Text and Text-to-Speech and a scripted text model (pkg/engine/voicecloud_test.go): a conversation in a tuned personality’s voice, an interruption, hold to talk and a noisy room, a sample and a summary, speech each side of a tool, and what goes wrong. The clients against fakes of both streams (pkg/engine/runtime/cloudvoice_test.go): the resampler’s pitch, length and loudness, whole or in pieces; what Text-to-Speech is asked for; the listener’s streams, their limits and failures; the access and its wording. The service (TestVoiceCloudEngine) and the page’s fake (voice.test.ts). The paid check is TestCloudVoiceLive in pkg/engine/runtime (BLITZ_LIVE=1, Google Cloud credentials): the real Text-to-Speech says a sentence in a tuned voice and the real Speech-to-Text hears it back. First run 2026-11-26, in the owner’s project: en-GB-Chirp3-HD-Aoede at speed 0.9 and pitch −2 said its sentence, the first audio 0.4 s after it was asked for; Speech-to-Text’s long model in global heard it back word for word, with voice activity events and interim words, each sentence settled 0.1 s after it ended.
  • VOX-77 Not yet. generate_speech (spec_015) still speaks with a Gemini or OpenAI speech model, not Text-to-Speech, so a file it writes isn’t in the personality’s tuning. The cloud engine’s Speech-to-Text and Text-to-Speech use isn’t in the session’s cost (as VOX-18). While the microphone is open, tap to talk streams its audio to Speech-to-Text, silence too, which is billed by the minute.

9. Testing

  • VOX-60 A strict fake of the Live API in pkg/engine/runtime/wirefake (NewLive): a WebSocket server speaking BidiGenerateContent as Gemini does (setup first, then realtime input; transcripts, interruptions, tool calls, goAway, resumption handles; refusing out-of-order messages as the real one does), so the engine’s tests are as strict as the API.
  • VOX-61 Engine tests: each tool (VOX-11), approvals by voice and every refusal of VOX-13, summaries from facts (VOX-17), idle and goodbye endings, resumption across goAway and a dropped connection, redaction (VOX-12), usage (VOX-18), and that with voice off nothing of voice is built (VOX-02).
  • VOX-62 Service tests: the socket’s refusals (VOX-31), origin and token (VOX-32), the page server forwarding the upgrade, a whole conversation against the fake.
  • VOX-63 Page tests (Vitest): the button’s states, what’s waiting, the PCM conversions, the shared conversation, and the fake service’s conversation as the window drives it (refused while off; heard, handed over, said; an approval read out and allowed once; one a workspace; off ends it; the sample). Checked on the fake page in Chromium with a stubbed microphone: Settings › Voice off and on, a conversation, ending it from the status bar, in both themes.
  • VOX-64 The paid check (TestVoiceLive in pkg/engine), with BLITZ_LIVE=1, a Gemini key and recorded speech (BLITZ_VOICE_WAV, 16 kHz; macOS’s say and afconvert make one): the request heard, handed over with run_task, the tool’s reply survived, a turn’s end summarised. It costs a few cents and isn’t run in CI. 2026-11-13: it found the voice calling run_task with request while the tool’s schema said prompt, so every hand-off was refused (and the model said it had passed the work on when it hadn’t); the argument is request now, the instructions say to call the tool before saying so, and each tool call is logged at debug.

10. Done when

  • With voice off, nothing of voice shows, runs or asks for the microphone, in the window, the service or the OS.
  • With engine = "cloud" and Google Cloud signed in, a personality with a locale, a speed and a pitch is heard in them: in a conversation, a summary and the editor’s Play (VOX-70 to VOX-75).
  • With it on and Gemini set up, the person clicks the microphone, says a task, and the agent does it as if typed, approvals and all; the voice tells them when it’s done, what changed and what’s waiting.
  • Every setting is in Settings › Voice as well as the file, and applies as VOX-40 says.
  • The guide has a Voice page (docs/content/guide/voice.md), the privacy and configuration pages list [voice] and the microphone, spec_002’s settings table has [voice], and the release page says how to get started.
  • Tests as section 9, tools/coverage.sh --config=race at or above the floor, and the macOS build notarized with the new entitlement.

11. Open questions

  • VOX-90 VOX-52 assumes the organization’s policy can lock a setting; the policy today switches off built-ins by name (spec_053 EN-31). If it can’t lock [voice], building VOX-52 adds that.
  • VOX-91 Wake words (“Hey Blitz”) are left out: they need the microphone open all the time. Not planned.