Skip to content

Voice Control for Your Mac.

Hold Right Option, say what you want, let go. The Decisions API picks the action from a fixed list and runs it: open, switch to or quit any app, and in Chrome go back, reload, open or close tabs, scroll, or click any link or button you can see.

Get the code

On GitHub. No API keys inside. You add your own OpenAI key during setup.

Voice Control for Your Mac running

Set it up

  1. You need a Mac, Node.js 20 or newer, Xcode Command Line Tools (run xcode-select --install), Google Chrome and an OpenAI API key.
  2. Get the code from GitHub (clone the repo, or Code, Download ZIP) and open Terminal in the voice-control folder.
  3. Copy .env.example to .env.local and paste your OpenAI key into it.
  4. Run npm install, then npm run build:ptt.
  5. Optional but faster: brew install whisper-cpp, then put ggml-small.en.bin (from huggingface.co/ggerganov/whisper.cpp) in a folder called whisper-models in your home folder. Without it, the app uses OpenAI's transcription, which adds about a second.
  6. Run npm start. Allow the microphone when asked, and turn on the Terminal app under Privacy & Security, Accessibility.
  7. In Chrome, turn on View, Developer, Allow JavaScript from Apple Events. Scrolling and clicking links need it.

What it cost in my tests

Decision175 ms (median)
Speech to text, local73 ms (median)
Let go of the key to done362 ms (median)
Per commandAbout 3,400 input tokens, roughly $0.0003
Built with one prompt for the video I Tested OpenAI's Decisions API on 7 Real Use Cases. See all the demos.

AI FOR MORTALS.

Your daily AI edge that will make everyone wonder how you do it all.

Every weekday, the practical AI updates that matter, and exactly what to do with them.

The latest in AI, in plain English. Free, every weekday.