New advertisers: 50% off your first month with code FIRSTMONTHSee slots

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
View on GitHub

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, @Generable structured output, and tool-calling with the Tool protocol
  • 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 coreml skill

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill apple-on-device-ai -y

Installs 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

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

Similar to Apple On Device Ai

More Mobile Apps