What can developers do with foundation model
Asked on 06/12/2025
1 search
Developers can leverage the Foundation Models framework introduced by Apple to integrate powerful on-device AI capabilities into their apps. This framework provides access to a large language model that can perform tasks such as text extraction, summarization, and content generation. Here are some key features and capabilities developers can utilize:
-
On-Device Processing: The model runs entirely on the device, ensuring user data privacy and allowing the app to function offline without incurring cloud API costs.
-
Swift API: The framework offers a convenient Swift API, making it easy to integrate into apps across macOS, iOS, iPadOS, and VisionOS.
-
Prompting and Sessions: Developers can start using the model with just three lines of code. The framework supports structured data output and allows for streaming responses.
-
Tool Calling: This feature enables the model to autonomously call functions defined in your app, such as fetching live data or performing actions based on user input.
-
Guided Generation: Developers can use this to get structured output by defining types and using natural language guides to control the values generated by the model.
-
Safety and Trust: The framework includes guardrails to prevent inappropriate content generation, and developers can add their own safety rules to ensure a trustworthy user experience.
-
Custom Adaptations: For specialized use cases, developers can train custom adapters using Apple's Adapter Training Toolkit, though this requires ongoing maintenance as the model evolves.
For more detailed insights, you can explore sessions like Meet the Foundation Models framework and Deep dive into the Foundation Models framework.

Platforms State of the Union
Discover the newest advancements on Apple platforms.

Meet the Foundation Models framework
Learn how to tap into the on-device large language model behind Apple Intelligence! This high-level overview covers everything from guided generation for generating Swift data structures and streaming for responsive experiences, to tool calling for integrating data sources and sessions for context management. This session has no prerequisites.

Keynote
Don’t miss the exciting reveal of the latest Apple software and technologies.