
Apple On Device Ai
Build private on-device AI on Apple platforms with Foundation Models, Core ML, MLX Swift, or llama.cpp.
- skills.sh installs
- 4.3K
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
What it does
- Covers runtime selection across Foundation Models, Core ML, MLX Swift, and llama.cpp, with a decision table by scenario
- Includes guidance for Foundation Models availability gating,
@Generablestructured output, and tool-calling with theToolprotocol - Provides Python-side Core ML conversion via coremltools, with validate-fix-reconvert steps before any compression
- Defers Swift Core ML loading and prediction code to the sibling
coremlskill
Install
$ npx -y skills add dpearson2699/swift-ios-skills --skill apple-on-device-ai -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
On-Device AI for Apple Platforms
Guide for selecting, deploying, and optimizing on-device ML models. Covers Apple Foundation Models, Core ML, MLX Swift, and llama.cpp.
Contents
- Framework Selection Router
- Apple Foundation Models Overview
- Core ML Overview
- MLX Swift Overview
- Multi-Backend Architecture
- Performance Best Practices
- Common Mistakes
- Review Checklist
- References
Framework Selection Router
Use this decision tree to pick the right framework for your use case.
Apple Foundation Models
When to use: Text generation, summarization, entity extraction, structured output, and short dialog on iOS 26+ / macOS 26+ devices with Apple Intelligence enabled. No app-managed API key, network round trip, or model hosting; still handle system model asset readiness.
Details
- Repository
- github.com/dpearson2699/swift-ios-skills
- Categories
- Mobile Apps, AI Agents & LLM Apps
- First seen
- Apr 16, 2026
More from dpearson2699/swift-ios-skills
All 94- Swift Charts4.2K
- App Intents4.2K
- Swift Language4.2K
- Authentication4.1K
- Background Processing4.1K
- Healthkit4.1K
- Vision Framework4.1K
- Coreml4K
- Core Bluetooth4K
- Core Motion3.9K
- Natural Language3.9K
- Speech Recognition3.9K
- Device Integrity3.9K
- Contacts Framework3.8K
- Alarmkit3.8K
- Core Nfc3.8K
- Swift Codable3.8K
- App Clips3.8K
- Tipkit3.8K
- Permissionkit3.8K
- Energykit3.8K
- Shareplay Activities3.7K
- Weatherkit3.7K
- Activitykit3.6K
Similar to Apple On Device Ai
More Mobile Apps
coremlSkilldpearson2699/swift-ios-skills4K installsSwift-side Core ML integration: model loading, compute units, predictions, MLTensor, and profiling for on-device inference.
ios-ai-ml-skillsPlugindpearson2699/swift-ios-skills1.3K starsAI and machine learning: Foundation Models, Core ML, Vision, NaturalLanguage, Speech Recognition
core-mlSkillrshankras/claude-code-apple-skills442 installsCore ML and Vision workflow skill for on-device ML: model integration, Create ML training, and framework selection.
axiom-aiSkillcharleswiltgen/axiom1.2K installsApple Intelligence and on-device AI routing hub covering Foundation Models, speech transcription, and custom Core ML work.
limrun-xcodeSkilllimrun-inc/skills45.2K installsRemote Xcode build workflow that compiles Apple apps via lim xcode build from any operating system.