[FR]: Gemini Live API integration for voice-based interaction
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- android, kotlin
- Ambito
- ai, audio-video-rtc, mobile
Direzione di ricerca
Inizia tracciando il flusso attuale dell’Interactions API solo testuale nella UI della chat e la conversione esistente dello schema degli strumenti da AppFunction a Gemini menzionata nell’issue. Esamina la documentazione di Gemini Live API e i requisiti audio di Android prima di decidere come si integrano streaming, chiamate agli strumenti, trascrizioni e controlli della modalità vocale. Il lavoro è completato quando l’input e l’output vocali funzionano end-to-end e AppFunctions rimangono richiamabili.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is there an existing issue for this?
- I have searched the existing issues
Describe the problem
AppFunctions Studio currently only supports text-based interaction with the agent. For interactive showcases, being able to speak to the agent and hear responses would be dramatically more compelling and natural — especially when demonstrating how AppFunctions enable hands-free, voice-driven workflows on Android.
Describe the solution
Motivation
AppFunctions are fundamentally about enabling agent-driven automation without opening app UIs. The most natural interface for this is voice — a user says "create a note about tomorrow's meeting" and the agent executes it via AppFunctions. But the current testing agent forces users to type, which undermines the demo narrative.
Key use cases:
- Demos: Showing executives how AppFunctions work in a hands-free, conversational way
- Developer testing: Rapidly testing AppFunction flows via voice without typing complex queries
- Accessibility: Voice-first interaction for users who can't easily type on mobile
Technical Context
The agent currently uses the Interactions API with text input exclusively. Google already offers the Gemini Live API which supports:
- Real-time audio input/output (bidirectional streaming)
- Tool use / function calling — critical for AppFunctions execution
- Low-latency audio-to-audio via gemini-3.1-flash-live-preview
- Session management for multi-turn conversations
The Live API already supports tools, meaning the existing AppFunction → Gemini tool schema conversion could be reused. The agent would need:
- Audio capture (microphone) → streaming to Live API
- Live API processes speech, calls AppFunctions as tools (same flow as today)
- Audio response streamed back → speaker output
Suggested Implementation
- Add a "Voice mode" toggle or a push-to-talk button in the chat UI
- Show a transcript in the chat alongside audio (for clarity and debugging)
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
- Lingua principale
- Kotlin
- Stelle
- 194
- Fork
- 37
- Merge medio
- 12h 5m
- PR unite (30g)
- 1
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di android/appfunctions
-
Clarify production invocation, Android Auto support, and Android 16 fallback in AppFunctions docs Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
android/appfunctions#51 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
android/appfunctions#50 · 1 commento ·
-
[Bug]: Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
android/appfunctions#49 ·
-
bug question
android/appfunctions#39 · 1 commento · 1 assegnatario ·
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
android/appfunctions#38 ·
Tutte le issue di android/appfunctions
Issue simili
-
autoteam community team/use
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
android: AlbumArtistDetailViewModel keeps groupKeys of albums that disappeared in expandedAlbums Apertatask
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
aaif-goose/goose#12496 ·
-
Schema rejections are neither logged nor attributed, so the offending object cannot be identified Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
zotero/zotero-android#350 ·
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Richie97/track-history#325 ·