Repository navigation
[Feature]: Read agent responses aloud on mobile with background TTS #12622
Replies: 9 comments 3 replies
|
A useful way to keep the first version small is to define a transport-neutral playback session before adding provider choice. I would treat one completed response as an immutable source snapshot and derive speakable segments with stable offsets. Markdown syntax can be removed while preserving heading and list order; code blocks and long URLs could be skipped by default with a short spoken marker and an explicit option to read them. Otherwise technical responses become difficult to follow when TTS reads fences and tokens literally. The minimum lifecycle matrix I would pin is foreground, background, and locked playback; play, pause, stop, and segment navigation; phone-call or audio-focus interruption; Bluetooth route change; and response regeneration. Resume should only restore the same response revision, never begin reading a newer regenerated answer without the user choosing it. Native TTS is also a clean privacy boundary for v1. If external providers arrive later, network synthesis should be explicit at provider selection and playback, show what response text leaves the device, and keep credentials in platform-secure storage. That prevents the zero-configuration path from quietly changing its data boundary. For acceptance, lock-screen metadata can identify the project and response without exposing response content; system media controls should stay synchronized; the completion notification should deep-link to the exact response; and screen-reader navigation and Read Aloud should remain independent so one does not hijack the other. That playback contract seems more valuable for the first slice than provider selection, which can sit behind it later. |
|
Would love this especially when I am out walking I need to look where I am going not at the screen. |
|
Adding the Android specifics from #18501, which was closed as a duplicate of this thread. On Android, Android TTS has no pause call, only
Read the same string the copy button already uses ( |
|
Disclosure: I built this, so take it with that in mind. On the "have a conversation with the agent" part from @Porkstone: there is a workaround today that sits next to T3 Code, not inside it. voicehook (https://voicehook.ai/?utm_source=github&utm_campaign=d8-t3code). You start a voice call in the browser, on your phone if you like. Tap "invite agent" and paste the link into the running Codex or Claude Code session. The agent joins over plain HTTPS/curl, nothing to install. Instructions for the agent: https://voicehook.ai/agent/SKILL.md?utm_source=github&utm_campaign=d8-t3code The voice in the call answers from a status board and FAQ that the agent keeps up to date. So you can ask where it's at while it keeps working. About 10 free minutes every day, no login needed. It is not Read Aloud inside the app, so it doesn't solve this request. A native version would still be nicer. |
|
+1, and here are the details that matter for my use case. I listen to agent replies while driving (Android Auto) or away from my desk, both in the Android app and over T3 Connect in a browser. The OS-level workarounds people suggest (Android Select to Speak, TalkBack, browser "read page") don't work for this:
What would cover it for me:
|
|
+1. This is critical for me. I use the T3 Code Android app on a Pixel 10, and not being able to have agent responses read aloud is the biggest gap I hit. Almost every other mobile app I use can read content aloud using the phone's built-in text-to-speech. T3 Code is the exception. What I need is the smallest scope from the original post:
Would maintainers be open to approving this direction so a contributor can pick it up? |
|
Written and posted by Claude on behalf of this account's owner, at their request. +1, and this is the part that matters most to me: I code while walking, with the phone locked in my pocket. T3 mobile already renders agent-embedded audio files inline (expo-audio). But
My current workaround says a lot: I bridge T3 threads to Telegram with a small script and a local Kokoro TTS. When a run finishes, the reply arrives as a Telegram voice note, and Telegram's player handles background playback, lock screen, and playing notes one after another. It works well, but I'd much rather it lived inside T3. |
|
Two-way voice is working — reporting back since I was commenting here earlier tonight. I built a small local bridge that closes this loop end to end, no T3 changes needed: https://github.com/tpaulshippy/t3-voice-bridge
Tested live tonight in both directions (voice out as |
|
+1, with one addition on top of #35910. I do research with agents with lots of back and forth before we decide something, so I'd like to listen to the conversation, not just one reply:
|
Uh oh!
There was an error while loading. Please reload this page.
Description
Add a Read Aloud action to agent responses in the T3 Code mobile app.
A common workflow for me is receiving a notification that an agent has finished while I am away from my desk. I want to open the response, tap Read Aloud, put the phone back in my pocket, and listen while I continue doing something else.
This is different from screen-reader accessibility or playing an audio file generated by an agent. The feature would take the text of an existing agent response and synthesize speech from it on demand.
Proposed UX
Add Read Aloud alongside the existing actions such as Copy on completed agent responses.
Tapping it should start reading that response and provide basic play/pause/stop controls.
Playback should continue when:
Where supported, playback should also integrate with the normal lock-screen / system media controls.
TTS providers
Native iOS/Android text-to-speech would be a useful zero-configuration default.
It would also be useful to allow optional BYO API keys for higher-quality TTS providers such as:
These providers offer substantially more natural voices than typical system TTS. Users should be able to select the provider and voice, with native TTS remaining available without any external account.
Smallest useful scope
For a first version:
External TTS providers and voice selection could be added without changing the basic interaction.
Related work
Related, but not duplicates:
The main mobile-specific requirement here is reliable background playback so an agent response can be listened to after opening it from a completion notification.
All reactions