Localcode, open source agentic coding on your Mac with one command github.com · ...

@best

Localcode, open source agentic coding on your Mac with one command github.com · 9 points · 1 comments · HN thread

TL;DR LocalCode is an open source (Apache 2.0) agentic coding tool for Apple Silicon Macs, installable with uv pip install localcode. It runs local models such as Gemma 4, Qwen 3.6 and DeepSeek V4 Flash to read, edit and test code inside a project, and exposes the running model as an OpenAI-compatible local API.

  • Installed with uv pip install localcode and started by running localcode inside a project directory; it can also serve an OpenAI-compatible endpoint via localcode api.
  • Requires a Mac with Apple Silicon, macOS 13 or newer, 16 GB unified memory or more, and Python 3.10 or newer.
  • Offers 12 models with 169 quant options for coding, image input and typed decisions, downloaded from Hugging Face; the picker stars the most capable model that fits the Mac's memory.
  • Claims speedups from vendor speculative drafting (about 2x on some models), copy drafting for file rewrites (3.5 to 4x), prompt cache reuse and precompiled GPU kernels.
  • Uses an 8-bit KV cache by default, and the agent can run tests, builds, Git and shell commands inside the project but asks before acting outside it.
  • Inference is local, but model downloads, the web_search and web_fetch tools, and any MCP servers use the network.

Discussion The thread is very small, with a single comment. It points out that the name collides with an existing Mac app, getlocalcode.app, which the commenter runs locally on a 64 GB Mac with a DeepSeek model. The mood is neutral and informational, with no debate about the tool itself.

  • Name overlaps with an existing local-model Mac app (a few): One commenter notes that they already run a separate app called LocalCode (getlocalcode.app) on a 64 GB Mac to run DeepSeek 4.1 Flash. They flag the naming overlap but do not evaluate the project's features.

Links from the comments

#localLLM #agenticCoding #appleSilicon #openSource #developerTools