wispa
Coding agents

Voice for Claude Code

wispa adds a voice loop to Claude Code in the terminal: when Claude Code stops to ask you something, you answer out loud and your words go back as its next message.

3 min read

wispa turns Claude Code into a hands-free conversation. On top of normal dictation, it adds a voice loop: whenever Claude Code pauses to ask you something in the terminal, you answer by voice instead of typing.

How the voice loop works with Claude Code

Claude Code runs a Stop hook at the end of every turn. wispa installs that hook, so the moment Claude Code finishes and waits for you, it hands its last message to wispa. A small prompt appears, you speak your reply, and wispa sends the text straight back to Claude Code as your next message, so the session keeps going without your hands leaving the keyboard.

Set it up

  1. Open wispa's Integrations, pick Claude Code, and click install. wispa writes the Stop hook into $HOME/.claude/settings.json and keeps a backup of the old file.
  2. Start Claude Code in your terminal the way you normally would.
  3. When Claude Code asks a question and waits, hold your wispa hotkey and speak your answer.
  4. wispa transcribes it and Claude Code continues with your reply. Repeat for as long as the session runs.

Terminal or editor?

The voice loop is for Claude Code in the terminal, which is where it runs, and wispa drives that back-and-forth. Everywhere else, including your editor and its chat box, normal push-to-talk dictation still works, so you can dictate prompts by voice there too.

What wispa does in the background

wispa runs a small listener on your own machine at 127.0.0.1, protected by a private token, and no web page can reach it. The hook only sends Claude Code's last message and working folder. wispa shows the prompt, records your answer, and transcribes it with the model your voice loop is set to, with no AI cleanup or word replacement on that reply. Your words are handed to Claude Code framed as user input, so the agent treats them as your instruction and nothing in its own output can hijack the loop.

FAQ

Questions and answers

Do I still type my answers to Claude Code?

No. When Claude Code asks and waits, you answer by voice and wispa sends the text back as your next message. You can always fall back to typing, and it stays available.

Where does wispa put the Claude Code hook?

In your $HOME/.claude/settings.json, as a Stop hook. wispa backs up the previous file first and leaves your other settings untouched, and you can remove the hook from wispa's Integrations at any time.

Is my voice sent to wispa's servers?

No. The voice loop runs locally between wispa and Claude Code. Your reply is transcribed with the model you chose, which is on your device with a local model, or through the cloud provider whose key you added.

Ready when you are

Start dictating in minutes

Download wispa, load a model or add a cloud key, and your voice becomes clean text in nearly any app. Free while in beta.

Download wispa