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 November 2026, 3 hours 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: Learn CSS Grid Lanes | AppleWWDC26: visionOS Group Lab | AppleWWDC26: Translate your app using agents in Xcode | AppleApple Intelligence Group Lab | 11/4/26 | Meet with AppleNew ways to build for visionOS 27WWDC26: Discover container machines | AppleWWDC26: Implement high resolution photo capture | AppleBring your Live Activities to MacWWDC26: App Store Connect Group Lab | AppleWWDC26: Create UI prototypes using agents in Xcode | AppleFlow data through SwiftUI | Meet with Apple
Apple Developer |

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

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER