Most of my coding now is a conversation with an agent: Claude Code, Codex, OpenCode or Pi in a terminal. Typing long prompts at midnight got old, so I built CodePad . It's a macOS menu-bar app that turns an Xbox or PlayStation controller into a remote for those agents.
You hold the left trigger and talk. When you let go, the text appears in the agent. Press A to send. The other buttons are the agent's own commands: switch model, thinking effort, plan mode, resume, interrupt, and switching between terminal tabs.
It's MIT-licensed: github.com/Himanshu8881212/codepad
This post covers the parts that were interesting to build.
Speech-to-text that never leaves the Mac
I didn't want audio going to a server, so recognition runs locally with Phonon-2 , a Core ML port of NVIDIA's Parakeet TDT, on the Apple Neural Engine. A typical sentence takes about 10 ms.
The audio path is small. AVAudioEngine taps the mic only while the trigger is held.…