Repository navigation
docs(plans): design dictation and voice mode (later release) - #6491
Conversation
GAIA can speak a reply but neither app can listen. This plan scopes dictation into the composer and a hands-free voice mode that speaks a short answer and keeps the full work on screen, targeted at v0.26. It settles a server-side voice session, Moonshine streaming recognition for English with Whisper otherwise, the loaded chat model with a spoken summary contract, model-written status lines while tools run, and a local-only rule, with a six-PR delivery sequence.
Voice mode now has a phone design: the Agent UI over mobile access, with the phone recording and playing while every model stays on the PC. The plan covers the first-tap audio unlock, wake lock, pausing on lock, the iPhone silent switch, per-device turn-taking, bandwidth over the tunnel, and what the ngrok relay can see. Listening and speaking get distinct animations driven by the live audio level, the state word shimmers while active, and the screen drops helper text. Voice turns keep their spoken summary as the message's lead line.
A notification is easy to miss under Do Not Disturb. This plan lets GAIA text or call the user's verified numbers when a rule they set fires, then talk in voice mode over the call, with the models still on the PC. - Telnyx by default, any SIP provider through plain SIP. The PC registers outbound, so calls need no public URL, webhook or tunnel. - A Go sidecar (gaia-phone, on BSD/MIT SIP and RTP libraries) feeds call audio into the voice-mode session. - Texts carry the alert title by default. Covers US 10DLC/toll-free registration and one-way texts until replies have a route. - Gates enforced in the sidecar: verified numbers only, quiet hours, daily caps, confirmation before details, PIN for actions and inbound calls.
A review found that confirming a call with "go ahead" let whoever answered reach the agent, and that several assumed hooks don't exist. The plans now match the code and close those gaps. - Phone: Twilio by default (individual sign-up, trial fits the phone book), hosted in the daemon. Alert calls use an inline script and polling, so they need no public URL. Calls and texts say only a fixed sentence per alert type. A phone book verified by code, with a second-number check and announcements. Separate limits for agent alerts, cooldowns, a Simulated provider for testing, and a PIN before talking on a call (phase B). - Voice: each app runs voice turns through its normal chat path. The server session owns the audio: recognition, speech, the earcon and levels.
Voicemail no longer counts as reaching you, the phone book can't be emptied and refilled, alerts can't double-call after a crash, and the approval and agent sources say what they enforce. Phase B is hosted by the Agent UI server.
|
The failing URL check was not about this change: two README badge images timed out (HTTP 408) on that run. Merged current main (no conflicts) so the check runs again; locally Left as a draft because the description still says this is a design for a later release. The voice and phone work in #6789 and #6790 now builds on these two plans, so if that line is out of date this can be marked ready as it stands. |
Read-aloud merged in amd#6489, so the plan no longer builds on an unmerged branch.
|
Marked ready: both plans read as one coherent design, their claims about today's code check out, and there's no private data or partner name in them. The description's first line now says #6789 and #6790 build on it instead of "nothing here is built", and the voice plan points at the merged read-aloud PR (#6489) instead of an unmerged branch. |
|
The voice plan still describes two merged PRs as unmerged, which contradicts its own header ("Builds on read-aloud (#6489)"). Fix those two lines and this is ready to merge. 🔍 Technical details
The only red check was the review bot hitting a GitHub API rate limit before it ran. It has been re-run. |
|
Fixed: the voice plan now treats read-aloud (#6489) and the flagship speech tool (#6204) as merged, and PR 2 no longer waits on read-aloud. 🔍 Technical details
|
This is the design the voice and phone work builds on (#6789, #6790). The plans ship no code, and they don't block or change current release work.
GAIA can read a reply aloud, but neither the Agent UI nor the TUI can listen. This plan covers two features:
It's built to feel instant and to stay 100% on the PC:
Arabic users get dictation, and voice mode answers them on screen until an Arabic voice exists. The plan ends with a six-PR delivery sequence, dictation first.
Refs #702, #372
Test plan
python util/check_doc_links.pypasses