
Mac Code Local Ai Agent
Run a free 35B coding agent locally on Apple Silicon with llama.cpp or MLX backends.
- skills.sh installs
- 800
- GitHub stars
- 98
- last updated
- Jul 14, 2026
What it does
- Covers local LLM setup for Apple Silicon Macs, including model downloads, llama-server flags, and backend selection between llama.cpp and MLX
- Includes an agent REPL that routes prompts to
search,shell, orchattools, with commands such as/agent,/raw,/model 9b, and/bench - Provides a REST API for persistent KV cache save and load, context compression, and optional Cloudflare R2 sync on the MLX backend
- Designed for Mac users with 16 GB of RAM who want a local alternative to cloud coding assistants
Install
$ npx -y skills add reason-machines/trending-skills --skill mac-code-local-ai-agent -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
mac-code — Free Local AI Agent on Apple Silicon
Skill by ara.so — Daily 2026 Skills collection.
Run a 35B reasoning model locally on your Mac for $0/month. mac-code is a CLI AI coding agent (Claude Code alternative) that routes tasks — web search, shell commands, file edits, chat — through a local LLM. Supports llama.cpp (30 tok/s) and MLX (64K context, persistent KV cache) backends on Apple Silicon.
What It Does
- LLM-as-router: The model classifies every prompt as
search,shell, orchatand routes accordingly - 35B MoE at 30 tok/s via llama.cpp + IQ2_M quantization (fits in 16 GB RAM)
- 35B full Q4 on 16 GB via custom MoE Expert Sniper (1.54 tok/s, only 1.42 GB RAM used)
- 9B at 64K context via quantized KV cache (
q4_0keys/values) - MLX backend adds persistent KV cache save/load, context compression, R2 sync
- Tools: DuckDuckGo search, shell execution, file read/write
Installation
Prerequisites
brew install llama.cpp
pip3 install rich ddgs huggingface-hub mlx-lm --break-system-packages
Clone the repo
git clone https://github.com/walter-grace/mac-code
cd mac-code
Details
- Repository
- github.com/reason-machines/trending-skills
- Categories
- AI Agents & LLM Apps, CLI & Terminal
- First seen
- May 16, 2026
More from reason-machines/trending-skills
All 163- K Skill Korean Ai Tools799
- Codex Plugin Cc787
- Pump Analyzer Solana786
- Turboquant Pytorch772
- App Store Screenshots Generator769
- Caveman Token Optimizer768
- Open Pencil Design Editor766
- Pgmicro Postgres Sqlite764
- Tribev2 Brain Encoding764
- Polymarket Arbitrage Bot762
- Polymarket Copy Trading Bot757
- Taiwan Equity Research Coverage755
- Torchcode Pytorch Interview Practice753
- Codex Session Patcher750
- Learn Docker K8s Game746
- Claude Better Cli744
- Ministack Aws Emulator743
- Wildworld Dataset739
- Phantom Ai Coworker729
- Kordoc Korean Document Parser727
- Claw Code Harness721
- Clawd Code Python Port714
- See Through Anime Layer Decomposition706
- Open Agent Sdk701
Similar to Mac Code Local Ai Agent
More AI Agents & LLM Apps
local-llm-opsSkillbobmatnyc/claude-mpm-skills475 installsLocal LLM toolchain for Ollama on Apple Silicon: setup, chat launchers, benchmarks, and diagnostics.
picoclaw-ai-assistantSkillreason-machines/trending-skills1.3K installsUltra-lightweight Go AI assistant under 10MB RAM with multi-provider LLM support and single-binary deployment.
cc-connect-ai-bridgeSkillreason-machines/trending-skills884 installsBridge locally running AI coding agents to messaging platforms without requiring a public IP.
llama-cppSkillorchestra-research/ai-research-skills1.1K installsLocal LLM inference engine for CPUs, Apple Silicon, and non-NVIDIA GPUs with GGUF quantization.
LLM SandboxMCP servervndee1.1K starsRun LLM-generated code in isolated sandboxes, with Docker, Podman, Bubblewrap, and NsJail backends.