Privacy & permissions

Pretype needs the Accessibility permission. A keylogger asks for the same permission. Pretype uses it to read the focused text field, catch the accept key, and type suggestions back. Pretype does not upload the text that you type, unless you turn on an API provider. See API providers.

Data-flow diagram. On your Mac: the text field sends the text at the caret to Pretype, and Pretype sends the suggestion back. Pretype exchanges data with the local model (MLX or Apple Intelligence) and writes to a local journal file. With optional dictation, the microphone sends audio, in memory only, to the on-device speech model, which sends the transcript to Pretype. From the internet, only downloads come in: model weights from Hugging Face, the speech model from Apple servers, and the latest version number from the GitHub Releases API. By default, your text is not sent to the internet. A dashed arrow goes to an API provider: text or audio goes there only if you turn it on in Settings → API.

Read the code yourself

Do not trust this page without proof. These files read your input or type text back:

FileWhat it does
AXText.swiftReads the text field.
KeyTap.swiftWatches for the accept key.
TextInjector.swiftTypes the text back.
ScreenContext.swiftOptional. Reads the focused window with OCR.
BackgroundProbe.swiftOnly with Screen Recording. Measures the brightness beside the caret.
PromptContext.swift (currentClipboardContext)Optional. Reads the clipboard.
AudioCapture.swiftOptional. Records the microphone for dictation.

What Pretype does with your data

Your textBy default, Pretype does not upload it. A local MLX model or the Apple Intelligence system model computes every completion on the Mac. If you turn on an API provider for text, your text goes to that provider. See API providers.
NetworkBy default, only downloads and one version check. No request contains your text. See Network requests.
Accessibility (required)Pretype uses it to read the focused field, catch the accept key, and type text back. Pretype cannot do this without it. On macOS 27, this permission has the name Device Control and Data Access. See Websites.
Screen Recording (optional, off)Pretype uses it for two things:
1. On-screen OCR context, only for the focused window, and only if you turn on screen context. If Pretype cannot identify the focused window, it reads no window.
2. The brightness beside the caret. When Pretype shows text at the caret, it captures a strip of the screen to the right of the caret. It reduces the capture to 8 × 4 pixels, and then to one brightness value. It uses this value to select dark or light text. It does not capture its own windows. It keeps no image. This occurs when the permission is granted, also with screen context off.
The debug log does not contain OCR text or clipboard contents. An exported log shows a character count in their place, never the text.
Clipboard (optional, off)Only if you turn on Settings → Personalization → Use clipboard context. When the clipboard changes, Pretype reads its text and keeps the first 600 characters in memory. It adds them to the prompt of a local MLX model. See Clipboard.
Microphone (optional, off)Pretype uses it only for dictation, and only while a capture runs. See Microphone.
Stored locallyA journal for on-device personalization. See Journal.
TerminalsPretype completes text only in the prompt box of an AI agent, such as Claude Code. See Terminals.
Never runsIn password managers. In the shell command line of a terminal. While macOS reports secure input. While an input method is in mid-composition (Pinyin, kana, Telex, Hangul).

To stop Pretype in more apps, add them to the blacklist in Settings → General. To stop it in the current app, use the menu bar.

Network requests

None of these requests contains your text. The optional API providers are different. See API providers.

RequestSourceWhenNotes
Model weightsHugging FaceFirst launch. Also at the next use, if you update from v2.6 or earlier, the style has no stored value, and you have only the Instruct build.Needed for every local model.
New build of your model, or the weights of its recommended styleHugging FaceOne time, in the background, when an update changes the build or the recommendation. Pretype checks at launch and then one time each hour.Never on a cellular, hotspot or Low Data Mode network. The old model continues to serve until the new one is in place.
New default modelHugging FaceOne time, in the background, after an update that changes the default for the memory of your Mac. Pretype checks at launch and then one time each hour.Never on a cellular, hotspot or Low Data Mode network. The old model continues to serve until the new one is in place. The menu bar status shows the progress.
Instruct siblingHugging FaceThe first time that you use ⌥Tab, or dictate with “Tidy up” on. Only on models that need it.Both features use the same fix pass. A dictation does not wait for the download. It types what it heard and downloads in the background, on an unmetered network only. On a metered network, the first ⌥Tab downloads it. The tidy-up starts after the download is complete.
Speculative-decoding drafter, ~150 MBHugging FaceGemma tiers only. In the background, when the drafter is missing. One attempt for each launch.It makes the fix and reply chords faster.
Version checkGitHub Releases APIOne time each day.It sends no data about you. To stop it, go to Settings → General.
Speech model for your dictation languageApple serversWhen you turn on dictation, or select a new language.This is the same system download that the built-in keyboard dictation uses.
Parakeet dictation model, ~610 MB (CoreML)Hugging Face (FluidInference/parakeet-ultra-coreml)One time, only if you opt in (Settings → Dictation).Stored in ~/Library/Application Support/FluidAudio. An install that opted in before this model replaces its earlier parakeet-tdt-0.6b-v3-coreml one time. It downloads in the background, on an unmetered network, if the disk has room and no API provider does the dictation. Pretype tries at launch and then one time each hour. If you dictate before this, that dictation starts the download, on any network.
Share a per-app styleGitHub, in your browserOnly when you click the share button.GitHub’s new-file page opens with that one style. The style text is in the URL of the page. Thus GitHub and your browser history see it when the page opens. GitHub gets nothing more until you submit the page.
Refrain download linkGitHub Releases APIOnly when you click Download Refrain in the menu bar menu.Pretype asks api.github.com/repos/nikiomori/Refrain/releases/latest for the file list of the latest Refrain release. Then your browser opens the zip file of the release and downloads it. The request contains no text and no data about you. Pretype does not install Refrain. You move it to Applications yourself.

Clipboard

The clipboard context is off by default. To turn it on, use Settings → Personalization → Use clipboard context.

Websites

In a web page, Pretype reads the host name of the page when the focus changes. For example, it reads mail.google.com, never the full address. Per-website settings use this host name.

Microphone

A capture runs only in these conditions:

GestureCapture startsCapture stops
HoldYou hold the key down.You release the key, press a different key, or switch apps.
Hands-free chordFirst press.Second press, or after a few seconds of silence.

API providers

Settings → API can send text, audio or both to a hosted model. Each one is off by default. You turn each one on separately.

TextDictation
What goes to the providerThe text before the caret (up to 1,200 characters), at each suggestion. The selection for the fix chord and voice commands. The conversation for the reply chord. With each suggestion and reply, your persona, the style for the current app or website, and the name of the app. The screen context, if you turned it on. In the prompt box of an AI agent, the end of the agent’s session. A dictated transcript, if “Tidy up” is on.The audio of each capture, as one WAV file, when the capture stops. With OpenAI gpt-transcribe and Whisper models, also the spelling hints. The spelling hints are the words in My words and the names and terms in the field. In the prompt box of an AI agent, they also include the names and terms in the agent’s session. From the field and the session, Pretype removes words that look like a key or a token. This filter cannot find every secret.
WhenEach time that a suggestion is due.When the capture stops. If the upload fails because of the network, a timeout or a server error (HTTP 429 or 5xx), Pretype sends the same audio one more time. If that fails too, or the provider does not answer in time, Pretype transcribes the audio on this Mac, with Apple’s speech model or Parakeet. It does not send the audio again, and it does not download a model for this. Pretype keeps the audio in memory until it has the transcript. A server on this Mac also gets the audio about once a second, for the live preview.
NeverThe clipboard text, also with clipboard context on. Text in password fields, in blacklisted apps, or while macOS reports secure input.Audio from a capture that you cancel. If you cancel during the upload, Pretype stops the upload.

Journal

Pretype keeps a journal in ~/Library/Application Support/Pretype for on-device personalization.

ContentsEvery suggestion that Pretype showed you, and its result. Each entry has the text around the caret at that time: up to 1,000 characters before it and 192 after it. Plus any text that you import with Settings → Personalization → Advanced → Import Text….
FixesA second file, fix-journal.jsonl, keeps every fix that Pretype showed or that you asked for: the original text, the fix and its result (applied, dismissed, not used, nothing to fix, failed). A fix of the last word or of a typo also keeps up to 200 characters before the caret. Voice commands are not in it.
FormatPlain text.
Maximum size50 MB (years of typing), and 5 MB for the fixes.
DefaultOn.
To deleteSwitch it off in Settings → Personalization → Advanced. This deletes all of the journal, imported text and fixes included.
Never in the journalOCR screen text. Clipboard text. The session of an AI agent. Dictation writes no journal entries of its own. Dictated text that is already in the field is ordinary surrounding text (see Microphone).

Terminals

Pretype completes text only in the prompt box of an AI agent, such as Claude Code. This works in Terminal, iTerm2 and the terminal panel of VS Code-based editors.

Uninstall

Pretype keeps its data in the locations below. Remove all of them, and nothing that Pretype wrote stays on the Mac. The speech models that dictation uses belong to macOS. macOS shares them with its own dictation, so they stay.

CAUTION: If you turned on “Open at login”, switch it off before you delete the app. Use Settings → General, or System Settings → General → Login Items. macOS keeps this registration outside the app. If you delete the app first, the registration stays.

  1. Delete the app. If you installed Pretype with Homebrew, use brew uninstall pretype in place of this command.

    rm -rf /Applications/Pretype.app
  2. Delete the downloaded models (several GB).

    In Settings → Model, the list of models shows the disk size of each downloaded model, with a trash button that deletes it. The list shows only the models of the Pretype catalog. The model that you use now has no trash button. To remove it, select a different model, and then use the trash button on its row. For a full removal, use the command below. The command also removes the lock files and the download records of these models, in .locks and .metadata.

    WARNING: This command deletes the full mlx-community, openbmb and prism-ml organizations from the shared Hugging Face cache. If a different MLX tool (LM Studio, mlx_lm, …) uses this cache, remove those three names from the command. The nikimori and nikimoriOne organizations contain only Pretype’s own builds (Qwen3.5 2B M40, the default on 8 GB Macs, EuroLLM 1.7B and the slim Gemma tiers).

    hub=~/.cache/huggingface/hub
    find "$hub" "$hub/.locks" "$hub/.metadata" -maxdepth 1 \( \
         -name 'models--nikimori--*' -o -name 'models--nikimoriOne--*' -o \
         -name 'models--openbmb--*' -o -name 'models--mlx-community--*' -o \
         -name 'models--prism-ml--*' \) -exec rm -rf {} +
  3. Delete the Parakeet dictation model (~610 MB). Do this step only if you opted in to Parakeet.

    CAUTION: This folder belongs to the FluidAudio library. If a different app on your Mac also uses it, do not delete it.

    rm -rf ~/Library/Application\ Support/FluidAudio
  4. Delete the local personalization data (the suggestion journal and the learned n-grams).

    rm -rf ~/Library/Application\ Support/Pretype
  5. Delete the download caches.

    rm -rf ~/Library/Caches/app.pretype.Pretype ~/Library/HTTPStorages/app.pretype.Pretype
  6. Delete the API keys. Do this step only if you added a key in Settings → API. Do the command one time for each provider (openai, anthropic, gemini, groq, mistral, openrouter, deepseek, ollama, lmstudio, refrain, custom).

    security delete-generic-password -s app.pretype.api-key -a openai
  7. Delete the settings and reset the permission grants. If you never turned on screen context or dictation, you do not need the last two commands.

    defaults delete app.pretype.Pretype
    tccutil reset Accessibility app.pretype.Pretype
    tccutil reset ScreenCapture app.pretype.Pretype
    tccutil reset Microphone app.pretype.Pretype

To report a security problem, use the private procedure in SECURITY.md.

ChatGPT subscription (optional)

The ChatGPT subscription text provider uses direct Sign in with ChatGPT in

your system browser. Signing in does not enable text generation. When you enable this provider, it receives the same typed context, persona, optional agent/screen context, and dictation cleanup text as the hosted text engine. The clipboard is not added. Password fields and disabled apps keep their existing protections. Speech transcription remains separately configured; audio is not sent through ChatGPT plan usage.

Pretype connects to auth.openai.com for authorization, token exchange, signing keys, token renewal, and revocation, and to api.openai.com/v1/models and api.openai.com/v1/responses for the account’s model list and text generation. The browser returns to a temporary listener bound only to 127.0.0.1. Requests use store: false; this flag does not promise zero provider-side retention. Your OpenAI account’s policies still apply. Pretype can reuse an authenticated WebSocket connection to reduce waiting between requests. Each request sends its own context and resets conversation state; it does not chain earlier documents or responses. Cancelling a request closes its connection. Account changes and sign-out cancel all connections.

A separate login-Keychain item, service app.pretype.chatgpt, holds account registrations, the installation’s opaque host identifier, selected models, and OAuth tokens. Tokens are never stored in defaults or logged. A lock file under ~/Library/Application Support/Pretype/chatgpt-vault.lock contains no credentials and prevents two running app copies from racing token renewal.

Sign out cancels pending requests, attempts to revoke the renewable session, and removes that account’s tokens locally. The registration and host identifier remain for reconnection. If remote revocation cannot be confirmed, Pretype says so; disconnect the app in ChatGPT Settings. The same page controls the app’s plan allowance and permitted credits. Pretype never switches to API-key billing when a subscription request fails.