OpenCode Prompts Without the Typing Tax

Voice for the open-source terminal coding agent

Speak task specs into the OpenCode TUI. Switch agents with Tab; AICHE fills the prompt.

Download AICHE
Works on
macOSWindowsLinux

Short answer: run opencode in your project, focus the TUI prompt, press ⌃+⌥+R (Mac) or Ctrl+Alt+R (Windows/Linux), speak your task, press again to insert, then send. AICHE does not pick models, run opencode github, or edit permission files.

OpenCode is an open-source (MIT) coding agent: terminal TUI, desktop app, and IDE extension. You bring provider API keys (OpenCode's hosted auth, Anthropic, OpenAI, Google, local models, and many others via /connect).

OpenCode nouns that matter

  • TUI: default when you run opencode with no args (CLI docs).
  • build agent: full-access implementation agent (switch with Tab).
  • plan agent: read-only analysis.
  • @general: subagent for complex search.
  • /init: project bootstrap.
  • /connect: provider API keys.
  • Custom agents: markdown in .opencode/agents/ (project) or ~/.config/opencode/agents/ (global) per agents docs.
  • opencode github: Actions workflow install and run for repo automation.

AICHE only fills the OpenCode prompt input. Permissions and provider/model strings stay in your OpenCode config.

Why voice helps

OpenCode's strength is swapping models and agents without changing editors. The weakness is the same as every agent: the first message sets the trajectory. A spoken brief can include provider choice ("use the plan agent first"), directories to avoid, and the exact test command (pnpm test --filter api) without you abbreviating to save typing time.

How it works

  1. Install: curl -fsSL https://opencode.ai/install | bash or npm install -g opencode-ai (install).
  2. Run /connect in the TUI and add provider keys.
  3. cd your repo. Run opencode, then /init if this is a new project.
  4. Press Tab to choose build vs plan before you dictate.
  5. Focus the prompt. Toggle ⌃+⌥+R / Ctrl+Alt+R, speak, toggle again.
  6. Send. Review file edits and terminal commands OpenCode requests.

Desktop app: Same workflow in OpenCode's desktop chat input if you prefer GUI over TUI.

IDE extension: Focus the extension's prompt field; hotkey workflow unchanged.

GitHub agent (separate path)

opencode github install sets up CI automation. For workflow YAML or PR comments, dictate into your editor or the GitHub comment box with AICHE, then run OpenCode's CLI in Actions. AICHE does not trigger Actions.

What you get with AICHE

  • Software Development profile (Pro) for monorepo paths and CLI flags.
  • Custom vocabulary for provider and internal tool names.
  • Audio discarded immediately after processing, within 1 second.

FAQ

Q: Does AICHE choose the model?
A: No. You pick model flags in OpenCode (-m / config). Dictate "use plan agent first" as text if you want that behavior.

Q: Copilot login option?
A: OpenCode supports GitHub Copilot as a provider per their docs. AICHE only inserts your prompt text.

Q: Works in Ghostty / iTerm2?
A: Yes. See /works-with/ghostty and /works-with/iterm2.

Related

Try it: /init a repo, switch to plan, dictate "map auth flow and list risky files", send, then dictate the implementation pass in build.

Tags

ai-codingdevelopmentworkflow