gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Audio input instead of typing

Open nshiab opened this issue 1 year ago • 8 comments

What would you like to be added?

Amazing work.

But I would love to be able to talk with the agent instead of typing all the time.

I use Copilot in VS Code most of the time, and it's a feature that I love about it.

Thanks. :)

Why is this needed?

Speaking is often faster than typing.

Additional context

No response

nshiab avatar Jun 26 '25 16:06 nshiab

I use dictation inbuilt for mac and i added keyboard shortcut once i press Control keys twice it shows the audio and I do STT. https://support.apple.com/en-uz/guide/mac-help/mh40584/mac

I have not tried it on windows but you can check this https://support.microsoft.com/en-us/windows/use-voice-typing-to-talk-instead-of-type-on-your-pc-fec94565-c4bd-329d-e59a-af033fa5689f

olufuwatayo avatar Jun 26 '25 17:06 olufuwatayo

You can get very high quality voice to text by using a 3rd party with OpenAI whisper large integration.

xied-ctrl avatar Jun 26 '25 19:06 xied-ctrl

Hey @nshiab! 👋

Great suggestion! I've got some exciting news - Voice Mode already provides exactly what you're looking for with Gemini CLI!

Voice Mode + Gemini CLI = 🎤✨

Check out our demo video showing Voice Mode working seamlessly with Gemini CLI!

What you get:

✅ Full voice conversations - Talk to Gemini, hear responses back
✅ Natural speaking - No push-to-talk, just speak naturally
✅ Smart silence detection - Automatically knows when you're done
✅ High-quality STT - Uses OpenAI Whisper (as @xied-ctrl suggested!) or local alternatives

Quick setup:

# Set your OpenAI API key (for STT/TTS)
export OPENAI_API_KEY=your-key

# Configure Voice Mode in your .gemini/settings.json
# See our full Gemini CLI setup guide:
# https://github.com/mbailey/voicemode/blob/main/docs/integrations/gemini-cli/README.md

# Start Gemini CLI
gemini

# Then type 'converse' to start voice mode

Then just say: "Let's have a voice conversation" and you're speaking with Gemini! 🎙️

Why it's better than OS dictation:

As @olufuwatayo mentioned, OS dictation works, but Voice Mode offers:

  • Two-way voice - Hear Gemini's responses too
  • Context-aware - Gemini can ask clarifying questions verbally
  • Faster workflow - No switching between dictation and reading

Bonus features:

  • Local STT option - Use Whisper.cpp for privacy
  • Multiple voices - Choose how Gemini sounds
  • Emotional speech - Gemini can express excitement, concern, etc.

Speaking really is faster than typing - and with Voice Mode, the entire conversation flows naturally!

Would love to hear your feedback after trying it out!

getvoicemode avatar Jun 30 '25 21:06 getvoicemode

Very interesting! Thank you all for these suggestions!

nshiab avatar Jul 02 '25 12:07 nshiab

Related work: https://github.com/mbailey/voicemode

jacob314 avatar Jul 31 '25 21:07 jacob314

I have been working on this

using MCP + custom slash commands

Commands https://github.com/automateyournetwork/GeminiCLI_Slash_Talk

Matching MCP https://github.com/automateyournetwork/Talk_MCP_for_Gemini_CLI

Video in action: https://youtu.be/beVxnNnEmro

automateyournetwork avatar Aug 22 '25 11:08 automateyournetwork

My PR #18499 introduces an experimental version of voice input. It handles recording and transcription within the CLI application.

fayerman-source avatar Feb 19 '26 02:02 fayerman-source

Assigned area/agent based on content keywords. Marked as kind/customer-issue with priority/p3.

gemini-cli[bot] avatar May 09 '26 20:05 gemini-cli[bot]