
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
AI-powered music generator for unique, royalty-free music
AI video creation platform covering generation, editing, dubbing, and subtitles
AI-first code editor built for productivity
Open AI community for models, datasets, apps, and inference tools
The answer engine that gives you cited, accurate answers.
The viral AI platform for chatting with any character.