A macOS menu bar app that sends a prompt from the text field you’re typing in and replaces it with the model’s reply. It works in fields that support macOS Accessibility.
I wanted to speak to models from anywhere, so I built genie as an evening hack.
On macOS 14 or later, install the Xcode Command Line Tools, current stable Rust, and Python 3. Then run these commands.
git clone https://github.com/Lazarus-931/genie.git
cd genie
make install
open ~/Applications/genie.app
- In System Settings → Privacy & Security → Accessibility , allowgenie to read and edit the focused field.
- In genie Settings → Model , enter your endpoint, model ID, and API key if needed. ClickTest Connection , thenSave .
- Click a text field, press Control–Option–Space , type a prompt, then pressCommand–Return . You can change both shortcuts in Settings.
For OpenAI, use https://api.openai.com/v1. For Claude, use https://api.anthropic.com/v1 with a workspace-scoped key. For a local model, enter the URL of your running OpenAI-compatible server.
Your prompt goes to the endpoint you choose. genie stores saved API keys in macOS Keychain. If replacement fails, open the genie menu and choose Copy Original Prompt or Copy Last Reply.