Apple On-Device Foundation Models
Integrates Apple's FoundationModels framework for privacy-preserving, on-device AI in iOS 26+ applications.
This skill provides standardized patterns and implementation guides for leveraging Apple's native on-device language models within iOS 26+ apps. It enables developers to implement text generation, structured output using the @Generable macro, and custom tool calling without relying on external cloud services. By focusing on privacy and offline capability, it helps developers build responsive AI features that adhere to Apple Intelligence best practices, including availability checks, snapshot streaming for real-time UI, and efficient context management within the 4,096-token limit.
主な機能
01On-device text generation and summarization via SystemLanguageModel
02Structured output generation using @Generable and @Guide macros
03Custom tool calling implementation for domain-specific AI actions
04Real-time snapshot streaming for responsive SwiftUI interfaces
05Comprehensive model availability and eligibility checking patterns
060 GitHub stars
ユースケース
01Building offline-capable AI features for iOS applications
02Implementing privacy-first AI assistants that process data entirely on-device
03Extracting structured data from user input without cloud latency or costs