
WWDC26: Run local agentic AI on the Mac using MLX | Apple
Run AI agents locally with privacy, low latency, and offline access. Dive into how MLX advancements and Mac hardware make powerful agentic workflows possible entirely on-device. You’ll explore code agents such as OpenCode, see how they integrate into Xcode, learn techniques for multi-Mac scaling, and discover how to integrate tools seamlessly — without ever leaving your machine.
Explore related documentation, sample code, and more:
MLX Swift LM on GitHub: https://github.com/ml-explore/mlx-swift-lm
MLX Swift: https://github.com/ml-explore/mlx-swift
MLX LM - Python API: https://github.com/ml-explore/mlx-lm
MLX Explore - Python API: https://github.com/ml-explore/mlx
MLX Framework: https://mlx-framework.org
MLX: https://ml-explore.github.io/mlx/
MLX Swift Examples: https://github.com/ml-explore/mlx-swift-examples
MLX Examples: https://github.com/ml-explore/mlx-examples
Explore distributed inference and training with MLX: https://developer.apple.com/videos/play/wwdc2026/233
Explore numerical computing in Swift with MLX: https://developer.apple.com/videos/play/wwdc2026/328
Build local AI agents on Mac with MLX: https://developer.apple.com/videos/play/wwdc2026-shorts/229
Get started with MLX for Apple silicon: https://developer.apple.com/videos/play/wwdc2025/315
Explore large language models on Apple silicon with MLX: https://developer.apple.com/videos/play/wwdc2025/298
00:00 - Introduction
00:32 - The chat and agentic loop
02:42 - Local agentic AI stack
04:36 - Setting up your own agent
05:39 - Making agents fast
06:53 - Concurrency and distributed inference
09:20 - More examples
13:01 - Next steps
More Apple Developer resources:
Video sessions: https://apple.co/VideoSessions
Documentation: https://apple.co/DeveloperDocs
Forums: https://apple.co/DeveloperForums
App: https://apple.co/DeveloperApp
