foundation models

Asked on 06/12/2025

5 searches

The Foundation Models framework was introduced at WWDC 2025 as a powerful tool for developers to integrate on-device large language models into their apps. This framework is available on macOS, iOS, iPadOS, and VisionOS, and it allows developers to enhance existing app features or create new ones, all while keeping data private and running offline.

Key features of the Foundation Models framework include:

  • On-Device Processing: The model runs entirely on the device, ensuring privacy and offline functionality.
  • Swift API: A convenient API that allows developers to easily integrate the model into their apps.
  • Guided Generation: This feature helps generate structured output, making it easier to map model responses onto app views.
  • Tool Calling: The model can autonomously execute code defined in your app, allowing for dynamic interactions.
  • Stateful Sessions: Support for multi-turn interactions, maintaining context across user interactions.
  • Safety and Guardrails: Built-in safety features to prevent harmful outputs and ensure responsible AI use.

For more detailed information, you can explore sessions like Meet the Foundation Models framework and Deep dive into the Foundation Models framework. These sessions provide insights into the framework's capabilities, including guided generation, tool calling, and safety considerations.