Select text in any Mac app, run a writing command, and replace it in place.
Use your own cloud API key or a local model.
Version 0.2.2 · macOS 13+ · Apple Silicon & Intel
Companion is a menu bar app for quick writing tasks in Mail, Notes, Notion, Slack, browsers, code editors, and most places where you can select or enter text. Run a saved action such as "Fix Grammar" or "Shorten Text," or type a one-off instruction when the edit is specific.
demo.mp4
Select text in another app and press Cmd + Shift + E. Choose a saved action or type an instruction such as make this warmer and shorter. Companion sends the request through the route you chose, replaces the selection, and keeps the result on your clipboard.
If nothing is selected, the instruction creates new text and inserts it at the cursor. Saved actions can handle recurring work such as grammar fixes, shortening, tone changes, or turning rough notes into an email.
Each action can use a local LM Studio model, a fal/OpenRouter route, or a direct OpenAI, Anthropic, or DeepSeek connection. Settings is where you add keys, choose the models that appear in the picker, and edit saved actions.
There is no Companion server, account, analytics, or telemetry. LM Studio requests stay on your Mac. Cloud requests send the selected text and instruction directly to the provider route you chose. Companion stores settings, generated results, and routing metadata locally; it does not retain the original selected text or image bytes in history.
- Download the DMG from Releases.
- Drag
Companion.appto Applications and open it from the menu bar. - Choose a provider during onboarding or configure one later in Settings.
- Grant Accessibility and Input Monitoring when macOS asks, then relaunch Companion.
Accessibility lets Companion copy a selection and paste the result. Input Monitoring lets the shortcut work while another app is focused. If macOS keeps an old permission entry after an update, remove Companion from both permission lists, add it again, and relaunch.
git clone https://github.com/madebysan/companion.git
cd companion
swift build -c release --package-path Companion --arch arm64 --arch x86_64
./script/build_and_run.sh --verifyTo produce a signed DMG on a configured development Mac, run ./script/build_dmg.sh. Add --notarize for the public release path.
Companion requires macOS 13 or later on Apple Silicon or Intel. LM Studio and cloud provider keys are optional; at least one local or remote model route is required to generate text.
- Swift and AppKit
- Swift Package Manager
- HotKey for global shortcuts
- LM Studio and OpenAI-compatible chat routes
- Anthropic Messages API for direct Claude support
Made by santiagoalonso.com



