What's new with FoundationModels this year
Asked on 2026-06-16
•@wwdc261 search
This year, Foundation Models got a lot bigger and more flexible. The main updates are:
- A rebuilt on-device model that’s smarter, better at logic, and improved for tool calling.
- Image input support, so you can pass images directly into prompts.
- Server model support, letting apps use frontier or third-party LLMs through the same Swift API.
- New built-in system tools from Vision and Spotlight, including:
- Barcode reading
- OCR / structured text extraction
- A RAG tool powered by Core Spotlight
- Dynamic Profiles, a new primitive for building agentic experiences and composing model behavior.
- Foundation Models Utilities, an open-source Swift package with emerging building blocks for things like:
- transcript/context management
- skills
- ChatCompletion-style server interoperability
- Evaluations Framework, for measuring and validating AI feature quality.
- The FM command line tool, so you can prompt the model from Terminal.
- Python SDK support, bringing the same on-device model to Python.
- Open source foundation models framework, so the Swift APIs can run beyond Apple platforms too.
If you want, I can also break these down by chapter, like models, tools, agentic features, or developer tooling.

What’s new in the Foundation Models framework
Explore what’s new in the Foundation Models framework. Learn how to access Private Cloud Compute, integrate third-party and open source models, and work with vision capabilities. Discover context management APIs, built-in semantic search, and powerful primitives for creating agentic experiences in your apps.

Build AI-powered scripts with the fm CLI and Python SDK
Explore all the new ways to leverage Apple Foundation Models on macOS. The Foundation Models SDK for Python lets you integrate with popular tooling and evaluation packages in the Python ecosystem. Find out how to use the brand new fm command introduced in macOS 27 to streamline scripting, automate model workflows, and accelerate your development process.

Debug and profile agentic app experiences with Instruments
Explore the enhanced FoundationModels instrument in Xcode to inspect behavior and optimize the performance of agentic flows. Learn how to inspect prompts, analyze latency, and trace control flow in advanced use cases that leverage multiple LanguageModelSessions and profiles.
