Apple Intelligence in your browser. A premium, private, on-device AI chat powered by apfel and Apple's Foundation Models framework.
No API keys. No cloud. No subscriptions. Runs entirely on your Apple Silicon Mac.
curl -fsSL https://raw.githubusercontent.com/bhaskarvilles/fruit-chat/main/install.sh | bashThat's it. The script will:
- Install
apfelvia Homebrew (Apple Intelligence CLI) - Install Node.js if needed
- Download
fruit-chatto~/.fruit-chat - Register two LaunchAgents → auto-start on every login
- Open
http://localhost:4321in your browser
https://github.com/bhaskarvilles/fruit-chat/raw/main/public/product_video_demo/mobile_demo.MP4
- 🔒 100% On-device — Apple Intelligence processes everything locally via
FoundationModels - 🌐 Any Apple Device — Access from Mac, iPhone, or iPad on your local network
- ⚡ Real-time Streaming — Tokens stream live as the model generates
- 🌙 Dark & Light Mode — Toggle between dark, light, and auto (system) themes
- 💾 Conversation History — All chats stored locally in your browser
- ⚙️ Configurable — System prompt, temperature, max tokens
- 🔄 Persistent Daemon — Auto-starts on every login/reboot via macOS LaunchAgents
- 📱 Responsive UI — Glassmorphism design optimised for Mac, iPad, and iPhone
- Apple Silicon Mac (M1 or newer)
- macOS 26 (Tahoe) or newer
- Apple Intelligence enabled in System Settings
- Homebrew
- Node.js 18+ (auto-installed if missing)
After installation:
http://localhost:4321 # This Mac
http://<your-mac-ip>:4321 # Any device on your LAN (iPhone, iPad, etc.)
Re-run the same install command — it pulls the latest and restarts the daemons:
curl -fsSL https://raw.githubusercontent.com/bhaskarvilles/fruit-chat/main/install.sh | bashbash ~/.fruit-chat/uninstall.shgit clone https://github.com/bhaskarvilles/fruit-chat.git
cd fruit-chat
./install.sh # same script, detects local mode automaticallyOr run without daemons (development):
# Terminal 1 — start Apple Intelligence server
apfel --serve
# Terminal 2 — start the web UI
npm startThen open http://localhost:4321.
| Service | Port |
|---|---|
| fruit-chat Web UI | 4321 |
| apfel OpenAI-compatible API | 11434 |
tail -f /tmp/fruitchat-apfel.log # Apple Intelligence server
tail -f /tmp/fruitchat-server.log # Web UI serverBrowser / Any Apple Device
↕ HTTP :4321
fruit-chat (Node.js + Express)
↕ SSE :11434 (OpenAI-compatible)
apfel --serve (Swift CLI)
↕ Native Swift Framework
Apple FoundationModels (on-device LLM)
MIT