Running MiniCPM5-2B as a local agent on M4 16GB: trimming, tool-call adapter and benchmarks

面壁智能 · wechat · 2026-09-24

A developer post on ModelBest's WeChat account details building a lightweight local personal assistant with MiniCPM5-2B (8-bit MLX quantization) on an M4 16GB Mac, using the open-source OpenHanako/HanaAgent framework with cloud Kimi handling vision.

Key fixes and modifications

Evaluations: seasonal prose, story continuation, a 2026 postgraduate math-exam problem, and coding tasks all passed cleanly — strong results for a local 2B model. Both projects are open-sourced on GitHub.

Original post →

More from coding & agent

coding & agent channel →