scouzi1966scouzi1966Communityยท10 Agent Skills Included

maclocal-api

Local OpenAI-compatible model server for Apple Silicon Macs

Runs local language models on Apple Silicon through an OpenAI-compatible API with streaming, tool calling, structured output, and reasoning extraction. Eliminates cloud API costs, API keys, and data privacy concerns by serving MLX and Apple Foundation Models directly from your Mac. Includes skills to build, test, benchmark, add new models, and publish releases faster with automated validation.
npx skills add scouzi1966/maclocal-api --all -g -y
Available:

Gives your AI agent the build commands, architecture map, and runtime rules needed to compile, run, and test this local model server without breaking its strict dependency boundaries.

All Skills in This Repository (10)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install maclocal-api?โ–ผ

Run `npx skills add scouzi1966/maclocal-api --all -g -y` in your terminal to install all skills in this suite globally.

How to run local models on a Mac with an OpenAI API?โ–ผ

Install the afm binary via Homebrew or pip, then run `afm mlx -m <model-id>` to serve any Hugging Face MLX model at a local OpenAI-compatible endpoint.

Does maclocal-api support tool calling and streaming?โ–ผ

Yes. It supports OpenAI-compatible tool calling with multiple parser formats, streaming SSE responses, structured JSON output, logprobs, and reasoning extraction.

Can I add a new Hugging Face model to AFM?โ–ผ

Yes. The add-afm-model skill checks model compatibility, registers new architectures, and ports implementations so your agent can onboard new MLX models.

Does maclocal-api work with coding agents like OpenCode?โ–ผ

Yes. It is built for tool-using clients and includes dedicated test skills that validate tool call reliability with OpenCode, OpenClaw, and other agent frameworks.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’