Use CasesVoice Pair Programming with OpenCode

👥

Voice Pair Programming with OpenCode

The Problem

Traditional pair programming requires constant communication. With AI, typing replaces speaking — but that breaks the collaborative feel.

The Solution

OpenCode interrupt restores the conversational flow. Speak to the AI like you would to a human pair programmer. Hear responses while continuing to work.

Workflow

  1. Start a session /tts-on for audible responses.
  2. Describe the task conversationally: /ptt "Let's implement a rate limiter using the token bucket algorithm."
  3. As the AI writes code and explains it via TTS, review the output.
  4. Interrupt when you disagree: "Use a sliding window instead — it's simpler for this use case."
  5. The AI acknowledges and adjusts its approach.
  6. Continue the back-and-forth naturally, just like pairing with a human developer.
Tips
• Voice pair programming works best with a high-quality mic. Background noise confuses both whisper and the AI.
• Use /ptt for longer explanations and voice interruption for quick corrections — they complement each other.
• Set whisperModel to "small" or "medium" for best accuracy with programming vocabulary.

Want to try this workflow?

Install interrupt →