AI Skill Hub 强烈推荐:苹果芯片AI服务 是一款优质的Agent工作流。AI 综合评分 8.0 分,在同类工具中表现稳健。如果你正在寻找可靠的Agent工作流解决方案,这是一个值得深入了解的选择。
苹果芯片AI服务 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
苹果芯片AI服务 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 克隆仓库 git clone https://github.com/ddalcu/mlx-serve cd mlx-serve # 查看安装说明 cat README.md # 按 README 完成环境依赖安装后即可使用
# 查看帮助 mlx-serve --help # 基本运行 mlx-serve [options] <input> # 详细使用说明请查阅文档 # https://github.com/ddalcu/mlx-serve
# mlx-serve 配置说明 # 查看配置选项 mlx-serve --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export MLX_SERVE_CONFIG="/path/to/config.yml"
**OpenAI- and Anthropic-compatible local inference for Apple Silicon — MLX and GGUF — faster than LM Studio on identical MLX weights. No Python. No cloud. No Electron.**
mlxserve.com · Download MLX Core.app · Docs · Changelog
mlx-serve is a native Zig server that runs any LLM on Apple Silicon — MLX-format models and every GGUF on HuggingFace (Qwen, Llama, Mistral, Gemma, DeepSeek V4 Flash, thousands more). It exposes OpenAI-compatible and Anthropic-compatible HTTP APIs out of the box, so the same http://localhost:11234 works with Claude Code, the OpenAI SDK, Continue, Cursor, Open WebUI, and anything else that speaks one of those wires. Beyond text, the same server generates images, video, music, speech (with voice cloning), and 3D models — all natively on MLX. Ships with MLX Core, a macOS menu-bar app with chat, agent mode, MCP tool calling, and model management.
reasoning_content.mlx-serve launch <agent> in the terminal, both preconfigured with the server's real context window. Setup for every tool in docs/integrations.md.http://localhost:11234 in a browser for a chat playground, live monitor, image and audio tools, and the API reference.localhost can run on the Studio's 27B.brew tap ddalcu/mlx-serve https://github.com/ddalcu/mlx-serve
brew install --cask mlx-core # the app (recommended)
brew install mlx-serve # CLI + server only, no GUI
Needs Xcode 26.2+ with the Metal Toolchain component (if xcrun -sdk macosx metal --version fails, run xcodebuild -downloadComponent MetalToolchain):
git clone --recurse-submodules https://github.com/ddalcu/mlx-serve && cd mlx-serve
brew bundle install --file=Brewfile # cmake + webp
./app/build.sh # app + server, ad-hoc signed
That's the whole list. Zig, mlx and llama.cpp are pinned and fetched or built by the script, and there's no Python anywhere in the build. Server-only builds are in docs/building.md.
Native MLX dispatch for Gemma 3/4, DiffusionGemma, Qwen 3 / 3.5 / 3.6 / 3.8 / 3-Next, Meta's Muse-Glimmer-30B, inclusionAI Ling 3.0, DeepSeek V4 Flash (284B), Tencent Hunyuan 3 (295B), Thinking Machines Inkling Small (276B), poolside Laguna, Llama 3.x, Mistral, Nemotron-H, LFM2/2.5 (including the VL vision builds), plus embedding models (BERT, EmbeddingGemma, Qwen3-Embedding). Anything else runs as GGUF through the embedded llama.cpp, auto-routed by format. The full table with model_types, chat formats and vision support is in docs/models.md.
mlx-serve 是一款专为 Apple Silicon(M1/M2/M3/M4 系列芯片)打造的本地大模型推理工具。它支持运行 MLX 架构及整个 GGUF 生态的模型,性能表现优于同等文件规格下的 LM Studio。该项目追求极致的轻量化,不依赖 Python 环境,也不使用 Electron 框架,旨在为 Mac 用户提供更快速、更纯粹的本地推理体验。
mlx-serve 支持运行所有受支持的 MLX 架构模型,并通过内置的 llama.cpp 支持完整的 GGUF 模型生态。针对 DeepSeek V4 Flash,项目提供了专门的 ds4 引擎支持。此外,它提供完全兼容 OpenAI 的 API 接口,包括 /v1/chat/completions、/v1/embeddings 等,并支持 SSE 流式输出、Tools 调用、JSON-schema 约束解码以及 logprobs 等高级特性。
使用本项目需要 macOS 26+ 系统且配备 Apple Silicon 芯片。官方发布的 App 已内置了针对 macOS 26 构建的 MLX dylibs;若需在旧版 macOS 上运行,则需要基于本地 mlx 进行源码构建。此外,若选择从源码构建,则需要安装 Zig 0.16+ 版本,并确保 mlx-c 环境就绪。
用户可以通过 Homebrew 进行便捷安装:使用 `brew install --cask mlx-core` 安装 GUI 菜单栏应用,或使用 `brew install mlx-serve` 仅安装 CLI 服务端。若需从源码构建,请先运行 `./scripts/fetch-llama.sh` 获取 llama.cpp,然后使用 `zig build` 进行编译。构建 GUI 应用时,需配置 `APPLE_DEVELOPER_ID` 和 `APPLE_TEAM_ID` 环境变量以进行代码签名。
项目提供了快速启动指南。对于 CLI 用户,可以通过指定模型路径并开启 `--serve` 模式来启动 HTTP 服务。用户可以通过命令行参数 `--model` 指定模型文件或目录,并通过 `--port` ���置监听端口。对于交互模式,可以使用 `--prompt` 参数直接进行对话测试。
除了基础的 CLI 参数外,mlx-serve 还支持可选的图像与视频生成功能。通过菜单栏的 ImageGen 和 VideoGen 按钮,可以调用 FLUX.2 和 LTX-Video 2.3 模型。虽然核心 Zig 服务端保持无 Python 依赖,但生成功能会通过 Python 子进程运行,因此需要预装 Python 3 环境。此外,系统支持通过环境变量进行代码签名配置。
mlx-serve 提供丰富的 API 接口。除了标准的 OpenAI 兼容接口外,还特别提供了 `/v1/responses` 接口,支持通过 `previous_response_id` 实现有状态的对话链,并配合 SSE 流式输出和 sequence_number 实现完整的响应追踪。其他接口包括健康检查 `/health`、模型列表查询 `/v1/models`、文本补全 `/v1/completions` 以及文本嵌入 `/v1/embeddings` 等。
项目支持多种模型架构,包括 Gemma 4、Gemma 3 及 Qwen 系列,并针对不同模型提供了相应的 Chat Format 和 Vision 能力支持。在 Swift 应用集成方面,mlx-serve 深度集成了 Anthropic swift-sdk 以支持 Claude API,并利用 Model Context Protocol (MCP) Swift SDK 实现 MCP 市场与工具路由,同时结合 Apple 原生框架(如 PDFKit、AVFoundation)增强功能。
本项目针对常见问题提供了 FAQ 章节,涵盖了从模型运行、性能优化到环境配置的常见疑问,帮助开发者快速解决在 Apple Silicon 环境下部署本地 LLM 时可能遇到的问题。
高性能AI工作流,支持苹果芯片
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,苹果芯片AI服务 是一款质量优秀的Agent工作流,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | mlx-serve |
| 原始描述 | 开源AI工作流:Native LLM inference server for Apple Silicon. OpenAI + Anthropic API compatible。⭐163 · Zig |
| Topics | apple-siliconaillmzig |
| GitHub | https://github.com/ddalcu/mlx-serve |
| License | MIT |
| 语言 | Zig |
收录时间:2026-06-20 · 更新时间:2026-06-22 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端