WWDC26: Debug and profile agentic app experiences with Instruments | Apple @AppleDeveloper
WWDC26: Debug and profile agentic app experiences with Instruments | Apple  @AppleDeveloper
Uploaded June 2026 | Updated September 2026, 1 week ago
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.

Explore related documentation, sample code, and more:
Analyzing the runtime performance of your Foundation Models app: developer.apple.com/documentation/FoundationModels/analyzing-the-runtime-performance-of-your-foundation-models-app
Build AI-powered scripts with the fm CLI and Python SDK: developer.apple.com/videos/play/wwdc2026/334
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:57 - LLM app development mindset
03:59 - Inspect and diagnose an agentic experience
05:02 - Recording a trace with Instruments
06:04 - Navigating the Instruments UI
12:07 - Performance metrics
13:04 - Next steps

More Apple Developer resources:
Video sessions: apple.co/VideoSessions
Documentation: apple.co/DeveloperDocs
Forums: apple.co/DeveloperForums
App: apple.co/DeveloperApp
WWDC26: Debug and profile agentic app experiences with Instruments | AppleWWDC26: Dive into Core AI model authoring and optimization | AppleWWDC26: Learn CSS Grid Lanes | AppleRecap the WWDC26 Platforms State of the UnionWWDC26: visionOS Group Lab | AppleWWDC26: Secure your apps with App Attest | AppleWWDC26: Translate your app using agents in Xcode | AppleNew ways to build for visionOS 27WWDC25: AppKit toolbars in the new design systemWWDC26: Discover container machines | AppleWWDC26: Implement high resolution photo capture | AppleWWDC26: App Store Connect Group Lab | Apple
Apple Developer |

WWDC26: Debug and profile agentic app experiences with Instruments | Apple

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER