Skip to content

docs(plans): design dictation and voice mode (later release) - #6491

Merged
kovtcharov-amd merged 12 commits into
amd:mainfrom
kovtcharov:kalin/voice-plan
Nov 12, 2026
Merged

kovtcharov-amd merged 12 commits into
amd:mainfrom
kovtcharov:kalin/voice-plan

Conversation

@kovtcharov

@kovtcharov kovtcharov commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

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:

  • Dictation: talk into the composer, and the text lands in the box for you to edit before sending.
  • Voice mode: a hands-free screen of its own. GAIA speaks short answers and keeps the full detail of what it did on screen: tool steps, results and files.

It's built to feel instant and to stay 100% on the PC:

  • small streaming models (Moonshine Streaming for English, Whisper for other languages, Kokoro for speech, the chat model already loaded)
  • one server-side voice session
  • spoken status lines the model writes before each tool call
  • a latency budget of about 1.5 s from the end of speech to GAIA talking

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.py passes
  • The page renders under Roadmap › Agent UI on the Mintlify preview

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.
@github-actions github-actions Bot added the documentation Documentation changes label Nov 3, 2026
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.
@kovtcharov-amd kovtcharov-amd added the multilingual Language support: translations, right-to-left layout, Arabic and other non-English languages label Nov 6, 2026
@kovtcharov

Copy link
Copy Markdown
Contributor Author

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 python util/check_doc_links.py passes with 0 broken links.

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.

@kovtcharov-amd
kovtcharov-amd marked this pull request as ready for review November 12, 2026 06:45
@kovtcharov-amd
kovtcharov-amd self-requested a review as a code owner November 12, 2026 06:45
@kovtcharov-amd

Copy link
Copy Markdown
Collaborator

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.

@kovtcharov-amd

Copy link
Copy Markdown
Collaborator

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.

…plan

Read-aloud (amd#6489) and the flagship text_to_speech tool (amd#6204) have both
merged, but the plan still treated them as open branches to coordinate with.
@kovtcharov-amd

Copy link
Copy Markdown
Collaborator

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

@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Nov 12, 2026
Merged via the queue into amd:main with commit 2847ac5 Nov 12, 2026
29 of 31 checks passed
@kovtcharov-amd
kovtcharov-amd deleted the kalin/voice-plan branch November 12, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation changes multilingual Language support: translations, right-to-left layout, Arabic and other non-English languages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants