Dunfey · Hotel WWDC as data, est. 1983
Front desk everything
Years
Topics

2026 AI & Machine Learning

WWDC26 · 14 min · AI & Machine Learning

Debug and profile agentic app experiences with Instruments

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.

Watch at developer.apple.com ↗

Transcript all transcripts

Chapters

  • 0:00 — Introduction
  • 1:57 — LLM app development mindset
  • 3:59 — Inspect and diagnose an agentic experience
  • 5:02 — Recording a trace with Instruments
  • 6:04 — Navigating the Instruments UI
  • 12:07 — Performance metrics
  • 13:04 — Next steps

Resources