Prompting AI With Your Voice: A Developer's Guide to Dictating Code
Vibe coding changed the bottleneck. When an AI agent writes the code, your job is to describe intent clearly — and describing is something you do far faster by voice than by keyboard. Here's how developers use dictation to prompt and code faster.
Why voice fits AI coding
The effectiveness of AI-assisted coding scales with how much clear context you can give the model. Typing a detailed prompt is slow; speaking it is not. You can explain three or four times more per minute by voice — and the low-friction flow keeps you in the zone.
What it looks like
In Cursor, an AI chat, or your terminal:
- Put your cursor in the prompt box.
- Press Fn twice.
- Describe what you want: "Make a new React component called TaskDashboard. Add a useState hook for selectedTaskId initialized to null, and another for isSidebarOpen set to true."
- Press Fn once — the prompt appears, clean and correctly formatted.
Good dictation handles developer language: framework names, camelCase identifiers, and technical terms come through intact, especially with a custom dictionary for your stack's jargon.
Tips for dictating technical text
- Add your terms to a dictionary — product names, libraries, teammates — so they're spelled right every time.
- Speak structure out loud — "first," "then," "finally" — and let the tool format it.
- Dictate the intent, not the syntax. Let the AI write the exact code; you describe the goal.
The payoff
Less time typing prompts means more iterations, more context, and less friction between idea and result — which is the whole point of coding with AI.
Duo Voice supports custom dictionaries and works in Cursor, VS Code, and any AI chat. Download for Mac.