# Show HN: Genie – any model, at any text box

> Source: <https://github.com/Lazarus-931/genie>
> Published: 2026-11-30 02:36:28+00:00

**Key takeaway:** Genie lets any macOS Accessibility text field act as a model prompt box by pointing it at an OpenAI-compatible endpoint, including a local server, with API keys kept in the macOS Keychain.

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
```

1. In **System Settings → Privacy & Security → Accessibility** , allow**genie** to read and edit the focused field.
2. In **genie Settings → Model** , enter your endpoint, model ID, and API key if needed. Click**Test Connection** , then**Save** .
3. Click a text field, press **Control–Option–Space** , type a prompt, then press**Command–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**.
