Apple FoundationModels On-Device AI

0•

Integrates Apple's FoundationModels framework for privacy-focused, on-device large language model capabilities in iOS applications.

This skill provides a comprehensive set of patterns and best practices for implementing Apple's FoundationModels framework on iOS 26+. It enables developers to perform on-device text generation, extract structured data using the @Generable macro, and implement custom tool calling without leaving the device. Ideal for privacy-centric applications and offline-capable AI features, the skill covers essential aspects like model availability checks, session management, and real-time snapshot streaming for responsive user interfaces.

Key Features

01On-device text generation and summarization for enhanced privacy
02Custom tool calling for domain-specific AI logic
030 GitHub stars
04Real-time snapshot streaming for responsive UI updates
05Structured output generation using the @Generable macro
06Comprehensive model availability and eligibility handling

Use Cases

01Building privacy-first AI assistants that work without an internet connection
02Extracting structured data from user-provided natural language inputs
03Implementing real-time AI-powered features in iOS apps using Apple Intelligence