Bring an LLM provider to the Foundation Models, missing MLX dependencies

On this talk: Bring an LLM provider to the Foundation Models framework URL: https://developer.apple.com/videos/play/wwdc2026/339/

on the coding examples a very peculiar framework is shown: import MLXFoundationModels

However I am not able to find it nowhere, there is even a code section with this framework as part of an example.

Where is this framework, there are no BETA branches on the MLX framework either.

Thanks!

Answered by coripark in 895763022

This is being introduced to mlx-swift-lm in PR#334 (see here: https://github.com/ml-explore/mlx-swift-lm/pull/334).

Accepted Answer

This is being introduced to mlx-swift-lm in PR#334 (see here: https://github.com/ml-explore/mlx-swift-lm/pull/334).

Thanks for your reply!, that's exactly what I'd been lookin for

Bring an LLM provider to the Foundation Models, missing MLX dependencies
 
 
Q