Apple FoundationModels On-Device
Integrates Apple's on-device FoundationModels framework for private, offline language model capabilities in iOS apps.
This skill provides implementation patterns and best practices for leveraging Apple's on-device language models within iOS 26+ applications using the FoundationModels framework. It streamlines the development of AI-powered features such as privacy-preserving text generation, structured data extraction via the @Generable macro, custom tool calling, and real-time snapshot streaming, ensuring all processing stays on-device for maximum security and offline availability.
Key Features
01On-device text generation and summarization patterns
02Model availability and device eligibility handling
03Real-time snapshot streaming for responsive UIs
04Structured data extraction using the @Generable macro
05Custom tool calling for domain-specific AI actions
060 GitHub stars
Use Cases
01Building privacy-first AI assistants that work without an internet connection
02Extracting structured objects from natural language user input in iOS apps
03Implementing custom app-specific tools for on-device LLM orchestration