mlx-swift-lm
Run local LLMs and vision models on Apple Silicon with Swift
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install mlx-swift-lm?โผ
Run `npx skills add ml-explore/mlx-swift-lm --all -g -y` in your terminal to install the skill globally for your AI agent.
How to run LLMs locally on Apple Silicon with Swift?โผ
Add the mlx-swift-lm Swift package to your project, load a model with LLMModelFactory, and chat through the ChatSession API. Models run fully on-device using Apple's MLX framework.
Can mlx-swift-lm run vision-language models?โผ
Yes. The MLXVLM library supports models like Qwen-VL and Gemma that accept images and video alongside text prompts.
Does mlx-swift-lm support fine-tuning and tool calling?โผ
Yes. It includes LoRA and DoRA adapter training for fine-tuning, plus built-in tool calling so models can invoke your Swift functions.
Does mlx-swift-lm work with Claude Code and other AI agents?โผ
Yes. The bundled SKILL.md follows the universal skill standard, so agents like Claude Code, Cursor, and Codex can use it to write correct MLX Swift code.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core