WWDC26: Build AI-powered scripts with the fm CLI and Python SDK | Apple @AppleDeveloper
WWDC26: Build AI-powered scripts with the fm CLI and Python SDK | Apple  @AppleDeveloper
Uploaded June 2026 | Updated September 2026, 1 week ago
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.

Explore related documentation, sample code, and more:
Foundation Models SDK for Python on GitHub: github.com/apple/python-apple-fm-sdk
Foundation Models SDK for Python Documentation on GitHub: apple.github.io/python-apple-fm-sdk
Bring an LLM provider to the Foundation Models framework: developer.apple.com/videos/play/wwdc2026/339
Build with the new Apple Foundation Model on Private Cloud Compute: developer.apple.com/videos/play/wwdc2026/319
What’s new in the Foundation Models framework: developer.apple.com/videos/play/wwdc2026/241
Build agentic app experiences with the Foundation Models framework: developer.apple.com/videos/play/wwdc2026/242

00:00 - Introduction
01:22 - Introducing the fm CLI and Python SDK
03:23 - Command line tool
05:02 - fm respond and structured output
06:11 - Automating file management with fm
08:52 - Python SDK
09:42 - Prompting, tool calling and guided generation
10:44 - Building an evaluation pipeline in Python
15:20 - Next steps

More Apple Developer resources:
Video sessions: apple.co/VideoSessions
Documentation: apple.co/DeveloperDocs
Forums: apple.co/DeveloperForums
App: apple.co/DeveloperApp
WWDC26: Build AI-powered scripts with the fm CLI and Python SDK | AppleWWDC26: Modernize your UIKit app | AppleWhat’s new in Swift2 new Unity plug-ins to simplify your game developmentXcode 27 themes color your entire workspaceExtend your Mac app into the space around youWWDC26: What’s new in SwiftUI | AppleLanguage features arent collectiblesWWDC26: Improve your prompts by hill-climbing with Evaluations | AppleWWDC26: Find and fix performance issues in your Metal games | AppleWWDC26: Unlock in-game content with StoreKit and Background Assets | AppleWWDC26: Build, deliver, and automate with Xcode Cloud | Apple
Apple Developer |

WWDC26: Build AI-powered scripts with the fm CLI and Python SDK | Apple

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER