
apfel
Use the AI already on your Mac — Apple's on-device LLM from the terminal

About apfel
Overview
apfel is an open-source CLI tool that exposes Apple's built-in on-device language model (FoundationModels framework, part of Apple Intelligence) as a Unix command, an OpenAI-compatible HTTP server, and an interactive chat interface — all running locally with zero API costs. It supports stdin/stdout piping, JSON output, file attachments, MCP tool calling, and five context-trimming strategies. Requires macOS Tahoe (26+) with Apple Intelligence enabled on Apple Silicon.
Key Features
- Completely free — no API keys, no token costs, no subscriptions
- Full privacy: all processing on-device, zero network calls to external servers
- OpenAI API-compatible — drop-in local replacement for existing integrations
- Zero setup: Apple's model is pre-installed, just install apfel and go
- MCP support enables powerful tool-calling workflows
- 1,500+ GitHub stars within two weeks of launch — strong community momentum
Deep reasoning AI engineered for analysis, not small talk
AI website generator and small business platform
AI music creation platform for generating songs and audio ideas
AI-powered pair programmer for writing code faster
The autonomous AI agent for writing and research tasks.
Official chat assistant from Mistral AI