Local AI Starter: a one-click Mac wizard that installs llama.cpp, Qwen3, and OpenCode in one folder
- Hardware
- Mac on Apple Silicon (Metal) as the main target; Intel Macs work but slower; Python 3.9+
- Models & engines
- Pinned stack: llama.cpp build b12110, OpenCode v1.19.5, and a specific model file each checked with SHA-256
Model choices: Qwen3 8B Q4_K_M (~4.7 GB, 12 GB+ RAM, recommended), Qwen3 4B Q4_K_M (~2.3 GB, 8 GB+), or Qwen2.5 Coder 7B Q4_K_M (~4.4 GB, 12 GB+) - Key gotcha
- A 4–8B model handles small edits and is not a replacement for a cloud agent on a real codebase, which is why it starts in a sandbox rather than your repo.
What they built
After a write-up on running LLMs on Apple Silicon, Lukyanov kept getting the same request: people understood what fit their Mac but did not want to read docs to set it up, so he built Local AI Starter.
One double-click runs an English/Russian wizard that suggests a model from RAM and free disk, shows download sizes before fetching anything, downloads a pinned engine, model and OpenCode, then only declares success after llama-server answers a real test question.
OpenCode opens in a sandbox folder local-ai/workspace with a practice index.html, and later runs skip downloads and go straight back to the agent or web chat.
Setup
- Mac on Apple Silicon (Metal) as the main target; Intel Macs work but slower; Python 3.9+
- Pinned stack: llama.cpp build b12110, OpenCode v1.19.5, and a specific model file each checked with SHA-256
- Model choices: Qwen3 8B Q4_K_M (~4.7 GB, 12 GB+ RAM, recommended), Qwen3 4B Q4_K_M (~2.3 GB, 8 GB+), or Qwen2.5 Coder 7B Q4_K_M (~4.4 GB, 12 GB+)
- 32K context by default (16K under 12 GB RAM); everything lives in a local-ai/ folder next to the script
How it works
- Double-click RunMe.command (first time: right-click → Open for Gatekeeper), pick options with arrow keys, and confirm the download plan.
- The wizard checks that GitHub and Hugging Face are reachable, downloads with progress/ETA and resume, starts llama-server, and asks a test question before saying All set.
- After /exit you get a menu to stop or keep the server, reopen OpenCode, open web chat, switch models, show status/log, or delete everything.
- The server listens on 127.0.0.1 only; the script goes online only to fetch the engine, OpenCode and the model.
Results & numbers
- A working local assistant with OpenCode in the terminal and a web chat in the browser, both on the same local model.
- VirusTotal reported 0 of 65 engines flagged the v2.0.0 archive; the SHA-256 is published in the GitHub release.
Gotchas
- A 4–8B model handles small edits and is not a replacement for a cloud agent on a real codebase, which is why it starts in a sandbox rather than your repo.
- Windows and Linux RunMe builds exist but are CPU-only for now.
- On a clean Mac the first python3 call may offer Apple’s developer tools dialog.
“One double-click, and your Mac runs an AI assistant: the OpenCode agent in the terminal and a web chat in the browser, both on a local model.”— Kirill Lukyanov
Do it yourself
- Download Local-AI-Starter from github.com/kiri11ko/local-ai-starter (MIT) and verify the release SHA-256 if you want.
- Double-click RunMe.command and accept the recommended model for your RAM.
- Wait until the wizard gets a real answer from llama-server, then try a small task in the sandbox index.html via OpenCode.
- Use the post-exit menu to open the web chat or switch models; uninstall by deleting the local-ai/ folder.
Models table (download / Mac RAM):
Qwen3 8B Q4_K_M — ~4.7 GB — 12 GB+
Qwen3 4B Q4_K_M — ~2.3 GB — 8 GB+
Qwen2.5 Coder 7B Q4_K_M — ~4.4 GB — 12 GB+Similar setups
Letting a coding agent tune llama.cpp on an 8 GB AMD GPU: 3x faster prompt reading for OpenCode
Cliff K had his coding agent benchmark llama.cpp backends and flags for a Qwen3.6 35B MoE on a Radeon RX 6600 XT, at the context depths OpenCode really uses, and turned the process into an open-source skill.
OpenCode on a CPU-only Intel i7 laptop talking to local Ollama coder models
Idada Osaigbovo James wires OpenCode on a Dell Latitude 5430 (i7-1265U, 32 GB RAM, Iris Xe) to Ollama’s local OpenAI-compatible API and runs Qwen2.5-Coder 1.5B/7B with no cloud subscription.
A Baroque music events calendar fed by a local Qwen agent on a home llama.cpp server
A data scientist serves small models with llama.cpp from a 16 GB RTX 4060 Ti box on his home network, and a LangChain agent on it finds upcoming concerts for his wife's Bavarian Baroque events calendar.
Cutting a local Qwen coding agent's wait on a 16GB Mac with a memory hook
A developer running a coding agent on qwen3.5:9b through Ollama replaced its always-loaded memory index with a hook that attaches only relevant memory lines, and cut median answer time from 90.4s to 56.4s.