spb/tools-spboucher-ai
Public
1{2 "slug": "apple-foundation-models",3 "name": "Foundation Models (Apple)",4 "aliases": ["Apple Foundation Models framework", "FoundationModels"],5 "vendor": { "name": "Apple Inc.", "slug": "apple", "website": "https://developer.apple.com/" },6 "homepage_url": "https://developer.apple.com/documentation/foundationmodels",7 "docs_url": "https://developer.apple.com/documentation/foundationmodels",8 "product_type": "framework",9 "product_status": "active",10 "summary": "Apple's Swift framework giving apps access to the on-device Apple Intelligence language model with guided generation, tool calling and sessions, on OS 26 and later",11 "description": "Foundation Models is the Swift framework Apple introduced with iOS 26, iPadOS 26, macOS 26 and visionOS 26 (watchOS 27) that lets apps call the large language models behind Apple Intelligence. The default is the on-device model, which runs with no network connection and no per-request cost; the framework also offers a dynamic profile API for selecting other model configurations, including Apple's Private Cloud Compute models or a server-side provider, when a task needs more reasoning or context.\n\nIts headline feature is guided generation: by marking a Swift type with the `@Generable` macro (and `@Guide` annotations on fields) the developer gets strongly typed output rather than free text to parse. Developers define tools conforming to a `Tool` protocol that the model can call to look up data or trigger app actions, hold multi-turn conversations in a `LanguageModelSession`, stream partial results, and check availability before use because the model is present only on devices that support Apple Intelligence with the feature enabled.\n\nThe on-device model is small compared with frontier cloud models and is intended for summarization, extraction, classification, short creative text and in-app dialogue rather than open-ended knowledge or long reasoning. It is proprietary, Swift-only and limited to current Apple OS releases on capable hardware.",12 "capabilities": ["On-device LLM inference with no server dependency", "Guided generation into Swift types via @Generable", "Tool calling through a Tool protocol", "Multi-turn sessions with instructions and streaming", "Dynamic profile selection across on-device and cloud models", "Availability checks for Apple Intelligence support"],13 "workflows": ["Summarize or tag user content inside an app offline", "Extract structured fields from text into a Swift struct", "Let the model call an app action through a tool"],14 "advantages": ["No API keys, quotas or network for the default model", "Typed output removes JSON parsing", "Privacy by design: data stays on the device"],15 "limitations": ["Requires OS 26 or later on Apple Intelligence-capable hardware", "On-device model is small with limited context and knowledge", "Swift and Apple platforms only"],16 "prerequisites": ["Xcode 26 or later", "Device or simulator with Apple Intelligence enabled"],17 "audiences": ["iOS and macOS developers adding language features", "Teams needing offline, private text processing"],18 "alternatives": ["core-ml", "mlx-lm", "ollama", "claude-developer-platform", "openai-platform"],19 "categories": [{ "slug": "apple-silicon-ml", "primary": true }, { "slug": "local-inference" }],20 "tags": ["apple-silicon", "llm", "on-device-ml", "swift", "ios", "macos", "apple-intelligence"],21 "use_cases": ["run-local-models", "build-native-apps", "build-agents"],22 "operating_systems": ["macos", "ios"],23 "execution_modes": ["local", "cloud"],24 "interfaces": ["sdk"],25 "deployment_models": ["embedded"],26 "integrations": ["Xcode", "SwiftUI", "App Intents", "Private Cloud Compute"],27 "data_formats": ["Swift Generable types"],28 "languages": ["Swift"],29 "source_model": "proprietary",30 "pricing_model": ["free"],31 "self_hostable": false,32 "sources": [33 { "url": "https://developer.apple.com/documentation/foundationmodels", "type": "official_site", "title": "Foundation Models | Apple Developer Documentation", "supports": ["name", "summary", "capabilities", "operating_systems", "limitations"], "checked_at": "2026-11-02" },34 { "url": "https://developer.apple.com/apple-intelligence/", "type": "official_docs", "title": "Apple Intelligence – Apple Developer", "supports": ["prerequisites", "description"], "checked_at": "2026-11-02" }35 ],36 "confidence": "high",37 "discovery_method": "editorial-research",38 "depth": "standard",39 "editorial_status": "reviewed",40 "visibility": "public",41 "featured": false,42 "author": "batch-C"43}44