Project overview
afm runs Apple's on-device Foundation Model or Hugging Face MLX models on a Mac and exposes them through an OpenAI-compatible server, a web chat interface, single prompts, or shell pipelines. Its gateway mode can also discover and proxy local backends such as Ollama, LM Studio, and Jan, with separate OCR and embedding endpoints available. The main platform requirements are macOS 26 or later, Apple Silicon, and enabled Apple Intelligence.
Repository facts
- Primary language
- Swift
- License
- MIT
- Repository updated
- Jul 11, 2026
- Default branch
- main
Resource types
API or serverCLI app
Use cases
Backend development
Operating systems
macOS
Runtime
Command lineLocal
Capabilities
Tool use