AustriaArthur-Ficial/apfel
The free AI already on your Mac. CLI tool, OpenAI-compatible server, and interactive chat — all on-device via Apple Intelligence. No API keys, no cloud, no downloads.
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Tuần
#1 Repository Của Tuần
#1 Repository Của Tuần
🍎 The free AI already on your Mac
apfel turns the Apple Silicon LLM baked into macOS into a UNIX tool and OpenAI-compatible server — 100% on-device, no API keys or cloud.
apfel is a Swift CLI that wraps Apple FoundationModels, the on-device LLM framework available on Apple Silicon Macs running macOS 26 Tahoe with Apple Intelligence enabled. It exposes the model as a pipe-friendly terminal tool, a local OpenAI-compatible HTTP server, and an interactive REPL — all running locally with zero network dependency.
✨ Highlights
- UNIX tool mode: run
apfel "prompt"or pipe input viaecho "text" | apfelfor shell-friendly answers - OpenAI-compatible server:
apfel --serveprovides a drop-inhttp://localhost:11434/v1backend for OpenAI SDKs - Interactive chat:
apfel --chatlaunches a small REPL for testing prompts and MCP tools - Tool calling: works across CLI, server, and chat contexts with a 4096-token context window
- File attachments: use
-fto attach one or more files to prompts, including diffs viagit diff | apfel -f - JSON output:
-o jsonenables scripting with tools likejq - Permissive mode:
--permissiverelaxes guardrails for creative or long-form prompts - Streaming:
--streamreturns output token-by-token as it generates - Bundled demos:
apfel demos ./apfel-demoswrites real-world shell scripts (e.g. natural-language-to-command) into a folder
💡 Why it matters
Most local LLM setups require downloading multi-gigabyte models or rely on cloud APIs with rate limits and costs. apfel skips both by using the FoundationModels runtime already present on Apple Silicon Macs — instant startup, no storage overhead, and full privacy since nothing leaves the device.
It fits naturally into existing workflows: the OpenAI-compatible server lets Python or Node scripts talk to a local model without code changes, while the CLI shines in shell scripts for summarization, translation, or command generation. Requires macOS 26 Tahoe+, Apple Silicon (M1+), and Apple Intelligence enabled — no Xcode needed to build from source.
#AppleIntelligence #OnDeviceLLM #Swift #OpenAICompatible #TiniX
Similar Projects
Discover other similar projects and AI models.
Reverse engineer anything with agents, from app behavior down to native binaries.
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Knowledge infrastructure to make your agents smarter. Search, scrape and access 550+ data providers through one API.
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
一个用于在 macOS 上平滑你的鼠标滚动效果或单独设置滚动方向的小工具, 让你的滚轮爽如触控板 | A lightweight tool used to smooth scrolling and set scroll direction independently for your mouse on macOS