A new Instruments template for the Foundation Models framework lets you record, visualize, and debug on-device and server-based LLM sessions — showing sessions, requests, model inferences, tool calls, token counts, and latency breakdowns in a single timeline.
• Exposes the full chain of LLM activity (sessions → requests → inferences → tool calls) in a hierarchical tree view, making silent failures like a missing tool in a DynamicInstructions set immediately visible
• Provides three key performance metrics — Time to First Token, Tokens per Second, and Total Latency — directly in Instruments so you can tune prompt length and streaming strategy with data
• Captures prompt and response content locally during development (disabled in production builds), letting you read the exact prompt sent and response received at each inference step without adding logging code
Foundation Models is a new Apple framework introduced in iOS 27 that gives developers on-device access to the same Apple Intelligence language model powering system features, enabling text generation, structured output, and tool-calling entirely on-device without a network connection.
Visual Intelligence brings iOS 17's Visual Look Up capabilities to a new developer-facing API surface in iOS 27, letting apps pipe live camera frames or static images through on-device scene understanding to extract subjects, text, barcodes, and rich semantic labels without any cloud round-trip.
iOS 27 opens the Foundation Models framework to third-party LLM providers via a new public LanguageModel protocol, enabling anyone to integrate custom, server-based, or open-source models using the same Swift API as Apple's on-device system model.
In-depth guide
iOS 27 On-Device AI & Apple Intelligence →App Schemas let developers describe their app's content and actions using pre-defined domain schemas (like the Calendar domain) so Siri can understand, search, and act on app data without custom NLP. Entities conforming to IndexedEntity are donated to Spotlight's semantic index, enabling natural-language queries over app content.