fmgo: call Apple's on-device Foundation Models from Go with no CGO and no Swift
Super_Run_8466 · reddit · 2026-09-23
fmgo is a new Go package that wraps Apple's fm CLI, letting Go projects use Apple's on-device Foundation Models without CGO, Swift compilation, or a native bridge — everything runs on Apple's shipped on-device model with no external LLM API. It differentiates from existing projects (go-apple-intelligence via C API/CGO, go-foundationmodels via Swift bindings, fundament with an embedded Swift shim) by staying maximally lightweight. Born from the author's real need invoking fm CLI in another Go project, it's intentionally v0.x and narrow in scope, with an FM Chat app (Wails + Svelte + Go) as a working demo.
More from Infra
- French netizen proposes datacenters pay local residents compensation — clemnt · 2026-11-11
- GPU Rental Prices Hit Record Highs: B200 at $6.97/hr, H100 at $3.06 — inductionheads · 2026-11-11
- A Datacenter in Every Office: Building Work-Safe Local AI Racks — dee_hw · 2026-11-11
- "Compute is about power": the AI race's real bottleneck is energy, not chips — _sholtodouglas · 2026-11-11
- CoreWeave CEO says he canceled his 10b5-1 plan, halting insider selling — firstadopter · 2026-11-11
- UK chip start-up Fractile hits $7bn valuation, per FT — evisoft · 2026-11-11