If Cotabby is useful to you, consider supporting development:
Open-source, local-first AI autocomplete for macOS.
Cotabby is a menu bar app that brings inline autocomplete to the text field you're already using. Keep typing in your host app: Cotabby watches the focused field, generates a continuation, and renders it as ghost text next to your caret. Press Tab to accept a chunk, keep pressing to advance, or just keep typing to diverge.
Everything runs on-device. No hosted API, no cloud round-trip.
|
Slack |
Notes |
iMessage |
- System-wide completions -- Works in any macOS text field (Safari, Notes, Mail, etc.)
- Ghost text UI -- Suggestions appear as translucent overlay text at your cursor
- 100% local -- All inference runs on-device. No data ever leaves your Mac
- Visual context -- Screenshot OCR gives the model awareness of what's on screen
- Low latency -- Optimized for fast response on Apple Silicon
Apple Intelligence: uses Apple's on-device FoundationModels runtime on macOS 26 or later, no download required.
Open Source: runs local GGUF models in-process through llama.cpp via llama.swift. Cotabby ships with two built-in downloadable models:
| Model | File | Size | Source |
|---|---|---|---|
tabby-fast-1 |
Qwen3-0.6B-Q4_K_M.gguf |
~0.4 GB | unsloth/Qwen3-0.6B-GGUF |
tabby-balanced-1 |
gemma-4-E2B-it-Q4_K_M.gguf |
~3.1 GB | unsloth/gemma-4-E2B-it-GGUF |
Any GGUF small enough to run on-device works. Drop a .gguf file into Cotabby's models folder and refresh the model list from the menu bar. Community models we've tested with Cotabby:
| Model | File | Size | Source |
|---|---|---|---|
| Qwen3.5-0.8B (instruct) | Qwen3.5-0.8B-Q4_K_M.gguf |
~0.5 GB | unsloth/Qwen3.5-0.8B-GGUF |
| Gemma 3 1B (instruct) | gemma-3-1b-it-Q4_K_M.gguf |
~0.8 GB | unsloth/gemma-3-1b-it-GGUF |
Browse the unsloth GGUF collection on Hugging Face for more variants. Smaller quants (Q3_K_M, Q4_K_S) trade quality for size; larger models give better completions at the cost of memory and per-token latency.
- Download the latest
Cotabby.dmgfrom GitHub Releases. - Drag
Cotabby.appintoApplicationsand launch it. - Grant Accessibility, Input Monitoring, and Screen Recording when prompted.
- Pick an engine. Apple Intelligence if available, otherwise Open Source plus a model.
- Start typing in any supported editable field.
If macOS blocks first launch, right-click Cotabby.app → Open, or allow it in System Settings → Privacy & Security.
- Accessibility: read the focused text field's value and caret position.
- Input Monitoring: detect global
Tabpresses for acceptance. - Screen Recording: capture a screenshot around the focused field for visual context (OCR).
Requires macOS 15.0 or later. Apple Intelligence suggestions require macOS 26 or later; on earlier supported systems, use the Open Source engine.
Requires Xcode and Command Line Tools. Apple Silicon is strongly recommended for local model performance. For setup, build, test, and contribution workflow details, start with CONTRIBUTING.md.
git clone https://github.com/FuJacob/tabby.git Cotabby
cd Cotabby
open Cotabby.xcodeprojIf you want to understand the runtime and suggestion pipeline before contributing, read ARCHITECTURE.md.
Contributions are welcome. See CONTRIBUTING.md for setup, build, and PR guidelines, and CODE_OF_CONDUCT.md for community expectations. For a tour of the runtime and suggestion pipeline, read ARCHITECTURE.md.
- llama.cpp: local GGUF inference engine that powers the Open Source models
- llama.swift: Swift package wrapping llama.cpp for in-process inference
- Sparkle: in-app update framework
- Apple's FoundationModels framework: on-device Apple Intelligence runtime
- Apple's Accessibility (AX) APIs: focused-field discovery and caret geometry
- The Qwen and Gemma model teams for the open-weight models Cotabby ships with
- The Hugging Face community for hosting and distributing GGUF model weights
- Swift, SwiftUI, and AppKit, which together make the menu bar app, overlays, and settings UI possible
- Everyone who has filed issues, tested prereleases, and contributed pull requests
@FuJacob and @jam-cai — two Computer Science students at the University of Waterloo.
Cotabby is licensed under the GNU Affero General Public License v3.0. The AGPL's network-use clause means any modified version made available to users over a network must also be source-available under the same terms.




