Skip to content

Guide

Voice coding with AI agents: talk to Claude Code, Codex and OpenCode

Voice coding used to mean saying every bracket out loud. With coding agents it means something simpler: you say what you want, and the agent writes the code. Here is what Claude Code, Codex and OpenCode can do with your voice today, the ways that work with any agent, and where your voice goes in each case.

Updated

Claude Code: /voice is dictation

Type /voice in Claude Code. Then hold Space, talk, and let go: your words appear in the prompt. /voice tap switches to tap to start, tap to send.

  • It understands code words — regex, OAuth, localhost — and gets your project’s name and branch as hints.
  • 20 languages, English by default, from your language setting.
  • Your audio goes to Anthropic’s servers for transcription; it is not processed locally, and it does not count toward your usage limits.
  • It needs a Claude.ai sign-in, not an API key, and a microphone on the machine itself: no SSH or cloud sessions.

What it isn’t: a conversation. Claude Code doesn’t answer aloud — Anthropic’s own help says that in Claude Code dictation is available but voice mode isn’t. To hear when it’s done, add a hook: Claude Code voice notifications.

Sources: Claude Code documentation, Claude Help Center

Codex: voice lives in the ChatGPT app

In the ChatGPT desktop app, Dictate turns your speech into a prompt, and ChatGPT Voice is a live spoken conversation that can start Codex tasks, check on them and send follow-ups — on the Plus, Pro, Business, Edu and Enterprise plans.

The Codex CLI has no voice input: in November 2026 an OpenAI contributor wrote that its terminal UI doesn’t support voice transcription.

Sources: ChatGPT Learn: Prompting: use voice dictation, ChatGPT Learn: ChatGPT Voice, GitHub

OpenCode: calls from the phone

There is no voice in OpenCode’s terminal or desktop app. Its new mobile app can call a session: you say what you need, and the agent answers out loud, through your OpenCode server’s provider keys.

Sources: OpenCode, GitHub

Ways that work with any agent

  • System dictation. macOS Dictation, Windows Win+H, or an app such as Wispr Flow (cloud), Handy or superwhisper (on your computer). Put the cursor in the agent’s prompt and talk: to the agent it’s just text.
  • Talon Voice. Full hands-free control — commands, dictation, even a mouse moved by your eyes — with a local engine; free, with a paid tier on Patreon. For people who can’t or won’t use a keyboard.
  • Your editor. VS Code has built-in dictation that runs on the device and a voice mode that reads replies aloud; Cursor has dictation and a voice chat with its agent.
  • Aider’s /voice records you and sends the audio to OpenAI’s Whisper, so it needs an OpenAI key.

Serenade, the open-source voice coding assistant, hasn’t shipped a release since 2022.

Sources: Talon Voice, Visual Studio Code documentation, Cursor documentation, Aider documentation, GitHub

Prompts that work by voice

Spoken prompts are longer and looser than typed ones. That’s fine — agents handle it — but a few habits help:

  • Say the outcome first: “The checkout page should show the discount. It doesn’t. Find out why and fix it.”
  • Name the place: “in the billing folder”, “the file with the cart total”.
  • Say how to check: “run the tests”, “don’t touch the API”.
  • Ask for a plan first when the change is big: “tell me what you’d change before you change it”.

With DuoWave

DuoWave is a free, open-source assistant that runs on your computer and talks back. Press “Say” — ⌥Space by default — and talk to it; it answers aloud.

  • Small tools by voice. Say what you need — “a widget with the build status of my three projects” — and DuoWave’s workshop writes a small app, puts it on a try-on, and onto your desk when you like it. You change it the same way, with words.
  • Long jobs, spoken. Ask for something that takes a while, and DuoWave says it has started, answers “How’s it going?”, and tells you when it’s done.
  • Coding agents in your repositories. Claude Code, Codex, OpenCode and Factory Droid run as jobs from DuoWave’s panel: each in its own copy and on its own branch, with a live journal, notes added on the way, and a wait — not a failure — when your Claude plan hits its limit. How it works.

Download DuoWave — it is free and open source.

Sources: DuoWave, release 0.15.0

Questions

Does Claude Code have a voice mode?

It has voice dictation: /voice, then hold Space and talk. It doesn’t speak its answers.

Is Claude Code’s voice processed locally?

No. The audio goes to Anthropic’s servers for transcription.

Can I use Claude Code’s voice with an API key?

No. /voice needs a Claude.ai sign-in.

Does the Codex CLI support voice?

Not today. Codex’s voice is in the ChatGPT desktop app: Dictate and ChatGPT Voice.

What is the best free way to code by voice?

System dictation on macOS or Windows, or a free local app such as Handy, into any agent’s prompt; Talon if you want full hands-free control.

Sources

Checked on 17 November 2026.

  1. Claude Code documentation: Voice dictation — hold Space, 20 languages, audio to Anthropic’s servers, a Claude.ai sign-in
  2. Claude Help Center: Use voice mode — in Claude Code, dictation is available but voice mode isn’t
  3. ChatGPT Learn: Prompting: use voice dictation
  4. ChatGPT Learn: ChatGPT Voice — starts and steers Codex tasks in the desktop app
  5. GitHub: openai/codex, issue 39522 — the terminal UI doesn’t support voice transcription, 9 November 2026
  6. OpenCode: Mobile — call a session; the agent answers out loud
  7. GitHub: anomalyco/opencode, issue 53977 — no built-in voice input
  8. Talon Voice: Talon
  9. Visual Studio Code documentation: Voice interactions
  10. Cursor documentation: Voice chat
  11. Aider documentation: Voice-to-code — records you and sends the audio to OpenAI’s Whisper
  12. GitHub: serenadeai/serenade — last release 2.0.2, July 2022
  13. DuoWave, release 0.15.0: changelog — the «Say» key and the computer’s voice, apps on request, long tasks, works in work folders

DuoWave

One small program between your things and any AI

DuoWave is a free, open-source AI assistant. Say what you need — it builds small apps, automates your routine and reports back when it's done.

DuoWave is an independent project. It is not affiliated with or endorsed by any speaker maker or AI company. Product names belong to their owners.