Localcode: open-source agentic coding with local models on a Mac in one command
Localcode is an Apache 2.0 open-source coding agent for Apple Silicon Macs with 16 GB or more, which edits files, runs tests and shell commands, and asks before touching anything outside the project. It supports 12 local models including Gemma 4, Qwen 3.8…
Why it matters
It makes trying a fully local, private coding agent on a Mac a one-command job.
What happened
1 min readLocalcode is an Apache 2.0 open-source coding agent for Apple Silicon Macs with 16 GB or more, which edits files, runs tests and shell commands, and asks before touching anything outside the project. It supports 12 local models including Gemma 4, Qwen 3.8, Inkling 2 Mini and DeepSeek V4 Flash, and exposes an OpenAI-compatible endpoint. It adds speed tweaks such as vendor speculative drafters, copy-drafting for file rewrites and an 8-bit KV cache by default.
Our analysis
Its value is mostly in packaging and practical optimizations rather than a new capability; tools like Aider or Ollama-based agents cover similar ground. Speed claims (about 2x with drafting, 3.5-4x on rewrites) are the author's own. Results will depend heavily on the local model chosen and will trail frontier cloud models. Cheap to try for anyone with privacy constraints.