{"repo":"Arthur-Ficial/apfel","free":true,"listed":false,"github":"https://github.com/Arthur-Ficial/apfel","clone":"git clone https://github.com/Arthur-Ficial/apfel.git","description":"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.","language":"Swift","stars":6300,"topics":["apple-intelligence","apple-silicon","cli","foundationmodels","llm","macos","macos-26","on-device","swift","homebrew"],"license":"MIT","category":"ai-agents","readme_excerpt":"apfel The free AI already on your Mac. Apple Silicon Macs ship a built-in LLM via Apple FoundationModels. apfel exposes it as a UNIX tool and a local OpenAI-compatible server. 100% on-device. No API keys, no cloud. Mode Command What you get ------ --------- -------------- UNIX tool apfel \"prompt\" / echo \"text\" \\ apfel Pipe-friendly answers, file attachments, JSON output, exit codes OpenAI-compatible server apfel --serve Drop-in local http://localhost:11434/v1 backend for OpenAI SDKs apfel --chat - interactive REPL. Tool calling works in all contexts. On-device context window: 4096 tokens on macOS 26, 8192 on macOS 27 - read at runtime, see Limitations. Requirements & Install macOS 26 Tahoe+, Apple Silicon (M1+), Apple Intelligence enabled. Update: Build from source (Command Line Tools with macOS 26.4 SDK / Swift 6.3, no Xcode): Nix, same-day tap, Mint, mise, troubleshooting: docs/install.md. Quick Start UNIX tool Quote prompts with ! in single quotes (zsh/bash history expansion): apfel 'Hello, Mac!' . OpenAI-compatible server Background service details: docs/background-service.md. Quick testing chat apfel --chat is a small REPL for testing prompts or MCP servers. For a GUI chat app, see apfel-chat. Ctrl-C exits. Context is trimmed automatically (docs/context-strategies.md). Demos Real shell scripts that wrap apfel : cmd (English to shell command), oneliner , mac-narrator , wtd , explain , naming , port , gitsum . They are bundled in the binary - no repo clone. Write them out ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Arthur-Ficial","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Arthur-Ficial/apfel/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}