AI & Machine Learning / 16:36

Build AI-powered scripts with the fm CLI and Python SDK

AI & Machine Learningmacos

Key Points

  • Covers all the new ways to leverage Apple Foundation Models on macOS.
  • Find out how to use the brand new fm command introduced in macOS 27 to streamline scripting, automate model workflows, and accelerate the development process.
  • The session moves through Introducing the fm CLI and Python SDK, Command line tool, Fm respond and structured output, Automating file management with fm, Python SDK, Prompting, tool calling and guided generation, and related wrap-up guidance.
  • Key concepts include fm CLI, Python SDK, Foundation Models, macOS 27, WWDC25, Private Cloud Compute, Evaluations framework, GitHub.
  • Platform coverage: macos.

Condensed Flow

01

Introducing the fm CLI and Python SDK:

Focuses on fm CLI, Python SDK, Foundation Models.

02

Fm respond and structured output:

Focuses on Private Cloud Compute.

03

Python SDK:

Focuses on Foundation Models.

04

Building an evaluation pipeline in Python:

Focuses on Evaluations framework.

More Detail

Additional details

  • Detailed flow: Introducing the fm CLI and Python SDK -> Command line tool -> Fm respond and structured output -> Automating file management with fm -> Python SDK -> Prompting, tool calling and guided generation -> Building an evaluation pipeline in Python.
  • APIs and concepts to recognize: fm CLI, Python SDK, Foundation Models, macOS 27, WWDC25, Private Cloud Compute, Evaluations framework, GitHub, JSON, LanguageModelSession, DataFrame.
  • Version and support notes focus on macOS 27.
  • Implementation focus: Foundation Models, JSON, LanguageModelSession, DataFrame.

Resources