afm
CommunityLocal ML on macOS with OpenAI API compatibility.
Authorscouzi1966
Version1.0.0
Installs0
System Documentation
What problem does it solve?
AFM provides a local, OpenAI-compatible API server and CLI to host Apple Foundation Models, MLX backends, and Vision OCR, enabling on-device inference, API routing, and secure local workflows without cloud keys.
Core Features & Use Cases
- Local on-device inference for Foundation and MLX models on macOS.
- OpenAI-compatible endpoints for /v1/chat/completions and /v1/models with gateway/proxy capabilities.
- Vision OCR, tool-calling, and streaming responses for offline or secure environments.
Quick Start
Build and run AFM locally to start serving via the afm CLI and connect a client to the local API.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: afm Download link: https://github.com/scouzi1966/maclocal-api/archive/main.zip#afm Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.