一、项目定位
oMLX 是一个专为 Apple Silicon Mac 优化的本地大语言模型推理框架,核心目标是在便利性与可控性之间取得平衡,让本地 LLM 在实际编码、多轮对话等场景中真正可用。
- GitHub: https://github.com/jundot/omlx
- 中文说明:https://github.com/jundot/omlx/blob/main/README.zh.md
- 官网:https://omlx.ai/
二、安装
方式一:下载 macOS 应用
下载 DMG 拖入 Applications,支持自动更新。下载地址:https://github.com/jundot/omlx/releases
方式二:Homebrew
brew tap jundot/omlx https://github.com/jundot/omlx
brew install omlx
# 升级到最新版本
brew update && brew upgrade omlx
# 作为后台服务运行(崩溃时自动重启)
brew services start omlx
# 可选:MCP(Model Context Protocol)支持
/opt/homebrew/opt/omlx/libexec/bin/pip install mcp
方式三:从源码安装
需 Python 3.10+ 与 Apple Silicon。
git clone https://github.com/jundot/omlx.git
cd omlx
pip install -e .
# 仅核心
pip install -e ".[mcp]"
# 含 MCP(Model Context Protocol)支持
三、快速开始
1、macOS 应用
从 Applications 文件夹启动 oMLX。欢迎界面会引导你完成三个步骤 — 模型目录设置、服务器启动、首个模型下载。


2、CLI
omlx serve --model-dir ~/models









