Coding agents do their best work on long, specific prompts, and long prompts are exactly what people stop writing after the third one of the day. To code by voice in 2027 you no longer need a separate dictation app: Claude Code, GitHub Copilot CLI, Kiro CLI, Google's Antigravity CLI, Aider, Cursor and VS Code all ship voice input.
The tools differ on three things that matter more than accuracy: whether your audio is transcribed on your machine or on a vendor's server, whether the prompt sends itself when you stop talking, and whether the feature is plain dictation or a two-way voice conversation where the agent talks back. Every command and setting below is copied from the vendor's own documentation, checked November 29, 2026.
Why Spoken Prompts Come Out Better
A Stanford and Baidu study by Ruan, Wobbrock, Liou, Ng and Landay measured English speech input at 153 words per minute against 52 on an iPhone 6 Plus keyboard, 2.93 times faster, though speech left slightly more uncorrected errors (1.30% vs 0.79%). That was a phone keyboard in a lab; a fast desktop typist closes some of the gap.
The bigger win is what people say when talking costs nothing. Here is the prompt this guide carries through every tool, for a Node.js orders-api service:
"In the orders API, the CSV export at GET /orders/export writes created_at in UTC, but store owners in Chicago read it as local time. Convert timestamps to each store's time zone from the stores table, keep ISO 8601 format, and add a test for an order placed at 11:30 PM Central on March 13, 2027, the night before daylight saving time starts. Don't touch the JSON endpoints.
That is 68 words and about 25 seconds of talking. Typed, most of us would send "export timestamps are wrong, fix" and spend three follow-up turns on the rest. The test case matters: 11:30 PM CST on March 13, 2027 is 05:30 UTC on March 14, so a UTC export puts the order on the wrong day.
The Fastest Way to Try It
Before installing anything, open the Speech to Text tool and read the example prompt out loud. It runs on your browser's built-in speech engine with no upload, so you can check your mic and accent in seconds. If the words come out garbled, check the input device with the Microphone Test first; the laptop is often listening to the wrong mic.
Voice Input in Each Coding Agent
| Agent | Start | Where audio is transcribed | Sends on its own | Two-way voice |
|---|---|---|---|---|
| Claude Code | /voice, then hold Space | Anthropic's servers | Optional (autoSubmit), default in tap mode | No |
| GitHub Copilot CLI | hold Space, or Ctrl+X then V | On device | No | No |
| Kiro CLI | /voice, or hold Space 1.5 s | On device (whisper.cpp) | Yes, by default | No |
| Antigravity CLI | F5 or /voice dictate | Google's transcription service | No | Yes (F6) |
| Aider | /voice, Enter to stop | OpenAI whisper-1 API | No | No |
| Cursor | Cmd+Shift+Space (IDE) | Not documented for dictation | No | Yes (voice chat) |
| VS Code | mic button in chat | On device (desktop) | No | Yes (Voice Mode) |

OpenAI's Codex is the notable gap: its CLI and IDE feature pages document no voice input as of November 29, 2026.
Claude Code Streams Audio to Anthropic and Knows Your Branch Name
Run /voice in the Claude Code CLI and it enables hold-to-record on Space; /voice tap switches to tap once to start, tap again to send. Per the docs, audio "is not processed locally," it needs a Claude.ai account sign-in rather than an API key, Amazon Bedrock or Microsoft Foundry, and it does not work over SSH or in cloud sessions. Transcription does not consume tokens or count toward /usage. Recognition is tuned for terms like OAuth and localhost, and your project name and git branch name are added as hints automatically, so "orders-api" and "fix/export-timezone" come through spelled right.

To make hold mode send the prompt on release (only when the transcript is three words or more), add this to ~/.claude/settings.json:
JSON{ "voice": { "enabled": true, "mode": "hold", "autoSubmit": true } }
Holding Space has a short warmup because Claude Code detects a held key from key-repeat events. Binding voice:pushToTalk to a modifier combo in ~/.claude/keybindings.json starts recording on the first keypress:
JSON{ "bindings": [ { "context": "Chat", "bindings": { "meta+k": "voice:pushToTalk" } } ] }
GitHub Copilot CLI Transcribes Locally and Can Clean Up Your Rambling
Voice input in GitHub Copilot CLI became generally available on June 2, 2026. The first /voice downloads a voice runtime and a speech model, and from then on "Transcription runs entirely on your local machine." Hold Space for short prompts; for a long one like the export fix, press Ctrl+X then V, talk, and press a letter key to stop. It runs on Windows x64 and ARM64, Linux x64 and Apple Silicon Macs, not Intel Macs. The feature worth knowing is /refine, which strips filler words and false starts and applies your spoken self-corrections ("actually, Central time, not Eastern") before you send.

Kiro CLI Runs Whisper on Your Machine and Sends Immediately
Kiro CLI transcribes with OpenAI's Whisper through whisper.cpp, entirely on your machine. The first /voice asks before downloading the default base model (about 148 MB, MIT licensed); the small model (about 466 MB) is slower and more accurate. Unlike the others it submits as soon as you stop, which is also how a half-finished thought reaches the agent. To review first:
Bashkiro-cli settings set voice.autoSubmit false kiro-cli settings set voice.modelSize small
Kiro feeds recent conversation into Whisper's prompt to get function names right, and kiro-cli voice-serve streams your laptop's mic to a cloud desktop over SSH.

Antigravity CLI Has Dictation on F5 and a Voice Conversation on F6
Google's Antigravity CLI splits the feature in two. F5 (or /voice dictate) streams a live transcript into the prompt box and never auto-submits; Enter stops and keeps the text, Esc discards it. F6 (or /voice live) starts a spoken conversation where the agent answers out loud. Dictation isn't available on business or enterprise accounts or in --print mode. For remote boxes, agy mic-serve serves your local mic on 127.0.0.1:4713 for an SSH reverse tunnel.

Aider Sends Your Recording to OpenAI's Whisper API
Aider has had /voice since v0.12.0 in August 2023: type it, speak, press Enter, and the transcript is pre-filled in the prompt for you to edit and send. Its source (aider/voice.py) records with PortAudio and calls OpenAI's whisper-1 through LiteLLM, and /voice refuses to start without OPENAI_API_KEY set, even if you code with Claude or a local model. On a Mac, brew install portaudio first; on Debian or Ubuntu, sudo apt-get install libportaudio2. The latest tagged release is v0.86.0 from August 9, 2025.

Cursor Has Dictation and a Realtime Voice Chat
Cursor has two seperate features. Dictation turns speech into text in the chat input, toggled with Cmd+Shift+Space in the IDE; the 3.1 release on April 13, 2026 added press-and-hold Ctrl+M in the Agents Window and switched to batch transcription of the full clip. Voice chat, added November 6, 2026, is a live call: click the waveform button next to the dictation mic and the coding agent reads short progress notes back while it works. Voice chat runs on Grok Voice and, with Privacy Mode on, with zero data retention. Cursor's changelog doesn't name the model behind dictation.

VS Code Dictates On Device and Can Clean Up With an LLM
VS Code 1.131 (July 29, 2026) built dictation into the editor, and 1.132 (August 5, 2026) made the multilingual Nemotron 3.5 model the default. On desktop it downloads nemotron-3.5-asr-streaming-0.6b once and then works offline on Windows, Apple silicon Macs and Linux with glibc 2.34 or later; VS Code for the Web streams audio to Microsoft's cloud instead. One catch: dictation.experimental.llmCleanup is on by default and sends the transcript text to a Copilot model for cleanup. To keep everything local:
{
"dictation.experimental.llmCleanup": false
}
You can also teach the cleanup step your vocabulary in .github/dictation.md (workspace) or ~/.copilot/dictation.md (user). Voice Mode (agents.voice.enabled) is a two-way conversation that lets you say "approve" or "reject" to tool confirmations. Hosted Voice Mode needs an eligible individual Copilot plan and isn't available on Copilot Business or Enterprise; an OpenAI key with a Live model is the alternative.

Dictation Built Into Your OS
For any agent without a mic button, OS dictation works in any text field. On a Mac, press the Microphone key, the Dictation shortcut, or choose Edit > Start Dictation; Keyboard settings shows whether your audio is processed on device. On Windows 11, Windows key + H starts voice typing, which Microsoft says "uses online speech recognition, which is powered by Azure Speech services," so it needs an internet connection. Neither knows your codebase, so fix identifiers like orders-api by hand.
How to Dictate a Prompt the Agent Can Use
Talk about intent and constraints, not syntax. "Add a test for an order at 11:30 PM Central the night before daylight saving" transcribes perfectly; "open paren, created underscore at" does not, and the agent can find the column itself.
Front-load the scope: you lose the thread while talking, so say "don't touch the JSON endpoints" early, not 60 seconds in. Re-read the box before you press Enter.
For anything bigger than one change, dictate a spec into the Markdown Editor, cut it into headings, and hand the file to the agent. You get a document you can recieve feedback on and reuse.
Common Errors
/voice needs a Claude subscription or /voice isn't available with <provider>. Claude Code sees an ANTHROPIC_API_KEY, apiKeyHelper or third-party provider, which takes precedence over your Claude.ai sign-in. Remove it, restart, and run /login.
Microphone access is denied. Grant your terminal mic permission in System Settings > Privacy & Security > Microphone. If the terminal isn't listed on macOS, reset it with tccutil reset Microphone com.googlecode.iterm2 (or com.apple.Terminal), quit the app with Cmd+Q, and run /voice again.
Voice mode needs SoX to record on Linux. Install SoX (sudo apt-get install sox). Under WSL, use sudo apt install sox libsox-fmt-pulse, because the ALSA backend can't record without a /dev/snd device.
Holding Space just types spaces. Voice is off (/voice hold turns it on), or key-repeat is disabled at the OS level, which breaks hold detection in Claude Code. Switch to /voice tap.
When Not to Code by Voice
Skip it in open offices, and think twice about cloud transcription when describing code under NDA or a security bug: Claude Code, Antigravity, Aider and VS Code for the Web all send audio off your machine, while Copilot CLI, Kiro and desktop VS Code keep it local. Voice is also the wrong tool for an exact regex or a one-character fix.
Conclusion
Already in Claude Code: run /voice tap and use it for every prompt longer than a sentence for a week. Need audio to stay on your machine: Copilot CLI, Kiro CLI or desktop VS Code with llmCleanup off. Want the agent to talk back: Cursor voice chat, Antigravity's F6 or VS Code Voice Mode. On Codex or another agent without a mic: OS dictation or a system-wide dictation app works in any terminal. The gain is the 68-word prompt you'd never have typed, not words per minute.
Related DevToolLab Tools
- Speech to Text - read a prompt aloud in the browser to check transcription quality before turning on
/voice. - Microphone Test - see a live waveform and confirm the right input device when dictation returns silence.
- Markdown Editor - turn a dictated spec into headed sections before handing it to an agent.
- JSON Validator - check
settings.jsonandkeybindings.jsonafter adding voice settings, since one trailing comma breaks the whole file.
Related Guides
- Best CLI AI Coding Agents - Claude Code, Codex, Copilot CLI and the rest compared on more than voice
- What Is Vibe Coding? - the prompting style voice input fits best
- Context Engineering Guide - what belongs in a long prompt once talking makes it cheap
- Free and Open-Source Dictation Apps - system-wide dictation for agents with no mic button
