apple-fm provider. Inference stays on your Mac — no API key required.
Requirements
- macOS 26+ (Apple Intelligence enabled in System Settings)
- Apple Silicon Mac that supports Apple Intelligence
- Python optional extra:
pip install 'arka-agent[apple-fm]'(installsapple-fm-sdk)
Quick setup
.env:
How it works
- Native SDK — Arka calls
apple-fm-sdkdirectly (SystemLanguageModel+LanguageModelSession). - Fallback chain — On supported Macs,
apple-fmis added after Ollama in the auto-built fallback chain. - Streaming — Supported via the SDK’s
stream_response()when available.
Optional: apple-fm-cli server
If the SDK is not installed but you run an OpenAI-compatible local server (for example apple-fm-cli), Arka auto-detects it:8765 avoids conflict with vLLM on 8000):
Troubleshooting
Disable the provider without uninstalling:
Related
- Model hosting setup — Ollama, vLLM, LM Studio, Exo
arka llm providers --models— list configured providersarka hybrid status— combine local and hosted routes