foundation model
Asked on 06/11/2025
2 searches
The Foundation Models framework was introduced at WWDC 2025, providing developers with access to an on-device large language model through a Swift API. This framework is available on macOS, iOS, iPadOS, and VisionOS, and it allows for the enhancement of app features such as personalized search suggestions, content generation, and more, all while maintaining user privacy since it runs on-device.
Key features of the Foundation Models framework include:
- On-Device Processing: Ensures privacy and allows the model to run offline.
- Swift API: Simplifies integration with just a few lines of code.
- Guided Generation: Allows for structured output using Swift types, making it easier to integrate with app views.
- Tool Calling: Enables the model to autonomously execute code defined in your app, enhancing functionality.
- Safety and Guardrails: Built-in guardrails help prevent harmful outputs, and developers can add their own safety rules.
For more detailed information, you can explore sessions like Meet the Foundation Models framework and Deep dive into the Foundation Models framework. These sessions cover the framework's capabilities, including guided generation, tool calling, and safety considerations.

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.

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

Discover machine learning & AI frameworks on Apple platforms
Tour the latest updates to machine learning and AI frameworks available on Apple platforms. Whether you are an app developer ready to tap into Apple Intelligence, an ML engineer optimizing models for on-device deployment, or an AI enthusiast exploring the frontier of what is possible, we’ll offer guidance to help select the right tools for your needs.