AnyChat

Use a shortcut to instantly rewrite, polish, or transform text with AI in any input field on macOS without switching apps.

AnyChat is a macOS menu bar app that lets you trigger AI with a shortcut in any input field to rewrite, polish, or transform text without switching apps or interrupting your workflow.

Download AnyChat for macOS

What It Can Do

Example use cases:

  • 💼 Finished an email but the tone feels too casual? Press a shortcut and let AI rewrite it in a professional business tone.
  • 📝 Struggling to express an idea clearly in a document? Let AI reorganize and refine your wording.
  • 🌐 Need to turn Chinese text into polished English? Translate and improve it in one step.
  • 💬 Want more engaging copy for social media? Let AI optimize it for you.
  • 📄 Meeting notes too long and messy? Let AI summarize the key points.

Key features:

  • Global shortcut support that works in any app
  • Streaming AI responses with no unnecessary waiting
  • Multiple AI roles for different writing scenarios
  • Independent shortcut bindings for each role
  • Automatically replaces or inserts text back into the original input field

System Requirements

  • macOS 14.0 or later
  • Accessibility permission is required to read from and write to other apps’ input fields

Quick Start

Step 1: Configure Your AI Service

Click the menu bar icon to open Settings:

  1. Base URL: Enter the API endpoint of your AI service

    • OpenAI: https://api.openai.com
    • Or any other service compatible with the OpenAI API format
  2. API Key: Enter your API key

  3. Model: Enter the model name, such as gpt-4o-mini

  4. Click Test Connection to confirm the configuration is correct

Step 2: Grant Permission

When you use the app for the first time, macOS will ask you to grant Accessibility permission:

  1. Open System Settings > Privacy & Security > Accessibility
  2. Find AnyChat and enable permission
  3. The app will quit automatically. Reopen it and you are ready to use it

Step 3: Use It

In any input field:

  1. Type or select the text you want to process
  2. Press the shortcut key. The default is ⌃⌥⌘ Space
  3. Wait for the AI response and the result will be inserted back into the original position

Feature Details

Multi-Role System

Roles define how the AI processes your text. You can create multiple roles for different scenarios:

Role ExampleSystem Prompt
Business Email”Rewrite the following text in a formal and professional business email tone.”
Concise Writing”Condense the following content while keeping the core meaning.”
English Translation”Translate the following content into natural, fluent English.”
Code Explanation”Explain this code in plain and easy-to-understand language.”

Each role can:

  • Have its own name and icon
  • Be bound to an independent shortcut such as ⌃⌥⌘ 1 or ⌃⌥⌘ 2
  • Choose whether to keep the original text

Shortcut Settings

Global trigger shortcut

  • Default: ⌃⌥⌘ Space (Control + Option + Command + Space)
  • Can be customized in Settings with any key combination

Role-specific shortcuts

  • Assign dedicated shortcuts to commonly used roles and trigger a specific writing style instantly
  • Supports combinations using , , , , and other keys

Stop shortcut

  • You can interrupt processing at any time
  • Default: ⇧ Space (Shift + Space)

Text Insertion Modes

ModeDescriptionBest For
Paste ModeInserts the result through the clipboardMost apps, faster
Simulated TypingTypes the result character by characterSpecial input fields such as some IDE terminals

You can switch the insertion mode in Settings.

Interface Guide

Click the menu bar icon to:

  • Trigger the currently active role immediately
  • Open the Settings window
  • Check the current running status
  • Quit the app

Settings Window

Status section

  • Shows shortcut status and Accessibility permission status

API configuration section

  • Configure Base URL, API Key, and model name
  • Test connection status

Role management section

  • Add or delete roles
  • Set the role name, prompt, and shortcut
  • Switch the currently active role

Shortcut configuration section

  • Set the stop shortcut
  • Enable or disable the global shortcut

FAQ

Q: Why does the app need Accessibility permission?

A: The app needs permission to read the selected text from other apps, usually by copying it, and write the AI result back into the input field through paste or simulated typing.

Q: Which AI services are supported?

A: Any service compatible with the OpenAI API format is supported, including:

  • OpenAI (GPT models)
  • Azure OpenAI
  • Alibaba Cloud Bailian
  • iFlytek Spark
  • Other services compatible with the OpenAI SDK

Q: What if my shortcut conflicts with another app?

A: Re-record a different shortcut combination in Settings that does not conflict with other apps.

Q: Why does it not work in some apps?

A: Some apps, such as password fields or certain banking clients, restrict Accessibility access for security reasons. That is normal system behavior.

Q: Is my API key safe?

A: Your API key is stored locally on your Mac. It is not uploaded to any server and does not leave your device.

Privacy

  • All configuration is stored locally
  • API keys are stored only on the local device
  • The clipboard is used temporarily during processing and restored automatically afterward
  • No user data or usage analytics are collected

Changelog

v1.0.0

  • Initial release
  • OpenAI-compatible API support
  • Multi-role system
  • Global shortcut trigger
  • Streaming response display