The Hallway Track
Product Launches

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

Apple Developer (WWDC) · Jun 08, 2026 · Product Launches

Apple is adding an fm command-line tool and Python SDK to access on-device Foundation Models at WWDC26.

“We're introducing a new command line tool called fm, and a new Foundation Models SDK for Python.”

At WWDC26, Apple expanded its Foundation Models Framework beyond Swift by introducing the pre-installed fm CLI and a Python SDK for accessing on-device and Private Cloud Compute models. This matters because it opens Apple's free, no-API-key on-device models to scripting, automation, and ML evaluation pipelines, broadening developer adoption beyond the Apple app ecosystem.

apple foundation-models on-device-ai developer-tools python-sdk

Watch / read the original source →